elementary/hoversel - Elm_Hoversel_Item -> Elm_Object_Item
[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    elm_shutdown();
237    return 0;
238 }
239 ELM_MAIN()
240 @endcode
241    *
242    */
243
244 /**
245 @page authors Authors
246 @author Carsten Haitzler <raster@@rasterman.com>
247 @author Gustavo Sverzut Barbieri <barbieri@@profusion.mobi>
248 @author Cedric Bail <cedric.bail@@free.fr>
249 @author Vincent Torri <vtorri@@univ-evry.fr>
250 @author Daniel Kolesa <quaker66@@gmail.com>
251 @author Jaime Thomas <avi.thomas@@gmail.com>
252 @author Swisscom - http://www.swisscom.ch/
253 @author Christopher Michael <devilhorns@@comcast.net>
254 @author Marco Trevisan (TreviƱo) <mail@@3v1n0.net>
255 @author Michael Bouchaud <michael.bouchaud@@gmail.com>
256 @author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
257 @author Brian Wang <brian.wang.0721@@gmail.com>
258 @author Mike Blumenkrantz (discomfitor/zmike) <michael.blumenkrantz@@gmail.com>
259 @author Samsung Electronics <tbd>
260 @author Samsung SAIT <tbd>
261 @author Brett Nash <nash@@nash.id.au>
262 @author Bruno Dilly <bdilly@@profusion.mobi>
263 @author Rafael Fonseca <rfonseca@@profusion.mobi>
264 @author Chuneon Park <hermet@@hermet.pe.kr>
265 @author Woohyun Jung <wh0705.jung@@samsung.com>
266 @author Jaehwan Kim <jae.hwan.kim@@samsung.com>
267 @author Wonguk Jeong <wonguk.jeong@@samsung.com>
268 @author Leandro A. F. Pereira <leandro@@profusion.mobi>
269 @author Helen Fornazier <helen.fornazier@@profusion.mobi>
270 @author Gustavo Lima Chaves <glima@@profusion.mobi>
271 @author Fabiano FidĆŖncio <fidencio@@profusion.mobi>
272 @author Tiago FalcĆ£o <tiago@@profusion.mobi>
273 @author Otavio Pontes <otavio@@profusion.mobi>
274 @author Viktor Kojouharov <vkojouharov@@gmail.com>
275 @author Daniel Juyung Seo (SeoZ) <juyung.seo@@samsung.com> <seojuyung2@@gmail.com>
276 @author Sangho Park <sangho.g.park@@samsung.com> <gouache95@@gmail.com>
277 @author Rajeev Ranjan (Rajeev) <rajeev.r@@samsung.com> <rajeev.jnnce@@gmail.com>
278 @author Seunggyun Kim <sgyun.kim@@samsung.com> <tmdrbs@@gmail.com>
279 @author Sohyun Kim <anna1014.kim@@samsung.com> <sohyun.anna@@gmail.com>
280 @author Jihoon Kim <jihoon48.kim@@samsung.com>
281 @author Jeonghyun Yun (arosis) <jh0506.yun@@samsung.com>
282 @author Tom Hacohen <tom@@stosb.com>
283 @author Aharon Hillel <a.hillel@@partner.samsung.com>
284 @author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
285 @author Shinwoo Kim <kimcinoo@@gmail.com>
286 @author Govindaraju SM <govi.sm@@samsung.com> <govism@@gmail.com>
287 @author Prince Kumar Dubey <prince.dubey@@samsung.com> <prince.dubey@@gmail.com>
288 @author Sung W. Park <sungwoo@@gmail.com>
289 @author Thierry el Borgi <thierry@@substantiel.fr>
290 @author Shilpa Singh <shilpa.singh@@samsung.com> <shilpasingh.o@@gmail.com>
291 @author Chanwook Jung <joey.jung@@samsung.com>
292 @author Hyoyoung Chang <hyoyoung.chang@@samsung.com>
293 @author Guillaume "Kuri" Friloux <guillaume.friloux@@asp64.com>
294 @author Kim Yunhan <spbear@@gmail.com>
295 @author Bluezery <ohpowel@@gmail.com>
296 @author Nicolas Aguirre <aguirre.nicolas@@gmail.com>
297 @author Sanjeev BA <iamsanjeev@@gmail.com>
298
299 Please contact <enlightenment-devel@lists.sourceforge.net> to get in
300 contact with the developers and maintainers.
301  */
302
303 #ifndef ELEMENTARY_H
304 #define ELEMENTARY_H
305
306 /**
307  * @file Elementary.h
308  * @brief Elementary's API
309  *
310  * Elementary API.
311  */
312
313 @ELM_UNIX_DEF@ ELM_UNIX
314 @ELM_WIN32_DEF@ ELM_WIN32
315 @ELM_WINCE_DEF@ ELM_WINCE
316 @ELM_EDBUS_DEF@ ELM_EDBUS
317 @ELM_EFREET_DEF@ ELM_EFREET
318 @ELM_ETHUMB_DEF@ ELM_ETHUMB
319 @ELM_WEB_DEF@ ELM_WEB
320 @ELM_EMAP_DEF@ ELM_EMAP
321 @ELM_DEBUG_DEF@ ELM_DEBUG
322 @ELM_ALLOCA_H_DEF@ ELM_ALLOCA_H
323 @ELM_LIBINTL_H_DEF@ ELM_LIBINTL_H
324 @ELM_DIRENT_H_DEF@ ELM_DIRENT_H
325
326 /* Standard headers for standard system calls etc. */
327 #include <stdio.h>
328 #include <stdlib.h>
329 #include <unistd.h>
330 #include <string.h>
331 #include <sys/types.h>
332 #include <sys/stat.h>
333 #include <sys/time.h>
334 #include <sys/param.h>
335 #include <math.h>
336 #include <fnmatch.h>
337 #include <limits.h>
338 #include <ctype.h>
339 #include <time.h>
340 #ifdef ELM_DIRENT_H
341 # include <dirent.h>
342 #endif
343 #include <pwd.h>
344 #include <errno.h>
345
346 #ifdef ELM_UNIX
347 # include <locale.h>
348 # ifdef ELM_LIBINTL_H
349 #  include <libintl.h>
350 # endif
351 # include <signal.h>
352 # include <grp.h>
353 # include <glob.h>
354 #endif
355
356 #ifdef ELM_ALLOCA_H
357 # include <alloca.h>
358 #endif
359
360 #if defined (ELM_WIN32) || defined (ELM_WINCE)
361 # include <malloc.h>
362 # ifndef alloca
363 #  define alloca _alloca
364 # endif
365 #endif
366
367
368 /* EFL headers */
369 #include <Eina.h>
370 #include <Eet.h>
371 #include <Evas.h>
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    /**
897     * Exposed symbol used only by macros and should not be used by apps
898     */
899    EAPI void         elm_quicklaunch_mode_set(Eina_Bool ql_on);
900
901    /**
902     * Exposed symbol used only by macros and should not be used by apps
903     */
904    EAPI Eina_Bool    elm_quicklaunch_mode_get(void);
905
906    /**
907     * Exposed symbol used only by macros and should not be used by apps
908     */
909    EAPI int          elm_quicklaunch_init(int argc, char **argv);
910
911    /**
912     * Exposed symbol used only by macros and should not be used by apps
913     */
914    EAPI int          elm_quicklaunch_sub_init(int argc, char **argv);
915
916    /**
917     * Exposed symbol used only by macros and should not be used by apps
918     */
919    EAPI int          elm_quicklaunch_sub_shutdown(void);
920
921    /**
922     * Exposed symbol used only by macros and should not be used by apps
923     */
924    EAPI int          elm_quicklaunch_shutdown(void);
925
926    /**
927     * Exposed symbol used only by macros and should not be used by apps
928     */
929    EAPI void         elm_quicklaunch_seed(void);
930
931    /**
932     * Exposed symbol used only by macros and should not be used by apps
933     */
934    EAPI Eina_Bool    elm_quicklaunch_prepare(int argc, char **argv);
935
936    /**
937     * Exposed symbol used only by macros and should not be used by apps
938     */
939    EAPI Eina_Bool    elm_quicklaunch_fork(int argc, char **argv, char *cwd, void (postfork_func) (void *data), void *postfork_data);
940
941    /**
942     * Exposed symbol used only by macros and should not be used by apps
943     */
944    EAPI void         elm_quicklaunch_cleanup(void);
945
946    /**
947     * Exposed symbol used only by macros and should not be used by apps
948     */
949    EAPI int          elm_quicklaunch_fallback(int argc, char **argv);
950
951    /**
952     * Exposed symbol used only by macros and should not be used by apps
953     */
954    EAPI char        *elm_quicklaunch_exe_path_get(const char *exe);
955
956    /**
957     * Request that your elementary application needs efreet
958     * 
959     * This initializes the Efreet library when called and if support exists
960     * it returns EINA_TRUE, otherwise returns EINA_FALSE. This must be called
961     * before any efreet calls.
962     * 
963     * @return EINA_TRUE if support exists and initialization succeeded.
964     * 
965     * @ingroup Efreet
966     */
967    EAPI Eina_Bool    elm_need_efreet(void);
968
969    /**
970     * Request that your elementary application needs e_dbus
971     * 
972     * This initializes the E_dbus library when called and if support exists
973     * it returns EINA_TRUE, otherwise returns EINA_FALSE. This must be called
974     * before any e_dbus calls.
975     * 
976     * @return EINA_TRUE if support exists and initialization succeeded.
977     * 
978     * @ingroup E_dbus
979     */
980    EAPI Eina_Bool    elm_need_e_dbus(void);
981
982    /**
983     * Request that your elementary application needs ethumb
984     * 
985     * This initializes the Ethumb library when called and if support exists
986     * it returns EINA_TRUE, otherwise returns EINA_FALSE.
987     * This must be called before any other function that deals with
988     * elm_thumb objects or ethumb_client instances.
989     *
990     * @ingroup Thumb
991     */
992    EAPI Eina_Bool    elm_need_ethumb(void);
993
994    /**
995     * Request that your elementary application needs web support
996     * 
997     * This initializes the Ewebkit library when called and if support exists
998     * it returns EINA_TRUE, otherwise returns EINA_FALSE.
999     * This must be called before any other function that deals with
1000     * elm_web objects or ewk_view instances.
1001     *
1002     * @ingroup Web
1003     */
1004    EAPI Eina_Bool    elm_need_web(void);
1005
1006    /**
1007     * Set a new policy's value (for a given policy group/identifier).
1008     *
1009     * @param policy policy identifier, as in @ref Elm_Policy.
1010     * @param value policy value, which depends on the identifier
1011     *
1012     * @return @c EINA_TRUE on success or @c EINA_FALSE, on error.
1013     *
1014     * Elementary policies define applications' behavior,
1015     * somehow. These behaviors are divided in policy groups (see
1016     * #Elm_Policy enumeration). This call will emit the Ecore event
1017     * #ELM_EVENT_POLICY_CHANGED, which can be hooked at with
1018     * handlers. An #Elm_Event_Policy_Changed struct will be passed,
1019     * then.
1020     *
1021     * @note Currently, we have only one policy identifier/group
1022     * (#ELM_POLICY_QUIT), which has two possible values.
1023     *
1024     * @ingroup General
1025     */
1026    EAPI Eina_Bool    elm_policy_set(unsigned int policy, int value);
1027
1028    /**
1029     * Gets the policy value for given policy identifier.
1030     *
1031     * @param policy policy identifier, as in #Elm_Policy.
1032     * @return The currently set policy value, for that
1033     * identifier. Will be @c 0 if @p policy passed is invalid.
1034     *
1035     * @ingroup General
1036     */
1037    EAPI int          elm_policy_get(unsigned int policy);
1038
1039    /**
1040     * Change the language of the current application
1041     *
1042     * The @p lang passed must be the full name of the locale to use, for
1043     * example "en_US.utf8" or "es_ES@euro".
1044     *
1045     * Changing language with this function will make Elementary run through
1046     * all its widgets, translating strings set with
1047     * elm_object_domain_translatable_text_part_set(). This way, an entire
1048     * UI can have its language changed without having to restart the program.
1049     *
1050     * For more complex cases, like having formatted strings that need
1051     * translation, widgets will also emit a "language,changed" signal that
1052     * the user can listen to to manually translate the text.
1053     *
1054     * @param lang Language to set, must be the full name of the locale
1055     *
1056     * @ingroup General
1057     */
1058    EAPI void         elm_language_set(const char *lang);
1059
1060    /**
1061     * Set a label of an object
1062     *
1063     * @param obj The Elementary object
1064     * @param part The text part name to set (NULL for the default label)
1065     * @param label The new text of the label
1066     *
1067     * @note Elementary objects may have many labels (e.g. Action Slider)
1068     * @deprecated Use elm_object_part_text_set() instead.
1069     * @ingroup General
1070     */
1071    EINA_DEPRECATED EAPI void elm_object_text_part_set(Evas_Object *obj, const char *part, const char *label);
1072
1073    /**
1074     * Set a label of an object
1075     *
1076     * @param obj The Elementary object
1077     * @param part The text part name to set (NULL for the default label)
1078     * @param label The new text of the label
1079     *
1080     * @note Elementary objects may have many labels (e.g. Action Slider)
1081     *
1082     * @ingroup General
1083     */
1084    EAPI void elm_object_part_text_set(Evas_Object *obj, const char *part, const char *label);
1085
1086 #define elm_object_text_set(obj, label) elm_object_part_text_set((obj), NULL, (label))
1087
1088    /**
1089     * Get a label of an object
1090     *
1091     * @param obj The Elementary object
1092     * @param part The text part name to get (NULL for the default label)
1093     * @return text of the label or NULL for any error
1094     *
1095     * @note Elementary objects may have many labels (e.g. Action Slider)
1096     * @deprecated Use elm_object_part_text_get() instead.
1097     * @ingroup General
1098     */
1099    EINA_DEPRECATED EAPI const char  *elm_object_text_part_get(const Evas_Object *obj, const char *part);
1100
1101    /**
1102     * Get a label of an object
1103     *
1104     * @param obj The Elementary object
1105     * @param part The text part name to get (NULL for the default label)
1106     * @return text of the label or NULL for any error
1107     *
1108     * @note Elementary objects may have many labels (e.g. Action Slider)
1109     *
1110     * @ingroup General
1111     */
1112    EAPI const char  *elm_object_part_text_get(const Evas_Object *obj, const char *part);
1113
1114 #define elm_object_text_get(obj) elm_object_part_text_get((obj), NULL)
1115
1116    /**
1117     * Set the text for an objects' part, marking it as translatable.
1118     *
1119     * The string to set as @p text must be the original one. Do not pass the
1120     * return of @c gettext() here. Elementary will translate the string
1121     * internally and set it on the object using elm_object_part_text_set(),
1122     * also storing the original string so that it can be automatically
1123     * translated when the language is changed with elm_language_set().
1124     *
1125     * The @p domain will be stored along to find the translation in the
1126     * correct catalog. It can be NULL, in which case it will use whatever
1127     * domain was set by the application with @c textdomain(). This is useful
1128     * in case you are building a library on top of Elementary that will have
1129     * its own translatable strings, that should not be mixed with those of
1130     * programs using the library.
1131     *
1132     * @param obj The object containing the text part
1133     * @param part The name of the part to set
1134     * @param domain The translation domain to use
1135     * @param text The original, non-translated text to set
1136     *
1137     * @ingroup General
1138     */
1139    EAPI void         elm_object_domain_translatable_text_part_set(Evas_Object *obj, const char *part, const char *domain, const char *text);
1140
1141 #define elm_object_domain_translatable_text_set(obj, domain, text) elm_object_domain_translatable_text_part_set((obj), NULL, (domain), (text))
1142
1143 #define elm_object_translatable_text_set(obj, text) elm_object_domain_translatable_text_part_set((obj), NULL, NULL, (text))
1144
1145    /**
1146     * Gets the original string set as translatable for an object
1147     *
1148     * When setting translated strings, the function elm_object_part_text_get()
1149     * will return the translation returned by @c gettext(). To get the
1150     * original string use this function.
1151     *
1152     * @param obj The object
1153     * @param part The name of the part that was set
1154     *
1155     * @return The original, untranslated string
1156     *
1157     * @ingroup General
1158     */
1159    EAPI const char  *elm_object_translatable_text_part_get(const Evas_Object *obj, const char *part);
1160
1161 #define elm_object_translatable_text_get(obj) elm_object_translatable_text_part_get((obj), NULL)
1162
1163    /**
1164     * Set a content of an object
1165     *
1166     * @param obj The Elementary object
1167     * @param part The content part name to set (NULL for the default content)
1168     * @param content The new content of the object
1169     *
1170     * @note Elementary objects may have many contents
1171     * @deprecated Use elm_object_part_content_set instead.
1172     * @ingroup General
1173     */
1174    EINA_DEPRECATED EAPI void elm_object_content_part_set(Evas_Object *obj, const char *part, Evas_Object *content);
1175
1176    /**
1177     * Set a content of an object
1178     *
1179     * @param obj The Elementary object
1180     * @param part The content part name to set (NULL for the default content)
1181     * @param content The new content of the object
1182     *
1183     * @note Elementary objects may have many contents
1184     *
1185     * @ingroup General
1186     */
1187    EAPI void elm_object_part_content_set(Evas_Object *obj, const char *part, Evas_Object *content);
1188
1189 #define elm_object_content_set(obj, content) elm_object_part_content_set((obj), NULL, (content))
1190
1191    /**
1192     * Get a content of an object
1193     *
1194     * @param obj The Elementary object
1195     * @param item The content part name to get (NULL for the default content)
1196     * @return content of the object or NULL for any error
1197     *
1198     * @note Elementary objects may have many contents
1199     * @deprecated Use elm_object_part_content_get instead.
1200     * @ingroup General
1201     */
1202    EINA_DEPRECATED EAPI Evas_Object *elm_object_content_part_get(const Evas_Object *obj, const char *part);
1203
1204    /**
1205     * Get a content of an object
1206     *
1207     * @param obj The Elementary object
1208     * @param item The content part name to get (NULL for the default content)
1209     * @return content of the object or NULL for any error
1210     *
1211     * @note Elementary objects may have many contents
1212     *
1213     * @ingroup General
1214     */
1215    EAPI Evas_Object *elm_object_part_content_get(const Evas_Object *obj, const char *part);
1216
1217 #define elm_object_content_get(obj) elm_object_part_content_get((obj), NULL)
1218
1219    /**
1220     * Unset a content of an object
1221     *
1222     * @param obj The Elementary object
1223     * @param item The content part name to unset (NULL for the default content)
1224     *
1225     * @note Elementary objects may have many contents
1226     * @deprecated Use elm_object_part_content_unset instead.
1227     * @ingroup General
1228     */
1229    EINA_DEPRECATED EAPI Evas_Object *elm_object_content_part_unset(Evas_Object *obj, const char *part);
1230
1231    /**
1232     * Unset a content of an object
1233     *
1234     * @param obj The Elementary object
1235     * @param item The content part name to unset (NULL for the default content)
1236     *
1237     * @note Elementary objects may have many contents
1238     *
1239     * @ingroup General
1240     */
1241    EAPI Evas_Object *elm_object_part_content_unset(Evas_Object *obj, const char *part);
1242
1243 #define elm_object_content_unset(obj) elm_object_part_content_unset((obj), NULL)
1244
1245    /**
1246     * Set the text to read out when in accessibility mode
1247     *
1248     * @param obj The object which is to be described
1249     * @param txt The text that describes the widget to people with poor or no vision
1250     *
1251     * @ingroup General
1252     */
1253    EAPI void elm_object_access_info_set(Evas_Object *obj, const char *txt);
1254
1255    /**
1256     * Get the widget object's handle which contains a given item
1257     *
1258     * @param item The Elementary object item
1259     * @return The widget object
1260     *
1261     * @note This returns the widget object itself that an item belongs to.
1262     *
1263     * @ingroup General
1264     */
1265    EAPI Evas_Object *elm_object_item_object_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
1266
1267    /**
1268     * Set a content of an object item
1269     *
1270     * @param it The Elementary object item
1271     * @param part The content part name to set (NULL for the default content)
1272     * @param content The new content of the object item
1273     *
1274     * @note Elementary object items may have many contents
1275     * @deprecated Use elm_object_item_part_content_set instead.
1276     * @ingroup General
1277     */
1278    EINA_DEPRECATED EAPI void elm_object_item_content_part_set(Elm_Object_Item *it, const char *part, Evas_Object *content);
1279
1280    /**
1281     * Set a content of an object item
1282     *
1283     * @param it The Elementary object item
1284     * @param part The content part name to set (NULL for the default content)
1285     * @param content The new content of the object item
1286     *
1287     * @note Elementary object items may have many contents
1288     *
1289     * @ingroup General
1290     */
1291    EAPI void elm_object_item_part_content_set(Elm_Object_Item *it, const char *part, Evas_Object *content);
1292
1293 #define elm_object_item_content_set(it, content) elm_object_item_part_content_set((it), NULL, (content))
1294
1295    /**
1296     * Get a content of an object item
1297     *
1298     * @param it The Elementary object item
1299     * @param part The content part name to unset (NULL for the default content)
1300     * @return content of the object item or NULL for any error
1301     *
1302     * @note Elementary object items may have many contents
1303     * @deprecated Use elm_object_item_part_content_get instead.
1304     * @ingroup General
1305     */
1306    EAPI Evas_Object *elm_object_item_content_part_get(const Elm_Object_Item *it, const char *part);
1307
1308    /**
1309     * Get a content of an object item
1310     *
1311     * @param it The Elementary object item
1312     * @param part The content part name to unset (NULL for the default content)
1313     * @return content of the object item or NULL for any error
1314     *
1315     * @note Elementary object items may have many contents
1316     *
1317     * @ingroup General
1318     */
1319    EAPI Evas_Object *elm_object_item_part_content_get(const Elm_Object_Item *it, const char *part);
1320
1321 #define elm_object_item_content_get(it) elm_object_item_part_content_get((it), NULL)
1322
1323    /**
1324     * Unset a content of an object item
1325     *
1326     * @param it The Elementary object item
1327     * @param part The content part name to unset (NULL for the default content)
1328     *
1329     * @note Elementary object items may have many contents
1330     * @deprecated Use elm_object_item_part_content_unset instead.
1331     * @ingroup General
1332     */
1333    EINA_DEPRECATED EAPI Evas_Object *elm_object_item_content_part_unset(Elm_Object_Item *it, const char *part);
1334
1335    /**
1336     * Unset a content of an object item
1337     *
1338     * @param it The Elementary object item
1339     * @param part The content part name to unset (NULL for the default content)
1340     *
1341     * @note Elementary object items may have many contents
1342     *
1343     * @ingroup General
1344     */
1345    EAPI Evas_Object *elm_object_item_part_content_unset(Elm_Object_Item *it, const char *part);
1346
1347 #define elm_object_item_content_unset(it) elm_object_item_part_content_unset((it), NULL)
1348
1349    /**
1350     * Set a label of an object item
1351     *
1352     * @param it The Elementary object item
1353     * @param part The text part name to set (NULL for the default label)
1354     * @param label The new text of the label
1355     *
1356     * @note Elementary object items may have many labels
1357     * @deprecated Use elm_object_item_part_text_set instead.
1358     * @ingroup General
1359     */
1360    EINA_DEPRECATED EAPI void elm_object_item_text_part_set(Elm_Object_Item *it, const char *part, const char *label);
1361
1362    /**
1363     * Set a label of an object item
1364     *
1365     * @param it The Elementary object item
1366     * @param part The text part name to set (NULL for the default label)
1367     * @param label The new text of the label
1368     *
1369     * @note Elementary object items may have many labels
1370     *
1371     * @ingroup General
1372     */
1373    EAPI void elm_object_item_part_text_set(Elm_Object_Item *it, const char *part, const char *label);
1374
1375 #define elm_object_item_text_set(it, label) elm_object_item_part_text_set((it), NULL, (label))
1376
1377    /**
1378     * Get a label of an object item
1379     *
1380     * @param it The Elementary object item
1381     * @param part The text part name to get (NULL for the default label)
1382     * @return text of the label or NULL for any error
1383     *
1384     * @note Elementary object items may have many labels
1385     * @deprecated Use elm_object_item_part_text_get instead.
1386     * @ingroup General
1387     */
1388    EINA_DEPRECATED EAPI const char *elm_object_item_text_part_get(const Elm_Object_Item *it, const char *part);
1389    /**
1390     * Get a label of an object item
1391     *
1392     * @param it The Elementary object item
1393     * @param part The text part name to get (NULL for the default label)
1394     * @return text of the label or NULL for any error
1395     *
1396     * @note Elementary object items may have many labels
1397     *
1398     * @ingroup General
1399     */
1400    EAPI const char *elm_object_item_part_text_get(const Elm_Object_Item *it, const char *part);
1401
1402 #define elm_object_item_text_get(it) elm_object_item_part_text_get((it), NULL)
1403
1404    /**
1405     * Set the text to read out when in accessibility mode
1406     *
1407     * @param it The object item which is to be described
1408     * @param txt The text that describes the widget to people with poor or no vision
1409     *
1410     * @ingroup General
1411     */
1412    EAPI void elm_object_item_access_info_set(Elm_Object_Item *it, const char *txt);
1413
1414    /**
1415     * Get the data associated with an object item
1416     * @param it The Elementary object item
1417     * @return The data associated with @p it
1418     *
1419     * @ingroup General
1420     */
1421    EAPI void *elm_object_item_data_get(const Elm_Object_Item *it);
1422
1423    /**
1424     * Set the data associated with an object item
1425     * @param it The Elementary object item
1426     * @param data The data to be associated with @p it
1427     *
1428     * @ingroup General
1429     */
1430    EAPI void elm_object_item_data_set(Elm_Object_Item *it, void *data);
1431
1432    /**
1433     * Send a signal to the edje object of the widget item.
1434     *
1435     * This function sends a signal to the edje object of the obj item. An
1436     * edje program can respond to a signal by specifying matching
1437     * 'signal' and 'source' fields.
1438     *
1439     * @param it The Elementary object item
1440     * @param emission The signal's name.
1441     * @param source The signal's source.
1442     * @ingroup General
1443     */
1444    EAPI void elm_object_item_signal_emit(Elm_Object_Item *it, const char *emission, const char *source) EINA_ARG_NONNULL(1);
1445
1446    /**
1447     * Set the disabled state of an widget item.
1448     *
1449     * @param obj The Elementary object item
1450     * @param disabled The state to put in in: @c EINA_TRUE for
1451     *        disabled, @c EINA_FALSE for enabled
1452     *
1453     * Elementary object item can be @b disabled, in which state they won't
1454     * receive input and, in general, will be themed differently from
1455     * their normal state, usually greyed out. Useful for contexts
1456     * where you don't want your users to interact with some of the
1457     * parts of you interface.
1458     *
1459     * This sets the state for the widget item, either disabling it or
1460     * enabling it back.
1461     *
1462     * @ingroup Styles
1463     */
1464    EAPI void elm_object_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
1465
1466    /**
1467     * Get the disabled state of an widget item.
1468     *
1469     * @param obj The Elementary object
1470     * @return @c EINA_TRUE, if the widget item is disabled, @c EINA_FALSE
1471     *            if it's enabled (or on errors)
1472     *
1473     * This gets the state of the widget, which might be enabled or disabled.
1474     *
1475     * @ingroup Styles
1476     */
1477    EAPI Eina_Bool    elm_object_item_disabled_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
1478
1479    /**
1480     * @}
1481     */
1482
1483    /**
1484     * @defgroup Caches Caches
1485     *
1486     * These are functions which let one fine-tune some cache values for
1487     * Elementary applications, thus allowing for performance adjustments.
1488     *
1489     * @{
1490     */
1491
1492    /**
1493     * @brief Flush all caches.
1494     *
1495     * Frees all data that was in cache and is not currently being used to reduce
1496     * memory usage. This frees Edje's, Evas' and Eet's cache. This is equivalent
1497     * to calling all of the following functions:
1498     * @li edje_file_cache_flush()
1499     * @li edje_collection_cache_flush()
1500     * @li eet_clearcache()
1501     * @li evas_image_cache_flush()
1502     * @li evas_font_cache_flush()
1503     * @li evas_render_dump()
1504     * @note Evas caches are flushed for every canvas associated with a window.
1505     *
1506     * @ingroup Caches
1507     */
1508    EAPI void         elm_all_flush(void);
1509
1510    /**
1511     * Get the configured cache flush interval time
1512     *
1513     * This gets the globally configured cache flush interval time, in
1514     * ticks
1515     *
1516     * @return The cache flush interval time
1517     * @ingroup Caches
1518     *
1519     * @see elm_all_flush()
1520     */
1521    EAPI int          elm_cache_flush_interval_get(void);
1522
1523    /**
1524     * Set the configured cache flush interval time
1525     *
1526     * This sets the globally configured cache flush interval time, in ticks
1527     *
1528     * @param size The cache flush interval time
1529     * @ingroup Caches
1530     *
1531     * @see elm_all_flush()
1532     */
1533    EAPI void         elm_cache_flush_interval_set(int size);
1534
1535    /**
1536     * Set the configured cache flush interval time for all applications on the
1537     * display
1538     *
1539     * This sets the globally configured cache flush interval time -- in ticks
1540     * -- for all applications on the display.
1541     *
1542     * @param size The cache flush interval time
1543     * @ingroup Caches
1544     */
1545    EAPI void         elm_cache_flush_interval_all_set(int size);
1546
1547    /**
1548     * Get the configured cache flush enabled state
1549     *
1550     * This gets the globally configured cache flush state - if it is enabled
1551     * or not. When cache flushing is enabled, elementary will regularly
1552     * (see elm_cache_flush_interval_get() ) flush caches and dump data out of
1553     * memory and allow usage to re-seed caches and data in memory where it
1554     * can do so. An idle application will thus minimise its memory usage as
1555     * data will be freed from memory and not be re-loaded as it is idle and
1556     * not rendering or doing anything graphically right now.
1557     *
1558     * @return The cache flush state
1559     * @ingroup Caches
1560     *
1561     * @see elm_all_flush()
1562     */
1563    EAPI Eina_Bool    elm_cache_flush_enabled_get(void);
1564
1565    /**
1566     * Set the configured cache flush enabled state
1567     *
1568     * This sets the globally configured cache flush enabled state.
1569     *
1570     * @param size The cache flush enabled state
1571     * @ingroup Caches
1572     *
1573     * @see elm_all_flush()
1574     */
1575    EAPI void         elm_cache_flush_enabled_set(Eina_Bool enabled);
1576
1577    /**
1578     * Set the configured cache flush enabled state for all applications on the
1579     * display
1580     *
1581     * This sets the globally configured cache flush enabled state for all
1582     * applications on the display.
1583     *
1584     * @param size The cache flush enabled state
1585     * @ingroup Caches
1586     */
1587    EAPI void         elm_cache_flush_enabled_all_set(Eina_Bool enabled);
1588
1589    /**
1590     * Get the configured font cache size
1591     *
1592     * This gets the globally configured font cache size, in bytes.
1593     *
1594     * @return The font cache size
1595     * @ingroup Caches
1596     */
1597    EAPI int          elm_font_cache_get(void);
1598
1599    /**
1600     * Set the configured font cache size
1601     *
1602     * This sets the globally configured font cache size, in bytes
1603     *
1604     * @param size The font cache size
1605     * @ingroup Caches
1606     */
1607    EAPI void         elm_font_cache_set(int size);
1608
1609    /**
1610     * Set the configured font cache size for all applications on the
1611     * display
1612     *
1613     * This sets the globally configured font cache size -- in bytes
1614     * -- for all applications on the display.
1615     *
1616     * @param size The font cache size
1617     * @ingroup Caches
1618     */
1619    EAPI void         elm_font_cache_all_set(int size);
1620
1621    /**
1622     * Get the configured image cache size
1623     *
1624     * This gets the globally configured image cache size, in bytes
1625     *
1626     * @return The image cache size
1627     * @ingroup Caches
1628     */
1629    EAPI int          elm_image_cache_get(void);
1630
1631    /**
1632     * Set the configured image cache size
1633     *
1634     * This sets the globally configured image cache size, in bytes
1635     *
1636     * @param size The image cache size
1637     * @ingroup Caches
1638     */
1639    EAPI void         elm_image_cache_set(int size);
1640
1641    /**
1642     * Set the configured image cache size for all applications on the
1643     * display
1644     *
1645     * This sets the globally configured image cache size -- in bytes
1646     * -- for all applications on the display.
1647     *
1648     * @param size The image cache size
1649     * @ingroup Caches
1650     */
1651    EAPI void         elm_image_cache_all_set(int size);
1652
1653    /**
1654     * Get the configured edje file cache size.
1655     *
1656     * This gets the globally configured edje file cache size, in number
1657     * of files.
1658     *
1659     * @return The edje file cache size
1660     * @ingroup Caches
1661     */
1662    EAPI int          elm_edje_file_cache_get(void);
1663
1664    /**
1665     * Set the configured edje file cache size
1666     *
1667     * This sets the globally configured edje file cache size, in number
1668     * of files.
1669     *
1670     * @param size The edje file cache size
1671     * @ingroup Caches
1672     */
1673    EAPI void         elm_edje_file_cache_set(int size);
1674
1675    /**
1676     * Set the configured edje file cache size for all applications on the
1677     * display
1678     *
1679     * This sets the globally configured edje file cache size -- in number
1680     * of files -- for all applications on the display.
1681     *
1682     * @param size The edje file cache size
1683     * @ingroup Caches
1684     */
1685    EAPI void         elm_edje_file_cache_all_set(int size);
1686
1687    /**
1688     * Get the configured edje collections (groups) cache size.
1689     *
1690     * This gets the globally configured edje collections cache size, in
1691     * number of collections.
1692     *
1693     * @return The edje collections cache size
1694     * @ingroup Caches
1695     */
1696    EAPI int          elm_edje_collection_cache_get(void);
1697
1698    /**
1699     * Set the configured edje collections (groups) cache size
1700     *
1701     * This sets the globally configured edje collections cache size, in
1702     * number of collections.
1703     *
1704     * @param size The edje collections cache size
1705     * @ingroup Caches
1706     */
1707    EAPI void         elm_edje_collection_cache_set(int size);
1708
1709    /**
1710     * Set the configured edje collections (groups) cache size for all
1711     * applications on the display
1712     *
1713     * This sets the globally configured edje collections cache size -- in
1714     * number of collections -- for all applications on the display.
1715     *
1716     * @param size The edje collections cache size
1717     * @ingroup Caches
1718     */
1719    EAPI void         elm_edje_collection_cache_all_set(int size);
1720
1721    /**
1722     * @}
1723     */
1724
1725    /**
1726     * @defgroup Scaling Widget Scaling
1727     *
1728     * Different widgets can be scaled independently. These functions
1729     * allow you to manipulate this scaling on a per-widget basis. The
1730     * object and all its children get their scaling factors multiplied
1731     * by the scale factor set. This is multiplicative, in that if a
1732     * child also has a scale size set it is in turn multiplied by its
1733     * parent's scale size. @c 1.0 means ā€œdon't scaleā€, @c 2.0 is
1734     * double size, @c 0.5 is half, etc.
1735     *
1736     * @ref general_functions_example_page "This" example contemplates
1737     * some of these functions.
1738     */
1739
1740    /**
1741     * Get the global scaling factor
1742     *
1743     * This gets the globally configured scaling factor that is applied to all
1744     * objects.
1745     *
1746     * @return The scaling factor
1747     * @ingroup Scaling
1748     */
1749    EAPI double       elm_scale_get(void);
1750
1751    /**
1752     * Set the global scaling factor
1753     *
1754     * This sets the globally configured scaling factor that is applied to all
1755     * objects.
1756     *
1757     * @param scale The scaling factor to set
1758     * @ingroup Scaling
1759     */
1760    EAPI void         elm_scale_set(double scale);
1761
1762    /**
1763     * Set the global scaling factor for all applications on the display
1764     *
1765     * This sets the globally configured scaling factor that is applied to all
1766     * objects for all applications.
1767     * @param scale The scaling factor to set
1768     * @ingroup Scaling
1769     */
1770    EAPI void         elm_scale_all_set(double scale);
1771
1772    /**
1773     * Set the scaling factor for a given Elementary object
1774     *
1775     * @param obj The Elementary to operate on
1776     * @param scale Scale factor (from @c 0.0 up, with @c 1.0 meaning
1777     * no scaling)
1778     *
1779     * @ingroup Scaling
1780     */
1781    EAPI void         elm_object_scale_set(Evas_Object *obj, double scale) EINA_ARG_NONNULL(1);
1782
1783    /**
1784     * Get the scaling factor for a given Elementary object
1785     *
1786     * @param obj The object
1787     * @return The scaling factor set by elm_object_scale_set()
1788     *
1789     * @ingroup Scaling
1790     */
1791    EAPI double       elm_object_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1792
1793    /**
1794     * @defgroup Password_last_show Password last input show
1795     *
1796     * Last show feature of password mode enables user to view
1797     * the last input entered for few seconds before masking it.
1798     * These functions allow to set this feature in password mode
1799     * of entry widget and also allow to manipulate the duration
1800     * for which the input has to be visible.
1801     *
1802     * @{
1803     */
1804
1805    /**
1806     * Get show last setting of password mode.
1807     *
1808     * This gets the show last input setting of password mode which might be
1809     * enabled or disabled.
1810     *
1811     * @return @c EINA_TRUE, if the last input show setting is enabled, @c EINA_FALSE
1812     *            if it's disabled.
1813     * @ingroup Password_last_show
1814     */
1815    EAPI Eina_Bool elm_password_show_last_get(void);
1816
1817    /**
1818     * Set show last setting in password mode.
1819     *
1820     * This enables or disables show last setting of password mode.
1821     *
1822     * @param password_show_last If EINA_TRUE enable's last input show in password mode.
1823     * @see elm_password_show_last_timeout_set()
1824     * @ingroup Password_last_show
1825     */
1826    EAPI void elm_password_show_last_set(Eina_Bool password_show_last);
1827
1828    /**
1829     * Get's the timeout value in last show password mode.
1830     *
1831     * This gets the time out value for which the last input entered in password
1832     * mode will be visible.
1833     *
1834     * @return The timeout value of last show password mode.
1835     * @ingroup Password_last_show
1836     */
1837    EAPI double elm_password_show_last_timeout_get(void);
1838
1839    /**
1840     * Set's the timeout value in last show password mode.
1841     *
1842     * This sets the time out value for which the last input entered in password
1843     * mode will be visible.
1844     *
1845     * @param password_show_last_timeout The timeout value.
1846     * @see elm_password_show_last_set()
1847     * @ingroup Password_last_show
1848     */
1849    EAPI void elm_password_show_last_timeout_set(double password_show_last_timeout);
1850
1851    /**
1852     * @}
1853     */
1854
1855    /**
1856     * @defgroup UI-Mirroring Selective Widget mirroring
1857     *
1858     * These functions allow you to set ui-mirroring on specific
1859     * widgets or the whole interface. Widgets can be in one of two
1860     * modes, automatic and manual.  Automatic means they'll be changed
1861     * according to the system mirroring mode and manual means only
1862     * explicit changes will matter. You are not supposed to change
1863     * mirroring state of a widget set to automatic, will mostly work,
1864     * but the behavior is not really defined.
1865     *
1866     * @{
1867     */
1868
1869    EAPI Eina_Bool    elm_mirrored_get(void);
1870    EAPI void         elm_mirrored_set(Eina_Bool mirrored);
1871
1872    /**
1873     * Get the system mirrored mode. This determines the default mirrored mode
1874     * of widgets.
1875     *
1876     * @return EINA_TRUE if mirrored is set, EINA_FALSE otherwise
1877     */
1878    EAPI Eina_Bool    elm_object_mirrored_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1879
1880    /**
1881     * Set the system mirrored mode. This determines the default mirrored mode
1882     * of widgets.
1883     *
1884     * @param mirrored EINA_TRUE to set mirrored mode, EINA_FALSE to unset it.
1885     */
1886    EAPI void         elm_object_mirrored_set(Evas_Object *obj, Eina_Bool mirrored) EINA_ARG_NONNULL(1);
1887
1888    /**
1889     * Returns the widget's mirrored mode setting.
1890     *
1891     * @param obj The widget.
1892     * @return mirrored mode setting of the object.
1893     *
1894     **/
1895    EAPI Eina_Bool    elm_object_mirrored_automatic_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1896
1897    /**
1898     * Sets the widget's mirrored mode setting.
1899     * When widget in automatic mode, it follows the system mirrored mode set by
1900     * elm_mirrored_set().
1901     * @param obj The widget.
1902     * @param automatic EINA_TRUE for auto mirrored mode. EINA_FALSE for manual.
1903     */
1904    EAPI void         elm_object_mirrored_automatic_set(Evas_Object *obj, Eina_Bool automatic) EINA_ARG_NONNULL(1);
1905
1906    /**
1907     * @}
1908     */
1909
1910    /**
1911     * Set the style to use by a widget
1912     *
1913     * Sets the style name that will define the appearance of a widget. Styles
1914     * vary from widget to widget and may also be defined by other themes
1915     * by means of extensions and overlays.
1916     *
1917     * @param obj The Elementary widget to style
1918     * @param style The style name to use
1919     *
1920     * @see elm_theme_extension_add()
1921     * @see elm_theme_extension_del()
1922     * @see elm_theme_overlay_add()
1923     * @see elm_theme_overlay_del()
1924     *
1925     * @ingroup Styles
1926     */
1927    EAPI void         elm_object_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
1928    /**
1929     * Get the style used by the widget
1930     *
1931     * This gets the style being used for that widget. Note that the string
1932     * pointer is only valid as longas the object is valid and the style doesn't
1933     * change.
1934     *
1935     * @param obj The Elementary widget to query for its style
1936     * @return The style name used
1937     *
1938     * @see elm_object_style_set()
1939     *
1940     * @ingroup Styles
1941     */
1942    EAPI const char  *elm_object_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1943
1944    /**
1945     * @defgroup Styles Styles
1946     *
1947     * Widgets can have different styles of look. These generic API's
1948     * set styles of widgets, if they support them (and if the theme(s)
1949     * do).
1950     *
1951     * @ref general_functions_example_page "This" example contemplates
1952     * some of these functions.
1953     */
1954
1955    /**
1956     * Set the disabled state of an Elementary object.
1957     *
1958     * @param obj The Elementary object to operate on
1959     * @param disabled The state to put in in: @c EINA_TRUE for
1960     *        disabled, @c EINA_FALSE for enabled
1961     *
1962     * Elementary objects can be @b disabled, in which state they won't
1963     * receive input and, in general, will be themed differently from
1964     * their normal state, usually greyed out. Useful for contexts
1965     * where you don't want your users to interact with some of the
1966     * parts of you interface.
1967     *
1968     * This sets the state for the widget, either disabling it or
1969     * enabling it back.
1970     *
1971     * @ingroup Styles
1972     */
1973    EAPI void         elm_object_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
1974
1975    /**
1976     * Get the disabled state of an Elementary object.
1977     *
1978     * @param obj The Elementary object to operate on
1979     * @return @c EINA_TRUE, if the widget is disabled, @c EINA_FALSE
1980     *            if it's enabled (or on errors)
1981     *
1982     * This gets the state of the widget, which might be enabled or disabled.
1983     *
1984     * @ingroup Styles
1985     */
1986    EAPI Eina_Bool    elm_object_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1987
1988    /**
1989     * @defgroup WidgetNavigation Widget Tree Navigation.
1990     *
1991     * How to check if an Evas Object is an Elementary widget? How to
1992     * get the first elementary widget that is parent of the given
1993     * object?  These are all covered in widget tree navigation.
1994     *
1995     * @ref general_functions_example_page "This" example contemplates
1996     * some of these functions.
1997     */
1998
1999    /**
2000     * Check if the given Evas Object is an Elementary widget.
2001     *
2002     * @param obj the object to query.
2003     * @return @c EINA_TRUE if it is an elementary widget variant,
2004     *         @c EINA_FALSE otherwise
2005     * @ingroup WidgetNavigation
2006     */
2007    EAPI Eina_Bool    elm_object_widget_check(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2008
2009    /**
2010     * Get the first parent of the given object that is an Elementary
2011     * widget.
2012     *
2013     * @param obj the Elementary object to query parent from.
2014     * @return the parent object that is an Elementary widget, or @c
2015     *         NULL, if it was not found.
2016     *
2017     * Use this to query for an object's parent widget.
2018     *
2019     * @note Most of Elementary users wouldn't be mixing non-Elementary
2020     * smart objects in the objects tree of an application, as this is
2021     * an advanced usage of Elementary with Evas. So, except for the
2022     * application's window, which is the root of that tree, all other
2023     * objects would have valid Elementary widget parents.
2024     *
2025     * @ingroup WidgetNavigation
2026     */
2027    EAPI Evas_Object *elm_object_parent_widget_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2028
2029    /**
2030     * Get the top level parent of an Elementary widget.
2031     *
2032     * @param obj The object to query.
2033     * @return The top level Elementary widget, or @c NULL if parent cannot be
2034     * found.
2035     * @ingroup WidgetNavigation
2036     */
2037    EAPI Evas_Object *elm_object_top_widget_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2038
2039    /**
2040     * Get the string that represents this Elementary widget.
2041     *
2042     * @note Elementary is weird and exposes itself as a single
2043     *       Evas_Object_Smart_Class of type "elm_widget", so
2044     *       evas_object_type_get() always return that, making debug and
2045     *       language bindings hard. This function tries to mitigate this
2046     *       problem, but the solution is to change Elementary to use
2047     *       proper inheritance.
2048     *
2049     * @param obj the object to query.
2050     * @return Elementary widget name, or @c NULL if not a valid widget.
2051     * @ingroup WidgetNavigation
2052     */
2053    EAPI const char  *elm_object_widget_type_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2054
2055    /**
2056     * @defgroup Config Elementary Config
2057     *
2058     * Elementary configuration is formed by a set options bounded to a
2059     * given @ref Profile profile, like @ref Theme theme, @ref Fingers
2060     * "finger size", etc. These are functions with which one syncronizes
2061     * changes made to those values to the configuration storing files, de
2062     * facto. You most probably don't want to use the functions in this
2063     * group unlees you're writing an elementary configuration manager.
2064     *
2065     * @{
2066     */
2067
2068    /**
2069     * Save back Elementary's configuration, so that it will persist on
2070     * future sessions.
2071     *
2072     * @return @c EINA_TRUE, when sucessful. @c EINA_FALSE, otherwise.
2073     * @ingroup Config
2074     *
2075     * This function will take effect -- thus, do I/O -- immediately. Use
2076     * it when you want to apply all configuration changes at once. The
2077     * current configuration set will get saved onto the current profile
2078     * configuration file.
2079     *
2080     */
2081    EAPI Eina_Bool    elm_config_save(void);
2082
2083    /**
2084     * Reload Elementary's configuration, bounded to current selected
2085     * profile.
2086     *
2087     * @return @c EINA_TRUE, when sucessful. @c EINA_FALSE, otherwise.
2088     * @ingroup Config
2089     *
2090     * Useful when you want to force reloading of configuration values for
2091     * a profile. If one removes user custom configuration directories,
2092     * for example, it will force a reload with system values instead.
2093     *
2094     */
2095    EAPI void         elm_config_reload(void);
2096
2097    /**
2098     * @}
2099     */
2100
2101    /**
2102     * @defgroup Profile Elementary Profile
2103     *
2104     * Profiles are pre-set options that affect the whole look-and-feel of
2105     * Elementary-based applications. There are, for example, profiles
2106     * aimed at desktop computer applications and others aimed at mobile,
2107     * touchscreen-based ones. You most probably don't want to use the
2108     * functions in this group unlees you're writing an elementary
2109     * configuration manager.
2110     *
2111     * @{
2112     */
2113
2114    /**
2115     * Get Elementary's profile in use.
2116     *
2117     * This gets the global profile that is applied to all Elementary
2118     * applications.
2119     *
2120     * @return The profile's name
2121     * @ingroup Profile
2122     */
2123    EAPI const char  *elm_profile_current_get(void);
2124
2125    /**
2126     * Get an Elementary's profile directory path in the filesystem. One
2127     * may want to fetch a system profile's dir or an user one (fetched
2128     * inside $HOME).
2129     *
2130     * @param profile The profile's name
2131     * @param is_user Whether to lookup for an user profile (@c EINA_TRUE)
2132     *                or a system one (@c EINA_FALSE)
2133     * @return The profile's directory path.
2134     * @ingroup Profile
2135     *
2136     * @note You must free it with elm_profile_dir_free().
2137     */
2138    EAPI const char  *elm_profile_dir_get(const char *profile, Eina_Bool is_user);
2139
2140    /**
2141     * Free an Elementary's profile directory path, as returned by
2142     * elm_profile_dir_get().
2143     *
2144     * @param p_dir The profile's path
2145     * @ingroup Profile
2146     *
2147     */
2148    EAPI void         elm_profile_dir_free(const char *p_dir);
2149
2150    /**
2151     * Get Elementary's list of available profiles.
2152     *
2153     * @return The profiles list. List node data are the profile name
2154     *         strings.
2155     * @ingroup Profile
2156     *
2157     * @note One must free this list, after usage, with the function
2158     *       elm_profile_list_free().
2159     */
2160    EAPI Eina_List   *elm_profile_list_get(void);
2161
2162    /**
2163     * Free Elementary's list of available profiles.
2164     *
2165     * @param l The profiles list, as returned by elm_profile_list_get().
2166     * @ingroup Profile
2167     *
2168     */
2169    EAPI void         elm_profile_list_free(Eina_List *l);
2170
2171    /**
2172     * Set Elementary's profile.
2173     *
2174     * This sets the global profile that is applied to Elementary
2175     * applications. Just the process the call comes from will be
2176     * affected.
2177     *
2178     * @param profile The profile's name
2179     * @ingroup Profile
2180     *
2181     */
2182    EAPI void         elm_profile_set(const char *profile);
2183
2184    /**
2185     * Set Elementary's profile.
2186     *
2187     * This sets the global profile that is applied to all Elementary
2188     * applications. All running Elementary windows will be affected.
2189     *
2190     * @param profile The profile's name
2191     * @ingroup Profile
2192     *
2193     */
2194    EAPI void         elm_profile_all_set(const char *profile);
2195
2196    /**
2197     * @}
2198     */
2199
2200    /**
2201     * @defgroup Engine Elementary Engine
2202     *
2203     * These are functions setting and querying which rendering engine
2204     * Elementary will use for drawing its windows' pixels.
2205     *
2206     * The following are the available engines:
2207     * @li "software_x11"
2208     * @li "fb"
2209     * @li "directfb"
2210     * @li "software_16_x11"
2211     * @li "software_8_x11"
2212     * @li "xrender_x11"
2213     * @li "opengl_x11"
2214     * @li "software_gdi"
2215     * @li "software_16_wince_gdi"
2216     * @li "sdl"
2217     * @li "software_16_sdl"
2218     * @li "opengl_sdl"
2219     * @li "buffer"
2220     * @li "ews"
2221     * @li "opengl_cocoa"
2222     * @li "psl1ght"
2223     *
2224     * @{
2225     */
2226
2227    /**
2228     * @brief Get Elementary's rendering engine in use.
2229     *
2230     * @return The rendering engine's name
2231     * @note there's no need to free the returned string, here.
2232     *
2233     * This gets the global rendering engine that is applied to all Elementary
2234     * applications.
2235     *
2236     * @see elm_engine_set()
2237     */
2238    EAPI const char  *elm_engine_current_get(void);
2239
2240    /**
2241     * @brief Set Elementary's rendering engine for use.
2242     *
2243     * @param engine The rendering engine's name
2244     *
2245     * This sets global rendering engine that is applied to all Elementary
2246     * applications. Note that it will take effect only to Elementary windows
2247     * created after this is called.
2248     *
2249     * @see elm_win_add()
2250     */
2251    EAPI void         elm_engine_set(const char *engine);
2252
2253    /**
2254     * @}
2255     */
2256
2257    /**
2258     * @defgroup Fonts Elementary Fonts
2259     *
2260     * These are functions dealing with font rendering, selection and the
2261     * like for Elementary applications. One might fetch which system
2262     * fonts are there to use and set custom fonts for individual classes
2263     * of UI items containing text (text classes).
2264     *
2265     * @{
2266     */
2267
2268   typedef struct _Elm_Text_Class
2269     {
2270        const char *name;
2271        const char *desc;
2272     } Elm_Text_Class;
2273
2274   typedef struct _Elm_Font_Overlay
2275     {
2276        const char     *text_class;
2277        const char     *font;
2278        Evas_Font_Size  size;
2279     } Elm_Font_Overlay;
2280
2281   typedef struct _Elm_Font_Properties
2282     {
2283        const char *name;
2284        Eina_List  *styles;
2285     } Elm_Font_Properties;
2286
2287    /**
2288     * Get Elementary's list of supported text classes.
2289     *
2290     * @return The text classes list, with @c Elm_Text_Class blobs as data.
2291     * @ingroup Fonts
2292     *
2293     * Release the list with elm_text_classes_list_free().
2294     */
2295    EAPI const Eina_List     *elm_text_classes_list_get(void);
2296
2297    /**
2298     * Free Elementary's list of supported text classes.
2299     *
2300     * @ingroup Fonts
2301     *
2302     * @see elm_text_classes_list_get().
2303     */
2304    EAPI void                 elm_text_classes_list_free(const Eina_List *list);
2305
2306    /**
2307     * Get Elementary's list of font overlays, set with
2308     * elm_font_overlay_set().
2309     *
2310     * @return The font overlays list, with @c Elm_Font_Overlay blobs as
2311     * data.
2312     *
2313     * @ingroup Fonts
2314     *
2315     * For each text class, one can set a <b>font overlay</b> for it,
2316     * overriding the default font properties for that class coming from
2317     * the theme in use. There is no need to free this list.
2318     *
2319     * @see elm_font_overlay_set() and elm_font_overlay_unset().
2320     */
2321    EAPI const Eina_List     *elm_font_overlay_list_get(void);
2322
2323    /**
2324     * Set a font overlay for a given Elementary text class.
2325     *
2326     * @param text_class Text class name
2327     * @param font Font name and style string
2328     * @param size Font size
2329     *
2330     * @ingroup Fonts
2331     *
2332     * @p font has to be in the format returned by
2333     * elm_font_fontconfig_name_get(). @see elm_font_overlay_list_get()
2334     * and elm_font_overlay_unset().
2335     */
2336    EAPI void                 elm_font_overlay_set(const char *text_class, const char *font, Evas_Font_Size size);
2337
2338    /**
2339     * Unset a font overlay for a given Elementary text class.
2340     *
2341     * @param text_class Text class name
2342     *
2343     * @ingroup Fonts
2344     *
2345     * This will bring back text elements belonging to text class
2346     * @p text_class back to their default font settings.
2347     */
2348    EAPI void                 elm_font_overlay_unset(const char *text_class);
2349
2350    /**
2351     * Apply the changes made with elm_font_overlay_set() and
2352     * elm_font_overlay_unset() on the current Elementary window.
2353     *
2354     * @ingroup Fonts
2355     *
2356     * This applies all font overlays set to all objects in the UI.
2357     */
2358    EAPI void                 elm_font_overlay_apply(void);
2359
2360    /**
2361     * Apply the changes made with elm_font_overlay_set() and
2362     * elm_font_overlay_unset() on all Elementary application windows.
2363     *
2364     * @ingroup Fonts
2365     *
2366     * This applies all font overlays set to all objects in the UI.
2367     */
2368    EAPI void                 elm_font_overlay_all_apply(void);
2369
2370    /**
2371     * Translate a font (family) name string in fontconfig's font names
2372     * syntax into an @c Elm_Font_Properties struct.
2373     *
2374     * @param font The font name and styles string
2375     * @return the font properties struct
2376     *
2377     * @ingroup Fonts
2378     *
2379     * @note The reverse translation can be achived with
2380     * elm_font_fontconfig_name_get(), for one style only (single font
2381     * instance, not family).
2382     */
2383    EAPI Elm_Font_Properties *elm_font_properties_get(const char *font) EINA_ARG_NONNULL(1);
2384
2385    /**
2386     * Free font properties return by elm_font_properties_get().
2387     *
2388     * @param efp the font properties struct
2389     *
2390     * @ingroup Fonts
2391     */
2392    EAPI void                 elm_font_properties_free(Elm_Font_Properties *efp) EINA_ARG_NONNULL(1);
2393
2394    /**
2395     * Translate a font name, bound to a style, into fontconfig's font names
2396     * syntax.
2397     *
2398     * @param name The font (family) name
2399     * @param style The given style (may be @c NULL)
2400     *
2401     * @return the font name and style string
2402     *
2403     * @ingroup Fonts
2404     *
2405     * @note The reverse translation can be achived with
2406     * elm_font_properties_get(), for one style only (single font
2407     * instance, not family).
2408     */
2409    EAPI const char          *elm_font_fontconfig_name_get(const char *name, const char *style) EINA_ARG_NONNULL(1);
2410
2411    /**
2412     * Free the font string return by elm_font_fontconfig_name_get().
2413     *
2414     * @param efp the font properties struct
2415     *
2416     * @ingroup Fonts
2417     */
2418    EAPI void                 elm_font_fontconfig_name_free(const char *name) EINA_ARG_NONNULL(1);
2419
2420    /**
2421     * Create a font hash table of available system fonts.
2422     *
2423     * One must call it with @p list being the return value of
2424     * evas_font_available_list(). The hash will be indexed by font
2425     * (family) names, being its values @c Elm_Font_Properties blobs.
2426     *
2427     * @param list The list of available system fonts, as returned by
2428     * evas_font_available_list().
2429     * @return the font hash.
2430     *
2431     * @ingroup Fonts
2432     *
2433     * @note The user is supposed to get it populated at least with 3
2434     * default font families (Sans, Serif, Monospace), which should be
2435     * present on most systems.
2436     */
2437    EAPI Eina_Hash           *elm_font_available_hash_add(Eina_List *list);
2438
2439    /**
2440     * Free the hash return by elm_font_available_hash_add().
2441     *
2442     * @param hash the hash to be freed.
2443     *
2444     * @ingroup Fonts
2445     */
2446    EAPI void                 elm_font_available_hash_del(Eina_Hash *hash);
2447
2448    /**
2449     * @}
2450     */
2451
2452    /**
2453     * @defgroup Fingers Fingers
2454     *
2455     * Elementary is designed to be finger-friendly for touchscreens,
2456     * and so in addition to scaling for display resolution, it can
2457     * also scale based on finger "resolution" (or size). You can then
2458     * customize the granularity of the areas meant to receive clicks
2459     * on touchscreens.
2460     *
2461     * Different profiles may have pre-set values for finger sizes.
2462     *
2463     * @ref general_functions_example_page "This" example contemplates
2464     * some of these functions.
2465     *
2466     * @{
2467     */
2468
2469    /**
2470     * Get the configured "finger size"
2471     *
2472     * @return The finger size
2473     *
2474     * This gets the globally configured finger size, <b>in pixels</b>
2475     *
2476     * @ingroup Fingers
2477     */
2478    EAPI Evas_Coord       elm_finger_size_get(void);
2479
2480    /**
2481     * Set the configured finger size
2482     *
2483     * This sets the globally configured finger size in pixels
2484     *
2485     * @param size The finger size
2486     * @ingroup Fingers
2487     */
2488    EAPI void             elm_finger_size_set(Evas_Coord size);
2489
2490    /**
2491     * Set the configured finger size for all applications on the display
2492     *
2493     * This sets the globally configured finger size in pixels for all
2494     * applications on the display
2495     *
2496     * @param size The finger size
2497     * @ingroup Fingers
2498     */
2499    EAPI void             elm_finger_size_all_set(Evas_Coord size);
2500
2501    /**
2502     * @}
2503     */
2504
2505    /**
2506     * @defgroup Focus Focus
2507     *
2508     * An Elementary application has, at all times, one (and only one)
2509     * @b focused object. This is what determines where the input
2510     * events go to within the application's window. Also, focused
2511     * objects can be decorated differently, in order to signal to the
2512     * user where the input is, at a given moment.
2513     *
2514     * Elementary applications also have the concept of <b>focus
2515     * chain</b>: one can cycle through all the windows' focusable
2516     * objects by input (tab key) or programmatically. The default
2517     * focus chain for an application is the one define by the order in
2518     * which the widgets where added in code. One will cycle through
2519     * top level widgets, and, for each one containg sub-objects, cycle
2520     * through them all, before returning to the level
2521     * above. Elementary also allows one to set @b custom focus chains
2522     * for their applications.
2523     *
2524     * Besides the focused decoration a widget may exhibit, when it
2525     * gets focus, Elementary has a @b global focus highlight object
2526     * that can be enabled for a window. If one chooses to do so, this
2527     * extra highlight effect will surround the current focused object,
2528     * too.
2529     *
2530     * @note Some Elementary widgets are @b unfocusable, after
2531     * creation, by their very nature: they are not meant to be
2532     * interacted with input events, but are there just for visual
2533     * purposes.
2534     *
2535     * @ref general_functions_example_page "This" example contemplates
2536     * some of these functions.
2537     */
2538
2539    /**
2540     * Get the enable status of the focus highlight
2541     *
2542     * This gets whether the highlight on focused objects is enabled or not
2543     * @ingroup Focus
2544     */
2545    EAPI Eina_Bool        elm_focus_highlight_enabled_get(void);
2546
2547    /**
2548     * Set the enable status of the focus highlight
2549     *
2550     * Set whether to show or not the highlight on focused objects
2551     * @param enable Enable highlight if EINA_TRUE, disable otherwise
2552     * @ingroup Focus
2553     */
2554    EAPI void             elm_focus_highlight_enabled_set(Eina_Bool enable);
2555
2556    /**
2557     * Get the enable status of the highlight animation
2558     *
2559     * Get whether the focus highlight, if enabled, will animate its switch from
2560     * one object to the next
2561     * @ingroup Focus
2562     */
2563    EAPI Eina_Bool        elm_focus_highlight_animate_get(void);
2564
2565    /**
2566     * Set the enable status of the highlight animation
2567     *
2568     * Set whether the focus highlight, if enabled, will animate its switch from
2569     * one object to the next
2570     * @param animate Enable animation if EINA_TRUE, disable otherwise
2571     * @ingroup Focus
2572     */
2573    EAPI void             elm_focus_highlight_animate_set(Eina_Bool animate);
2574
2575    /**
2576     * Get the whether an Elementary object has the focus or not.
2577     *
2578     * @param obj The Elementary object to get the information from
2579     * @return @c EINA_TRUE, if the object is focused, @c EINA_FALSE if
2580     *            not (and on errors).
2581     *
2582     * @see elm_object_focus_set()
2583     *
2584     * @ingroup Focus
2585     */
2586    EAPI Eina_Bool        elm_object_focus_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2587
2588    /**
2589     * Set/unset focus to a given Elementary object.
2590     *
2591     * @param obj The Elementary object to operate on.
2592     * @param enable @c EINA_TRUE Set focus to a given object,
2593     *               @c EINA_FALSE Unset focus to a given object.
2594     *
2595     * @note When you set focus to this object, if it can handle focus, will
2596     * take the focus away from the one who had it previously and will, for
2597     * now on, be the one receiving input events. Unsetting focus will remove
2598     * the focus from @p obj, passing it back to the previous element in the
2599     * focus chain list.
2600     *
2601     * @see elm_object_focus_get(), elm_object_focus_custom_chain_get()
2602     *
2603     * @ingroup Focus
2604     */
2605    EAPI void             elm_object_focus_set(Evas_Object *obj, Eina_Bool focus) EINA_ARG_NONNULL(1);
2606
2607    /**
2608     * Make a given Elementary object the focused one.
2609     *
2610     * @param obj The Elementary object to make focused.
2611     *
2612     * @note This object, if it can handle focus, will take the focus
2613     * away from the one who had it previously and will, for now on, be
2614     * the one receiving input events.
2615     *
2616     * @see elm_object_focus_get()
2617     * @deprecated use elm_object_focus_set() instead.
2618     *
2619     * @ingroup Focus
2620     */
2621    EINA_DEPRECATED EAPI void             elm_object_focus(Evas_Object *obj) EINA_ARG_NONNULL(1);
2622
2623    /**
2624     * Remove the focus from an Elementary object
2625     *
2626     * @param obj The Elementary to take focus from
2627     *
2628     * This removes the focus from @p obj, passing it back to the
2629     * previous element in the focus chain list.
2630     *
2631     * @see elm_object_focus() and elm_object_focus_custom_chain_get()
2632     * @deprecated use elm_object_focus_set() instead.
2633     *
2634     * @ingroup Focus
2635     */
2636    EINA_DEPRECATED EAPI void             elm_object_unfocus(Evas_Object *obj) EINA_ARG_NONNULL(1);
2637
2638    /**
2639     * Set the ability for an Element object to be focused
2640     *
2641     * @param obj The Elementary object to operate on
2642     * @param enable @c EINA_TRUE if the object can be focused, @c
2643     *        EINA_FALSE if not (and on errors)
2644     *
2645     * This sets whether the object @p obj is able to take focus or
2646     * not. Unfocusable objects do nothing when programmatically
2647     * focused, being the nearest focusable parent object the one
2648     * really getting focus. Also, when they receive mouse input, they
2649     * will get the event, but not take away the focus from where it
2650     * was previously.
2651     *
2652     * @ingroup Focus
2653     */
2654    EAPI void             elm_object_focus_allow_set(Evas_Object *obj, Eina_Bool enable) EINA_ARG_NONNULL(1);
2655
2656    /**
2657     * Get whether an Elementary object is focusable or not
2658     *
2659     * @param obj The Elementary object to operate on
2660     * @return @c EINA_TRUE if the object is allowed to be focused, @c
2661     *             EINA_FALSE if not (and on errors)
2662     *
2663     * @note Objects which are meant to be interacted with by input
2664     * events are created able to be focused, by default. All the
2665     * others are not.
2666     *
2667     * @ingroup Focus
2668     */
2669    EAPI Eina_Bool        elm_object_focus_allow_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2670
2671    /**
2672     * Set custom focus chain.
2673     *
2674     * This function overwrites any previous custom focus chain within
2675     * the list of objects. The previous list will be deleted and this list
2676     * will be managed by elementary. After it is set, don't modify it.
2677     *
2678     * @note On focus cycle, only will be evaluated children of this container.
2679     *
2680     * @param obj The container object
2681     * @param objs Chain of objects to pass focus
2682     * @ingroup Focus
2683     */
2684    EAPI void             elm_object_focus_custom_chain_set(Evas_Object *obj, Eina_List *objs) EINA_ARG_NONNULL(1);
2685
2686    /**
2687     * Unset a custom focus chain on a given Elementary widget
2688     *
2689     * @param obj The container object to remove focus chain from
2690     *
2691     * Any focus chain previously set on @p obj (for its child objects)
2692     * is removed entirely after this call.
2693     *
2694     * @ingroup Focus
2695     */
2696    EAPI void             elm_object_focus_custom_chain_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
2697
2698    /**
2699     * Get custom focus chain
2700     *
2701     * @param obj The container object
2702     * @ingroup Focus
2703     */
2704    EAPI const Eina_List *elm_object_focus_custom_chain_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2705
2706    /**
2707     * Append object to custom focus chain.
2708     *
2709     * @note If relative_child equal to NULL or not in custom chain, the object
2710     * will be added in end.
2711     *
2712     * @note On focus cycle, only will be evaluated children of this container.
2713     *
2714     * @param obj The container object
2715     * @param child The child to be added in custom chain
2716     * @param relative_child The relative object to position the child
2717     * @ingroup Focus
2718     */
2719    EAPI void             elm_object_focus_custom_chain_append(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child) EINA_ARG_NONNULL(1, 2);
2720
2721    /**
2722     * Prepend object to custom focus chain.
2723     *
2724     * @note If relative_child equal to NULL or not in custom chain, the object
2725     * will be added in begin.
2726     *
2727     * @note On focus cycle, only will be evaluated children of this container.
2728     *
2729     * @param obj The container object
2730     * @param child The child to be added in custom chain
2731     * @param relative_child The relative object to position the child
2732     * @ingroup Focus
2733     */
2734    EAPI void             elm_object_focus_custom_chain_prepend(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child) EINA_ARG_NONNULL(1, 2);
2735
2736    /**
2737     * Give focus to next object in object tree.
2738     *
2739     * Give focus to next object in focus chain of one object sub-tree.
2740     * If the last object of chain already have focus, the focus will go to the
2741     * first object of chain.
2742     *
2743     * @param obj The object root of sub-tree
2744     * @param dir Direction to cycle the focus
2745     *
2746     * @ingroup Focus
2747     */
2748    EAPI void             elm_object_focus_cycle(Evas_Object *obj, Elm_Focus_Direction dir) EINA_ARG_NONNULL(1);
2749
2750    /**
2751     * Give focus to near object in one direction.
2752     *
2753     * Give focus to near object in direction of one object.
2754     * If none focusable object in given direction, the focus will not change.
2755     *
2756     * @param obj The reference object
2757     * @param x Horizontal component of direction to focus
2758     * @param y Vertical component of direction to focus
2759     *
2760     * @ingroup Focus
2761     */
2762    EAPI void             elm_object_focus_direction_go(Evas_Object *obj, int x, int y) EINA_ARG_NONNULL(1);
2763
2764    /**
2765     * Make the elementary object and its children to be unfocusable
2766     * (or focusable).
2767     *
2768     * @param obj The Elementary object to operate on
2769     * @param tree_unfocusable @c EINA_TRUE for unfocusable,
2770     *        @c EINA_FALSE for focusable.
2771     *
2772     * This sets whether the object @p obj and its children objects
2773     * are able to take focus or not. If the tree is set as unfocusable,
2774     * newest focused object which is not in this tree will get focus.
2775     * This API can be helpful for an object to be deleted.
2776     * When an object will be deleted soon, it and its children may not
2777     * want to get focus (by focus reverting or by other focus controls).
2778     * Then, just use this API before deleting.
2779     *
2780     * @see elm_object_tree_unfocusable_get()
2781     *
2782     * @ingroup Focus
2783     */
2784    EAPI void             elm_object_tree_unfocusable_set(Evas_Object *obj, Eina_Bool tree_unfocusable) EINA_ARG_NONNULL(1);
2785
2786    /**
2787     * Get whether an Elementary object and its children are unfocusable or not.
2788     *
2789     * @param obj The Elementary object to get the information from
2790     * @return @c EINA_TRUE, if the tree is unfocussable,
2791     *         @c EINA_FALSE if not (and on errors).
2792     *
2793     * @see elm_object_tree_unfocusable_set()
2794     *
2795     * @ingroup Focus
2796     */
2797    EAPI Eina_Bool        elm_object_tree_unfocusable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2798
2799    /**
2800     * @defgroup Scrolling Scrolling
2801     *
2802     * These are functions setting how scrollable views in Elementary
2803     * widgets should behave on user interaction.
2804     *
2805     * @{
2806     */
2807
2808    /**
2809     * Get whether scrollers should bounce when they reach their
2810     * viewport's edge during a scroll.
2811     *
2812     * @return the thumb scroll bouncing state
2813     *
2814     * This is the default behavior for touch screens, in general.
2815     * @ingroup Scrolling
2816     */
2817    EAPI Eina_Bool        elm_scroll_bounce_enabled_get(void);
2818
2819    /**
2820     * Set whether scrollers should bounce when they reach their
2821     * viewport's edge during a scroll.
2822     *
2823     * @param enabled the thumb scroll bouncing state
2824     *
2825     * @see elm_thumbscroll_bounce_enabled_get()
2826     * @ingroup Scrolling
2827     */
2828    EAPI void             elm_scroll_bounce_enabled_set(Eina_Bool enabled);
2829
2830    /**
2831     * Set whether scrollers should bounce when they reach their
2832     * viewport's edge during a scroll, for all Elementary application
2833     * windows.
2834     *
2835     * @param enabled the thumb scroll bouncing state
2836     *
2837     * @see elm_thumbscroll_bounce_enabled_get()
2838     * @ingroup Scrolling
2839     */
2840    EAPI void             elm_scroll_bounce_enabled_all_set(Eina_Bool enabled);
2841
2842    /**
2843     * Get the amount of inertia a scroller will impose at bounce
2844     * animations.
2845     *
2846     * @return the thumb scroll bounce friction
2847     *
2848     * @ingroup Scrolling
2849     */
2850    EAPI double           elm_scroll_bounce_friction_get(void);
2851
2852    /**
2853     * Set the amount of inertia a scroller will impose at bounce
2854     * animations.
2855     *
2856     * @param friction the thumb scroll bounce friction
2857     *
2858     * @see elm_thumbscroll_bounce_friction_get()
2859     * @ingroup Scrolling
2860     */
2861    EAPI void             elm_scroll_bounce_friction_set(double friction);
2862
2863    /**
2864     * Set the amount of inertia a scroller will impose at bounce
2865     * animations, for all Elementary application windows.
2866     *
2867     * @param friction the thumb scroll bounce friction
2868     *
2869     * @see elm_thumbscroll_bounce_friction_get()
2870     * @ingroup Scrolling
2871     */
2872    EAPI void             elm_scroll_bounce_friction_all_set(double friction);
2873
2874    /**
2875     * Get the amount of inertia a <b>paged</b> scroller will impose at
2876     * page fitting animations.
2877     *
2878     * @return the page scroll friction
2879     *
2880     * @ingroup Scrolling
2881     */
2882    EAPI double           elm_scroll_page_scroll_friction_get(void);
2883
2884    /**
2885     * Set the amount of inertia a <b>paged</b> scroller will impose at
2886     * page fitting animations.
2887     *
2888     * @param friction the page scroll friction
2889     *
2890     * @see elm_thumbscroll_page_scroll_friction_get()
2891     * @ingroup Scrolling
2892     */
2893    EAPI void             elm_scroll_page_scroll_friction_set(double friction);
2894
2895    /**
2896     * Set the amount of inertia a <b>paged</b> scroller will impose at
2897     * page fitting animations, for all Elementary application windows.
2898     *
2899     * @param friction the page scroll friction
2900     *
2901     * @see elm_thumbscroll_page_scroll_friction_get()
2902     * @ingroup Scrolling
2903     */
2904    EAPI void             elm_scroll_page_scroll_friction_all_set(double friction);
2905
2906    /**
2907     * Get the amount of inertia a scroller will impose at region bring
2908     * animations.
2909     *
2910     * @return the bring in scroll friction
2911     *
2912     * @ingroup Scrolling
2913     */
2914    EAPI double           elm_scroll_bring_in_scroll_friction_get(void);
2915
2916    /**
2917     * Set the amount of inertia a scroller will impose at region bring
2918     * animations.
2919     *
2920     * @param friction the bring in scroll friction
2921     *
2922     * @see elm_thumbscroll_bring_in_scroll_friction_get()
2923     * @ingroup Scrolling
2924     */
2925    EAPI void             elm_scroll_bring_in_scroll_friction_set(double friction);
2926
2927    /**
2928     * Set the amount of inertia a scroller will impose at region bring
2929     * animations, for all Elementary application windows.
2930     *
2931     * @param friction the bring in scroll friction
2932     *
2933     * @see elm_thumbscroll_bring_in_scroll_friction_get()
2934     * @ingroup Scrolling
2935     */
2936    EAPI void             elm_scroll_bring_in_scroll_friction_all_set(double friction);
2937
2938    /**
2939     * Get the amount of inertia scrollers will impose at animations
2940     * triggered by Elementary widgets' zooming API.
2941     *
2942     * @return the zoom friction
2943     *
2944     * @ingroup Scrolling
2945     */
2946    EAPI double           elm_scroll_zoom_friction_get(void);
2947
2948    /**
2949     * Set the amount of inertia scrollers will impose at animations
2950     * triggered by Elementary widgets' zooming API.
2951     *
2952     * @param friction the zoom friction
2953     *
2954     * @see elm_thumbscroll_zoom_friction_get()
2955     * @ingroup Scrolling
2956     */
2957    EAPI void             elm_scroll_zoom_friction_set(double friction);
2958
2959    /**
2960     * Set the amount of inertia scrollers will impose at animations
2961     * triggered by Elementary widgets' zooming API, for all Elementary
2962     * application windows.
2963     *
2964     * @param friction the zoom friction
2965     *
2966     * @see elm_thumbscroll_zoom_friction_get()
2967     * @ingroup Scrolling
2968     */
2969    EAPI void             elm_scroll_zoom_friction_all_set(double friction);
2970
2971    /**
2972     * Get whether scrollers should be draggable from any point in their
2973     * views.
2974     *
2975     * @return the thumb scroll state
2976     *
2977     * @note This is the default behavior for touch screens, in general.
2978     * @note All other functions namespaced with "thumbscroll" will only
2979     *       have effect if this mode is enabled.
2980     *
2981     * @ingroup Scrolling
2982     */
2983    EAPI Eina_Bool        elm_scroll_thumbscroll_enabled_get(void);
2984
2985    /**
2986     * Set whether scrollers should be draggable from any point in their
2987     * views.
2988     *
2989     * @param enabled the thumb scroll state
2990     *
2991     * @see elm_thumbscroll_enabled_get()
2992     * @ingroup Scrolling
2993     */
2994    EAPI void             elm_scroll_thumbscroll_enabled_set(Eina_Bool enabled);
2995
2996    /**
2997     * Set whether scrollers should be draggable from any point in their
2998     * views, for all Elementary application windows.
2999     *
3000     * @param enabled the thumb scroll state
3001     *
3002     * @see elm_thumbscroll_enabled_get()
3003     * @ingroup Scrolling
3004     */
3005    EAPI void             elm_scroll_thumbscroll_enabled_all_set(Eina_Bool enabled);
3006
3007    /**
3008     * Get the number of pixels one should travel while dragging a
3009     * scroller's view to actually trigger scrolling.
3010     *
3011     * @return the thumb scroll threshould
3012     *
3013     * One would use higher values for touch screens, in general, because
3014     * of their inherent imprecision.
3015     * @ingroup Scrolling
3016     */
3017    EAPI unsigned int     elm_scroll_thumbscroll_threshold_get(void);
3018
3019    /**
3020     * Set the number of pixels one should travel while dragging a
3021     * scroller's view to actually trigger scrolling.
3022     *
3023     * @param threshold the thumb scroll threshould
3024     *
3025     * @see elm_thumbscroll_threshould_get()
3026     * @ingroup Scrolling
3027     */
3028    EAPI void             elm_scroll_thumbscroll_threshold_set(unsigned int threshold);
3029
3030    /**
3031     * Set the number of pixels one should travel while dragging a
3032     * scroller's view to actually trigger scrolling, for all Elementary
3033     * application windows.
3034     *
3035     * @param threshold the thumb scroll threshould
3036     *
3037     * @see elm_thumbscroll_threshould_get()
3038     * @ingroup Scrolling
3039     */
3040    EAPI void             elm_scroll_thumbscroll_threshold_all_set(unsigned int threshold);
3041
3042    /**
3043     * Get the minimum speed of mouse cursor movement which will trigger
3044     * list self scrolling animation after a mouse up event
3045     * (pixels/second).
3046     *
3047     * @return the thumb scroll momentum threshould
3048     *
3049     * @ingroup Scrolling
3050     */
3051    EAPI double           elm_scroll_thumbscroll_momentum_threshold_get(void);
3052
3053    /**
3054     * Set the minimum speed of mouse cursor movement which will trigger
3055     * list self scrolling animation after a mouse up event
3056     * (pixels/second).
3057     *
3058     * @param threshold the thumb scroll momentum threshould
3059     *
3060     * @see elm_thumbscroll_momentum_threshould_get()
3061     * @ingroup Scrolling
3062     */
3063    EAPI void             elm_scroll_thumbscroll_momentum_threshold_set(double threshold);
3064
3065    /**
3066     * Set the minimum speed of mouse cursor movement which will trigger
3067     * list self scrolling animation after a mouse up event
3068     * (pixels/second), for all Elementary application windows.
3069     *
3070     * @param threshold the thumb scroll momentum threshould
3071     *
3072     * @see elm_thumbscroll_momentum_threshould_get()
3073     * @ingroup Scrolling
3074     */
3075    EAPI void             elm_scroll_thumbscroll_momentum_threshold_all_set(double threshold);
3076
3077    /**
3078     * Get the amount of inertia a scroller will impose at self scrolling
3079     * animations.
3080     *
3081     * @return the thumb scroll friction
3082     *
3083     * @ingroup Scrolling
3084     */
3085    EAPI double           elm_scroll_thumbscroll_friction_get(void);
3086
3087    /**
3088     * Set the amount of inertia a scroller will impose at self scrolling
3089     * animations.
3090     *
3091     * @param friction the thumb scroll friction
3092     *
3093     * @see elm_thumbscroll_friction_get()
3094     * @ingroup Scrolling
3095     */
3096    EAPI void             elm_scroll_thumbscroll_friction_set(double friction);
3097
3098    /**
3099     * Set the amount of inertia a scroller will impose at self scrolling
3100     * animations, for all Elementary application windows.
3101     *
3102     * @param friction the thumb scroll friction
3103     *
3104     * @see elm_thumbscroll_friction_get()
3105     * @ingroup Scrolling
3106     */
3107    EAPI void             elm_scroll_thumbscroll_friction_all_set(double friction);
3108
3109    /**
3110     * Get the amount of lag between your actual mouse cursor dragging
3111     * movement and a scroller's view movement itself, while pushing it
3112     * into bounce state manually.
3113     *
3114     * @return the thumb scroll border friction
3115     *
3116     * @ingroup Scrolling
3117     */
3118    EAPI double           elm_scroll_thumbscroll_border_friction_get(void);
3119
3120    /**
3121     * Set the amount of lag between your actual mouse cursor dragging
3122     * movement and a scroller's view movement itself, while pushing it
3123     * into bounce state manually.
3124     *
3125     * @param friction the thumb scroll border friction. @c 0.0 for
3126     *        perfect synchrony between two movements, @c 1.0 for maximum
3127     *        lag.
3128     *
3129     * @see elm_thumbscroll_border_friction_get()
3130     * @note parameter value will get bound to 0.0 - 1.0 interval, always
3131     *
3132     * @ingroup Scrolling
3133     */
3134    EAPI void             elm_scroll_thumbscroll_border_friction_set(double friction);
3135
3136    /**
3137     * Set the amount of lag between your actual mouse cursor dragging
3138     * movement and a scroller's view movement itself, while pushing it
3139     * into bounce state manually, for all Elementary application windows.
3140     *
3141     * @param friction the thumb scroll border friction. @c 0.0 for
3142     *        perfect synchrony between two movements, @c 1.0 for maximum
3143     *        lag.
3144     *
3145     * @see elm_thumbscroll_border_friction_get()
3146     * @note parameter value will get bound to 0.0 - 1.0 interval, always
3147     *
3148     * @ingroup Scrolling
3149     */
3150    EAPI void             elm_scroll_thumbscroll_border_friction_all_set(double friction);
3151
3152    /**
3153     * Get the sensitivity amount which is be multiplied by the length of
3154     * mouse dragging.
3155     *
3156     * @return the thumb scroll sensitivity friction
3157     *
3158     * @ingroup Scrolling
3159     */
3160    EAPI double           elm_scroll_thumbscroll_sensitivity_friction_get(void);
3161
3162    /**
3163     * Set the sensitivity amount which is be multiplied by the length of
3164     * mouse dragging.
3165     *
3166     * @param friction the thumb scroll sensitivity friction. @c 0.1 for
3167     *        minimun sensitivity, @c 1.0 for maximum sensitivity. 0.25
3168     *        is proper.
3169     *
3170     * @see elm_thumbscroll_sensitivity_friction_get()
3171     * @note parameter value will get bound to 0.1 - 1.0 interval, always
3172     *
3173     * @ingroup Scrolling
3174     */
3175    EAPI void             elm_scroll_thumbscroll_sensitivity_friction_set(double friction);
3176
3177    /**
3178     * Set the sensitivity amount which is be multiplied by the length of
3179     * mouse dragging, for all Elementary application windows.
3180     *
3181     * @param friction the thumb scroll sensitivity friction. @c 0.1 for
3182     *        minimun sensitivity, @c 1.0 for maximum sensitivity. 0.25
3183     *        is proper.
3184     *
3185     * @see elm_thumbscroll_sensitivity_friction_get()
3186     * @note parameter value will get bound to 0.1 - 1.0 interval, always
3187     *
3188     * @ingroup Scrolling
3189     */
3190    EAPI void             elm_scroll_thumbscroll_sensitivity_friction_all_set(double friction);
3191
3192    /**
3193     * @}
3194     */
3195
3196    /**
3197     * @defgroup Scrollhints Scrollhints
3198     *
3199     * Objects when inside a scroller can scroll, but this may not always be
3200     * desirable in certain situations. This allows an object to hint to itself
3201     * and parents to "not scroll" in one of 2 ways. If any child object of a
3202     * scroller has pushed a scroll freeze or hold then it affects all parent
3203     * scrollers until all children have released them.
3204     *
3205     * 1. To hold on scrolling. This means just flicking and dragging may no
3206     * longer scroll, but pressing/dragging near an edge of the scroller will
3207     * still scroll. This is automatically used by the entry object when
3208     * selecting text.
3209     *
3210     * 2. To totally freeze scrolling. This means it stops. until
3211     * popped/released.
3212     *
3213     * @{
3214     */
3215
3216    /**
3217     * Push the scroll hold by 1
3218     *
3219     * This increments the scroll hold count by one. If it is more than 0 it will
3220     * take effect on the parents of the indicated object.
3221     *
3222     * @param obj The object
3223     * @ingroup Scrollhints
3224     */
3225    EAPI void             elm_object_scroll_hold_push(Evas_Object *obj) EINA_ARG_NONNULL(1);
3226
3227    /**
3228     * Pop the scroll hold by 1
3229     *
3230     * This decrements the scroll hold count by one. If it is more than 0 it will
3231     * take effect on the parents of the indicated object.
3232     *
3233     * @param obj The object
3234     * @ingroup Scrollhints
3235     */
3236    EAPI void             elm_object_scroll_hold_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
3237
3238    /**
3239     * Push the scroll freeze by 1
3240     *
3241     * This increments the scroll freeze count by one. If it is more
3242     * than 0 it will take effect on the parents of the indicated
3243     * object.
3244     *
3245     * @param obj The object
3246     * @ingroup Scrollhints
3247     */
3248    EAPI void             elm_object_scroll_freeze_push(Evas_Object *obj) EINA_ARG_NONNULL(1);
3249
3250    /**
3251     * Pop the scroll freeze by 1
3252     *
3253     * This decrements the scroll freeze count by one. If it is more
3254     * than 0 it will take effect on the parents of the indicated
3255     * object.
3256     *
3257     * @param obj The object
3258     * @ingroup Scrollhints
3259     */
3260    EAPI void             elm_object_scroll_freeze_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
3261
3262    /**
3263     * Lock the scrolling of the given widget (and thus all parents)
3264     *
3265     * This locks the given object from scrolling in the X axis (and implicitly
3266     * also locks all parent scrollers too from doing the same).
3267     *
3268     * @param obj The object
3269     * @param lock The lock state (1 == locked, 0 == unlocked)
3270     * @ingroup Scrollhints
3271     */
3272    EAPI void             elm_object_scroll_lock_x_set(Evas_Object *obj, Eina_Bool lock) EINA_ARG_NONNULL(1);
3273
3274    /**
3275     * Lock the scrolling of the given widget (and thus all parents)
3276     *
3277     * This locks the given object from scrolling in the Y axis (and implicitly
3278     * also locks all parent scrollers too from doing the same).
3279     *
3280     * @param obj The object
3281     * @param lock The lock state (1 == locked, 0 == unlocked)
3282     * @ingroup Scrollhints
3283     */
3284    EAPI void             elm_object_scroll_lock_y_set(Evas_Object *obj, Eina_Bool lock) EINA_ARG_NONNULL(1);
3285
3286    /**
3287     * Get the scrolling lock of the given widget
3288     *
3289     * This gets the lock for X axis scrolling.
3290     *
3291     * @param obj The object
3292     * @ingroup Scrollhints
3293     */
3294    EAPI Eina_Bool        elm_object_scroll_lock_x_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3295
3296    /**
3297     * Get the scrolling lock of the given widget
3298     *
3299     * This gets the lock for X axis scrolling.
3300     *
3301     * @param obj The object
3302     * @ingroup Scrollhints
3303     */
3304    EAPI Eina_Bool        elm_object_scroll_lock_y_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3305
3306    /**
3307     * @}
3308     */
3309
3310    /**
3311     * Send a signal to the widget edje object.
3312     *
3313     * This function sends a signal to the edje object of the obj. An
3314     * edje program can respond to a signal by specifying matching
3315     * 'signal' and 'source' fields.
3316     *
3317     * @param obj The object
3318     * @param emission The signal's name.
3319     * @param source The signal's source.
3320     * @ingroup General
3321     */
3322    EAPI void             elm_object_signal_emit(Evas_Object *obj, const char *emission, const char *source) EINA_ARG_NONNULL(1);
3323
3324    /**
3325     * Add a callback for a signal emitted by widget edje object.
3326     *
3327     * This function connects a callback function to a signal emitted by the
3328     * edje object of the obj.
3329     * Globs can occur in either the emission or source name.
3330     *
3331     * @param obj The object
3332     * @param emission The signal's name.
3333     * @param source The signal's source.
3334     * @param func The callback function to be executed when the signal is
3335     * emitted.
3336     * @param data A pointer to data to pass in to the callback function.
3337     * @ingroup General
3338     */
3339    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);
3340
3341    /**
3342     * Remove a signal-triggered callback from a widget edje object.
3343     *
3344     * This function removes a callback, previoulsy attached to a
3345     * signal emitted by the edje object of the obj.  The parameters
3346     * emission, source and func must match exactly those passed to a
3347     * previous call to elm_object_signal_callback_add(). The data
3348     * pointer that was passed to this call will be returned.
3349     *
3350     * @param obj The object
3351     * @param emission The signal's name.
3352     * @param source The signal's source.
3353     * @param func The callback function to be executed when the signal is
3354     * emitted.
3355     * @return The data pointer
3356     * @ingroup General
3357     */
3358    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);
3359
3360    /**
3361     * Add a callback for input events (key up, key down, mouse wheel)
3362     * on a given Elementary widget
3363     *
3364     * @param obj The widget to add an event callback on
3365     * @param func The callback function to be executed when the event
3366     * happens
3367     * @param data Data to pass in to @p func
3368     *
3369     * Every widget in an Elementary interface set to receive focus,
3370     * with elm_object_focus_allow_set(), will propagate @b all of its
3371     * key up, key down and mouse wheel input events up to its parent
3372     * object, and so on. All of the focusable ones in this chain which
3373     * had an event callback set, with this call, will be able to treat
3374     * those events. There are two ways of making the propagation of
3375     * these event upwards in the tree of widgets to @b cease:
3376     * - Just return @c EINA_TRUE on @p func. @c EINA_FALSE will mean
3377     *   the event was @b not processed, so the propagation will go on.
3378     * - The @c event_info pointer passed to @p func will contain the
3379     *   event's structure and, if you OR its @c event_flags inner
3380     *   value to @c EVAS_EVENT_FLAG_ON_HOLD, you're telling Elementary
3381     *   one has already handled it, thus killing the event's
3382     *   propagation, too.
3383     *
3384     * @note Your event callback will be issued on those events taking
3385     * place only if no other child widget of @obj has consumed the
3386     * event already.
3387     *
3388     * @note Not to be confused with @c
3389     * evas_object_event_callback_add(), which will add event callbacks
3390     * per type on general Evas objects (no event propagation
3391     * infrastructure taken in account).
3392     *
3393     * @note Not to be confused with @c
3394     * elm_object_signal_callback_add(), which will add callbacks to @b
3395     * signals coming from a widget's theme, not input events.
3396     *
3397     * @note Not to be confused with @c
3398     * edje_object_signal_callback_add(), which does the same as
3399     * elm_object_signal_callback_add(), but directly on an Edje
3400     * object.
3401     *
3402     * @note Not to be confused with @c
3403     * evas_object_smart_callback_add(), which adds callbacks to smart
3404     * objects' <b>smart events</b>, and not input events.
3405     *
3406     * @see elm_object_event_callback_del()
3407     *
3408     * @ingroup General
3409     */
3410    EAPI void             elm_object_event_callback_add(Evas_Object *obj, Elm_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
3411
3412    /**
3413     * Remove an event callback from a widget.
3414     *
3415     * This function removes a callback, previoulsy attached to event emission
3416     * by the @p obj.
3417     * The parameters func and data must match exactly those passed to
3418     * a previous call to elm_object_event_callback_add(). The data pointer that
3419     * was passed to this call will be returned.
3420     *
3421     * @param obj The object
3422     * @param func The callback function to be executed when the event is
3423     * emitted.
3424     * @param data Data to pass in to the callback function.
3425     * @return The data pointer
3426     * @ingroup General
3427     */
3428    EAPI void            *elm_object_event_callback_del(Evas_Object *obj, Elm_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
3429
3430    /**
3431     * Adjust size of an element for finger usage.
3432     *
3433     * @param times_w How many fingers should fit horizontally
3434     * @param w Pointer to the width size to adjust
3435     * @param times_h How many fingers should fit vertically
3436     * @param h Pointer to the height size to adjust
3437     *
3438     * This takes width and height sizes (in pixels) as input and a
3439     * size multiple (which is how many fingers you want to place
3440     * within the area, being "finger" the size set by
3441     * elm_finger_size_set()), and adjusts the size to be large enough
3442     * to accommodate the resulting size -- if it doesn't already
3443     * accommodate it. On return the @p w and @p h sizes pointed to by
3444     * these parameters will be modified, on those conditions.
3445     *
3446     * @note This is kind of a low level Elementary call, most useful
3447     * on size evaluation times for widgets. An external user wouldn't
3448     * be calling, most of the time.
3449     *
3450     * @ingroup Fingers
3451     */
3452    EAPI void             elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, Evas_Coord *h);
3453
3454    /**
3455     * Get the duration for occuring long press event.
3456     *
3457     * @return Timeout for long press event
3458     * @ingroup Longpress
3459     */
3460    EAPI double           elm_longpress_timeout_get(void);
3461
3462    /**
3463     * Set the duration for occuring long press event.
3464     *
3465     * @param lonpress_timeout Timeout for long press event
3466     * @ingroup Longpress
3467     */
3468    EAPI void             elm_longpress_timeout_set(double longpress_timeout);
3469
3470    /**
3471     * @defgroup Debug Debug
3472     * don't use it unless you are sure
3473     *
3474     * @{
3475     */
3476
3477    /**
3478     * Print Tree object hierarchy in stdout
3479     *
3480     * @param obj The root object
3481     * @ingroup Debug
3482     */
3483    EAPI void             elm_object_tree_dump(const Evas_Object *top);
3484
3485    /**
3486     * Print Elm Objects tree hierarchy in file as dot(graphviz) syntax.
3487     *
3488     * @param obj The root object
3489     * @param file The path of output file
3490     * @ingroup Debug
3491     */
3492    EAPI void             elm_object_tree_dot_dump(const Evas_Object *top, const char *file);
3493
3494    /**
3495     * @}
3496     */
3497
3498    /**
3499     * @defgroup Theme Theme
3500     *
3501     * Elementary uses Edje to theme its widgets, naturally. But for the most
3502     * part this is hidden behind a simpler interface that lets the user set
3503     * extensions and choose the style of widgets in a much easier way.
3504     *
3505     * Instead of thinking in terms of paths to Edje files and their groups
3506     * each time you want to change the appearance of a widget, Elementary
3507     * works so you can add any theme file with extensions or replace the
3508     * main theme at one point in the application, and then just set the style
3509     * of widgets with elm_object_style_set() and related functions. Elementary
3510     * will then look in its list of themes for a matching group and apply it,
3511     * and when the theme changes midway through the application, all widgets
3512     * will be updated accordingly.
3513     *
3514     * There are three concepts you need to know to understand how Elementary
3515     * theming works: default theme, extensions and overlays.
3516     *
3517     * Default theme, obviously enough, is the one that provides the default
3518     * look of all widgets. End users can change the theme used by Elementary
3519     * by setting the @c ELM_THEME environment variable before running an
3520     * application, or globally for all programs using the @c elementary_config
3521     * utility. Applications can change the default theme using elm_theme_set(),
3522     * but this can go against the user wishes, so it's not an adviced practice.
3523     *
3524     * Ideally, applications should find everything they need in the already
3525     * provided theme, but there may be occasions when that's not enough and
3526     * custom styles are required to correctly express the idea. For this
3527     * cases, Elementary has extensions.
3528     *
3529     * Extensions allow the application developer to write styles of its own
3530     * to apply to some widgets. This requires knowledge of how each widget
3531     * is themed, as extensions will always replace the entire group used by
3532     * the widget, so important signals and parts need to be there for the
3533     * object to behave properly (see documentation of Edje for details).
3534     * Once the theme for the extension is done, the application needs to add
3535     * it to the list of themes Elementary will look into, using
3536     * elm_theme_extension_add(), and set the style of the desired widgets as
3537     * he would normally with elm_object_style_set().
3538     *
3539     * Overlays, on the other hand, can replace the look of all widgets by
3540     * overriding the default style. Like extensions, it's up to the application
3541     * developer to write the theme for the widgets it wants, the difference
3542     * being that when looking for the theme, Elementary will check first the
3543     * list of overlays, then the set theme and lastly the list of extensions,
3544     * so with overlays it's possible to replace the default view and every
3545     * widget will be affected. This is very much alike to setting the whole
3546     * theme for the application and will probably clash with the end user
3547     * options, not to mention the risk of ending up with not matching styles
3548     * across the program. Unless there's a very special reason to use them,
3549     * overlays should be avoided for the resons exposed before.
3550     *
3551     * All these theme lists are handled by ::Elm_Theme instances. Elementary
3552     * keeps one default internally and every function that receives one of
3553     * these can be called with NULL to refer to this default (except for
3554     * elm_theme_free()). It's possible to create a new instance of a
3555     * ::Elm_Theme to set other theme for a specific widget (and all of its
3556     * children), but this is as discouraged, if not even more so, than using
3557     * overlays. Don't use this unless you really know what you are doing.
3558     *
3559     * But to be less negative about things, you can look at the following
3560     * examples:
3561     * @li @ref theme_example_01 "Using extensions"
3562     * @li @ref theme_example_02 "Using overlays"
3563     *
3564     * @{
3565     */
3566    /**
3567     * @typedef Elm_Theme
3568     *
3569     * Opaque handler for the list of themes Elementary looks for when
3570     * rendering widgets.
3571     *
3572     * Stay out of this unless you really know what you are doing. For most
3573     * cases, sticking to the default is all a developer needs.
3574     */
3575    typedef struct _Elm_Theme Elm_Theme;
3576
3577    /**
3578     * Create a new specific theme
3579     *
3580     * This creates an empty specific theme that only uses the default theme. A
3581     * specific theme has its own private set of extensions and overlays too
3582     * (which are empty by default). Specific themes do not fall back to themes
3583     * of parent objects. They are not intended for this use. Use styles, overlays
3584     * and extensions when needed, but avoid specific themes unless there is no
3585     * other way (example: you want to have a preview of a new theme you are
3586     * selecting in a "theme selector" window. The preview is inside a scroller
3587     * and should display what the theme you selected will look like, but not
3588     * actually apply it yet. The child of the scroller will have a specific
3589     * theme set to show this preview before the user decides to apply it to all
3590     * applications).
3591     */
3592    EAPI Elm_Theme       *elm_theme_new(void);
3593
3594    /**
3595     * Free a specific theme
3596     *
3597     * @param th The theme to free
3598     *
3599     * This frees a theme created with elm_theme_new().
3600     */
3601    EAPI void             elm_theme_free(Elm_Theme *th);
3602
3603    /**
3604     * Copy the theme fom the source to the destination theme
3605     *
3606     * @param th The source theme to copy from
3607     * @param thdst The destination theme to copy data to
3608     *
3609     * This makes a one-time static copy of all the theme config, extensions
3610     * and overlays from @p th to @p thdst. If @p th references a theme, then
3611     * @p thdst is also set to reference it, with all the theme settings,
3612     * overlays and extensions that @p th had.
3613     */
3614    EAPI void             elm_theme_copy(Elm_Theme *th, Elm_Theme *thdst);
3615
3616    /**
3617     * Tell the source theme to reference the ref theme
3618     *
3619     * @param th The theme that will do the referencing
3620     * @param thref The theme that is the reference source
3621     *
3622     * This clears @p th to be empty and then sets it to refer to @p thref
3623     * so @p th acts as an override to @p thref, but where its overrides
3624     * don't apply, it will fall through to @p thref for configuration.
3625     */
3626    EAPI void             elm_theme_ref_set(Elm_Theme *th, Elm_Theme *thref);
3627
3628    /**
3629     * Return the theme referred to
3630     *
3631     * @param th The theme to get the reference from
3632     * @return The referenced theme handle
3633     *
3634     * This gets the theme set as the reference theme by elm_theme_ref_set().
3635     * If no theme is set as a reference, NULL is returned.
3636     */
3637    EAPI Elm_Theme       *elm_theme_ref_get(Elm_Theme *th);
3638
3639    /**
3640     * Return the default theme
3641     *
3642     * @return The default theme handle
3643     *
3644     * This returns the internal default theme setup handle that all widgets
3645     * use implicitly unless a specific theme is set. This is also often use
3646     * as a shorthand of NULL.
3647     */
3648    EAPI Elm_Theme       *elm_theme_default_get(void);
3649
3650    /**
3651     * Prepends a theme overlay to the list of overlays
3652     *
3653     * @param th The theme to add to, or if NULL, the default theme
3654     * @param item The Edje file path to be used
3655     *
3656     * Use this if your application needs to provide some custom overlay theme
3657     * (An Edje file that replaces some default styles of widgets) where adding
3658     * new styles, or changing system theme configuration is not possible. Do
3659     * NOT use this instead of a proper system theme configuration. Use proper
3660     * configuration files, profiles, environment variables etc. to set a theme
3661     * so that the theme can be altered by simple confiugration by a user. Using
3662     * this call to achieve that effect is abusing the API and will create lots
3663     * of trouble.
3664     *
3665     * @see elm_theme_extension_add()
3666     */
3667    EAPI void             elm_theme_overlay_add(Elm_Theme *th, const char *item);
3668
3669    /**
3670     * Delete a theme overlay from the list of overlays
3671     *
3672     * @param th The theme to delete from, or if NULL, the default theme
3673     * @param item The name of the theme overlay
3674     *
3675     * @see elm_theme_overlay_add()
3676     */
3677    EAPI void             elm_theme_overlay_del(Elm_Theme *th, const char *item);
3678
3679    /**
3680     * Appends a theme extension to the list of extensions.
3681     *
3682     * @param th The theme to add to, or if NULL, the default theme
3683     * @param item The Edje file path to be used
3684     *
3685     * This is intended when an application needs more styles of widgets or new
3686     * widget themes that the default does not provide (or may not provide). The
3687     * application has "extended" usage by coming up with new custom style names
3688     * for widgets for specific uses, but as these are not "standard", they are
3689     * not guaranteed to be provided by a default theme. This means the
3690     * application is required to provide these extra elements itself in specific
3691     * Edje files. This call adds one of those Edje files to the theme search
3692     * path to be search after the default theme. The use of this call is
3693     * encouraged when default styles do not meet the needs of the application.
3694     * Use this call instead of elm_theme_overlay_add() for almost all cases.
3695     *
3696     * @see elm_object_style_set()
3697     */
3698    EAPI void             elm_theme_extension_add(Elm_Theme *th, const char *item);
3699
3700    /**
3701     * Deletes a theme extension from the list of extensions.
3702     *
3703     * @param th The theme to delete from, or if NULL, the default theme
3704     * @param item The name of the theme extension
3705     *
3706     * @see elm_theme_extension_add()
3707     */
3708    EAPI void             elm_theme_extension_del(Elm_Theme *th, const char *item);
3709
3710    /**
3711     * Set the theme search order for the given theme
3712     *
3713     * @param th The theme to set the search order, or if NULL, the default theme
3714     * @param theme Theme search string
3715     *
3716     * This sets the search string for the theme in path-notation from first
3717     * theme to search, to last, delimited by the : character. Example:
3718     *
3719     * "shiny:/path/to/file.edj:default"
3720     *
3721     * See the ELM_THEME environment variable for more information.
3722     *
3723     * @see elm_theme_get()
3724     * @see elm_theme_list_get()
3725     */
3726    EAPI void             elm_theme_set(Elm_Theme *th, const char *theme);
3727
3728    /**
3729     * Return the theme search order
3730     *
3731     * @param th The theme to get the search order, or if NULL, the default theme
3732     * @return The internal search order path
3733     *
3734     * This function returns a colon separated string of theme elements as
3735     * returned by elm_theme_list_get().
3736     *
3737     * @see elm_theme_set()
3738     * @see elm_theme_list_get()
3739     */
3740    EAPI const char      *elm_theme_get(Elm_Theme *th);
3741
3742    /**
3743     * Return a list of theme elements to be used in a theme.
3744     *
3745     * @param th Theme to get the list of theme elements from.
3746     * @return The internal list of theme elements
3747     *
3748     * This returns the internal list of theme elements (will only be valid as
3749     * long as the theme is not modified by elm_theme_set() or theme is not
3750     * freed by elm_theme_free(). This is a list of strings which must not be
3751     * altered as they are also internal. If @p th is NULL, then the default
3752     * theme element list is returned.
3753     *
3754     * A theme element can consist of a full or relative path to a .edj file,
3755     * or a name, without extension, for a theme to be searched in the known
3756     * theme paths for Elemementary.
3757     *
3758     * @see elm_theme_set()
3759     * @see elm_theme_get()
3760     */
3761    EAPI const Eina_List *elm_theme_list_get(const Elm_Theme *th);
3762
3763    /**
3764     * Return the full patrh for a theme element
3765     *
3766     * @param f The theme element name
3767     * @param in_search_path Pointer to a boolean to indicate if item is in the search path or not
3768     * @return The full path to the file found.
3769     *
3770     * This returns a string you should free with free() on success, NULL on
3771     * failure. This will search for the given theme element, and if it is a
3772     * full or relative path element or a simple searchable name. The returned
3773     * path is the full path to the file, if searched, and the file exists, or it
3774     * is simply the full path given in the element or a resolved path if
3775     * relative to home. The @p in_search_path boolean pointed to is set to
3776     * EINA_TRUE if the file was a searchable file andis in the search path,
3777     * and EINA_FALSE otherwise.
3778     */
3779    EAPI char            *elm_theme_list_item_path_get(const char *f, Eina_Bool *in_search_path);
3780
3781    /**
3782     * Flush the current theme.
3783     *
3784     * @param th Theme to flush
3785     *
3786     * This flushes caches that let elementary know where to find theme elements
3787     * in the given theme. If @p th is NULL, then the default theme is flushed.
3788     * Call this function if source theme data has changed in such a way as to
3789     * make any caches Elementary kept invalid.
3790     */
3791    EAPI void             elm_theme_flush(Elm_Theme *th);
3792
3793    /**
3794     * This flushes all themes (default and specific ones).
3795     *
3796     * This will flush all themes in the current application context, by calling
3797     * elm_theme_flush() on each of them.
3798     */
3799    EAPI void             elm_theme_full_flush(void);
3800
3801    /**
3802     * Set the theme for all elementary using applications on the current display
3803     *
3804     * @param theme The name of the theme to use. Format same as the ELM_THEME
3805     * environment variable.
3806     */
3807    EAPI void             elm_theme_all_set(const char *theme);
3808
3809    /**
3810     * Return a list of theme elements in the theme search path
3811     *
3812     * @return A list of strings that are the theme element names.
3813     *
3814     * This lists all available theme files in the standard Elementary search path
3815     * for theme elements, and returns them in alphabetical order as theme
3816     * element names in a list of strings. Free this with
3817     * elm_theme_name_available_list_free() when you are done with the list.
3818     */
3819    EAPI Eina_List       *elm_theme_name_available_list_new(void);
3820
3821    /**
3822     * Free the list returned by elm_theme_name_available_list_new()
3823     *
3824     * This frees the list of themes returned by
3825     * elm_theme_name_available_list_new(). Once freed the list should no longer
3826     * be used. a new list mys be created.
3827     */
3828    EAPI void             elm_theme_name_available_list_free(Eina_List *list);
3829
3830    /**
3831     * Set a specific theme to be used for this object and its children
3832     *
3833     * @param obj The object to set the theme on
3834     * @param th The theme to set
3835     *
3836     * This sets a specific theme that will be used for the given object and any
3837     * child objects it has. If @p th is NULL then the theme to be used is
3838     * cleared and the object will inherit its theme from its parent (which
3839     * ultimately will use the default theme if no specific themes are set).
3840     *
3841     * Use special themes with great care as this will annoy users and make
3842     * configuration difficult. Avoid any custom themes at all if it can be
3843     * helped.
3844     */
3845    EAPI void             elm_object_theme_set(Evas_Object *obj, Elm_Theme *th) EINA_ARG_NONNULL(1);
3846
3847    /**
3848     * Get the specific theme to be used
3849     *
3850     * @param obj The object to get the specific theme from
3851     * @return The specifc theme set.
3852     *
3853     * This will return a specific theme set, or NULL if no specific theme is
3854     * set on that object. It will not return inherited themes from parents, only
3855     * the specific theme set for that specific object. See elm_object_theme_set()
3856     * for more information.
3857     */
3858    EAPI Elm_Theme       *elm_object_theme_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3859
3860    /**
3861     * Get a data item from a theme
3862     *
3863     * @param th The theme, or NULL for default theme
3864     * @param key The data key to search with
3865     * @return The data value, or NULL on failure
3866     *
3867     * This function is used to return data items from edc in @p th, an overlay, or an extension.
3868     * It works the same way as edje_file_data_get() except that the return is stringshared.
3869     */
3870    EAPI const char      *elm_theme_data_get(Elm_Theme *th, const char *key) EINA_ARG_NONNULL(2);
3871
3872    /**
3873     * @}
3874     */
3875
3876    /* win */
3877    /** @defgroup Win Win
3878     *
3879     * @image html img/widget/win/preview-00.png
3880     * @image latex img/widget/win/preview-00.eps
3881     *
3882     * The window class of Elementary.  Contains functions to manipulate
3883     * windows. The Evas engine used to render the window contents is specified
3884     * in the system or user elementary config files (whichever is found last),
3885     * and can be overridden with the ELM_ENGINE environment variable for
3886     * testing.  Engines that may be supported (depending on Evas and Ecore-Evas
3887     * compilation setup and modules actually installed at runtime) are (listed
3888     * in order of best supported and most likely to be complete and work to
3889     * lowest quality).
3890     *
3891     * @li "x11", "x", "software-x11", "software_x11" (Software rendering in X11)
3892     * @li "gl", "opengl", "opengl-x11", "opengl_x11" (OpenGL or OpenGL-ES2
3893     * rendering in X11)
3894     * @li "shot:..." (Virtual screenshot renderer - renders to output file and
3895     * exits)
3896     * @li "fb", "software-fb", "software_fb" (Linux framebuffer direct software
3897     * rendering)
3898     * @li "sdl", "software-sdl", "software_sdl" (SDL software rendering to SDL
3899     * buffer)
3900     * @li "gl-sdl", "gl_sdl", "opengl-sdl", "opengl_sdl" (OpenGL or OpenGL-ES2
3901     * rendering using SDL as the buffer)
3902     * @li "gdi", "software-gdi", "software_gdi" (Windows WIN32 rendering via
3903     * GDI with software)
3904     * @li "dfb", "directfb" (Rendering to a DirectFB window)
3905     * @li "x11-8", "x8", "software-8-x11", "software_8_x11" (Rendering in
3906     * grayscale using dedicated 8bit software engine in X11)
3907     * @li "x11-16", "x16", "software-16-x11", "software_16_x11" (Rendering in
3908     * X11 using 16bit software engine)
3909     * @li "wince-gdi", "software-16-wince-gdi", "software_16_wince_gdi"
3910     * (Windows CE rendering via GDI with 16bit software renderer)
3911     * @li "sdl-16", "software-16-sdl", "software_16_sdl" (Rendering to SDL
3912     * buffer with 16bit software renderer)
3913     * @li "ews" (rendering to EWS - Ecore + Evas Single Process Windowing System)
3914     * @li "gl-cocoa", "gl_cocoa", "opengl-cocoa", "opengl_cocoa" (OpenGL rendering in Cocoa)
3915     * @li "psl1ght" (PS3 rendering using PSL1GHT)
3916     *
3917     * All engines use a simple string to select the engine to render, EXCEPT
3918     * the "shot" engine. This actually encodes the output of the virtual
3919     * screenshot and how long to delay in the engine string. The engine string
3920     * is encoded in the following way:
3921     *
3922     *   "shot:[delay=XX][:][repeat=DDD][:][file=XX]"
3923     *
3924     * Where options are separated by a ":" char if more than one option is
3925     * given, with delay, if provided being the first option and file the last
3926     * (order is important). The delay specifies how long to wait after the
3927     * window is shown before doing the virtual "in memory" rendering and then
3928     * save the output to the file specified by the file option (and then exit).
3929     * If no delay is given, the default is 0.5 seconds. If no file is given the
3930     * default output file is "out.png". Repeat option is for continous
3931     * capturing screenshots. Repeat range is from 1 to 999 and filename is
3932     * fixed to "out001.png" Some examples of using the shot engine:
3933     *
3934     *   ELM_ENGINE="shot:delay=1.0:repeat=5:file=elm_test.png" elementary_test
3935     *   ELM_ENGINE="shot:delay=1.0:file=elm_test.png" elementary_test
3936     *   ELM_ENGINE="shot:file=elm_test2.png" elementary_test
3937     *   ELM_ENGINE="shot:delay=2.0" elementary_test
3938     *   ELM_ENGINE="shot:" elementary_test
3939     *
3940     * Signals that you can add callbacks for are:
3941     *
3942     * @li "delete,request": the user requested to close the window. See
3943     * elm_win_autodel_set().
3944     * @li "focus,in": window got focus
3945     * @li "focus,out": window lost focus
3946     * @li "moved": window that holds the canvas was moved
3947     *
3948     * Examples:
3949     * @li @ref win_example_01
3950     *
3951     * @{
3952     */
3953    /**
3954     * Defines the types of window that can be created
3955     *
3956     * These are hints set on the window so that a running Window Manager knows
3957     * how the window should be handled and/or what kind of decorations it
3958     * should have.
3959     *
3960     * Currently, only the X11 backed engines use them.
3961     */
3962    typedef enum _Elm_Win_Type
3963      {
3964         ELM_WIN_BASIC, /**< A normal window. Indicates a normal, top-level
3965                          window. Almost every window will be created with this
3966                          type. */
3967         ELM_WIN_DIALOG_BASIC, /**< Used for simple dialog windows/ */
3968         ELM_WIN_DESKTOP, /**< For special desktop windows, like a background
3969                            window holding desktop icons. */
3970         ELM_WIN_DOCK, /**< The window is used as a dock or panel. Usually would
3971                         be kept on top of any other window by the Window
3972                         Manager. */
3973         ELM_WIN_TOOLBAR, /**< The window is used to hold a floating toolbar, or
3974                            similar. */
3975         ELM_WIN_MENU, /**< Similar to #ELM_WIN_TOOLBAR. */
3976         ELM_WIN_UTILITY, /**< A persistent utility window, like a toolbox or
3977                            pallete. */
3978         ELM_WIN_SPLASH, /**< Splash window for a starting up application. */
3979         ELM_WIN_DROPDOWN_MENU, /**< The window is a dropdown menu, as when an
3980                                  entry in a menubar is clicked. Typically used
3981                                  with elm_win_override_set(). This hint exists
3982                                  for completion only, as the EFL way of
3983                                  implementing a menu would not normally use a
3984                                  separate window for its contents. */
3985         ELM_WIN_POPUP_MENU, /**< Like #ELM_WIN_DROPDOWN_MENU, but for the menu
3986                               triggered by right-clicking an object. */
3987         ELM_WIN_TOOLTIP, /**< The window is a tooltip. A short piece of
3988                            explanatory text that typically appear after the
3989                            mouse cursor hovers over an object for a while.
3990                            Typically used with elm_win_override_set() and also
3991                            not very commonly used in the EFL. */
3992         ELM_WIN_NOTIFICATION, /**< A notification window, like a warning about
3993                                 battery life or a new E-Mail received. */
3994         ELM_WIN_COMBO, /**< A window holding the contents of a combo box. Not
3995                          usually used in the EFL. */
3996         ELM_WIN_DND, /**< Used to indicate the window is a representation of an
3997                        object being dragged across different windows, or even
3998                        applications. Typically used with
3999                        elm_win_override_set(). */
4000         ELM_WIN_INLINED_IMAGE, /**< The window is rendered onto an image
4001                                  buffer. No actual window is created for this
4002                                  type, instead the window and all of its
4003                                  contents will be rendered to an image buffer.
4004                                  This allows to have children window inside a
4005                                  parent one just like any other object would
4006                                  be, and do other things like applying @c
4007                                  Evas_Map effects to it. This is the only type
4008                                  of window that requires the @c parent
4009                                  parameter of elm_win_add() to be a valid @c
4010                                  Evas_Object. */
4011      } Elm_Win_Type;
4012
4013    /**
4014     * The differents layouts that can be requested for the virtual keyboard.
4015     *
4016     * When the application window is being managed by Illume, it may request
4017     * any of the following layouts for the virtual keyboard.
4018     */
4019    typedef enum _Elm_Win_Keyboard_Mode
4020      {
4021         ELM_WIN_KEYBOARD_UNKNOWN, /**< Unknown keyboard state */
4022         ELM_WIN_KEYBOARD_OFF, /**< Request to deactivate the keyboard */
4023         ELM_WIN_KEYBOARD_ON, /**< Enable keyboard with default layout */
4024         ELM_WIN_KEYBOARD_ALPHA, /**< Alpha (a-z) keyboard layout */
4025         ELM_WIN_KEYBOARD_NUMERIC, /**< Numeric keyboard layout */
4026         ELM_WIN_KEYBOARD_PIN, /**< PIN keyboard layout */
4027         ELM_WIN_KEYBOARD_PHONE_NUMBER, /**< Phone keyboard layout */
4028         ELM_WIN_KEYBOARD_HEX, /**< Hexadecimal numeric keyboard layout */
4029         ELM_WIN_KEYBOARD_TERMINAL, /**< Full (QUERTY) keyboard layout */
4030         ELM_WIN_KEYBOARD_PASSWORD, /**< Password keyboard layout */
4031         ELM_WIN_KEYBOARD_IP, /**< IP keyboard layout */
4032         ELM_WIN_KEYBOARD_HOST, /**< Host keyboard layout */
4033         ELM_WIN_KEYBOARD_FILE, /**< File keyboard layout */
4034         ELM_WIN_KEYBOARD_URL, /**< URL keyboard layout */
4035         ELM_WIN_KEYBOARD_KEYPAD, /**< Keypad layout */
4036         ELM_WIN_KEYBOARD_J2ME /**< J2ME keyboard layout */
4037      } Elm_Win_Keyboard_Mode;
4038
4039    /**
4040     * Available commands that can be sent to the Illume manager.
4041     *
4042     * When running under an Illume session, a window may send commands to the
4043     * Illume manager to perform different actions.
4044     */
4045    typedef enum _Elm_Illume_Command
4046      {
4047         ELM_ILLUME_COMMAND_FOCUS_BACK, /**< Reverts focus to the previous
4048                                          window */
4049         ELM_ILLUME_COMMAND_FOCUS_FORWARD, /**< Sends focus to the next window\
4050                                             in the list */
4051         ELM_ILLUME_COMMAND_FOCUS_HOME, /**< Hides all windows to show the Home
4052                                          screen */
4053         ELM_ILLUME_COMMAND_CLOSE /**< Closes the currently active window */
4054      } Elm_Illume_Command;
4055
4056    /**
4057     * Adds a window object. If this is the first window created, pass NULL as
4058     * @p parent.
4059     *
4060     * @param parent Parent object to add the window to, or NULL
4061     * @param name The name of the window
4062     * @param type The window type, one of #Elm_Win_Type.
4063     *
4064     * The @p parent paramter can be @c NULL for every window @p type except
4065     * #ELM_WIN_INLINED_IMAGE, which needs a parent to retrieve the canvas on
4066     * which the image object will be created.
4067     *
4068     * @return The created object, or NULL on failure
4069     */
4070    EAPI Evas_Object *elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type);
4071
4072    /**
4073     * Adds a window object with standard setup
4074     *
4075     * @param name The name of the window
4076     * @param title The title for the window
4077     *
4078     * This creates a window like elm_win_add() but also puts in a standard
4079     * background with elm_bg_add(), as well as setting the window title to
4080     * @p title. The window type created is of type ELM_WIN_BASIC, with NULL
4081     * as the parent widget.
4082     *
4083     * @return The created object, or NULL on failure
4084     *
4085     * @see elm_win_add()
4086     */
4087    EAPI Evas_Object *elm_win_util_standard_add(const char *name, const char *title);
4088
4089    /**
4090     * Add @p subobj as a resize object of window @p obj.
4091     *
4092     *
4093     * Setting an object as a resize object of the window means that the
4094     * @p subobj child's size and position will be controlled by the window
4095     * directly. That is, the object will be resized to match the window size
4096     * and should never be moved or resized manually by the developer.
4097     *
4098     * In addition, resize objects of the window control what the minimum size
4099     * of it will be, as well as whether it can or not be resized by the user.
4100     *
4101     * For the end user to be able to resize a window by dragging the handles
4102     * or borders provided by the Window Manager, or using any other similar
4103     * mechanism, all of the resize objects in the window should have their
4104     * evas_object_size_hint_weight_set() set to EVAS_HINT_EXPAND.
4105     *
4106     * Also notice that the window can get resized to the current size of the
4107     * object if the EVAS_HINT_EXPAND is set @b after the call to
4108     * elm_win_resize_object_add(). So if the object should get resized to the
4109     * size of the window, set this hint @b before adding it as a resize object
4110     * (this happens because the size of the window and the object are evaluated
4111     * as soon as the object is added to the window).
4112     *
4113     * @param obj The window object
4114     * @param subobj The resize object to add
4115     */
4116    EAPI void         elm_win_resize_object_add(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
4117
4118    /**
4119     * Delete @p subobj as a resize object of window @p obj.
4120     *
4121     * This function removes the object @p subobj from the resize objects of
4122     * the window @p obj. It will not delete the object itself, which will be
4123     * left unmanaged and should be deleted by the developer, manually handled
4124     * or set as child of some other container.
4125     *
4126     * @param obj The window object
4127     * @param subobj The resize object to add
4128     */
4129    EAPI void         elm_win_resize_object_del(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
4130
4131    /**
4132     * Set the title of the window
4133     *
4134     * @param obj The window object
4135     * @param title The title to set
4136     */
4137    EAPI void         elm_win_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
4138
4139    /**
4140     * Get the title of the window
4141     *
4142     * The returned string is an internal one and should not be freed or
4143     * modified. It will also be rendered invalid if a new title is set or if
4144     * the window is destroyed.
4145     *
4146     * @param obj The window object
4147     * @return The title
4148     */
4149    EAPI const char  *elm_win_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4150
4151    /**
4152     * Set the window's autodel state.
4153     *
4154     * When closing the window in any way outside of the program control, like
4155     * pressing the X button in the titlebar or using a command from the
4156     * Window Manager, a "delete,request" signal is emitted to indicate that
4157     * this event occurred and the developer can take any action, which may
4158     * include, or not, destroying the window object.
4159     *
4160     * When the @p autodel parameter is set, the window will be automatically
4161     * destroyed when this event occurs, after the signal is emitted.
4162     * If @p autodel is @c EINA_FALSE, then the window will not be destroyed
4163     * and is up to the program to do so when it's required.
4164     *
4165     * @param obj The window object
4166     * @param autodel If true, the window will automatically delete itself when
4167     * closed
4168     */
4169    EAPI void         elm_win_autodel_set(Evas_Object *obj, Eina_Bool autodel) EINA_ARG_NONNULL(1);
4170
4171    /**
4172     * Get the window's autodel state.
4173     *
4174     * @param obj The window object
4175     * @return If the window will automatically delete itself when closed
4176     *
4177     * @see elm_win_autodel_set()
4178     */
4179    EAPI Eina_Bool    elm_win_autodel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4180
4181    /**
4182     * Activate a window object.
4183     *
4184     * This function sends a request to the Window Manager to activate the
4185     * window pointed by @p obj. If honored by the WM, the window will receive
4186     * the keyboard focus.
4187     *
4188     * @note This is just a request that a Window Manager may ignore, so calling
4189     * this function does not ensure in any way that the window will be the
4190     * active one after it.
4191     *
4192     * @param obj The window object
4193     */
4194    EAPI void         elm_win_activate(Evas_Object *obj) EINA_ARG_NONNULL(1);
4195
4196    /**
4197     * Lower a window object.
4198     *
4199     * Places the window pointed by @p obj at the bottom of the stack, so that
4200     * no other window is covered by it.
4201     *
4202     * If elm_win_override_set() is not set, the Window Manager may ignore this
4203     * request.
4204     *
4205     * @param obj The window object
4206     */
4207    EAPI void         elm_win_lower(Evas_Object *obj) EINA_ARG_NONNULL(1);
4208
4209    /**
4210     * Raise a window object.
4211     *
4212     * Places the window pointed by @p obj at the top of the stack, so that it's
4213     * not covered by any other window.
4214     *
4215     * If elm_win_override_set() is not set, the Window Manager may ignore this
4216     * request.
4217     *
4218     * @param obj The window object
4219     */
4220    EAPI void         elm_win_raise(Evas_Object *obj) EINA_ARG_NONNULL(1);
4221
4222    /**
4223     * Center a window on its screen
4224     *
4225     * This function centers window @p obj horizontally and/or vertically based on the values
4226     * of @p h and @v.
4227     * @param obj The window object
4228     * @param h If true, center horizontally. If false, do not change horizontal location.
4229     * @param v If true, center vertically. If false, do not change vertical location.
4230     */
4231    EAPI void         elm_win_center(Evas_Object *obj, Eina_Bool h, Eina_Bool v) EINA_ARG_NONNULL(1);
4232
4233    /**
4234     * Set the borderless state of a window.
4235     *
4236     * This function requests the Window Manager to not draw any decoration
4237     * around the window.
4238     *
4239     * @param obj The window object
4240     * @param borderless If true, the window is borderless
4241     */
4242    EAPI void         elm_win_borderless_set(Evas_Object *obj, Eina_Bool borderless) EINA_ARG_NONNULL(1);
4243
4244    /**
4245     * Get the borderless state of a window.
4246     *
4247     * @param obj The window object
4248     * @return If true, the window is borderless
4249     */
4250    EAPI Eina_Bool    elm_win_borderless_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4251
4252    /**
4253     * Set the shaped state of a window.
4254     *
4255     * Shaped windows, when supported, will render the parts of the window that
4256     * has no content, transparent.
4257     *
4258     * If @p shaped is EINA_FALSE, then it is strongly adviced to have some
4259     * background object or cover the entire window in any other way, or the
4260     * parts of the canvas that have no data will show framebuffer artifacts.
4261     *
4262     * @param obj The window object
4263     * @param shaped If true, the window is shaped
4264     *
4265     * @see elm_win_alpha_set()
4266     */
4267    EAPI void         elm_win_shaped_set(Evas_Object *obj, Eina_Bool shaped) EINA_ARG_NONNULL(1);
4268
4269    /**
4270     * Get the shaped state of a window.
4271     *
4272     * @param obj The window object
4273     * @return If true, the window is shaped
4274     *
4275     * @see elm_win_shaped_set()
4276     */
4277    EAPI Eina_Bool    elm_win_shaped_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4278
4279    /**
4280     * Set the alpha channel state of a window.
4281     *
4282     * If @p alpha is EINA_TRUE, the alpha channel of the canvas will be enabled
4283     * possibly making parts of the window completely or partially transparent.
4284     * This is also subject to the underlying system supporting it, like for
4285     * example, running under a compositing manager. If no compositing is
4286     * available, enabling this option will instead fallback to using shaped
4287     * windows, with elm_win_shaped_set().
4288     *
4289     * @param obj The window object
4290     * @param alpha If true, the window has an alpha channel
4291     *
4292     * @see elm_win_alpha_set()
4293     */
4294    EAPI void         elm_win_alpha_set(Evas_Object *obj, Eina_Bool alpha) EINA_ARG_NONNULL(1);
4295
4296    /**
4297     * Get the transparency state of a window.
4298     *
4299     * @param obj The window object
4300     * @return If true, the window is transparent
4301     *
4302     * @see elm_win_transparent_set()
4303     */
4304    EAPI Eina_Bool    elm_win_transparent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4305
4306    /**
4307     * Set the transparency state of a window.
4308     *
4309     * Use elm_win_alpha_set() instead.
4310     *
4311     * @param obj The window object
4312     * @param transparent If true, the window is transparent
4313     *
4314     * @see elm_win_alpha_set()
4315     */
4316    EAPI void         elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent) EINA_ARG_NONNULL(1);
4317
4318    /**
4319     * Get the alpha channel state of a window.
4320     *
4321     * @param obj The window object
4322     * @return If true, the window has an alpha channel
4323     */
4324    EAPI Eina_Bool    elm_win_alpha_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4325
4326    /**
4327     * Set the override state of a window.
4328     *
4329     * A window with @p override set to EINA_TRUE will not be managed by the
4330     * Window Manager. This means that no decorations of any kind will be shown
4331     * for it, moving and resizing must be handled by the application, as well
4332     * as the window visibility.
4333     *
4334     * This should not be used for normal windows, and even for not so normal
4335     * ones, it should only be used when there's a good reason and with a lot
4336     * of care. Mishandling override windows may result situations that
4337     * disrupt the normal workflow of the end user.
4338     *
4339     * @param obj The window object
4340     * @param override If true, the window is overridden
4341     */
4342    EAPI void         elm_win_override_set(Evas_Object *obj, Eina_Bool override) EINA_ARG_NONNULL(1);
4343
4344    /**
4345     * Get the override state of a window.
4346     *
4347     * @param obj The window object
4348     * @return If true, the window is overridden
4349     *
4350     * @see elm_win_override_set()
4351     */
4352    EAPI Eina_Bool    elm_win_override_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4353
4354    /**
4355     * Set the fullscreen state of a window.
4356     *
4357     * @param obj The window object
4358     * @param fullscreen If true, the window is fullscreen
4359     */
4360    EAPI void         elm_win_fullscreen_set(Evas_Object *obj, Eina_Bool fullscreen) EINA_ARG_NONNULL(1);
4361
4362    /**
4363     * Get the fullscreen state of a window.
4364     *
4365     * @param obj The window object
4366     * @return If true, the window is fullscreen
4367     */
4368    EAPI Eina_Bool    elm_win_fullscreen_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4369
4370    /**
4371     * Set the maximized state of a window.
4372     *
4373     * @param obj The window object
4374     * @param maximized If true, the window is maximized
4375     */
4376    EAPI void         elm_win_maximized_set(Evas_Object *obj, Eina_Bool maximized) EINA_ARG_NONNULL(1);
4377
4378    /**
4379     * Get the maximized state of a window.
4380     *
4381     * @param obj The window object
4382     * @return If true, the window is maximized
4383     */
4384    EAPI Eina_Bool    elm_win_maximized_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4385
4386    /**
4387     * Set the iconified state of a window.
4388     *
4389     * @param obj The window object
4390     * @param iconified If true, the window is iconified
4391     */
4392    EAPI void         elm_win_iconified_set(Evas_Object *obj, Eina_Bool iconified) EINA_ARG_NONNULL(1);
4393
4394    /**
4395     * Get the iconified state of a window.
4396     *
4397     * @param obj The window object
4398     * @return If true, the window is iconified
4399     */
4400    EAPI Eina_Bool    elm_win_iconified_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4401
4402    /**
4403     * Set the layer of the window.
4404     *
4405     * What this means exactly will depend on the underlying engine used.
4406     *
4407     * In the case of X11 backed engines, the value in @p layer has the
4408     * following meanings:
4409     * @li < 3: The window will be placed below all others.
4410     * @li > 5: The window will be placed above all others.
4411     * @li other: The window will be placed in the default layer.
4412     *
4413     * @param obj The window object
4414     * @param layer The layer of the window
4415     */
4416    EAPI void         elm_win_layer_set(Evas_Object *obj, int layer) EINA_ARG_NONNULL(1);
4417
4418    /**
4419     * Get the layer of the window.
4420     *
4421     * @param obj The window object
4422     * @return The layer of the window
4423     *
4424     * @see elm_win_layer_set()
4425     */
4426    EAPI int          elm_win_layer_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4427
4428    /**
4429     * Set the rotation of the window.
4430     *
4431     * Most engines only work with multiples of 90.
4432     *
4433     * This function is used to set the orientation of the window @p obj to
4434     * match that of the screen. The window itself will be resized to adjust
4435     * to the new geometry of its contents. If you want to keep the window size,
4436     * see elm_win_rotation_with_resize_set().
4437     *
4438     * @param obj The window object
4439     * @param rotation The rotation of the window, in degrees (0-360),
4440     * counter-clockwise.
4441     */
4442    EAPI void         elm_win_rotation_set(Evas_Object *obj, int rotation) EINA_ARG_NONNULL(1);
4443
4444    /**
4445     * Rotates the window and resizes it.
4446     *
4447     * Like elm_win_rotation_set(), but it also resizes the window's contents so
4448     * that they fit inside the current window geometry.
4449     *
4450     * @param obj The window object
4451     * @param layer The rotation of the window in degrees (0-360),
4452     * counter-clockwise.
4453     */
4454    EAPI void         elm_win_rotation_with_resize_set(Evas_Object *obj, int rotation) EINA_ARG_NONNULL(1);
4455
4456    /**
4457     * Get the rotation of the window.
4458     *
4459     * @param obj The window object
4460     * @return The rotation of the window in degrees (0-360)
4461     *
4462     * @see elm_win_rotation_set()
4463     * @see elm_win_rotation_with_resize_set()
4464     */
4465    EAPI int          elm_win_rotation_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4466
4467    /**
4468     * Set the sticky state of the window.
4469     *
4470     * Hints the Window Manager that the window in @p obj should be left fixed
4471     * at its position even when the virtual desktop it's on moves or changes.
4472     *
4473     * @param obj The window object
4474     * @param sticky If true, the window's sticky state is enabled
4475     */
4476    EAPI void         elm_win_sticky_set(Evas_Object *obj, Eina_Bool sticky) EINA_ARG_NONNULL(1);
4477
4478    /**
4479     * Get the sticky state of the window.
4480     *
4481     * @param obj The window object
4482     * @return If true, the window's sticky state is enabled
4483     *
4484     * @see elm_win_sticky_set()
4485     */
4486    EAPI Eina_Bool    elm_win_sticky_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4487
4488    /**
4489     * Set if this window is an illume conformant window
4490     *
4491     * @param obj The window object
4492     * @param conformant The conformant flag (1 = conformant, 0 = non-conformant)
4493     */
4494    EAPI void         elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant) EINA_ARG_NONNULL(1);
4495
4496    /**
4497     * Get if this window is an illume conformant window
4498     *
4499     * @param obj The window object
4500     * @return A boolean if this window is illume conformant or not
4501     */
4502    EAPI Eina_Bool    elm_win_conformant_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4503
4504    /**
4505     * Set a window to be an illume quickpanel window
4506     *
4507     * By default window objects are not quickpanel windows.
4508     *
4509     * @param obj The window object
4510     * @param quickpanel The quickpanel flag (1 = quickpanel, 0 = normal window)
4511     */
4512    EAPI void         elm_win_quickpanel_set(Evas_Object *obj, Eina_Bool quickpanel) EINA_ARG_NONNULL(1);
4513
4514    /**
4515     * Get if this window is a quickpanel or not
4516     *
4517     * @param obj The window object
4518     * @return A boolean if this window is a quickpanel or not
4519     */
4520    EAPI Eina_Bool    elm_win_quickpanel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4521
4522    /**
4523     * Set the major priority of a quickpanel window
4524     *
4525     * @param obj The window object
4526     * @param priority The major priority for this quickpanel
4527     */
4528    EAPI void         elm_win_quickpanel_priority_major_set(Evas_Object *obj, int priority) EINA_ARG_NONNULL(1);
4529
4530    /**
4531     * Get the major priority of a quickpanel window
4532     *
4533     * @param obj The window object
4534     * @return The major priority of this quickpanel
4535     */
4536    EAPI int          elm_win_quickpanel_priority_major_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4537
4538    /**
4539     * Set the minor priority of a quickpanel window
4540     *
4541     * @param obj The window object
4542     * @param priority The minor priority for this quickpanel
4543     */
4544    EAPI void         elm_win_quickpanel_priority_minor_set(Evas_Object *obj, int priority) EINA_ARG_NONNULL(1);
4545
4546    /**
4547     * Get the minor priority of a quickpanel window
4548     *
4549     * @param obj The window object
4550     * @return The minor priority of this quickpanel
4551     */
4552    EAPI int          elm_win_quickpanel_priority_minor_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4553
4554    /**
4555     * Set which zone this quickpanel should appear in
4556     *
4557     * @param obj The window object
4558     * @param zone The requested zone for this quickpanel
4559     */
4560    EAPI void         elm_win_quickpanel_zone_set(Evas_Object *obj, int zone) EINA_ARG_NONNULL(1);
4561
4562    /**
4563     * Get which zone this quickpanel should appear in
4564     *
4565     * @param obj The window object
4566     * @return The requested zone for this quickpanel
4567     */
4568    EAPI int          elm_win_quickpanel_zone_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4569
4570    /**
4571     * Set the window to be skipped by keyboard focus
4572     *
4573     * This sets the window to be skipped by normal keyboard input. This means
4574     * a window manager will be asked to not focus this window as well as omit
4575     * it from things like the taskbar, pager, "alt-tab" list etc. etc.
4576     *
4577     * Call this and enable it on a window BEFORE you show it for the first time,
4578     * otherwise it may have no effect.
4579     *
4580     * Use this for windows that have only output information or might only be
4581     * interacted with by the mouse or fingers, and never for typing input.
4582     * Be careful that this may have side-effects like making the window
4583     * non-accessible in some cases unless the window is specially handled. Use
4584     * this with care.
4585     *
4586     * @param obj The window object
4587     * @param skip The skip flag state (EINA_TRUE if it is to be skipped)
4588     */
4589    EAPI void         elm_win_prop_focus_skip_set(Evas_Object *obj, Eina_Bool skip) EINA_ARG_NONNULL(1);
4590
4591    /**
4592     * Send a command to the windowing environment
4593     *
4594     * This is intended to work in touchscreen or small screen device
4595     * environments where there is a more simplistic window management policy in
4596     * place. This uses the window object indicated to select which part of the
4597     * environment to control (the part that this window lives in), and provides
4598     * a command and an optional parameter structure (use NULL for this if not
4599     * needed).
4600     *
4601     * @param obj The window object that lives in the environment to control
4602     * @param command The command to send
4603     * @param params Optional parameters for the command
4604     */
4605    EAPI void         elm_win_illume_command_send(Evas_Object *obj, Elm_Illume_Command command, void *params) EINA_ARG_NONNULL(1);
4606
4607    /**
4608     * Get the inlined image object handle
4609     *
4610     * When you create a window with elm_win_add() of type ELM_WIN_INLINED_IMAGE,
4611     * then the window is in fact an evas image object inlined in the parent
4612     * canvas. You can get this object (be careful to not manipulate it as it
4613     * is under control of elementary), and use it to do things like get pixel
4614     * data, save the image to a file, etc.
4615     *
4616     * @param obj The window object to get the inlined image from
4617     * @return The inlined image object, or NULL if none exists
4618     */
4619    EAPI Evas_Object *elm_win_inlined_image_object_get(Evas_Object *obj);
4620
4621    /**
4622     * Determine whether a window has focus
4623     * @param obj The window to query
4624     * @return EINA_TRUE if the window exists and has focus, else EINA_FALSE
4625     */
4626    EAPI Eina_Bool    elm_win_focus_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4627
4628    /**
4629     * Constrain the maximum width and height of a window to the width and height of its screen
4630     *
4631     * When @p constrain is true, @p obj will never resize larger than the screen.
4632     * @param obj The window object
4633     * @param constrain EINA_TRUE to restrict the window's maximum size, EINA_FALSE to disable restriction
4634     */
4635    EAPI void         elm_win_screen_constrain_set(Evas_Object *obj, Eina_Bool constrain) EINA_ARG_NONNULL(1);
4636
4637    /**
4638     * Retrieve the constraints on the maximum width and height of a window relative to the width and height of its screen
4639     *
4640     * When this function returns true, @p obj will never resize larger than the screen.
4641     * @param obj The window object
4642     * @return EINA_TRUE to restrict the window's maximum size, EINA_FALSE to disable restriction
4643     */
4644    EAPI Eina_Bool    elm_win_screen_constrain_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
4645
4646    /**
4647     * Get screen geometry details for the screen that a window is on
4648     * @param obj The window to query
4649     * @param x where to return the horizontal offset value. May be NULL.
4650     * @param y  where to return the vertical offset value. May be NULL.
4651     * @param w  where to return the width value. May be NULL.
4652     * @param h  where to return the height value. May be NULL.
4653     */
4654    EAPI void         elm_win_screen_size_get(const Evas_Object *obj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
4655
4656    /**
4657     * Set the enabled status for the focus highlight in a window
4658     *
4659     * This function will enable or disable the focus highlight only for the
4660     * given window, regardless of the global setting for it
4661     *
4662     * @param obj The window where to enable the highlight
4663     * @param enabled The enabled value for the highlight
4664     */
4665    EAPI void         elm_win_focus_highlight_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
4666
4667    /**
4668     * Get the enabled value of the focus highlight for this window
4669     *
4670     * @param obj The window in which to check if the focus highlight is enabled
4671     *
4672     * @return EINA_TRUE if enabled, EINA_FALSE otherwise
4673     */
4674    EAPI Eina_Bool    elm_win_focus_highlight_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4675
4676    /**
4677     * Set the style for the focus highlight on this window
4678     *
4679     * Sets the style to use for theming the highlight of focused objects on
4680     * the given window. If @p style is NULL, the default will be used.
4681     *
4682     * @param obj The window where to set the style
4683     * @param style The style to set
4684     */
4685    EAPI void         elm_win_focus_highlight_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
4686
4687    /**
4688     * Get the style set for the focus highlight object
4689     *
4690     * Gets the style set for this windows highilght object, or NULL if none
4691     * is set.
4692     *
4693     * @param obj The window to retrieve the highlights style from
4694     *
4695     * @return The style set or NULL if none was. Default is used in that case.
4696     */
4697    EAPI const char  *elm_win_focus_highlight_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4698
4699    /*...
4700     * ecore_x_icccm_hints_set -> accepts_focus (add to ecore_evas)
4701     * ecore_x_icccm_hints_set -> window_group (add to ecore_evas)
4702     * ecore_x_icccm_size_pos_hints_set -> request_pos (add to ecore_evas)
4703     * ecore_x_icccm_client_leader_set -> l (add to ecore_evas)
4704     * ecore_x_icccm_window_role_set -> role (add to ecore_evas)
4705     * ecore_x_icccm_transient_for_set -> forwin (add to ecore_evas)
4706     * ecore_x_netwm_window_type_set -> type (add to ecore_evas)
4707     *
4708     * (add to ecore_x) set netwm argb icon! (add to ecore_evas)
4709     * (blank mouse, private mouse obj, defaultmouse)
4710     *
4711     */
4712
4713    /**
4714     * Sets the keyboard mode of the window.
4715     *
4716     * @param obj The window object
4717     * @param mode The mode to set, one of #Elm_Win_Keyboard_Mode
4718     */
4719    EAPI void                  elm_win_keyboard_mode_set(Evas_Object *obj, Elm_Win_Keyboard_Mode mode) EINA_ARG_NONNULL(1);
4720
4721    /**
4722     * Gets the keyboard mode of the window.
4723     *
4724     * @param obj The window object
4725     * @return The mode, one of #Elm_Win_Keyboard_Mode
4726     */
4727    EAPI Elm_Win_Keyboard_Mode elm_win_keyboard_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4728
4729    /**
4730     * Sets whether the window is a keyboard.
4731     *
4732     * @param obj The window object
4733     * @param is_keyboard If true, the window is a virtual keyboard
4734     */
4735    EAPI void                  elm_win_keyboard_win_set(Evas_Object *obj, Eina_Bool is_keyboard) EINA_ARG_NONNULL(1);
4736
4737    /**
4738     * Gets whether the window is a keyboard.
4739     *
4740     * @param obj The window object
4741     * @return If the window is a virtual keyboard
4742     */
4743    EAPI Eina_Bool             elm_win_keyboard_win_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4744
4745    /**
4746     * Get the screen position of a window.
4747     *
4748     * @param obj The window object
4749     * @param x The int to store the x coordinate to
4750     * @param y The int to store the y coordinate to
4751     */
4752    EAPI void                  elm_win_screen_position_get(const Evas_Object *obj, int *x, int *y) EINA_ARG_NONNULL(1);
4753
4754    /**
4755     * @}
4756     */
4757
4758    /**
4759     * @defgroup Inwin Inwin
4760     *
4761     * @image html img/widget/inwin/preview-00.png
4762     * @image latex img/widget/inwin/preview-00.eps
4763     * @image html img/widget/inwin/preview-01.png
4764     * @image latex img/widget/inwin/preview-01.eps
4765     * @image html img/widget/inwin/preview-02.png
4766     * @image latex img/widget/inwin/preview-02.eps
4767     *
4768     * An inwin is a window inside a window that is useful for a quick popup.
4769     * It does not hover.
4770     *
4771     * It works by creating an object that will occupy the entire window, so it
4772     * must be created using an @ref Win "elm_win" as parent only. The inwin
4773     * object can be hidden or restacked below every other object if it's
4774     * needed to show what's behind it without destroying it. If this is done,
4775     * the elm_win_inwin_activate() function can be used to bring it back to
4776     * full visibility again.
4777     *
4778     * There are three styles available in the default theme. These are:
4779     * @li default: The inwin is sized to take over most of the window it's
4780     * placed in.
4781     * @li minimal: The size of the inwin will be the minimum necessary to show
4782     * its contents.
4783     * @li minimal_vertical: Horizontally, the inwin takes as much space as
4784     * possible, but it's sized vertically the most it needs to fit its\
4785     * contents.
4786     *
4787     * Some examples of Inwin can be found in the following:
4788     * @li @ref inwin_example_01
4789     *
4790     * @{
4791     */
4792
4793    /**
4794     * Adds an inwin to the current window
4795     *
4796     * The @p obj used as parent @b MUST be an @ref Win "Elementary Window".
4797     * Never call this function with anything other than the top-most window
4798     * as its parameter, unless you are fond of undefined behavior.
4799     *
4800     * After creating the object, the widget will set itself as resize object
4801     * for the window with elm_win_resize_object_add(), so when shown it will
4802     * appear to cover almost the entire window (how much of it depends on its
4803     * content and the style used). It must not be added into other container
4804     * objects and it needs not be moved or resized manually.
4805     *
4806     * @param parent The parent object
4807     * @return The new object or NULL if it cannot be created
4808     */
4809    EAPI Evas_Object          *elm_win_inwin_add(Evas_Object *obj) EINA_ARG_NONNULL(1);
4810
4811    /**
4812     * Activates an inwin object, ensuring its visibility
4813     *
4814     * This function will make sure that the inwin @p obj is completely visible
4815     * by calling evas_object_show() and evas_object_raise() on it, to bring it
4816     * to the front. It also sets the keyboard focus to it, which will be passed
4817     * onto its content.
4818     *
4819     * The object's theme will also receive the signal "elm,action,show" with
4820     * source "elm".
4821     *
4822     * @param obj The inwin to activate
4823     */
4824    EAPI void                  elm_win_inwin_activate(Evas_Object *obj) EINA_ARG_NONNULL(1);
4825
4826    /**
4827     * Set the content of an inwin object.
4828     *
4829     * Once the content object is set, a previously set one will be deleted.
4830     * If you want to keep that old content object, use the
4831     * elm_win_inwin_content_unset() function.
4832     *
4833     * @param obj The inwin object
4834     * @param content The object to set as content
4835     */
4836    EAPI void                  elm_win_inwin_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
4837
4838    /**
4839     * Get the content of an inwin object.
4840     *
4841     * Return the content object which is set for this widget.
4842     *
4843     * The returned object is valid as long as the inwin is still alive and no
4844     * other content is set on it. Deleting the object will notify the inwin
4845     * about it and this one will be left empty.
4846     *
4847     * If you need to remove an inwin's content to be reused somewhere else,
4848     * see elm_win_inwin_content_unset().
4849     *
4850     * @param obj The inwin object
4851     * @return The content that is being used
4852     */
4853    EAPI Evas_Object          *elm_win_inwin_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4854
4855    /**
4856     * Unset the content of an inwin object.
4857     *
4858     * Unparent and return the content object which was set for this widget.
4859     *
4860     * @param obj The inwin object
4861     * @return The content that was being used
4862     */
4863    EAPI Evas_Object          *elm_win_inwin_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4864
4865    /**
4866     * @}
4867     */
4868    /* X specific calls - won't work on non-x engines (return 0) */
4869
4870    /**
4871     * Get the Ecore_X_Window of an Evas_Object
4872     *
4873     * @param obj The object
4874     *
4875     * @return The Ecore_X_Window of @p obj
4876     *
4877     * @ingroup Win
4878     */
4879    EAPI Ecore_X_Window elm_win_xwindow_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4880
4881    /* smart callbacks called:
4882     * "delete,request" - the user requested to delete the window
4883     * "focus,in" - window got focus
4884     * "focus,out" - window lost focus
4885     * "moved" - window that holds the canvas was moved
4886     */
4887
4888    /**
4889     * @defgroup Bg Bg
4890     *
4891     * @image html img/widget/bg/preview-00.png
4892     * @image latex img/widget/bg/preview-00.eps
4893     *
4894     * @brief Background object, used for setting a solid color, image or Edje
4895     * group as background to a window or any container object.
4896     *
4897     * The bg object is used for setting a solid background to a window or
4898     * packing into any container object. It works just like an image, but has
4899     * some properties useful to a background, like setting it to tiled,
4900     * centered, scaled or stretched.
4901     *
4902     * Default contents parts of the bg widget that you can use for are:
4903     * @li "overlay" - overlay of the bg
4904     *
4905     * Here is some sample code using it:
4906     * @li @ref bg_01_example_page
4907     * @li @ref bg_02_example_page
4908     * @li @ref bg_03_example_page
4909     */
4910
4911    /* bg */
4912    typedef enum _Elm_Bg_Option
4913      {
4914         ELM_BG_OPTION_CENTER,  /**< center the background */
4915         ELM_BG_OPTION_SCALE,   /**< scale the background retaining aspect ratio */
4916         ELM_BG_OPTION_STRETCH, /**< stretch the background to fill */
4917         ELM_BG_OPTION_TILE     /**< tile background at its original size */
4918      } Elm_Bg_Option;
4919
4920    /**
4921     * Add a new background to the parent
4922     *
4923     * @param parent The parent object
4924     * @return The new object or NULL if it cannot be created
4925     *
4926     * @ingroup Bg
4927     */
4928    EAPI Evas_Object  *elm_bg_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4929
4930    /**
4931     * Set the file (image or edje) used for the background
4932     *
4933     * @param obj The bg object
4934     * @param file The file path
4935     * @param group Optional key (group in Edje) within the file
4936     *
4937     * This sets the image file used in the background object. The image (or edje)
4938     * will be stretched (retaining aspect if its an image file) to completely fill
4939     * the bg object. This may mean some parts are not visible.
4940     *
4941     * @note  Once the image of @p obj is set, a previously set one will be deleted,
4942     * even if @p file is NULL.
4943     *
4944     * @ingroup Bg
4945     */
4946    EAPI void          elm_bg_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1);
4947
4948    /**
4949     * Get the file (image or edje) used for the background
4950     *
4951     * @param obj The bg object
4952     * @param file The file path
4953     * @param group Optional key (group in Edje) within the file
4954     *
4955     * @ingroup Bg
4956     */
4957    EAPI void          elm_bg_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
4958
4959    /**
4960     * Set the option used for the background image
4961     *
4962     * @param obj The bg object
4963     * @param option The desired background option (TILE, SCALE)
4964     *
4965     * This sets the option used for manipulating the display of the background
4966     * image. The image can be tiled or scaled.
4967     *
4968     * @ingroup Bg
4969     */
4970    EAPI void          elm_bg_option_set(Evas_Object *obj, Elm_Bg_Option option) EINA_ARG_NONNULL(1);
4971
4972    /**
4973     * Get the option used for the background image
4974     *
4975     * @param obj The bg object
4976     * @return The desired background option (CENTER, SCALE, STRETCH or TILE)
4977     *
4978     * @ingroup Bg
4979     */
4980    EAPI Elm_Bg_Option elm_bg_option_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4981    /**
4982     * Set the option used for the background color
4983     *
4984     * @param obj The bg object
4985     * @param r
4986     * @param g
4987     * @param b
4988     *
4989     * This sets the color used for the background rectangle. Its range goes
4990     * from 0 to 255.
4991     *
4992     * @ingroup Bg
4993     */
4994    EAPI void          elm_bg_color_set(Evas_Object *obj, int r, int g, int b) EINA_ARG_NONNULL(1);
4995    /**
4996     * Get the option used for the background color
4997     *
4998     * @param obj The bg object
4999     * @param r
5000     * @param g
5001     * @param b
5002     *
5003     * @ingroup Bg
5004     */
5005    EAPI void          elm_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b) EINA_ARG_NONNULL(1);
5006
5007    /**
5008     * Set the overlay object used for the background object.
5009     *
5010     * @param obj The bg object
5011     * @param overlay The overlay object
5012     *
5013     * This provides a way for elm_bg to have an 'overlay' that will be on top
5014     * of the bg. Once the over object is set, a previously set one will be
5015     * deleted, even if you set the new one to NULL. If you want to keep that
5016     * old content object, use the elm_bg_overlay_unset() function.
5017     *
5018     * @deprecated use elm_object_part_content_set() instead
5019     *
5020     * @ingroup Bg
5021     */
5022
5023    EINA_DEPRECATED EAPI void          elm_bg_overlay_set(Evas_Object *obj, Evas_Object *overlay) EINA_ARG_NONNULL(1);
5024
5025    /**
5026     * Get the overlay object used for the background object.
5027     *
5028     * @param obj The bg object
5029     * @return The content that is being used
5030     *
5031     * Return the content object which is set for this widget
5032     *
5033     * @deprecated use elm_object_part_content_get() instead
5034     *
5035     * @ingroup Bg
5036     */
5037    EINA_DEPRECATED EAPI Evas_Object  *elm_bg_overlay_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5038
5039    /**
5040     * Get the overlay object used for the background object.
5041     *
5042     * @param obj The bg object
5043     * @return The content that was being used
5044     *
5045     * Unparent and return the overlay object which was set for this widget
5046     *
5047     * @deprecated use elm_object_part_content_unset() instead
5048     *
5049     * @ingroup Bg
5050     */
5051    EINA_DEPRECATED EAPI Evas_Object  *elm_bg_overlay_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
5052
5053    /**
5054     * Set the size of the pixmap representation of the image.
5055     *
5056     * This option just makes sense if an image is going to be set in the bg.
5057     *
5058     * @param obj The bg object
5059     * @param w The new width of the image pixmap representation.
5060     * @param h The new height of the image pixmap representation.
5061     *
5062     * This function sets a new size for pixmap representation of the given bg
5063     * image. It allows the image to be loaded already in the specified size,
5064     * reducing the memory usage and load time when loading a big image with load
5065     * size set to a smaller size.
5066     *
5067     * NOTE: this is just a hint, the real size of the pixmap may differ
5068     * depending on the type of image being loaded, being bigger than requested.
5069     *
5070     * @ingroup Bg
5071     */
5072    EAPI void          elm_bg_load_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
5073
5074    /**
5075     * @}
5076     */
5077
5078    /**
5079     * @defgroup Icon Icon
5080     *
5081     * @image html img/widget/icon/preview-00.png
5082     * @image latex img/widget/icon/preview-00.eps
5083     *
5084     * An object that provides standard icon images (delete, edit, arrows, etc.)
5085     * or a custom file (PNG, JPG, EDJE, etc.) used for an icon.
5086     *
5087     * The icon image requested can be in the elementary theme, or in the
5088     * freedesktop.org paths. It's possible to set the order of preference from
5089     * where the image will be used.
5090     *
5091     * This API is very similar to @ref Image, but with ready to use images.
5092     *
5093     * Default images provided by the theme are described below.
5094     *
5095     * The first list contains icons that were first intended to be used in
5096     * toolbars, but can be used in many other places too:
5097     * @li home
5098     * @li close
5099     * @li apps
5100     * @li arrow_up
5101     * @li arrow_down
5102     * @li arrow_left
5103     * @li arrow_right
5104     * @li chat
5105     * @li clock
5106     * @li delete
5107     * @li edit
5108     * @li refresh
5109     * @li folder
5110     * @li file
5111     *
5112     * Now some icons that were designed to be used in menus (but again, you can
5113     * use them anywhere else):
5114     * @li menu/home
5115     * @li menu/close
5116     * @li menu/apps
5117     * @li menu/arrow_up
5118     * @li menu/arrow_down
5119     * @li menu/arrow_left
5120     * @li menu/arrow_right
5121     * @li menu/chat
5122     * @li menu/clock
5123     * @li menu/delete
5124     * @li menu/edit
5125     * @li menu/refresh
5126     * @li menu/folder
5127     * @li menu/file
5128     *
5129     * And here we have some media player specific icons:
5130     * @li media_player/forward
5131     * @li media_player/info
5132     * @li media_player/next
5133     * @li media_player/pause
5134     * @li media_player/play
5135     * @li media_player/prev
5136     * @li media_player/rewind
5137     * @li media_player/stop
5138     *
5139     * Signals that you can add callbacks for are:
5140     *
5141     * "clicked" - This is called when a user has clicked the icon
5142     *
5143     * An example of usage for this API follows:
5144     * @li @ref tutorial_icon
5145     */
5146
5147    /**
5148     * @addtogroup Icon
5149     * @{
5150     */
5151
5152    typedef enum _Elm_Icon_Type
5153      {
5154         ELM_ICON_NONE,
5155         ELM_ICON_FILE,
5156         ELM_ICON_STANDARD
5157      } Elm_Icon_Type;
5158
5159    /**
5160     * @enum _Elm_Icon_Lookup_Order
5161     * @typedef Elm_Icon_Lookup_Order
5162     *
5163     * Lookup order used by elm_icon_standard_set(). Should look for icons in the
5164     * theme, FDO paths, or both?
5165     *
5166     * @ingroup Icon
5167     */
5168    typedef enum _Elm_Icon_Lookup_Order
5169      {
5170         ELM_ICON_LOOKUP_FDO_THEME, /**< icon look up order: freedesktop, theme */
5171         ELM_ICON_LOOKUP_THEME_FDO, /**< icon look up order: theme, freedesktop */
5172         ELM_ICON_LOOKUP_FDO,       /**< icon look up order: freedesktop */
5173         ELM_ICON_LOOKUP_THEME      /**< icon look up order: theme */
5174      } Elm_Icon_Lookup_Order;
5175
5176    /**
5177     * Add a new icon object to the parent.
5178     *
5179     * @param parent The parent object
5180     * @return The new object or NULL if it cannot be created
5181     *
5182     * @see elm_icon_file_set()
5183     *
5184     * @ingroup Icon
5185     */
5186    EAPI Evas_Object          *elm_icon_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5187
5188    /**
5189     * Set the file that will be used as icon.
5190     *
5191     * @param obj The icon object
5192     * @param file The path to file that will be used as icon image
5193     * @param group The group that the icon belongs to an edje file
5194     *
5195     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
5196     *
5197     * @note The icon image set by this function can be changed by
5198     * elm_icon_standard_set().
5199     *
5200     * @see elm_icon_file_get()
5201     *
5202     * @ingroup Icon
5203     */
5204    EAPI Eina_Bool             elm_icon_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
5205
5206    /**
5207     * Set a location in memory to be used as an icon
5208     *
5209     * @param obj The icon object
5210     * @param img The binary data that will be used as an image
5211     * @param size The size of binary data @p img
5212     * @param format Optional format of @p img to pass to the image loader
5213     * @param key Optional key of @p img to pass to the image loader (eg. if @p img is an edje file)
5214     *
5215     * The @p format string should be something like "png", "jpg", "tga",
5216     * "tiff", "bmp" etc. if it is provided (NULL if not). This improves
5217     * the loader performance as it tries the "correct" loader first before
5218     * trying a range of other possible loaders until one succeeds.
5219     * 
5220     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
5221     *
5222     * @note The icon image set by this function can be changed by
5223     * elm_icon_standard_set().
5224     *
5225     * @ingroup Icon
5226     */
5227    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);
5228
5229    /**
5230     * Get the file that will be used as icon.
5231     *
5232     * @param obj The icon object
5233     * @param file The path to file that will be used as the icon image
5234     * @param group The group that the icon belongs to, in edje file
5235     *
5236     * @see elm_icon_file_set()
5237     *
5238     * @ingroup Icon
5239     */
5240    EAPI void                  elm_icon_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
5241
5242    /**
5243     * Set the file that will be used, but use a generated thumbnail.
5244     *
5245     * @param obj The icon object
5246     * @param file The path to file that will be used as icon image
5247     * @param group The group that the icon belongs to an edje file
5248     *
5249     * This functions like elm_icon_file_set() but requires the Ethumb library
5250     * support to be enabled successfully with elm_need_ethumb(). When set
5251     * the file indicated has a thumbnail generated and cached on disk for
5252     * future use or will directly use an existing cached thumbnail if it
5253     * is valid.
5254     * 
5255     * @see elm_icon_file_set()
5256     *
5257     * @ingroup Icon
5258     */
5259    EAPI void                  elm_icon_thumb_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
5260
5261    /**
5262     * Set the icon by icon standards names.
5263     *
5264     * @param obj The icon object
5265     * @param name The icon name
5266     *
5267     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
5268     *
5269     * For example, freedesktop.org defines standard icon names such as "home",
5270     * "network", etc. There can be different icon sets to match those icon
5271     * keys. The @p name given as parameter is one of these "keys", and will be
5272     * used to look in the freedesktop.org paths and elementary theme. One can
5273     * change the lookup order with elm_icon_order_lookup_set().
5274     *
5275     * If name is not found in any of the expected locations and it is the
5276     * absolute path of an image file, this image will be used.
5277     *
5278     * @note The icon image set by this function can be changed by
5279     * elm_icon_file_set().
5280     *
5281     * @see elm_icon_standard_get()
5282     * @see elm_icon_file_set()
5283     *
5284     * @ingroup Icon
5285     */
5286    EAPI Eina_Bool             elm_icon_standard_set(Evas_Object *obj, const char *name) EINA_ARG_NONNULL(1);
5287
5288    /**
5289     * Get the icon name set by icon standard names.
5290     *
5291     * @param obj The icon object
5292     * @return The icon name
5293     *
5294     * If the icon image was set using elm_icon_file_set() instead of
5295     * elm_icon_standard_set(), then this function will return @c NULL.
5296     *
5297     * @see elm_icon_standard_set()
5298     *
5299     * @ingroup Icon
5300     */
5301    EAPI const char           *elm_icon_standard_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5302
5303    /**
5304     * Set the smooth scaling for an icon object.
5305     *
5306     * @param obj The icon object
5307     * @param smooth @c EINA_TRUE if smooth scaling should be used, @c EINA_FALSE
5308     * otherwise. Default is @c EINA_TRUE.
5309     *
5310     * Set the scaling algorithm to be used when scaling the icon image. Smooth
5311     * scaling provides a better resulting image, but is slower.
5312     *
5313     * The smooth scaling should be disabled when making animations that change
5314     * the icon size, since they will be faster. Animations that don't require
5315     * resizing of the icon can keep the smooth scaling enabled (even if the icon
5316     * is already scaled, since the scaled icon image will be cached).
5317     *
5318     * @see elm_icon_smooth_get()
5319     *
5320     * @ingroup Icon
5321     */
5322    EAPI void                  elm_icon_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
5323
5324    /**
5325     * Get whether smooth scaling is enabled for an icon object.
5326     *
5327     * @param obj The icon object
5328     * @return @c EINA_TRUE if smooth scaling is enabled, @c EINA_FALSE otherwise.
5329     *
5330     * @see elm_icon_smooth_set()
5331     *
5332     * @ingroup Icon
5333     */
5334    EAPI Eina_Bool             elm_icon_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5335
5336    /**
5337     * Disable scaling of this object.
5338     *
5339     * @param obj The icon object.
5340     * @param no_scale @c EINA_TRUE if the object is not scalable, @c EINA_FALSE
5341     * otherwise. Default is @c EINA_FALSE.
5342     *
5343     * This function disables scaling of the icon object through the function
5344     * elm_object_scale_set(). However, this does not affect the object
5345     * size/resize in any way. For that effect, take a look at
5346     * elm_icon_scale_set().
5347     *
5348     * @see elm_icon_no_scale_get()
5349     * @see elm_icon_scale_set()
5350     * @see elm_object_scale_set()
5351     *
5352     * @ingroup Icon
5353     */
5354    EAPI void                  elm_icon_no_scale_set(Evas_Object *obj, Eina_Bool no_scale) EINA_ARG_NONNULL(1);
5355
5356    /**
5357     * Get whether scaling is disabled on the object.
5358     *
5359     * @param obj The icon object
5360     * @return @c EINA_TRUE if scaling is disabled, @c EINA_FALSE otherwise
5361     *
5362     * @see elm_icon_no_scale_set()
5363     *
5364     * @ingroup Icon
5365     */
5366    EAPI Eina_Bool             elm_icon_no_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5367
5368    /**
5369     * Set if the object is (up/down) resizable.
5370     *
5371     * @param obj The icon object
5372     * @param scale_up A bool to set if the object is resizable up. Default is
5373     * @c EINA_TRUE.
5374     * @param scale_down A bool to set if the object is resizable down. Default
5375     * is @c EINA_TRUE.
5376     *
5377     * This function limits the icon object resize ability. If @p scale_up is set to
5378     * @c EINA_FALSE, the object can't have its height or width resized to a value
5379     * higher than the original icon size. Same is valid for @p scale_down.
5380     *
5381     * @see elm_icon_scale_get()
5382     *
5383     * @ingroup Icon
5384     */
5385    EAPI void                  elm_icon_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down) EINA_ARG_NONNULL(1);
5386
5387    /**
5388     * Get if the object is (up/down) resizable.
5389     *
5390     * @param obj The icon object
5391     * @param scale_up A bool to set if the object is resizable up
5392     * @param scale_down A bool to set if the object is resizable down
5393     *
5394     * @see elm_icon_scale_set()
5395     *
5396     * @ingroup Icon
5397     */
5398    EAPI void                  elm_icon_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down) EINA_ARG_NONNULL(1);
5399
5400    /**
5401     * Get the object's image size
5402     *
5403     * @param obj The icon object
5404     * @param w A pointer to store the width in
5405     * @param h A pointer to store the height in
5406     *
5407     * @ingroup Icon
5408     */
5409    EAPI void                  elm_icon_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
5410
5411    /**
5412     * Set if the icon fill the entire object area.
5413     *
5414     * @param obj The icon object
5415     * @param fill_outside @c EINA_TRUE if the object is filled outside,
5416     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5417     *
5418     * When the icon object is resized to a different aspect ratio from the
5419     * original icon image, the icon image will still keep its aspect. This flag
5420     * tells how the image should fill the object's area. They are: keep the
5421     * entire icon inside the limits of height and width of the object (@p
5422     * fill_outside is @c EINA_FALSE) or let the extra width or height go outside
5423     * of the object, and the icon will fill the entire object (@p fill_outside
5424     * is @c EINA_TRUE).
5425     *
5426     * @note Unlike @ref Image, there's no option in icon to set the aspect ratio
5427     * retain property to false. Thus, the icon image will always keep its
5428     * original aspect ratio.
5429     *
5430     * @see elm_icon_fill_outside_get()
5431     * @see elm_image_fill_outside_set()
5432     *
5433     * @ingroup Icon
5434     */
5435    EAPI void                  elm_icon_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside) EINA_ARG_NONNULL(1);
5436
5437    /**
5438     * Get if the object is filled outside.
5439     *
5440     * @param obj The icon object
5441     * @return @c EINA_TRUE if the object is filled outside, @c EINA_FALSE otherwise.
5442     *
5443     * @see elm_icon_fill_outside_set()
5444     *
5445     * @ingroup Icon
5446     */
5447    EAPI Eina_Bool             elm_icon_fill_outside_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5448
5449    /**
5450     * Set the prescale size for the icon.
5451     *
5452     * @param obj The icon object
5453     * @param size The prescale size. This value is used for both width and
5454     * height.
5455     *
5456     * This function sets a new size for pixmap representation of the given
5457     * icon. It allows the icon to be loaded already in the specified size,
5458     * reducing the memory usage and load time when loading a big icon with load
5459     * size set to a smaller size.
5460     *
5461     * It's equivalent to the elm_bg_load_size_set() function for bg.
5462     *
5463     * @note this is just a hint, the real size of the pixmap may differ
5464     * depending on the type of icon being loaded, being bigger than requested.
5465     *
5466     * @see elm_icon_prescale_get()
5467     * @see elm_bg_load_size_set()
5468     *
5469     * @ingroup Icon
5470     */
5471    EAPI void                  elm_icon_prescale_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
5472
5473    /**
5474     * Get the prescale size for the icon.
5475     *
5476     * @param obj The icon object
5477     * @return The prescale size
5478     *
5479     * @see elm_icon_prescale_set()
5480     *
5481     * @ingroup Icon
5482     */
5483    EAPI int                   elm_icon_prescale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5484
5485    /**
5486     * Gets the image object of the icon. DO NOT MODIFY THIS.
5487     *
5488     * @param obj The icon object
5489     * @return The internal icon object
5490     *
5491     * @ingroup Icon
5492     */
5493    EAPI Evas_Object          *elm_icon_object_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
5494
5495    /**
5496     * Sets the icon lookup order used by elm_icon_standard_set().
5497     *
5498     * @param obj The icon object
5499     * @param order The icon lookup order (can be one of
5500     * ELM_ICON_LOOKUP_FDO_THEME, ELM_ICON_LOOKUP_THEME_FDO, ELM_ICON_LOOKUP_FDO
5501     * or ELM_ICON_LOOKUP_THEME)
5502     *
5503     * @see elm_icon_order_lookup_get()
5504     * @see Elm_Icon_Lookup_Order
5505     *
5506     * @ingroup Icon
5507     */
5508    EAPI void                  elm_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) EINA_ARG_NONNULL(1);
5509
5510    /**
5511     * Gets the icon lookup order.
5512     *
5513     * @param obj The icon object
5514     * @return The icon lookup order
5515     *
5516     * @see elm_icon_order_lookup_set()
5517     * @see Elm_Icon_Lookup_Order
5518     *
5519     * @ingroup Icon
5520     */
5521    EAPI Elm_Icon_Lookup_Order elm_icon_order_lookup_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5522
5523    /**
5524     * Enable or disable preloading of the icon
5525     *
5526     * @param obj The icon object
5527     * @param disable If EINA_TRUE, preloading will be disabled
5528     * @ingroup Icon
5529     */
5530    EAPI void                  elm_icon_preload_set(Evas_Object *obj, Eina_Bool disable) EINA_ARG_NONNULL(1);
5531
5532    /**
5533     * Get if the icon supports animation or not.
5534     *
5535     * @param obj The icon object
5536     * @return @c EINA_TRUE if the icon supports animation,
5537     *         @c EINA_FALSE otherwise.
5538     *
5539     * Return if this elm icon's image can be animated. Currently Evas only
5540     * supports gif animation. If the return value is EINA_FALSE, other
5541     * elm_icon_animated_XXX APIs won't work.
5542     * @ingroup Icon
5543     */
5544    EAPI Eina_Bool           elm_icon_animated_available_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5545
5546    /**
5547     * Set animation mode of the icon.
5548     *
5549     * @param obj The icon object
5550     * @param anim @c EINA_TRUE if the object do animation job,
5551     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5552     *
5553     * Since the default animation mode is set to EINA_FALSE,
5554     * the icon is shown without animation. Files like animated GIF files
5555     * can animate, and this is supported if you enable animated support
5556     * on the icon.
5557     * Set it to EINA_TRUE when the icon needs to be animated.
5558     * @ingroup Icon
5559     */
5560    EAPI void                elm_icon_animated_set(Evas_Object *obj, Eina_Bool animated) EINA_ARG_NONNULL(1);
5561
5562    /**
5563     * Get animation mode of the icon.
5564     *
5565     * @param obj The icon object
5566     * @return The animation mode of the icon object
5567     * @see elm_icon_animated_set
5568     * @ingroup Icon
5569     */
5570    EAPI Eina_Bool           elm_icon_animated_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5571
5572    /**
5573     * Set animation play mode of the icon.
5574     *
5575     * @param obj The icon object
5576     * @param play @c EINA_TRUE the object play animation images,
5577     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5578     *
5579     * To play elm icon's animation, set play to EINA_TURE.
5580     * For example, you make gif player using this set/get API and click event.
5581     * This literally lets you control current play or paused state. To have
5582     * this work with animated GIF files for example, you first, before
5583     * setting the file have to use elm_icon_animated_set() to enable animation
5584     * at all on the icon.
5585     *
5586     * 1. Click event occurs
5587     * 2. Check play flag using elm_icon_animaged_play_get
5588     * 3. If elm icon was playing, set play to EINA_FALSE.
5589     *    Then animation will be stopped and vice versa
5590     * @ingroup Icon
5591     */
5592    EAPI void                elm_icon_animated_play_set(Evas_Object *obj, Eina_Bool play) EINA_ARG_NONNULL(1);
5593
5594    /**
5595     * Get animation play mode of the icon.
5596     *
5597     * @param obj The icon object
5598     * @return The play mode of the icon object
5599     *
5600     * @see elm_icon_animated_play_get
5601     * @ingroup Icon
5602     */
5603    EAPI Eina_Bool           elm_icon_animated_play_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5604
5605    /**
5606     * @}
5607     */
5608
5609    /**
5610     * @defgroup Image Image
5611     *
5612     * @image html img/widget/image/preview-00.png
5613     * @image latex img/widget/image/preview-00.eps
5614
5615     *
5616     * An object that allows one to load an image file to it. It can be used
5617     * anywhere like any other elementary widget.
5618     *
5619     * This widget provides most of the functionality provided from @ref Bg or @ref
5620     * Icon, but with a slightly different API (use the one that fits better your
5621     * needs).
5622     *
5623     * The features not provided by those two other image widgets are:
5624     * @li allowing to get the basic @c Evas_Object with elm_image_object_get();
5625     * @li change the object orientation with elm_image_orient_set();
5626     * @li and turning the image editable with elm_image_editable_set().
5627     *
5628     * Signals that you can add callbacks for are:
5629     *
5630     * @li @c "clicked" - This is called when a user has clicked the image
5631     *
5632     * An example of usage for this API follows:
5633     * @li @ref tutorial_image
5634     */
5635
5636    /**
5637     * @addtogroup Image
5638     * @{
5639     */
5640
5641    /**
5642     * @enum _Elm_Image_Orient
5643     * @typedef Elm_Image_Orient
5644     *
5645     * Possible orientation options for elm_image_orient_set().
5646     *
5647     * @image html elm_image_orient_set.png
5648     * @image latex elm_image_orient_set.eps width=\textwidth
5649     *
5650     * @ingroup Image
5651     */
5652    typedef enum _Elm_Image_Orient
5653      {
5654         ELM_IMAGE_ORIENT_NONE = 0, /**< no orientation change */
5655         ELM_IMAGE_ORIENT_0 = 0, /**< no orientation change */
5656         ELM_IMAGE_ROTATE_90 = 1, /**< rotate 90 degrees clockwise */
5657         ELM_IMAGE_ROTATE_180 = 2, /**< rotate 180 degrees clockwise */
5658         ELM_IMAGE_ROTATE_270 = 3, /**< rotate 90 degrees counter-clockwise (i.e. 270 degrees clockwise) */
5659         /*EINA_DEPRECATED*/ELM_IMAGE_ROTATE_90_CW = 1, /**< rotate 90 degrees clockwise */
5660         /*EINA_DEPRECATED*/ELM_IMAGE_ROTATE_180_CW = 2, /**< rotate 180 degrees clockwise */
5661         /*EINA_DEPRECATED*/ELM_IMAGE_ROTATE_90_CCW = 3, /**< rotate 90 degrees counter-clockwise (i.e. 270 degrees clockwise) */
5662         ELM_IMAGE_FLIP_HORIZONTAL = 4, /**< flip image horizontally */
5663         ELM_IMAGE_FLIP_VERTICAL = 5, /**< flip image vertically */
5664         ELM_IMAGE_FLIP_TRANSPOSE = 6, /**< flip the image along the y = (width - x) line (bottom-left to top-right) */
5665         ELM_IMAGE_FLIP_TRANSVERSE = 7 /**< flip the image along the y = x line (top-left to bottom-right) */
5666      } Elm_Image_Orient;
5667
5668    /**
5669     * Add a new image to the parent.
5670     *
5671     * @param parent The parent object
5672     * @return The new object or NULL if it cannot be created
5673     *
5674     * @see elm_image_file_set()
5675     *
5676     * @ingroup Image
5677     */
5678    EAPI Evas_Object     *elm_image_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5679
5680    /**
5681     * Set the file that will be used as image.
5682     *
5683     * @param obj The image object
5684     * @param file The path to file that will be used as image
5685     * @param group The group that the image belongs in edje file (if it's an
5686     * edje image)
5687     *
5688     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
5689     *
5690     * @see elm_image_file_get()
5691     *
5692     * @ingroup Image
5693     */
5694    EAPI Eina_Bool        elm_image_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
5695
5696    /**
5697     * Get the file that will be used as image.
5698     *
5699     * @param obj The image object
5700     * @param file The path to file
5701     * @param group The group that the image belongs in edje file
5702     *
5703     * @see elm_image_file_set()
5704     *
5705     * @ingroup Image
5706     */
5707    EAPI void             elm_image_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
5708
5709    /**
5710     * Set the smooth effect for an image.
5711     *
5712     * @param obj The image object
5713     * @param smooth @c EINA_TRUE if smooth scaling should be used, @c EINA_FALSE
5714     * otherwise. Default is @c EINA_TRUE.
5715     *
5716     * Set the scaling algorithm to be used when scaling the image. Smooth
5717     * scaling provides a better resulting image, but is slower.
5718     *
5719     * The smooth scaling should be disabled when making animations that change
5720     * the image size, since it will be faster. Animations that don't require
5721     * resizing of the image can keep the smooth scaling enabled (even if the
5722     * image is already scaled, since the scaled image will be cached).
5723     *
5724     * @see elm_image_smooth_get()
5725     *
5726     * @ingroup Image
5727     */
5728    EAPI void             elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
5729
5730    /**
5731     * Get the smooth effect for an image.
5732     *
5733     * @param obj The image object
5734     * @return @c EINA_TRUE if smooth scaling is enabled, @c EINA_FALSE otherwise.
5735     *
5736     * @see elm_image_smooth_get()
5737     *
5738     * @ingroup Image
5739     */
5740    EAPI Eina_Bool        elm_image_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5741
5742    /**
5743     * Gets the current size of the image.
5744     *
5745     * @param obj The image object.
5746     * @param w Pointer to store width, or NULL.
5747     * @param h Pointer to store height, or NULL.
5748     *
5749     * This is the real size of the image, not the size of the object.
5750     *
5751     * On error, neither w and h will be fileld with 0.
5752     *
5753     * @ingroup Image
5754     */
5755    EAPI void             elm_image_object_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
5756
5757    /**
5758     * Disable scaling of this object.
5759     *
5760     * @param obj The image object.
5761     * @param no_scale @c EINA_TRUE if the object is not scalable, @c EINA_FALSE
5762     * otherwise. Default is @c EINA_FALSE.
5763     *
5764     * This function disables scaling of the elm_image widget through the
5765     * function elm_object_scale_set(). However, this does not affect the widget
5766     * size/resize in any way. For that effect, take a look at
5767     * elm_image_scale_set().
5768     *
5769     * @see elm_image_no_scale_get()
5770     * @see elm_image_scale_set()
5771     * @see elm_object_scale_set()
5772     *
5773     * @ingroup Image
5774     */
5775    EAPI void             elm_image_no_scale_set(Evas_Object *obj, Eina_Bool no_scale) EINA_ARG_NONNULL(1);
5776
5777    /**
5778     * Get whether scaling is disabled on the object.
5779     *
5780     * @param obj The image object
5781     * @return @c EINA_TRUE if scaling is disabled, @c EINA_FALSE otherwise
5782     *
5783     * @see elm_image_no_scale_set()
5784     *
5785     * @ingroup Image
5786     */
5787    EAPI Eina_Bool        elm_image_no_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5788
5789    /**
5790     * Set if the object is (up/down) resizable.
5791     *
5792     * @param obj The image object
5793     * @param scale_up A bool to set if the object is resizable up. Default is
5794     * @c EINA_TRUE.
5795     * @param scale_down A bool to set if the object is resizable down. Default
5796     * is @c EINA_TRUE.
5797     *
5798     * This function limits the image resize ability. If @p scale_up is set to
5799     * @c EINA_FALSE, the object can't have its height or width resized to a value
5800     * higher than the original image size. Same is valid for @p scale_down.
5801     *
5802     * @see elm_image_scale_get()
5803     *
5804     * @ingroup Image
5805     */
5806    EAPI void             elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down) EINA_ARG_NONNULL(1);
5807
5808    /**
5809     * Get if the object is (up/down) resizable.
5810     *
5811     * @param obj The image object
5812     * @param scale_up A bool to set if the object is resizable up
5813     * @param scale_down A bool to set if the object is resizable down
5814     *
5815     * @see elm_image_scale_set()
5816     *
5817     * @ingroup Image
5818     */
5819    EAPI void             elm_image_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down) EINA_ARG_NONNULL(1);
5820
5821    /**
5822     * Set if the image fills the entire object area, when keeping the aspect ratio.
5823     *
5824     * @param obj The image object
5825     * @param fill_outside @c EINA_TRUE if the object is filled outside,
5826     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5827     *
5828     * When the image should keep its aspect ratio even if resized to another
5829     * aspect ratio, there are two possibilities to resize it: keep the entire
5830     * image inside the limits of height and width of the object (@p fill_outside
5831     * is @c EINA_FALSE) or let the extra width or height go outside of the object,
5832     * and the image will fill the entire object (@p fill_outside is @c EINA_TRUE).
5833     *
5834     * @note This option will have no effect if
5835     * elm_image_aspect_ratio_retained_set() is set to @c EINA_FALSE.
5836     *
5837     * @see elm_image_fill_outside_get()
5838     * @see elm_image_aspect_ratio_retained_set()
5839     *
5840     * @ingroup Image
5841     */
5842    EAPI void             elm_image_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside) EINA_ARG_NONNULL(1);
5843
5844    /**
5845     * Get if the object is filled outside
5846     *
5847     * @param obj The image object
5848     * @return @c EINA_TRUE if the object is filled outside, @c EINA_FALSE otherwise.
5849     *
5850     * @see elm_image_fill_outside_set()
5851     *
5852     * @ingroup Image
5853     */
5854    EAPI Eina_Bool        elm_image_fill_outside_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5855
5856    /**
5857     * Set the prescale size for the image
5858     *
5859     * @param obj The image object
5860     * @param size The prescale size. This value is used for both width and
5861     * height.
5862     *
5863     * This function sets a new size for pixmap representation of the given
5864     * image. It allows the image to be loaded already in the specified size,
5865     * reducing the memory usage and load time when loading a big image with load
5866     * size set to a smaller size.
5867     *
5868     * It's equivalent to the elm_bg_load_size_set() function for bg.
5869     *
5870     * @note this is just a hint, the real size of the pixmap may differ
5871     * depending on the type of image being loaded, being bigger than requested.
5872     *
5873     * @see elm_image_prescale_get()
5874     * @see elm_bg_load_size_set()
5875     *
5876     * @ingroup Image
5877     */
5878    EAPI void             elm_image_prescale_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
5879
5880    /**
5881     * Get the prescale size for the image
5882     *
5883     * @param obj The image object
5884     * @return The prescale size
5885     *
5886     * @see elm_image_prescale_set()
5887     *
5888     * @ingroup Image
5889     */
5890    EAPI int              elm_image_prescale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5891
5892    /**
5893     * Set the image orientation.
5894     *
5895     * @param obj The image object
5896     * @param orient The image orientation @ref Elm_Image_Orient
5897     *  Default is #ELM_IMAGE_ORIENT_NONE.
5898     *
5899     * This function allows to rotate or flip the given image.
5900     *
5901     * @see elm_image_orient_get()
5902     * @see @ref Elm_Image_Orient
5903     *
5904     * @ingroup Image
5905     */
5906    EAPI void             elm_image_orient_set(Evas_Object *obj, Elm_Image_Orient orient) EINA_ARG_NONNULL(1);
5907
5908    /**
5909     * Get the image orientation.
5910     *
5911     * @param obj The image object
5912     * @return The image orientation @ref Elm_Image_Orient
5913     *
5914     * @see elm_image_orient_set()
5915     * @see @ref Elm_Image_Orient
5916     *
5917     * @ingroup Image
5918     */
5919    EAPI Elm_Image_Orient elm_image_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5920
5921    /**
5922     * Make the image 'editable'.
5923     *
5924     * @param obj Image object.
5925     * @param set Turn on or off editability. Default is @c EINA_FALSE.
5926     *
5927     * This means the image is a valid drag target for drag and drop, and can be
5928     * cut or pasted too.
5929     *
5930     * @ingroup Image
5931     */
5932    EAPI void             elm_image_editable_set(Evas_Object *obj, Eina_Bool set) EINA_ARG_NONNULL(1);
5933
5934    /**
5935     * Check if the image 'editable'.
5936     *
5937     * @param obj Image object.
5938     * @return Editability.
5939     *
5940     * A return value of EINA_TRUE means the image is a valid drag target
5941     * for drag and drop, and can be cut or pasted too.
5942     *
5943     * @ingroup Image
5944     */
5945    EAPI Eina_Bool        elm_image_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5946
5947    /**
5948     * Get the basic Evas_Image object from this object (widget).
5949     *
5950     * @param obj The image object to get the inlined image from
5951     * @return The inlined image object, or NULL if none exists
5952     *
5953     * This function allows one to get the underlying @c Evas_Object of type
5954     * Image from this elementary widget. It can be useful to do things like get
5955     * the pixel data, save the image to a file, etc.
5956     *
5957     * @note Be careful to not manipulate it, as it is under control of
5958     * elementary.
5959     *
5960     * @ingroup Image
5961     */
5962    EAPI Evas_Object     *elm_image_object_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5963
5964    /**
5965     * Set whether the original aspect ratio of the image should be kept on resize.
5966     *
5967     * @param obj The image object.
5968     * @param retained @c EINA_TRUE if the image should retain the aspect,
5969     * @c EINA_FALSE otherwise.
5970     *
5971     * The original aspect ratio (width / height) of the image is usually
5972     * distorted to match the object's size. Enabling this option will retain
5973     * this original aspect, and the way that the image is fit into the object's
5974     * area depends on the option set by elm_image_fill_outside_set().
5975     *
5976     * @see elm_image_aspect_ratio_retained_get()
5977     * @see elm_image_fill_outside_set()
5978     *
5979     * @ingroup Image
5980     */
5981    EAPI void             elm_image_aspect_ratio_retained_set(Evas_Object *obj, Eina_Bool retained) EINA_ARG_NONNULL(1);
5982
5983    /**
5984     * Get if the object retains the original aspect ratio.
5985     *
5986     * @param obj The image object.
5987     * @return @c EINA_TRUE if the object keeps the original aspect, @c EINA_FALSE
5988     * otherwise.
5989     *
5990     * @ingroup Image
5991     */
5992    EAPI Eina_Bool        elm_image_aspect_ratio_retained_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5993
5994    /**
5995     * @}
5996     */
5997
5998    /* glview */
5999    typedef void (*Elm_GLView_Func_Cb)(Evas_Object *obj);
6000
6001    typedef enum _Elm_GLView_Mode
6002      {
6003         ELM_GLVIEW_ALPHA   = 1,
6004         ELM_GLVIEW_DEPTH   = 2,
6005         ELM_GLVIEW_STENCIL = 4
6006      } Elm_GLView_Mode;
6007
6008    /**
6009     * Defines a policy for the glview resizing.
6010     *
6011     * @note Default is ELM_GLVIEW_RESIZE_POLICY_RECREATE
6012     */
6013    typedef enum _Elm_GLView_Resize_Policy
6014      {
6015         ELM_GLVIEW_RESIZE_POLICY_RECREATE = 1,      /**< Resize the internal surface along with the image */
6016         ELM_GLVIEW_RESIZE_POLICY_SCALE    = 2       /**< Only reize the internal image and not the surface */
6017      } Elm_GLView_Resize_Policy;
6018
6019    typedef enum _Elm_GLView_Render_Policy
6020      {
6021         ELM_GLVIEW_RENDER_POLICY_ON_DEMAND = 1,     /**< Render only when there is a need for redrawing */
6022         ELM_GLVIEW_RENDER_POLICY_ALWAYS    = 2      /**< Render always even when it is not visible */
6023      } Elm_GLView_Render_Policy;
6024
6025    /**
6026     * @defgroup GLView
6027     *
6028     * A simple GLView widget that allows GL rendering.
6029     *
6030     * Signals that you can add callbacks for are:
6031     *
6032     * @{
6033     */
6034
6035    /**
6036     * Add a new glview to the parent
6037     *
6038     * @param parent The parent object
6039     * @return The new object or NULL if it cannot be created
6040     *
6041     * @ingroup GLView
6042     */
6043    EAPI Evas_Object     *elm_glview_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6044
6045    /**
6046     * Sets the size of the glview
6047     *
6048     * @param obj The glview object
6049     * @param width width of the glview object
6050     * @param height height of the glview object
6051     *
6052     * @ingroup GLView
6053     */
6054    EAPI void             elm_glview_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
6055
6056    /**
6057     * Gets the size of the glview.
6058     *
6059     * @param obj The glview object
6060     * @param width width of the glview object
6061     * @param height height of the glview object
6062     *
6063     * Note that this function returns the actual image size of the
6064     * glview.  This means that when the scale policy is set to
6065     * ELM_GLVIEW_RESIZE_POLICY_SCALE, it'll return the non-scaled
6066     * size.
6067     *
6068     * @ingroup GLView
6069     */
6070    EAPI void             elm_glview_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
6071
6072    /**
6073     * Gets the gl api struct for gl rendering
6074     *
6075     * @param obj The glview object
6076     * @return The api object or NULL if it cannot be created
6077     *
6078     * @ingroup GLView
6079     */
6080    EAPI Evas_GL_API     *elm_glview_gl_api_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6081
6082    /**
6083     * Set the mode of the GLView. Supports Three simple modes.
6084     *
6085     * @param obj The glview object
6086     * @param mode The mode Options OR'ed enabling Alpha, Depth, Stencil.
6087     * @return True if set properly.
6088     *
6089     * @ingroup GLView
6090     */
6091    EAPI Eina_Bool        elm_glview_mode_set(Evas_Object *obj, Elm_GLView_Mode mode) EINA_ARG_NONNULL(1);
6092
6093    /**
6094     * Set the resize policy for the glview object.
6095     *
6096     * @param obj The glview object.
6097     * @param policy The scaling policy.
6098     *
6099     * By default, the resize policy is set to
6100     * ELM_GLVIEW_RESIZE_POLICY_RECREATE.  When resize is called it
6101     * destroys the previous surface and recreates the newly specified
6102     * size. If the policy is set to ELM_GLVIEW_RESIZE_POLICY_SCALE,
6103     * however, glview only scales the image object and not the underlying
6104     * GL Surface.
6105     *
6106     * @ingroup GLView
6107     */
6108    EAPI Eina_Bool        elm_glview_resize_policy_set(Evas_Object *obj, Elm_GLView_Resize_Policy policy) EINA_ARG_NONNULL(1);
6109
6110    /**
6111     * Set the render policy for the glview object.
6112     *
6113     * @param obj The glview object.
6114     * @param policy The render policy.
6115     *
6116     * By default, the render policy is set to
6117     * ELM_GLVIEW_RENDER_POLICY_ON_DEMAND.  This policy is set such
6118     * that during the render loop, glview is only redrawn if it needs
6119     * to be redrawn. (i.e. When it is visible) If the policy is set to
6120     * ELM_GLVIEWW_RENDER_POLICY_ALWAYS, it redraws regardless of
6121     * whether it is visible/need redrawing or not.
6122     *
6123     * @ingroup GLView
6124     */
6125    EAPI Eina_Bool        elm_glview_render_policy_set(Evas_Object *obj, Elm_GLView_Render_Policy policy) EINA_ARG_NONNULL(1);
6126
6127    /**
6128     * Set the init function that runs once in the main loop.
6129     *
6130     * @param obj The glview object.
6131     * @param func The init function to be registered.
6132     *
6133     * The registered init function gets called once during the render loop.
6134     *
6135     * @ingroup GLView
6136     */
6137    EAPI void             elm_glview_init_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
6138
6139    /**
6140     * Set the render function that runs in the main loop.
6141     *
6142     * @param obj The glview object.
6143     * @param func The delete function to be registered.
6144     *
6145     * The registered del function gets called when GLView object is deleted.
6146     *
6147     * @ingroup GLView
6148     */
6149    EAPI void             elm_glview_del_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
6150
6151    /**
6152     * Set the resize function that gets called when resize happens.
6153     *
6154     * @param obj The glview object.
6155     * @param func The resize function to be registered.
6156     *
6157     * @ingroup GLView
6158     */
6159    EAPI void             elm_glview_resize_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
6160
6161    /**
6162     * Set the render function that runs in the main loop.
6163     *
6164     * @param obj The glview object.
6165     * @param func The render function to be registered.
6166     *
6167     * @ingroup GLView
6168     */
6169    EAPI void             elm_glview_render_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
6170
6171    /**
6172     * Notifies that there has been changes in the GLView.
6173     *
6174     * @param obj The glview object.
6175     *
6176     * @ingroup GLView
6177     */
6178    EAPI void             elm_glview_changed_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
6179
6180    /**
6181     * @}
6182     */
6183
6184    /* box */
6185    /**
6186     * @defgroup Box Box
6187     *
6188     * @image html img/widget/box/preview-00.png
6189     * @image latex img/widget/box/preview-00.eps width=\textwidth
6190     *
6191     * @image html img/box.png
6192     * @image latex img/box.eps width=\textwidth
6193     *
6194     * A box arranges objects in a linear fashion, governed by a layout function
6195     * that defines the details of this arrangement.
6196     *
6197     * By default, the box will use an internal function to set the layout to
6198     * a single row, either vertical or horizontal. This layout is affected
6199     * by a number of parameters, such as the homogeneous flag set by
6200     * elm_box_homogeneous_set(), the values given by elm_box_padding_set() and
6201     * elm_box_align_set() and the hints set to each object in the box.
6202     *
6203     * For this default layout, it's possible to change the orientation with
6204     * elm_box_horizontal_set(). The box will start in the vertical orientation,
6205     * placing its elements ordered from top to bottom. When horizontal is set,
6206     * the order will go from left to right. If the box is set to be
6207     * homogeneous, every object in it will be assigned the same space, that
6208     * of the largest object. Padding can be used to set some spacing between
6209     * the cell given to each object. The alignment of the box, set with
6210     * elm_box_align_set(), determines how the bounding box of all the elements
6211     * will be placed within the space given to the box widget itself.
6212     *
6213     * The size hints of each object also affect how they are placed and sized
6214     * within the box. evas_object_size_hint_min_set() will give the minimum
6215     * size the object can have, and the box will use it as the basis for all
6216     * latter calculations. Elementary widgets set their own minimum size as
6217     * needed, so there's rarely any need to use it manually.
6218     *
6219     * evas_object_size_hint_weight_set(), when not in homogeneous mode, is
6220     * used to tell whether the object will be allocated the minimum size it
6221     * needs or if the space given to it should be expanded. It's important
6222     * to realize that expanding the size given to the object is not the same
6223     * thing as resizing the object. It could very well end being a small
6224     * widget floating in a much larger empty space. If not set, the weight
6225     * for objects will normally be 0.0 for both axis, meaning the widget will
6226     * not be expanded. To take as much space possible, set the weight to
6227     * EVAS_HINT_EXPAND (defined to 1.0) for the desired axis to expand.
6228     *
6229     * Besides how much space each object is allocated, it's possible to control
6230     * how the widget will be placed within that space using
6231     * evas_object_size_hint_align_set(). By default, this value will be 0.5
6232     * for both axis, meaning the object will be centered, but any value from
6233     * 0.0 (left or top, for the @c x and @c y axis, respectively) to 1.0
6234     * (right or bottom) can be used. The special value EVAS_HINT_FILL, which
6235     * is -1.0, means the object will be resized to fill the entire space it
6236     * was allocated.
6237     *
6238     * In addition, customized functions to define the layout can be set, which
6239     * allow the application developer to organize the objects within the box
6240     * in any number of ways.
6241     *
6242     * The special elm_box_layout_transition() function can be used
6243     * to switch from one layout to another, animating the motion of the
6244     * children of the box.
6245     *
6246     * @note Objects should not be added to box objects using _add() calls.
6247     *
6248     * Some examples on how to use boxes follow:
6249     * @li @ref box_example_01
6250     * @li @ref box_example_02
6251     *
6252     * @{
6253     */
6254    /**
6255     * @typedef Elm_Box_Transition
6256     *
6257     * Opaque handler containing the parameters to perform an animated
6258     * transition of the layout the box uses.
6259     *
6260     * @see elm_box_transition_new()
6261     * @see elm_box_layout_set()
6262     * @see elm_box_layout_transition()
6263     */
6264    typedef struct _Elm_Box_Transition Elm_Box_Transition;
6265
6266    /**
6267     * Add a new box to the parent
6268     *
6269     * By default, the box will be in vertical mode and non-homogeneous.
6270     *
6271     * @param parent The parent object
6272     * @return The new object or NULL if it cannot be created
6273     */
6274    EAPI Evas_Object        *elm_box_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6275
6276    /**
6277     * Set the horizontal orientation
6278     *
6279     * By default, box object arranges their contents vertically from top to
6280     * bottom.
6281     * By calling this function with @p horizontal as EINA_TRUE, the box will
6282     * become horizontal, arranging contents from left to right.
6283     *
6284     * @note This flag is ignored if a custom layout function is set.
6285     *
6286     * @param obj The box object
6287     * @param horizontal The horizontal flag (EINA_TRUE = horizontal,
6288     * EINA_FALSE = vertical)
6289     */
6290    EAPI void                elm_box_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
6291
6292    /**
6293     * Get the horizontal orientation
6294     *
6295     * @param obj The box object
6296     * @return EINA_TRUE if the box is set to horizontal mode, EINA_FALSE otherwise
6297     */
6298    EAPI Eina_Bool           elm_box_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6299
6300    /**
6301     * Set the box to arrange its children homogeneously
6302     *
6303     * If enabled, homogeneous layout makes all items the same size, according
6304     * to the size of the largest of its children.
6305     *
6306     * @note This flag is ignored if a custom layout function is set.
6307     *
6308     * @param obj The box object
6309     * @param homogeneous The homogeneous flag
6310     */
6311    EAPI void                elm_box_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
6312
6313    /**
6314     * Get whether the box is using homogeneous mode or not
6315     *
6316     * @param obj The box object
6317     * @return EINA_TRUE if it's homogeneous, EINA_FALSE otherwise
6318     */
6319    EAPI Eina_Bool           elm_box_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6320
6321    /**
6322     * Add an object to the beginning of the pack list
6323     *
6324     * Pack @p subobj into the box @p obj, placing it first in the list of
6325     * children objects. The actual position the object will get on screen
6326     * depends on the layout used. If no custom layout is set, it will be at
6327     * the top or left, depending if the box is vertical or horizontal,
6328     * respectively.
6329     *
6330     * @param obj The box object
6331     * @param subobj The object to add to the box
6332     *
6333     * @see elm_box_pack_end()
6334     * @see elm_box_pack_before()
6335     * @see elm_box_pack_after()
6336     * @see elm_box_unpack()
6337     * @see elm_box_unpack_all()
6338     * @see elm_box_clear()
6339     */
6340    EAPI void                elm_box_pack_start(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
6341
6342    /**
6343     * Add an object at the end of the pack list
6344     *
6345     * Pack @p subobj into the box @p obj, placing it last in the list of
6346     * children objects. The actual position the object will get on screen
6347     * depends on the layout used. If no custom layout is set, it will be at
6348     * the bottom or right, depending if the box is vertical or horizontal,
6349     * respectively.
6350     *
6351     * @param obj The box object
6352     * @param subobj The object to add to the box
6353     *
6354     * @see elm_box_pack_start()
6355     * @see elm_box_pack_before()
6356     * @see elm_box_pack_after()
6357     * @see elm_box_unpack()
6358     * @see elm_box_unpack_all()
6359     * @see elm_box_clear()
6360     */
6361    EAPI void                elm_box_pack_end(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
6362
6363    /**
6364     * Adds an object to the box before the indicated object
6365     *
6366     * This will add the @p subobj to the box indicated before the object
6367     * indicated with @p before. If @p before is not already in the box, results
6368     * are undefined. Before means either to the left of the indicated object or
6369     * above it depending on orientation.
6370     *
6371     * @param obj The box object
6372     * @param subobj The object to add to the box
6373     * @param before The object before which to add it
6374     *
6375     * @see elm_box_pack_start()
6376     * @see elm_box_pack_end()
6377     * @see elm_box_pack_after()
6378     * @see elm_box_unpack()
6379     * @see elm_box_unpack_all()
6380     * @see elm_box_clear()
6381     */
6382    EAPI void                elm_box_pack_before(Evas_Object *obj, Evas_Object *subobj, Evas_Object *before) EINA_ARG_NONNULL(1);
6383
6384    /**
6385     * Adds an object to the box after the indicated object
6386     *
6387     * This will add the @p subobj to the box indicated after the object
6388     * indicated with @p after. If @p after is not already in the box, results
6389     * are undefined. After means either to the right of the indicated object or
6390     * below it depending on orientation.
6391     *
6392     * @param obj The box object
6393     * @param subobj The object to add to the box
6394     * @param after The object after which to add it
6395     *
6396     * @see elm_box_pack_start()
6397     * @see elm_box_pack_end()
6398     * @see elm_box_pack_before()
6399     * @see elm_box_unpack()
6400     * @see elm_box_unpack_all()
6401     * @see elm_box_clear()
6402     */
6403    EAPI void                elm_box_pack_after(Evas_Object *obj, Evas_Object *subobj, Evas_Object *after) EINA_ARG_NONNULL(1);
6404
6405    /**
6406     * Clear the box of all children
6407     *
6408     * Remove all the elements contained by the box, deleting the respective
6409     * objects.
6410     *
6411     * @param obj The box object
6412     *
6413     * @see elm_box_unpack()
6414     * @see elm_box_unpack_all()
6415     */
6416    EAPI void                elm_box_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
6417
6418    /**
6419     * Unpack a box item
6420     *
6421     * Remove the object given by @p subobj from the box @p obj without
6422     * deleting it.
6423     *
6424     * @param obj The box object
6425     *
6426     * @see elm_box_unpack_all()
6427     * @see elm_box_clear()
6428     */
6429    EAPI void                elm_box_unpack(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
6430
6431    /**
6432     * Remove all items from the box, without deleting them
6433     *
6434     * Clear the box from all children, but don't delete the respective objects.
6435     * If no other references of the box children exist, the objects will never
6436     * be deleted, and thus the application will leak the memory. Make sure
6437     * when using this function that you hold a reference to all the objects
6438     * in the box @p obj.
6439     *
6440     * @param obj The box object
6441     *
6442     * @see elm_box_clear()
6443     * @see elm_box_unpack()
6444     */
6445    EAPI void                elm_box_unpack_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
6446
6447    /**
6448     * Retrieve a list of the objects packed into the box
6449     *
6450     * Returns a new @c Eina_List with a pointer to @c Evas_Object in its nodes.
6451     * The order of the list corresponds to the packing order the box uses.
6452     *
6453     * You must free this list with eina_list_free() once you are done with it.
6454     *
6455     * @param obj The box object
6456     */
6457    EAPI const Eina_List    *elm_box_children_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6458
6459    /**
6460     * Set the space (padding) between the box's elements.
6461     *
6462     * Extra space in pixels that will be added between a box child and its
6463     * neighbors after its containing cell has been calculated. This padding
6464     * is set for all elements in the box, besides any possible padding that
6465     * individual elements may have through their size hints.
6466     *
6467     * @param obj The box object
6468     * @param horizontal The horizontal space between elements
6469     * @param vertical The vertical space between elements
6470     */
6471    EAPI void                elm_box_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical) EINA_ARG_NONNULL(1);
6472
6473    /**
6474     * Get the space (padding) between the box's elements.
6475     *
6476     * @param obj The box object
6477     * @param horizontal The horizontal space between elements
6478     * @param vertical The vertical space between elements
6479     *
6480     * @see elm_box_padding_set()
6481     */
6482    EAPI void                elm_box_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical) EINA_ARG_NONNULL(1);
6483
6484    /**
6485     * Set the alignment of the whole bouding box of contents.
6486     *
6487     * Sets how the bounding box containing all the elements of the box, after
6488     * their sizes and position has been calculated, will be aligned within
6489     * the space given for the whole box widget.
6490     *
6491     * @param obj The box object
6492     * @param horizontal The horizontal alignment of elements
6493     * @param vertical The vertical alignment of elements
6494     */
6495    EAPI void                elm_box_align_set(Evas_Object *obj, double horizontal, double vertical) EINA_ARG_NONNULL(1);
6496
6497    /**
6498     * Get the alignment of the whole bouding box of contents.
6499     *
6500     * @param obj The box object
6501     * @param horizontal The horizontal alignment of elements
6502     * @param vertical The vertical alignment of elements
6503     *
6504     * @see elm_box_align_set()
6505     */
6506    EAPI void                elm_box_align_get(const Evas_Object *obj, double *horizontal, double *vertical) EINA_ARG_NONNULL(1);
6507
6508    /**
6509     * Force the box to recalculate its children packing.
6510     *
6511     * If any children was added or removed, box will not calculate the
6512     * values immediately rather leaving it to the next main loop
6513     * iteration. While this is great as it would save lots of
6514     * recalculation, whenever you need to get the position of a just
6515     * added item you must force recalculate before doing so.
6516     *
6517     * @param obj The box object.
6518     */
6519    EAPI void                 elm_box_recalculate(Evas_Object *obj);
6520
6521    /**
6522     * Set the layout defining function to be used by the box
6523     *
6524     * Whenever anything changes that requires the box in @p obj to recalculate
6525     * the size and position of its elements, the function @p cb will be called
6526     * to determine what the layout of the children will be.
6527     *
6528     * Once a custom function is set, everything about the children layout
6529     * is defined by it. The flags set by elm_box_horizontal_set() and
6530     * elm_box_homogeneous_set() no longer have any meaning, and the values
6531     * given by elm_box_padding_set() and elm_box_align_set() are up to this
6532     * layout function to decide if they are used and how. These last two
6533     * will be found in the @c priv parameter, of type @c Evas_Object_Box_Data,
6534     * passed to @p cb. The @c Evas_Object the function receives is not the
6535     * Elementary widget, but the internal Evas Box it uses, so none of the
6536     * functions described here can be used on it.
6537     *
6538     * Any of the layout functions in @c Evas can be used here, as well as the
6539     * special elm_box_layout_transition().
6540     *
6541     * The final @p data argument received by @p cb is the same @p data passed
6542     * here, and the @p free_data function will be called to free it
6543     * whenever the box is destroyed or another layout function is set.
6544     *
6545     * Setting @p cb to NULL will revert back to the default layout function.
6546     *
6547     * @param obj The box object
6548     * @param cb The callback function used for layout
6549     * @param data Data that will be passed to layout function
6550     * @param free_data Function called to free @p data
6551     *
6552     * @see elm_box_layout_transition()
6553     */
6554    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);
6555
6556    /**
6557     * Special layout function that animates the transition from one layout to another
6558     *
6559     * Normally, when switching the layout function for a box, this will be
6560     * reflected immediately on screen on the next render, but it's also
6561     * possible to do this through an animated transition.
6562     *
6563     * This is done by creating an ::Elm_Box_Transition and setting the box
6564     * layout to this function.
6565     *
6566     * For example:
6567     * @code
6568     * Elm_Box_Transition *t = elm_box_transition_new(1.0,
6569     *                            evas_object_box_layout_vertical, // start
6570     *                            NULL, // data for initial layout
6571     *                            NULL, // free function for initial data
6572     *                            evas_object_box_layout_horizontal, // end
6573     *                            NULL, // data for final layout
6574     *                            NULL, // free function for final data
6575     *                            anim_end, // will be called when animation ends
6576     *                            NULL); // data for anim_end function\
6577     * elm_box_layout_set(box, elm_box_layout_transition, t,
6578     *                    elm_box_transition_free);
6579     * @endcode
6580     *
6581     * @note This function can only be used with elm_box_layout_set(). Calling
6582     * it directly will not have the expected results.
6583     *
6584     * @see elm_box_transition_new
6585     * @see elm_box_transition_free
6586     * @see elm_box_layout_set
6587     */
6588    EAPI void                elm_box_layout_transition(Evas_Object *obj, Evas_Object_Box_Data *priv, void *data);
6589
6590    /**
6591     * Create a new ::Elm_Box_Transition to animate the switch of layouts
6592     *
6593     * If you want to animate the change from one layout to another, you need
6594     * to set the layout function of the box to elm_box_layout_transition(),
6595     * passing as user data to it an instance of ::Elm_Box_Transition with the
6596     * necessary information to perform this animation. The free function to
6597     * set for the layout is elm_box_transition_free().
6598     *
6599     * The parameters to create an ::Elm_Box_Transition sum up to how long
6600     * will it be, in seconds, a layout function to describe the initial point,
6601     * another for the final position of the children and one function to be
6602     * called when the whole animation ends. This last function is useful to
6603     * set the definitive layout for the box, usually the same as the end
6604     * layout for the animation, but could be used to start another transition.
6605     *
6606     * @param start_layout The layout function that will be used to start the animation
6607     * @param start_layout_data The data to be passed the @p start_layout function
6608     * @param start_layout_free_data Function to free @p start_layout_data
6609     * @param end_layout The layout function that will be used to end the animation
6610     * @param end_layout_free_data The data to be passed the @p end_layout function
6611     * @param end_layout_free_data Function to free @p end_layout_data
6612     * @param transition_end_cb Callback function called when animation ends
6613     * @param transition_end_data Data to be passed to @p transition_end_cb
6614     * @return An instance of ::Elm_Box_Transition
6615     *
6616     * @see elm_box_transition_new
6617     * @see elm_box_layout_transition
6618     */
6619    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);
6620
6621    /**
6622     * Free a Elm_Box_Transition instance created with elm_box_transition_new().
6623     *
6624     * This function is mostly useful as the @c free_data parameter in
6625     * elm_box_layout_set() when elm_box_layout_transition().
6626     *
6627     * @param data The Elm_Box_Transition instance to be freed.
6628     *
6629     * @see elm_box_transition_new
6630     * @see elm_box_layout_transition
6631     */
6632    EAPI void                elm_box_transition_free(void *data);
6633
6634    /**
6635     * @}
6636     */
6637
6638    /* button */
6639    /**
6640     * @defgroup Button Button
6641     *
6642     * @image html img/widget/button/preview-00.png
6643     * @image latex img/widget/button/preview-00.eps
6644     * @image html img/widget/button/preview-01.png
6645     * @image latex img/widget/button/preview-01.eps
6646     * @image html img/widget/button/preview-02.png
6647     * @image latex img/widget/button/preview-02.eps
6648     *
6649     * This is a push-button. Press it and run some function. It can contain
6650     * a simple label and icon object and it also has an autorepeat feature.
6651     *
6652     * This widgets emits the following signals:
6653     * @li "clicked": the user clicked the button (press/release).
6654     * @li "repeated": the user pressed the button without releasing it.
6655     * @li "pressed": button was pressed.
6656     * @li "unpressed": button was released after being pressed.
6657     * In all three cases, the @c event parameter of the callback will be
6658     * @c NULL.
6659     *
6660     * Also, defined in the default theme, the button has the following styles
6661     * available:
6662     * @li default: a normal button.
6663     * @li anchor: Like default, but the button fades away when the mouse is not
6664     * over it, leaving only the text or icon.
6665     * @li hoversel_vertical: Internally used by @ref Hoversel to give a
6666     * continuous look across its options.
6667     * @li hoversel_vertical_entry: Another internal for @ref Hoversel.
6668     *
6669     * Default contents parts of the button widget that you can use for are:
6670     * @li "icon" - An icon of the button
6671     *
6672     * Default text parts of the button widget that you can use for are:
6673     * @li "default" - Label of the button
6674     *
6675     * Follow through a complete example @ref button_example_01 "here".
6676     * @{
6677     */
6678
6679    /**
6680     * Add a new button to the parent's canvas
6681     *
6682     * @param parent The parent object
6683     * @return The new object or NULL if it cannot be created
6684     */
6685    EAPI Evas_Object *elm_button_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6686
6687    /**
6688     * Set the label used in the button
6689     *
6690     * The passed @p label can be NULL to clean any existing text in it and
6691     * leave the button as an icon only object.
6692     *
6693     * @param obj The button object
6694     * @param label The text will be written on the button
6695     * @deprecated use elm_object_text_set() instead.
6696     */
6697    EINA_DEPRECATED EAPI void         elm_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
6698
6699    /**
6700     * Get the label set for the button
6701     *
6702     * The string returned is an internal pointer and should not be freed or
6703     * altered. It will also become invalid when the button is destroyed.
6704     * The string returned, if not NULL, is a stringshare, so if you need to
6705     * keep it around even after the button is destroyed, you can use
6706     * eina_stringshare_ref().
6707     *
6708     * @param obj The button object
6709     * @return The text set to the label, or NULL if nothing is set
6710     * @deprecated use elm_object_text_set() instead.
6711     */
6712    EINA_DEPRECATED EAPI const char  *elm_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6713
6714    /**
6715     * Set the icon used for the button
6716     *
6717     * Setting a new icon will delete any other that was previously set, making
6718     * any reference to them invalid. If you need to maintain the previous
6719     * object alive, unset it first with elm_button_icon_unset().
6720     *
6721     * @param obj The button object
6722     * @param icon The icon object for the button
6723     * @deprecated use elm_object_part_content_set() instead.
6724     */
6725    EINA_DEPRECATED EAPI void         elm_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
6726
6727    /**
6728     * Get the icon used for the button
6729     *
6730     * Return the icon object which is set for this widget. If the button is
6731     * destroyed or another icon is set, the returned object will be deleted
6732     * and any reference to it will be invalid.
6733     *
6734     * @param obj The button object
6735     * @return The icon object that is being used
6736     *
6737     * @deprecated use elm_object_part_content_get() instead
6738     */
6739    EINA_DEPRECATED EAPI Evas_Object *elm_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6740
6741    /**
6742     * Remove the icon set without deleting it and return the object
6743     *
6744     * This function drops the reference the button holds of the icon object
6745     * and returns this last object. It is used in case you want to remove any
6746     * icon, or set another one, without deleting the actual object. The button
6747     * will be left without an icon set.
6748     *
6749     * @param obj The button object
6750     * @return The icon object that was being used
6751     * @deprecated use elm_object_part_content_unset() instead.
6752     */
6753    EINA_DEPRECATED EAPI Evas_Object *elm_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
6754
6755    /**
6756     * Turn on/off the autorepeat event generated when the button is kept pressed
6757     *
6758     * When off, no autorepeat is performed and buttons emit a normal @c clicked
6759     * signal when they are clicked.
6760     *
6761     * When on, keeping a button pressed will continuously emit a @c repeated
6762     * signal until the button is released. The time it takes until it starts
6763     * emitting the signal is given by
6764     * elm_button_autorepeat_initial_timeout_set(), and the time between each
6765     * new emission by elm_button_autorepeat_gap_timeout_set().
6766     *
6767     * @param obj The button object
6768     * @param on  A bool to turn on/off the event
6769     */
6770    EAPI void         elm_button_autorepeat_set(Evas_Object *obj, Eina_Bool on) EINA_ARG_NONNULL(1);
6771
6772    /**
6773     * Get whether the autorepeat feature is enabled
6774     *
6775     * @param obj The button object
6776     * @return EINA_TRUE if autorepeat is on, EINA_FALSE otherwise
6777     *
6778     * @see elm_button_autorepeat_set()
6779     */
6780    EAPI Eina_Bool    elm_button_autorepeat_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6781
6782    /**
6783     * Set the initial timeout before the autorepeat event is generated
6784     *
6785     * Sets the timeout, in seconds, since the button is pressed until the
6786     * first @c repeated signal is emitted. If @p t is 0.0 or less, there
6787     * won't be any delay and the even will be fired the moment the button is
6788     * pressed.
6789     *
6790     * @param obj The button object
6791     * @param t   Timeout in seconds
6792     *
6793     * @see elm_button_autorepeat_set()
6794     * @see elm_button_autorepeat_gap_timeout_set()
6795     */
6796    EAPI void         elm_button_autorepeat_initial_timeout_set(Evas_Object *obj, double t) EINA_ARG_NONNULL(1);
6797
6798    /**
6799     * Get the initial timeout before the autorepeat event is generated
6800     *
6801     * @param obj The button object
6802     * @return Timeout in seconds
6803     *
6804     * @see elm_button_autorepeat_initial_timeout_set()
6805     */
6806    EAPI double       elm_button_autorepeat_initial_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6807
6808    /**
6809     * Set the interval between each generated autorepeat event
6810     *
6811     * After the first @c repeated event is fired, all subsequent ones will
6812     * follow after a delay of @p t seconds for each.
6813     *
6814     * @param obj The button object
6815     * @param t   Interval in seconds
6816     *
6817     * @see elm_button_autorepeat_initial_timeout_set()
6818     */
6819    EAPI void         elm_button_autorepeat_gap_timeout_set(Evas_Object *obj, double t) EINA_ARG_NONNULL(1);
6820
6821    /**
6822     * Get the interval between each generated autorepeat event
6823     *
6824     * @param obj The button object
6825     * @return Interval in seconds
6826     */
6827    EAPI double       elm_button_autorepeat_gap_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6828
6829    /**
6830     * @}
6831     */
6832
6833    /**
6834     * @defgroup File_Selector_Button File Selector Button
6835     *
6836     * @image html img/widget/fileselector_button/preview-00.png
6837     * @image latex img/widget/fileselector_button/preview-00.eps
6838     * @image html img/widget/fileselector_button/preview-01.png
6839     * @image latex img/widget/fileselector_button/preview-01.eps
6840     * @image html img/widget/fileselector_button/preview-02.png
6841     * @image latex img/widget/fileselector_button/preview-02.eps
6842     *
6843     * This is a button that, when clicked, creates an Elementary
6844     * window (or inner window) <b> with a @ref Fileselector "file
6845     * selector widget" within</b>. When a file is chosen, the (inner)
6846     * window is closed and the button emits a signal having the
6847     * selected file as it's @c event_info.
6848     *
6849     * This widget encapsulates operations on its internal file
6850     * selector on its own API. There is less control over its file
6851     * selector than that one would have instatiating one directly.
6852     *
6853     * The following styles are available for this button:
6854     * @li @c "default"
6855     * @li @c "anchor"
6856     * @li @c "hoversel_vertical"
6857     * @li @c "hoversel_vertical_entry"
6858     *
6859     * Smart callbacks one can register to:
6860     * - @c "file,chosen" - the user has selected a path, whose string
6861     *   pointer comes as the @c event_info data (a stringshared
6862     *   string)
6863     *
6864     * Here is an example on its usage:
6865     * @li @ref fileselector_button_example
6866     *
6867     * @see @ref File_Selector_Entry for a similar widget.
6868     * @{
6869     */
6870
6871    /**
6872     * Add a new file selector button widget to the given parent
6873     * Elementary (container) object
6874     *
6875     * @param parent The parent object
6876     * @return a new file selector button widget handle or @c NULL, on
6877     * errors
6878     */
6879    EAPI Evas_Object *elm_fileselector_button_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6880
6881    /**
6882     * Set the label for a given file selector button widget
6883     *
6884     * @param obj The file selector button widget
6885     * @param label The text label to be displayed on @p obj
6886     *
6887     * @deprecated use elm_object_text_set() instead.
6888     */
6889    EINA_DEPRECATED EAPI void         elm_fileselector_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
6890
6891    /**
6892     * Get the label set for a given file selector button widget
6893     *
6894     * @param obj The file selector button widget
6895     * @return The button label
6896     *
6897     * @deprecated use elm_object_text_set() instead.
6898     */
6899    EINA_DEPRECATED EAPI const char  *elm_fileselector_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6900
6901    /**
6902     * Set the icon on a given file selector button widget
6903     *
6904     * @param obj The file selector button widget
6905     * @param icon The icon object for the button
6906     *
6907     * Once the icon object is set, a previously set one will be
6908     * deleted. If you want to keep the latter, use the
6909     * elm_fileselector_button_icon_unset() function.
6910     *
6911     * @see elm_fileselector_button_icon_get()
6912     */
6913    EAPI void         elm_fileselector_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
6914
6915    /**
6916     * Get the icon set for a given file selector button widget
6917     *
6918     * @param obj The file selector button widget
6919     * @return The icon object currently set on @p obj or @c NULL, if
6920     * none is
6921     *
6922     * @see elm_fileselector_button_icon_set()
6923     */
6924    EAPI Evas_Object *elm_fileselector_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6925
6926    /**
6927     * Unset the icon used in a given file selector button widget
6928     *
6929     * @param obj The file selector button widget
6930     * @return The icon object that was being used on @p obj or @c
6931     * NULL, on errors
6932     *
6933     * Unparent and return the icon object which was set for this
6934     * widget.
6935     *
6936     * @see elm_fileselector_button_icon_set()
6937     */
6938    EAPI Evas_Object *elm_fileselector_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
6939
6940    /**
6941     * Set the title for a given file selector button widget's window
6942     *
6943     * @param obj The file selector button widget
6944     * @param title The title string
6945     *
6946     * This will change the window's title, when the file selector pops
6947     * out after a click on the button. Those windows have the default
6948     * (unlocalized) value of @c "Select a file" as titles.
6949     *
6950     * @note It will only take any effect if the file selector
6951     * button widget is @b not under "inwin mode".
6952     *
6953     * @see elm_fileselector_button_window_title_get()
6954     */
6955    EAPI void         elm_fileselector_button_window_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
6956
6957    /**
6958     * Get the title set for a given file selector button widget's
6959     * window
6960     *
6961     * @param obj The file selector button widget
6962     * @return Title of the file selector button's window
6963     *
6964     * @see elm_fileselector_button_window_title_get() for more details
6965     */
6966    EAPI const char  *elm_fileselector_button_window_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6967
6968    /**
6969     * Set the size of a given file selector button widget's window,
6970     * holding the file selector itself.
6971     *
6972     * @param obj The file selector button widget
6973     * @param width The window's width
6974     * @param height The window's height
6975     *
6976     * @note it will only take any effect if the file selector button
6977     * widget is @b not under "inwin mode". The default size for the
6978     * window (when applicable) is 400x400 pixels.
6979     *
6980     * @see elm_fileselector_button_window_size_get()
6981     */
6982    EAPI void         elm_fileselector_button_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
6983
6984    /**
6985     * Get the size of a given file selector button widget's window,
6986     * holding the file selector itself.
6987     *
6988     * @param obj The file selector button widget
6989     * @param width Pointer into which to store the width value
6990     * @param height Pointer into which to store the height value
6991     *
6992     * @note Use @c NULL pointers on the size values you're not
6993     * interested in: they'll be ignored by the function.
6994     *
6995     * @see elm_fileselector_button_window_size_set(), for more details
6996     */
6997    EAPI void         elm_fileselector_button_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
6998
6999    /**
7000     * Set the initial file system path for a given file selector
7001     * button widget
7002     *
7003     * @param obj The file selector button widget
7004     * @param path The path string
7005     *
7006     * It must be a <b>directory</b> path, which will have the contents
7007     * displayed initially in the file selector's view, when invoked
7008     * from @p obj. The default initial path is the @c "HOME"
7009     * environment variable's value.
7010     *
7011     * @see elm_fileselector_button_path_get()
7012     */
7013    EAPI void         elm_fileselector_button_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
7014
7015    /**
7016     * Get the initial file system path set for a given file selector
7017     * button widget
7018     *
7019     * @param obj The file selector button widget
7020     * @return path The path string
7021     *
7022     * @see elm_fileselector_button_path_set() for more details
7023     */
7024    EAPI const char  *elm_fileselector_button_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7025
7026    /**
7027     * Enable/disable a tree view in the given file selector button
7028     * widget's internal file selector
7029     *
7030     * @param obj The file selector button widget
7031     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
7032     * disable
7033     *
7034     * This has the same effect as elm_fileselector_expandable_set(),
7035     * but now applied to a file selector button's internal file
7036     * selector.
7037     *
7038     * @note There's no way to put a file selector button's internal
7039     * file selector in "grid mode", as one may do with "pure" file
7040     * selectors.
7041     *
7042     * @see elm_fileselector_expandable_get()
7043     */
7044    EAPI void         elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
7045
7046    /**
7047     * Get whether tree view is enabled for the given file selector
7048     * button widget's internal file selector
7049     *
7050     * @param obj The file selector button widget
7051     * @return @c EINA_TRUE if @p obj widget's internal file selector
7052     * is in tree view, @c EINA_FALSE otherwise (and or errors)
7053     *
7054     * @see elm_fileselector_expandable_set() for more details
7055     */
7056    EAPI Eina_Bool    elm_fileselector_button_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7057
7058    /**
7059     * Set whether a given file selector button widget's internal file
7060     * selector is to display folders only or the directory contents,
7061     * as well.
7062     *
7063     * @param obj The file selector button widget
7064     * @param only @c EINA_TRUE to make @p obj widget's internal file
7065     * selector only display directories, @c EINA_FALSE to make files
7066     * to be displayed in it too
7067     *
7068     * This has the same effect as elm_fileselector_folder_only_set(),
7069     * but now applied to a file selector button's internal file
7070     * selector.
7071     *
7072     * @see elm_fileselector_folder_only_get()
7073     */
7074    EAPI void         elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
7075
7076    /**
7077     * Get whether a given file selector button widget's internal file
7078     * selector is displaying folders only or the directory contents,
7079     * as well.
7080     *
7081     * @param obj The file selector button widget
7082     * @return @c EINA_TRUE if @p obj widget's internal file
7083     * selector is only displaying directories, @c EINA_FALSE if files
7084     * are being displayed in it too (and on errors)
7085     *
7086     * @see elm_fileselector_button_folder_only_set() for more details
7087     */
7088    EAPI Eina_Bool    elm_fileselector_button_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7089
7090    /**
7091     * Enable/disable the file name entry box where the user can type
7092     * in a name for a file, in a given file selector button widget's
7093     * internal file selector.
7094     *
7095     * @param obj The file selector button widget
7096     * @param is_save @c EINA_TRUE to make @p obj widget's internal
7097     * file selector a "saving dialog", @c EINA_FALSE otherwise
7098     *
7099     * This has the same effect as elm_fileselector_is_save_set(),
7100     * but now applied to a file selector button's internal file
7101     * selector.
7102     *
7103     * @see elm_fileselector_is_save_get()
7104     */
7105    EAPI void         elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
7106
7107    /**
7108     * Get whether the given file selector button widget's internal
7109     * file selector is in "saving dialog" mode
7110     *
7111     * @param obj The file selector button widget
7112     * @return @c EINA_TRUE, if @p obj widget's internal file selector
7113     * is in "saving dialog" mode, @c EINA_FALSE otherwise (and on
7114     * errors)
7115     *
7116     * @see elm_fileselector_button_is_save_set() for more details
7117     */
7118    EAPI Eina_Bool    elm_fileselector_button_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7119
7120    /**
7121     * Set whether a given file selector button widget's internal file
7122     * selector will raise an Elementary "inner window", instead of a
7123     * dedicated Elementary window. By default, it won't.
7124     *
7125     * @param obj The file selector button widget
7126     * @param value @c EINA_TRUE to make it use an inner window, @c
7127     * EINA_TRUE to make it use a dedicated window
7128     *
7129     * @see elm_win_inwin_add() for more information on inner windows
7130     * @see elm_fileselector_button_inwin_mode_get()
7131     */
7132    EAPI void         elm_fileselector_button_inwin_mode_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
7133
7134    /**
7135     * Get whether a given file selector button widget's internal file
7136     * selector will raise an Elementary "inner window", instead of a
7137     * dedicated Elementary window.
7138     *
7139     * @param obj The file selector button widget
7140     * @return @c EINA_TRUE if will use an inner window, @c EINA_TRUE
7141     * if it will use a dedicated window
7142     *
7143     * @see elm_fileselector_button_inwin_mode_set() for more details
7144     */
7145    EAPI Eina_Bool    elm_fileselector_button_inwin_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7146
7147    /**
7148     * @}
7149     */
7150
7151     /**
7152     * @defgroup File_Selector_Entry File Selector Entry
7153     *
7154     * @image html img/widget/fileselector_entry/preview-00.png
7155     * @image latex img/widget/fileselector_entry/preview-00.eps
7156     *
7157     * This is an entry made to be filled with or display a <b>file
7158     * system path string</b>. Besides the entry itself, the widget has
7159     * a @ref File_Selector_Button "file selector button" on its side,
7160     * which will raise an internal @ref Fileselector "file selector widget",
7161     * when clicked, for path selection aided by file system
7162     * navigation.
7163     *
7164     * This file selector may appear in an Elementary window or in an
7165     * inner window. When a file is chosen from it, the (inner) window
7166     * is closed and the selected file's path string is exposed both as
7167     * an smart event and as the new text on the entry.
7168     *
7169     * This widget encapsulates operations on its internal file
7170     * selector on its own API. There is less control over its file
7171     * selector than that one would have instatiating one directly.
7172     *
7173     * Smart callbacks one can register to:
7174     * - @c "changed" - The text within the entry was changed
7175     * - @c "activated" - The entry has had editing finished and
7176     *   changes are to be "committed"
7177     * - @c "press" - The entry has been clicked
7178     * - @c "longpressed" - The entry has been clicked (and held) for a
7179     *   couple seconds
7180     * - @c "clicked" - The entry has been clicked
7181     * - @c "clicked,double" - The entry has been double clicked
7182     * - @c "focused" - The entry has received focus
7183     * - @c "unfocused" - The entry has lost focus
7184     * - @c "selection,paste" - A paste action has occurred on the
7185     *   entry
7186     * - @c "selection,copy" - A copy action has occurred on the entry
7187     * - @c "selection,cut" - A cut action has occurred on the entry
7188     * - @c "unpressed" - The file selector entry's button was released
7189     *   after being pressed.
7190     * - @c "file,chosen" - The user has selected a path via the file
7191     *   selector entry's internal file selector, whose string pointer
7192     *   comes as the @c event_info data (a stringshared string)
7193     *
7194     * Here is an example on its usage:
7195     * @li @ref fileselector_entry_example
7196     *
7197     * @see @ref File_Selector_Button for a similar widget.
7198     * @{
7199     */
7200
7201    /**
7202     * Add a new file selector entry widget to the given parent
7203     * Elementary (container) object
7204     *
7205     * @param parent The parent object
7206     * @return a new file selector entry widget handle or @c NULL, on
7207     * errors
7208     */
7209    EAPI Evas_Object *elm_fileselector_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7210
7211    /**
7212     * Set the label for a given file selector entry widget's button
7213     *
7214     * @param obj The file selector entry widget
7215     * @param label The text label to be displayed on @p obj widget's
7216     * button
7217     *
7218     * @deprecated use elm_object_text_set() instead.
7219     */
7220    EINA_DEPRECATED EAPI void         elm_fileselector_entry_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
7221
7222    /**
7223     * Get the label set for a given file selector entry widget's button
7224     *
7225     * @param obj The file selector entry widget
7226     * @return The widget button's label
7227     *
7228     * @deprecated use elm_object_text_set() instead.
7229     */
7230    EINA_DEPRECATED EAPI const char  *elm_fileselector_entry_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7231
7232    /**
7233     * Set the icon on a given file selector entry widget's button
7234     *
7235     * @param obj The file selector entry widget
7236     * @param icon The icon object for the entry's button
7237     *
7238     * Once the icon object is set, a previously set one will be
7239     * deleted. If you want to keep the latter, use the
7240     * elm_fileselector_entry_button_icon_unset() function.
7241     *
7242     * @see elm_fileselector_entry_button_icon_get()
7243     */
7244    EAPI void         elm_fileselector_entry_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
7245
7246    /**
7247     * Get the icon set for a given file selector entry widget's button
7248     *
7249     * @param obj The file selector entry widget
7250     * @return The icon object currently set on @p obj widget's button
7251     * or @c NULL, if none is
7252     *
7253     * @see elm_fileselector_entry_button_icon_set()
7254     */
7255    EAPI Evas_Object *elm_fileselector_entry_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7256
7257    /**
7258     * Unset the icon used in a given file selector entry widget's
7259     * button
7260     *
7261     * @param obj The file selector entry widget
7262     * @return The icon object that was being used on @p obj widget's
7263     * button or @c NULL, on errors
7264     *
7265     * Unparent and return the icon object which was set for this
7266     * widget's button.
7267     *
7268     * @see elm_fileselector_entry_button_icon_set()
7269     */
7270    EAPI Evas_Object *elm_fileselector_entry_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
7271
7272    /**
7273     * Set the title for a given file selector entry widget's window
7274     *
7275     * @param obj The file selector entry widget
7276     * @param title The title string
7277     *
7278     * This will change the window's title, when the file selector pops
7279     * out after a click on the entry's button. Those windows have the
7280     * default (unlocalized) value of @c "Select a file" as titles.
7281     *
7282     * @note It will only take any effect if the file selector
7283     * entry widget is @b not under "inwin mode".
7284     *
7285     * @see elm_fileselector_entry_window_title_get()
7286     */
7287    EAPI void         elm_fileselector_entry_window_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
7288
7289    /**
7290     * Get the title set for a given file selector entry widget's
7291     * window
7292     *
7293     * @param obj The file selector entry widget
7294     * @return Title of the file selector entry's window
7295     *
7296     * @see elm_fileselector_entry_window_title_get() for more details
7297     */
7298    EAPI const char  *elm_fileselector_entry_window_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7299
7300    /**
7301     * Set the size of a given file selector entry widget's window,
7302     * holding the file selector itself.
7303     *
7304     * @param obj The file selector entry widget
7305     * @param width The window's width
7306     * @param height The window's height
7307     *
7308     * @note it will only take any effect if the file selector entry
7309     * widget is @b not under "inwin mode". The default size for the
7310     * window (when applicable) is 400x400 pixels.
7311     *
7312     * @see elm_fileselector_entry_window_size_get()
7313     */
7314    EAPI void         elm_fileselector_entry_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
7315
7316    /**
7317     * Get the size of a given file selector entry widget's window,
7318     * holding the file selector itself.
7319     *
7320     * @param obj The file selector entry widget
7321     * @param width Pointer into which to store the width value
7322     * @param height Pointer into which to store the height value
7323     *
7324     * @note Use @c NULL pointers on the size values you're not
7325     * interested in: they'll be ignored by the function.
7326     *
7327     * @see elm_fileselector_entry_window_size_set(), for more details
7328     */
7329    EAPI void         elm_fileselector_entry_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
7330
7331    /**
7332     * Set the initial file system path and the entry's path string for
7333     * a given file selector entry widget
7334     *
7335     * @param obj The file selector entry widget
7336     * @param path The path string
7337     *
7338     * It must be a <b>directory</b> path, which will have the contents
7339     * displayed initially in the file selector's view, when invoked
7340     * from @p obj. The default initial path is the @c "HOME"
7341     * environment variable's value.
7342     *
7343     * @see elm_fileselector_entry_path_get()
7344     */
7345    EAPI void         elm_fileselector_entry_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
7346
7347    /**
7348     * Get the entry's path string for a given file selector entry
7349     * widget
7350     *
7351     * @param obj The file selector entry widget
7352     * @return path The path string
7353     *
7354     * @see elm_fileselector_entry_path_set() for more details
7355     */
7356    EAPI const char  *elm_fileselector_entry_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7357
7358    /**
7359     * Enable/disable a tree view in the given file selector entry
7360     * widget's internal file selector
7361     *
7362     * @param obj The file selector entry widget
7363     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
7364     * disable
7365     *
7366     * This has the same effect as elm_fileselector_expandable_set(),
7367     * but now applied to a file selector entry's internal file
7368     * selector.
7369     *
7370     * @note There's no way to put a file selector entry's internal
7371     * file selector in "grid mode", as one may do with "pure" file
7372     * selectors.
7373     *
7374     * @see elm_fileselector_expandable_get()
7375     */
7376    EAPI void         elm_fileselector_entry_expandable_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
7377
7378    /**
7379     * Get whether tree view is enabled for the given file selector
7380     * entry widget's internal file selector
7381     *
7382     * @param obj The file selector entry widget
7383     * @return @c EINA_TRUE if @p obj widget's internal file selector
7384     * is in tree view, @c EINA_FALSE otherwise (and or errors)
7385     *
7386     * @see elm_fileselector_expandable_set() for more details
7387     */
7388    EAPI Eina_Bool    elm_fileselector_entry_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7389
7390    /**
7391     * Set whether a given file selector entry widget's internal file
7392     * selector is to display folders only or the directory contents,
7393     * as well.
7394     *
7395     * @param obj The file selector entry widget
7396     * @param only @c EINA_TRUE to make @p obj widget's internal file
7397     * selector only display directories, @c EINA_FALSE to make files
7398     * to be displayed in it too
7399     *
7400     * This has the same effect as elm_fileselector_folder_only_set(),
7401     * but now applied to a file selector entry's internal file
7402     * selector.
7403     *
7404     * @see elm_fileselector_folder_only_get()
7405     */
7406    EAPI void         elm_fileselector_entry_folder_only_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
7407
7408    /**
7409     * Get whether a given file selector entry widget's internal file
7410     * selector is displaying folders only or the directory contents,
7411     * as well.
7412     *
7413     * @param obj The file selector entry widget
7414     * @return @c EINA_TRUE if @p obj widget's internal file
7415     * selector is only displaying directories, @c EINA_FALSE if files
7416     * are being displayed in it too (and on errors)
7417     *
7418     * @see elm_fileselector_entry_folder_only_set() for more details
7419     */
7420    EAPI Eina_Bool    elm_fileselector_entry_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7421
7422    /**
7423     * Enable/disable the file name entry box where the user can type
7424     * in a name for a file, in a given file selector entry widget's
7425     * internal file selector.
7426     *
7427     * @param obj The file selector entry widget
7428     * @param is_save @c EINA_TRUE to make @p obj widget's internal
7429     * file selector a "saving dialog", @c EINA_FALSE otherwise
7430     *
7431     * This has the same effect as elm_fileselector_is_save_set(),
7432     * but now applied to a file selector entry's internal file
7433     * selector.
7434     *
7435     * @see elm_fileselector_is_save_get()
7436     */
7437    EAPI void         elm_fileselector_entry_is_save_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
7438
7439    /**
7440     * Get whether the given file selector entry widget's internal
7441     * file selector is in "saving dialog" mode
7442     *
7443     * @param obj The file selector entry widget
7444     * @return @c EINA_TRUE, if @p obj widget's internal file selector
7445     * is in "saving dialog" mode, @c EINA_FALSE otherwise (and on
7446     * errors)
7447     *
7448     * @see elm_fileselector_entry_is_save_set() for more details
7449     */
7450    EAPI Eina_Bool    elm_fileselector_entry_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7451
7452    /**
7453     * Set whether a given file selector entry widget's internal file
7454     * selector will raise an Elementary "inner window", instead of a
7455     * dedicated Elementary window. By default, it won't.
7456     *
7457     * @param obj The file selector entry widget
7458     * @param value @c EINA_TRUE to make it use an inner window, @c
7459     * EINA_TRUE to make it use a dedicated window
7460     *
7461     * @see elm_win_inwin_add() for more information on inner windows
7462     * @see elm_fileselector_entry_inwin_mode_get()
7463     */
7464    EAPI void         elm_fileselector_entry_inwin_mode_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
7465
7466    /**
7467     * Get whether a given file selector entry widget's internal file
7468     * selector will raise an Elementary "inner window", instead of a
7469     * dedicated Elementary window.
7470     *
7471     * @param obj The file selector entry widget
7472     * @return @c EINA_TRUE if will use an inner window, @c EINA_TRUE
7473     * if it will use a dedicated window
7474     *
7475     * @see elm_fileselector_entry_inwin_mode_set() for more details
7476     */
7477    EAPI Eina_Bool    elm_fileselector_entry_inwin_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7478
7479    /**
7480     * Set the initial file system path for a given file selector entry
7481     * widget
7482     *
7483     * @param obj The file selector entry widget
7484     * @param path The path string
7485     *
7486     * It must be a <b>directory</b> path, which will have the contents
7487     * displayed initially in the file selector's view, when invoked
7488     * from @p obj. The default initial path is the @c "HOME"
7489     * environment variable's value.
7490     *
7491     * @see elm_fileselector_entry_path_get()
7492     */
7493    EAPI void         elm_fileselector_entry_selected_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
7494
7495    /**
7496     * Get the parent directory's path to the latest file selection on
7497     * a given filer selector entry widget
7498     *
7499     * @param obj The file selector object
7500     * @return The (full) path of the directory of the last selection
7501     * on @p obj widget, a @b stringshared string
7502     *
7503     * @see elm_fileselector_entry_path_set()
7504     */
7505    EAPI const char  *elm_fileselector_entry_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7506
7507    /**
7508     * @}
7509     */
7510
7511    /**
7512     * @defgroup Scroller Scroller
7513     *
7514     * A scroller holds a single object and "scrolls it around". This means that
7515     * it allows the user to use a scrollbar (or a finger) to drag the viewable
7516     * region around, allowing to move through a much larger object that is
7517     * contained in the scroller. The scroller will always have a small minimum
7518     * size by default as it won't be limited by the contents of the scroller.
7519     *
7520     * Signals that you can add callbacks for are:
7521     * @li "edge,left" - the left edge of the content has been reached
7522     * @li "edge,right" - the right edge of the content has been reached
7523     * @li "edge,top" - the top edge of the content has been reached
7524     * @li "edge,bottom" - the bottom edge of the content has been reached
7525     * @li "scroll" - the content has been scrolled (moved)
7526     * @li "scroll,anim,start" - scrolling animation has started
7527     * @li "scroll,anim,stop" - scrolling animation has stopped
7528     * @li "scroll,drag,start" - dragging the contents around has started
7529     * @li "scroll,drag,stop" - dragging the contents around has stopped
7530     * @note The "scroll,anim,*" and "scroll,drag,*" signals are only emitted by
7531     * user intervetion.
7532     *
7533     * @note When Elemementary is in embedded mode the scrollbars will not be
7534     * dragable, they appear merely as indicators of how much has been scrolled.
7535     * @note When Elementary is in desktop mode the thumbscroll(a.k.a.
7536     * fingerscroll) won't work.
7537     *
7538     * Default contents parts of the scroller widget that you can use for are:
7539     * @li "default" - A content of the scroller
7540     *
7541     * In @ref tutorial_scroller you'll find an example of how to use most of
7542     * this API.
7543     * @{
7544     */
7545
7546    /**
7547     * @brief Type that controls when scrollbars should appear.
7548     *
7549     * @see elm_scroller_policy_set()
7550     */
7551    typedef enum _Elm_Scroller_Policy
7552      {
7553         ELM_SCROLLER_POLICY_AUTO = 0, /**< Show scrollbars as needed */
7554         ELM_SCROLLER_POLICY_ON, /**< Always show scrollbars */
7555         ELM_SCROLLER_POLICY_OFF, /**< Never show scrollbars */
7556         ELM_SCROLLER_POLICY_LAST
7557      } Elm_Scroller_Policy;
7558
7559    /**
7560     * @brief Add a new scroller to the parent
7561     *
7562     * @param parent The parent object
7563     * @return The new object or NULL if it cannot be created
7564     */
7565    EAPI Evas_Object *elm_scroller_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7566
7567    /**
7568     * @brief Set the content of the scroller widget (the object to be scrolled around).
7569     *
7570     * @param obj The scroller object
7571     * @param content The new content object
7572     *
7573     * Once the content object is set, a previously set one will be deleted.
7574     * If you want to keep that old content object, use the
7575     * elm_scroller_content_unset() function.
7576     * @deprecated use elm_object_content_set() instead
7577     */
7578    EINA_DEPRECATED EAPI void elm_scroller_content_set(Evas_Object *obj, Evas_Object *child) EINA_ARG_NONNULL(1);
7579
7580    /**
7581     * @brief Get the content of the scroller widget
7582     *
7583     * @param obj The slider object
7584     * @return The content that is being used
7585     *
7586     * Return the content object which is set for this widget
7587     *
7588     * @see elm_scroller_content_set()
7589     * @deprecated use elm_object_content_get() instead.
7590     */
7591    EINA_DEPRECATED EAPI Evas_Object *elm_scroller_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7592
7593    /**
7594     * @brief Unset the content of the scroller widget
7595     *
7596     * @param obj The slider object
7597     * @return The content that was being used
7598     *
7599     * Unparent and return the content object which was set for this widget
7600     *
7601     * @see elm_scroller_content_set()
7602     * @deprecated use elm_object_content_unset() instead.
7603     */
7604    EINA_DEPRECATED EAPI Evas_Object *elm_scroller_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
7605
7606    /**
7607     * @brief Set custom theme elements for the scroller
7608     *
7609     * @param obj The scroller object
7610     * @param widget The widget name to use (default is "scroller")
7611     * @param base The base name to use (default is "base")
7612     */
7613    EAPI void         elm_scroller_custom_widget_base_theme_set(Evas_Object *obj, const char *widget, const char *base) EINA_ARG_NONNULL(1, 2, 3);
7614
7615    /**
7616     * @brief Make the scroller minimum size limited to the minimum size of the content
7617     *
7618     * @param obj The scroller object
7619     * @param w Enable limiting minimum size horizontally
7620     * @param h Enable limiting minimum size vertically
7621     *
7622     * By default the scroller will be as small as its design allows,
7623     * irrespective of its content. This will make the scroller minimum size the
7624     * right size horizontally and/or vertically to perfectly fit its content in
7625     * that direction.
7626     */
7627    EAPI void         elm_scroller_content_min_limit(Evas_Object *obj, Eina_Bool w, Eina_Bool h) EINA_ARG_NONNULL(1);
7628
7629    /**
7630     * @brief Show a specific virtual region within the scroller content object
7631     *
7632     * @param obj The scroller object
7633     * @param x X coordinate of the region
7634     * @param y Y coordinate of the region
7635     * @param w Width of the region
7636     * @param h Height of the region
7637     *
7638     * This will ensure all (or part if it does not fit) of the designated
7639     * region in the virtual content object (0, 0 starting at the top-left of the
7640     * virtual content object) is shown within the scroller.
7641     */
7642    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);
7643
7644    /**
7645     * @brief Set the scrollbar visibility policy
7646     *
7647     * @param obj The scroller object
7648     * @param policy_h Horizontal scrollbar policy
7649     * @param policy_v Vertical scrollbar policy
7650     *
7651     * This sets the scrollbar visibility policy for the given scroller.
7652     * ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it is
7653     * needed, and otherwise kept hidden. ELM_SCROLLER_POLICY_ON turns it on all
7654     * the time, and ELM_SCROLLER_POLICY_OFF always keeps it off. This applies
7655     * respectively for the horizontal and vertical scrollbars.
7656     */
7657    EAPI void         elm_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
7658
7659    /**
7660     * @brief Gets scrollbar visibility policy
7661     *
7662     * @param obj The scroller object
7663     * @param policy_h Horizontal scrollbar policy
7664     * @param policy_v Vertical scrollbar policy
7665     *
7666     * @see elm_scroller_policy_set()
7667     */
7668    EAPI void         elm_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) EINA_ARG_NONNULL(1);
7669
7670    /**
7671     * @brief Get the currently visible content region
7672     *
7673     * @param obj The scroller object
7674     * @param x X coordinate of the region
7675     * @param y Y coordinate of the region
7676     * @param w Width of the region
7677     * @param h Height of the region
7678     *
7679     * This gets the current region in the content object that is visible through
7680     * the scroller. The region co-ordinates are returned in the @p x, @p y, @p
7681     * w, @p h values pointed to.
7682     *
7683     * @note All coordinates are relative to the content.
7684     *
7685     * @see elm_scroller_region_show()
7686     */
7687    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);
7688
7689    /**
7690     * @brief Get the size of the content object
7691     *
7692     * @param obj The scroller object
7693     * @param w Width of the content object.
7694     * @param h Height of the content object.
7695     *
7696     * This gets the size of the content object of the scroller.
7697     */
7698    EAPI void         elm_scroller_child_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
7699
7700    /**
7701     * @brief Set bouncing behavior
7702     *
7703     * @param obj The scroller object
7704     * @param h_bounce Allow bounce horizontally
7705     * @param v_bounce Allow bounce vertically
7706     *
7707     * When scrolling, the scroller may "bounce" when reaching an edge of the
7708     * content object. This is a visual way to indicate the end has been reached.
7709     * This is enabled by default for both axis. This API will set if it is enabled
7710     * for the given axis with the boolean parameters for each axis.
7711     */
7712    EAPI void         elm_scroller_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
7713
7714    /**
7715     * @brief Get the bounce behaviour
7716     *
7717     * @param obj The Scroller object
7718     * @param h_bounce Will the scroller bounce horizontally or not
7719     * @param v_bounce Will the scroller bounce vertically or not
7720     *
7721     * @see elm_scroller_bounce_set()
7722     */
7723    EAPI void         elm_scroller_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
7724
7725    /**
7726     * @brief Set scroll page size relative to viewport size.
7727     *
7728     * @param obj The scroller object
7729     * @param h_pagerel The horizontal page relative size
7730     * @param v_pagerel The vertical page relative size
7731     *
7732     * The scroller is capable of limiting scrolling by the user to "pages". That
7733     * is to jump by and only show a "whole page" at a time as if the continuous
7734     * area of the scroller content is split into page sized pieces. This sets
7735     * the size of a page relative to the viewport of the scroller. 1.0 is "1
7736     * viewport" is size (horizontally or vertically). 0.0 turns it off in that
7737     * axis. This is mutually exclusive with page size
7738     * (see elm_scroller_page_size_set()  for more information). Likewise 0.5
7739     * is "half a viewport". Sane usable values are normally between 0.0 and 1.0
7740     * including 1.0. If you only want 1 axis to be page "limited", use 0.0 for
7741     * the other axis.
7742     */
7743    EAPI void         elm_scroller_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel) EINA_ARG_NONNULL(1);
7744
7745    /**
7746     * @brief Set scroll page size.
7747     *
7748     * @param obj The scroller object
7749     * @param h_pagesize The horizontal page size
7750     * @param v_pagesize The vertical page size
7751     *
7752     * This sets the page size to an absolute fixed value, with 0 turning it off
7753     * for that axis.
7754     *
7755     * @see elm_scroller_page_relative_set()
7756     */
7757    EAPI void         elm_scroller_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize) EINA_ARG_NONNULL(1);
7758
7759    /**
7760     * @brief Get scroll current page number.
7761     *
7762     * @param obj The scroller object
7763     * @param h_pagenumber The horizontal page number
7764     * @param v_pagenumber The vertical page number
7765     *
7766     * The page number starts from 0. 0 is the first page.
7767     * Current page means the page which meets the top-left of the viewport.
7768     * If there are two or more pages in the viewport, it returns the number of the page
7769     * which meets the top-left of the viewport.
7770     *
7771     * @see elm_scroller_last_page_get()
7772     * @see elm_scroller_page_show()
7773     * @see elm_scroller_page_brint_in()
7774     */
7775    EAPI void         elm_scroller_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
7776
7777    /**
7778     * @brief Get scroll last page number.
7779     *
7780     * @param obj The scroller object
7781     * @param h_pagenumber The horizontal page number
7782     * @param v_pagenumber The vertical page number
7783     *
7784     * The page number starts from 0. 0 is the first page.
7785     * This returns the last page number among the pages.
7786     *
7787     * @see elm_scroller_current_page_get()
7788     * @see elm_scroller_page_show()
7789     * @see elm_scroller_page_brint_in()
7790     */
7791    EAPI void         elm_scroller_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
7792
7793    /**
7794     * Show a specific virtual region within the scroller content object by page number.
7795     *
7796     * @param obj The scroller object
7797     * @param h_pagenumber The horizontal page number
7798     * @param v_pagenumber The vertical page number
7799     *
7800     * 0, 0 of the indicated page is located at the top-left of the viewport.
7801     * This will jump to the page directly without animation.
7802     *
7803     * Example of usage:
7804     *
7805     * @code
7806     * sc = elm_scroller_add(win);
7807     * elm_scroller_content_set(sc, content);
7808     * elm_scroller_page_relative_set(sc, 1, 0);
7809     * elm_scroller_current_page_get(sc, &h_page, &v_page);
7810     * elm_scroller_page_show(sc, h_page + 1, v_page);
7811     * @endcode
7812     *
7813     * @see elm_scroller_page_bring_in()
7814     */
7815    EAPI void         elm_scroller_page_show(Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
7816
7817    /**
7818     * Show a specific virtual region within the scroller content object by page number.
7819     *
7820     * @param obj The scroller object
7821     * @param h_pagenumber The horizontal page number
7822     * @param v_pagenumber The vertical page number
7823     *
7824     * 0, 0 of the indicated page is located at the top-left of the viewport.
7825     * This will slide to the page with animation.
7826     *
7827     * Example of usage:
7828     *
7829     * @code
7830     * sc = elm_scroller_add(win);
7831     * elm_scroller_content_set(sc, content);
7832     * elm_scroller_page_relative_set(sc, 1, 0);
7833     * elm_scroller_last_page_get(sc, &h_page, &v_page);
7834     * elm_scroller_page_bring_in(sc, h_page, v_page);
7835     * @endcode
7836     *
7837     * @see elm_scroller_page_show()
7838     */
7839    EAPI void         elm_scroller_page_bring_in(Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
7840
7841    /**
7842     * @brief Show a specific virtual region within the scroller content object.
7843     *
7844     * @param obj The scroller object
7845     * @param x X coordinate of the region
7846     * @param y Y coordinate of the region
7847     * @param w Width of the region
7848     * @param h Height of the region
7849     *
7850     * This will ensure all (or part if it does not fit) of the designated
7851     * region in the virtual content object (0, 0 starting at the top-left of the
7852     * virtual content object) is shown within the scroller. Unlike
7853     * elm_scroller_region_show(), this allow the scroller to "smoothly slide"
7854     * to this location (if configuration in general calls for transitions). It
7855     * may not jump immediately to the new location and make take a while and
7856     * show other content along the way.
7857     *
7858     * @see elm_scroller_region_show()
7859     */
7860    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);
7861
7862    /**
7863     * @brief Set event propagation on a scroller
7864     *
7865     * @param obj The scroller object
7866     * @param propagation If propagation is enabled or not
7867     *
7868     * This enables or disabled event propagation from the scroller content to
7869     * the scroller and its parent. By default event propagation is disabled.
7870     */
7871    EAPI void         elm_scroller_propagate_events_set(Evas_Object *obj, Eina_Bool propagation) EINA_ARG_NONNULL(1);
7872
7873    /**
7874     * @brief Get event propagation for a scroller
7875     *
7876     * @param obj The scroller object
7877     * @return The propagation state
7878     *
7879     * This gets the event propagation for a scroller.
7880     *
7881     * @see elm_scroller_propagate_events_set()
7882     */
7883    EAPI Eina_Bool    elm_scroller_propagate_events_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7884
7885    /**
7886     * @brief Set scrolling gravity on a scroller
7887     *
7888     * @param obj The scroller object
7889     * @param x The scrolling horizontal gravity
7890     * @param y The scrolling vertical gravity
7891     *
7892     * The gravity, defines how the scroller will adjust its view
7893     * when the size of the scroller contents increase.
7894     *
7895     * The scroller will adjust the view to glue itself as follows.
7896     *
7897     *  x=0.0, for showing the left most region of the content.
7898     *  x=1.0, for showing the right most region of the content.
7899     *  y=0.0, for showing the bottom most region of the content.
7900     *  y=1.0, for showing the top most region of the content.
7901     *
7902     * Default values for x and y are 0.0
7903     */
7904    EAPI void         elm_scroller_gravity_set(Evas_Object *obj, double x, double y) EINA_ARG_NONNULL(1);
7905
7906    /**
7907     * @brief Get scrolling gravity values for a scroller
7908     *
7909     * @param obj The scroller object
7910     * @param x The scrolling horizontal gravity
7911     * @param y The scrolling vertical gravity
7912     *
7913     * This gets gravity values for a scroller.
7914     *
7915     * @see elm_scroller_gravity_set()
7916     *
7917     */
7918    EAPI void         elm_scroller_gravity_get(const Evas_Object *obj, double *x, double *y) EINA_ARG_NONNULL(1);
7919
7920    /**
7921     * @}
7922     */
7923
7924    /**
7925     * @defgroup Label Label
7926     *
7927     * @image html img/widget/label/preview-00.png
7928     * @image latex img/widget/label/preview-00.eps
7929     *
7930     * @brief Widget to display text, with simple html-like markup.
7931     *
7932     * The Label widget @b doesn't allow text to overflow its boundaries, if the
7933     * text doesn't fit the geometry of the label it will be ellipsized or be
7934     * cut. Elementary provides several styles for this widget:
7935     * @li default - No animation
7936     * @li marker - Centers the text in the label and make it bold by default
7937     * @li slide_long - The entire text appears from the right of the screen and
7938     * slides until it disappears in the left of the screen(reappering on the
7939     * right again).
7940     * @li slide_short - The text appears in the left of the label and slides to
7941     * the right to show the overflow. When all of the text has been shown the
7942     * position is reset.
7943     * @li slide_bounce - The text appears in the left of the label and slides to
7944     * the right to show the overflow. When all of the text has been shown the
7945     * animation reverses, moving the text to the left.
7946     *
7947     * Custom themes can of course invent new markup tags and style them any way
7948     * they like.
7949     *
7950     * The following signals may be emitted by the label widget:
7951     * @li "language,changed": The program's language changed.
7952     *
7953     * See @ref tutorial_label for a demonstration of how to use a label widget.
7954     * @{
7955     */
7956
7957    /**
7958     * @brief Add a new label to the parent
7959     *
7960     * @param parent The parent object
7961     * @return The new object or NULL if it cannot be created
7962     */
7963    EAPI Evas_Object *elm_label_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7964
7965    /**
7966     * @brief Set the label on the label object
7967     *
7968     * @param obj The label object
7969     * @param label The label will be used on the label object
7970     * @deprecated See elm_object_text_set()
7971     */
7972    EINA_DEPRECATED EAPI void elm_label_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
7973
7974    /**
7975     * @brief Get the label used on the label object
7976     *
7977     * @param obj The label object
7978     * @return The string inside the label
7979     * @deprecated See elm_object_text_get()
7980     */
7981    EINA_DEPRECATED EAPI const char *elm_label_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7982
7983    /**
7984     * @brief Set the wrapping behavior of the label
7985     *
7986     * @param obj The label object
7987     * @param wrap To wrap text or not
7988     *
7989     * By default no wrapping is done. Possible values for @p wrap are:
7990     * @li ELM_WRAP_NONE - No wrapping
7991     * @li ELM_WRAP_CHAR - wrap between characters
7992     * @li ELM_WRAP_WORD - wrap between words
7993     * @li ELM_WRAP_MIXED - Word wrap, and if that fails, char wrap
7994     */
7995    EAPI void         elm_label_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
7996
7997    /**
7998     * @brief Get the wrapping behavior of the label
7999     *
8000     * @param obj The label object
8001     * @return Wrap type
8002     *
8003     * @see elm_label_line_wrap_set()
8004     */
8005    EAPI Elm_Wrap_Type elm_label_line_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8006
8007    /**
8008     * @brief Set wrap width of the label
8009     *
8010     * @param obj The label object
8011     * @param w The wrap width in pixels at a minimum where words need to wrap
8012     *
8013     * This function sets the maximum width size hint of the label.
8014     *
8015     * @warning This is only relevant if the label is inside a container.
8016     */
8017    EAPI void         elm_label_wrap_width_set(Evas_Object *obj, Evas_Coord w) EINA_ARG_NONNULL(1);
8018
8019    /**
8020     * @brief Get wrap width of the label
8021     *
8022     * @param obj The label object
8023     * @return The wrap width in pixels at a minimum where words need to wrap
8024     *
8025     * @see elm_label_wrap_width_set()
8026     */
8027    EAPI Evas_Coord   elm_label_wrap_width_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8028
8029    /**
8030     * @brief Set wrap height of the label
8031     *
8032     * @param obj The label object
8033     * @param h The wrap height in pixels at a minimum where words need to wrap
8034     *
8035     * This function sets the maximum height size hint of the label.
8036     *
8037     * @warning This is only relevant if the label is inside a container.
8038     */
8039    EAPI void         elm_label_wrap_height_set(Evas_Object *obj, Evas_Coord h) EINA_ARG_NONNULL(1);
8040
8041    /**
8042     * @brief get wrap width of the label
8043     *
8044     * @param obj The label object
8045     * @return The wrap height in pixels at a minimum where words need to wrap
8046     */
8047    EAPI Evas_Coord   elm_label_wrap_height_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8048
8049    /**
8050     * @brief Set the font size on the label object.
8051     *
8052     * @param obj The label object
8053     * @param size font size
8054     *
8055     * @warning NEVER use this. It is for hyper-special cases only. use styles
8056     * instead. e.g. "default", "marker", "slide_long" etc.
8057     */
8058    EAPI void         elm_label_fontsize_set(Evas_Object *obj, int fontsize) EINA_ARG_NONNULL(1);
8059
8060    /**
8061     * @brief Set the text color on the label object
8062     *
8063     * @param obj The label object
8064     * @param r Red property background color of The label object
8065     * @param g Green property background color of The label object
8066     * @param b Blue property background color of The label object
8067     * @param a Alpha property background color of The label object
8068     *
8069     * @warning NEVER use this. It is for hyper-special cases only. use styles
8070     * instead. e.g. "default", "marker", "slide_long" etc.
8071     */
8072    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);
8073
8074    /**
8075     * @brief Set the text align on the label object
8076     *
8077     * @param obj The label object
8078     * @param align align mode ("left", "center", "right")
8079     *
8080     * @warning NEVER use this. It is for hyper-special cases only. use styles
8081     * instead. e.g. "default", "marker", "slide_long" etc.
8082     */
8083    EAPI void         elm_label_text_align_set(Evas_Object *obj, const char *alignmode) EINA_ARG_NONNULL(1);
8084
8085    /**
8086     * @brief Set background color of the label
8087     *
8088     * @param obj The label object
8089     * @param r Red property background color of The label object
8090     * @param g Green property background color of The label object
8091     * @param b Blue property background color of The label object
8092     * @param a Alpha property background alpha of The label object
8093     *
8094     * @warning NEVER use this. It is for hyper-special cases only. use styles
8095     * instead. e.g. "default", "marker", "slide_long" etc.
8096     */
8097    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);
8098
8099    /**
8100     * @brief Set the ellipsis behavior of the label
8101     *
8102     * @param obj The label object
8103     * @param ellipsis To ellipsis text or not
8104     *
8105     * If set to true and the text doesn't fit in the label an ellipsis("...")
8106     * will be shown at the end of the widget.
8107     *
8108     * @warning This doesn't work with slide(elm_label_slide_set()) or if the
8109     * choosen wrap method was ELM_WRAP_WORD.
8110     */
8111    EAPI void         elm_label_ellipsis_set(Evas_Object *obj, Eina_Bool ellipsis) EINA_ARG_NONNULL(1);
8112
8113    /**
8114     * @brief Set the text slide of the label
8115     *
8116     * @param obj The label object
8117     * @param slide To start slide or stop
8118     *
8119     * If set to true, the text of the label will slide/scroll through the length of
8120     * label.
8121     *
8122     * @warning This only works with the themes "slide_short", "slide_long" and
8123     * "slide_bounce".
8124     */
8125    EAPI void         elm_label_slide_set(Evas_Object *obj, Eina_Bool slide) EINA_ARG_NONNULL(1);
8126
8127    /**
8128     * @brief Get the text slide mode of the label
8129     *
8130     * @param obj The label object
8131     * @return slide slide mode value
8132     *
8133     * @see elm_label_slide_set()
8134     */
8135    EAPI Eina_Bool    elm_label_slide_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
8136
8137    /**
8138     * @brief Set the slide duration(speed) of the label
8139     *
8140     * @param obj The label object
8141     * @return The duration in seconds in moving text from slide begin position
8142     * to slide end position
8143     */
8144    EAPI void         elm_label_slide_duration_set(Evas_Object *obj, double duration) EINA_ARG_NONNULL(1);
8145
8146    /**
8147     * @brief Get the slide duration(speed) of the label
8148     *
8149     * @param obj The label object
8150     * @return The duration time in moving text from slide begin position to slide end position
8151     *
8152     * @see elm_label_slide_duration_set()
8153     */
8154    EAPI double       elm_label_slide_duration_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
8155
8156    /**
8157     * @}
8158     */
8159
8160    /**
8161     * @defgroup Toggle Toggle
8162     *
8163     * @image html img/widget/toggle/preview-00.png
8164     * @image latex img/widget/toggle/preview-00.eps
8165     *
8166     * @brief A toggle is a slider which can be used to toggle between
8167     * two values.  It has two states: on and off.
8168     *
8169     * This widget is deprecated. Please use elm_check_add() instead using the
8170     * toggle style like:
8171     *
8172     * @code
8173     * obj = elm_check_add(parent);
8174     * elm_object_style_set(obj, "toggle");
8175     * elm_object_part_text_set(obj, "on", "ON");
8176     * elm_object_part_text_set(obj, "off", "OFF");
8177     * @endcode
8178     *
8179     * Signals that you can add callbacks for are:
8180     * @li "changed" - Whenever the toggle value has been changed.  Is not called
8181     *                 until the toggle is released by the cursor (assuming it
8182     *                 has been triggered by the cursor in the first place).
8183     *
8184     * Default contents parts of the toggle widget that you can use for are:
8185     * @li "icon" - An icon of the toggle
8186     *
8187     * Default text parts of the toggle widget that you can use for are:
8188     * @li "elm.text" - Label of the toggle
8189     *
8190     * @ref tutorial_toggle show how to use a toggle.
8191     * @{
8192     */
8193
8194    /**
8195     * @brief Add a toggle to @p parent.
8196     *
8197     * @param parent The parent object
8198     *
8199     * @return The toggle object
8200     */
8201    EINA_DEPRECATED EAPI Evas_Object *elm_toggle_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
8202
8203    /**
8204     * @brief Sets the label to be displayed with the toggle.
8205     *
8206     * @param obj The toggle object
8207     * @param label The label to be displayed
8208     *
8209     * @deprecated use elm_object_text_set() instead.
8210     */
8211    EINA_DEPRECATED EAPI void         elm_toggle_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
8212
8213    /**
8214     * @brief Gets the label of the toggle
8215     *
8216     * @param obj  toggle object
8217     * @return The label of the toggle
8218     *
8219     * @deprecated use elm_object_text_get() instead.
8220     */
8221    EINA_DEPRECATED EAPI const char  *elm_toggle_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8222
8223    /**
8224     * @brief Set the icon used for the toggle
8225     *
8226     * @param obj The toggle object
8227     * @param icon The icon object for the button
8228     *
8229     * Once the icon object is set, a previously set one will be deleted
8230     * If you want to keep that old content object, use the
8231     * elm_toggle_icon_unset() function.
8232     *
8233     * @deprecated use elm_object_part_content_set() instead.
8234     */
8235    EINA_DEPRECATED EAPI void         elm_toggle_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
8236
8237    /**
8238     * @brief Get the icon used for the toggle
8239     *
8240     * @param obj The toggle object
8241     * @return The icon object that is being used
8242     *
8243     * Return the icon object which is set for this widget.
8244     *
8245     * @see elm_toggle_icon_set()
8246     *
8247     * @deprecated use elm_object_part_content_get() instead.
8248     */
8249    EINA_DEPRECATED EAPI Evas_Object *elm_toggle_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8250
8251    /**
8252     * @brief Unset the icon used for the toggle
8253     *
8254     * @param obj The toggle object
8255     * @return The icon object that was being used
8256     *
8257     * Unparent and return the icon object which was set for this widget.
8258     *
8259     * @see elm_toggle_icon_set()
8260     *
8261     * @deprecated use elm_object_part_content_unset() instead.
8262     */
8263    EINA_DEPRECATED EAPI Evas_Object *elm_toggle_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
8264
8265    /**
8266     * @brief Sets the labels to be associated with the on and off states of the toggle.
8267     *
8268     * @param obj The toggle object
8269     * @param onlabel The label displayed when the toggle is in the "on" state
8270     * @param offlabel The label displayed when the toggle is in the "off" state
8271     *
8272     * @deprecated use elm_object_part_text_set() for "on" and "off" parts
8273     * instead.
8274     */
8275    EINA_DEPRECATED EAPI void         elm_toggle_states_labels_set(Evas_Object *obj, const char *onlabel, const char *offlabel) EINA_ARG_NONNULL(1);
8276
8277    /**
8278     * @brief Gets the labels associated with the on and off states of the
8279     * toggle.
8280     *
8281     * @param obj The toggle object
8282     * @param onlabel A char** to place the onlabel of @p obj into
8283     * @param offlabel A char** to place the offlabel of @p obj into
8284     *
8285     * @deprecated use elm_object_part_text_get() for "on" and "off" parts
8286     * instead.
8287     */
8288    EINA_DEPRECATED EAPI void         elm_toggle_states_labels_get(const Evas_Object *obj, const char **onlabel, const char **offlabel) EINA_ARG_NONNULL(1);
8289
8290    /**
8291     * @brief Sets the state of the toggle to @p state.
8292     *
8293     * @param obj The toggle object
8294     * @param state The state of @p obj
8295     *
8296     * @deprecated use elm_check_state_set() instead.
8297     */
8298    EINA_DEPRECATED EAPI void         elm_toggle_state_set(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
8299
8300    /**
8301     * @brief Gets the state of the toggle to @p state.
8302     *
8303     * @param obj The toggle object
8304     * @return The state of @p obj
8305     *
8306     * @deprecated use elm_check_state_get() instead.
8307     */
8308    EINA_DEPRECATED EAPI Eina_Bool    elm_toggle_state_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8309
8310    /**
8311     * @brief Sets the state pointer of the toggle to @p statep.
8312     *
8313     * @param obj The toggle object
8314     * @param statep The state pointer of @p obj
8315     *
8316     * @deprecated use elm_check_state_pointer_set() instead.
8317     */
8318    EINA_DEPRECATED EAPI void         elm_toggle_state_pointer_set(Evas_Object *obj, Eina_Bool *statep) EINA_ARG_NONNULL(1);
8319
8320    /**
8321     * @}
8322     */
8323
8324    /**
8325     * @defgroup Frame Frame
8326     *
8327     * @image html img/widget/frame/preview-00.png
8328     * @image latex img/widget/frame/preview-00.eps
8329     *
8330     * @brief Frame is a widget that holds some content and has a title.
8331     *
8332     * The default look is a frame with a title, but Frame supports multple
8333     * styles:
8334     * @li default
8335     * @li pad_small
8336     * @li pad_medium
8337     * @li pad_large
8338     * @li pad_huge
8339     * @li outdent_top
8340     * @li outdent_bottom
8341     *
8342     * Of all this styles only default shows the title. Frame emits no signals.
8343     *
8344     * Default contents parts of the frame widget that you can use for are:
8345     * @li "default" - A content of the frame
8346     *
8347     * Default text parts of the frame widget that you can use for are:
8348     * @li "elm.text" - Label of the frame
8349     *
8350     * For a detailed example see the @ref tutorial_frame.
8351     *
8352     * @{
8353     */
8354
8355    /**
8356     * @brief Add a new frame to the parent
8357     *
8358     * @param parent The parent object
8359     * @return The new object or NULL if it cannot be created
8360     */
8361    EAPI Evas_Object *elm_frame_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
8362
8363    /**
8364     * @brief Set the frame label
8365     *
8366     * @param obj The frame object
8367     * @param label The label of this frame object
8368     *
8369     * @deprecated use elm_object_text_set() instead.
8370     */
8371    EINA_DEPRECATED EAPI void         elm_frame_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
8372
8373    /**
8374     * @brief Get the frame label
8375     *
8376     * @param obj The frame object
8377     *
8378     * @return The label of this frame objet or NULL if unable to get frame
8379     *
8380     * @deprecated use elm_object_text_get() instead.
8381     */
8382    EINA_DEPRECATED EAPI const char  *elm_frame_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8383
8384    /**
8385     * @brief Set the content of the frame widget
8386     *
8387     * Once the content object is set, a previously set one will be deleted.
8388     * If you want to keep that old content object, use the
8389     * elm_frame_content_unset() function.
8390     *
8391     * @param obj The frame object
8392     * @param content The content will be filled in this frame object
8393     *
8394     * @deprecated use elm_object_content_set() instead.
8395     */
8396    EINA_DEPRECATED EAPI void         elm_frame_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
8397
8398    /**
8399     * @brief Get the content of the frame widget
8400     *
8401     * Return the content object which is set for this widget
8402     *
8403     * @param obj The frame object
8404     * @return The content that is being used
8405     *
8406     * @deprecated use elm_object_content_get() instead.
8407     */
8408    EINA_DEPRECATED EAPI Evas_Object *elm_frame_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8409
8410    /**
8411     * @brief Unset the content of the frame widget
8412     *
8413     * Unparent and return the content object which was set for this widget
8414     *
8415     * @param obj The frame object
8416     * @return The content that was being used
8417     *
8418     * @deprecated use elm_object_content_unset() instead.
8419     */
8420    EINA_DEPRECATED EAPI Evas_Object *elm_frame_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
8421
8422    /**
8423     * @}
8424     */
8425
8426    /**
8427     * @defgroup Table Table
8428     *
8429     * A container widget to arrange other widgets in a table where items can
8430     * also span multiple columns or rows - even overlap (and then be raised or
8431     * lowered accordingly to adjust stacking if they do overlap).
8432     *
8433     * For a Table widget the row/column count is not fixed.
8434     * The table widget adjusts itself when subobjects are added to it dynamically.
8435     *
8436     * The followin are examples of how to use a table:
8437     * @li @ref tutorial_table_01
8438     * @li @ref tutorial_table_02
8439     *
8440     * @{
8441     */
8442
8443    /**
8444     * @brief Add a new table to the parent
8445     *
8446     * @param parent The parent object
8447     * @return The new object or NULL if it cannot be created
8448     */
8449    EAPI Evas_Object *elm_table_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
8450
8451    /**
8452     * @brief Set the homogeneous layout in the table
8453     *
8454     * @param obj The layout object
8455     * @param homogeneous A boolean to set if the layout is homogeneous in the
8456     * table (EINA_TRUE = homogeneous,  EINA_FALSE = no homogeneous)
8457     */
8458    EAPI void         elm_table_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
8459
8460    /**
8461     * @brief Get the current table homogeneous mode.
8462     *
8463     * @param obj The table object
8464     * @return A boolean to indicating if the layout is homogeneous in the table
8465     * (EINA_TRUE = homogeneous,  EINA_FALSE = no homogeneous)
8466     */
8467    EAPI Eina_Bool    elm_table_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8468
8469    /**
8470     * @brief Set padding between cells.
8471     *
8472     * @param obj The layout object.
8473     * @param horizontal set the horizontal padding.
8474     * @param vertical set the vertical padding.
8475     *
8476     * Default value is 0.
8477     */
8478    EAPI void         elm_table_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical) EINA_ARG_NONNULL(1);
8479
8480    /**
8481     * @brief Get padding between cells.
8482     *
8483     * @param obj The layout object.
8484     * @param horizontal set the horizontal padding.
8485     * @param vertical set the vertical padding.
8486     */
8487    EAPI void         elm_table_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical) EINA_ARG_NONNULL(1);
8488
8489    /**
8490     * @brief Add a subobject on the table with the coordinates passed
8491     *
8492     * @param obj The table object
8493     * @param subobj The subobject to be added to the table
8494     * @param x Row number
8495     * @param y Column number
8496     * @param w rowspan
8497     * @param h colspan
8498     *
8499     * @note All positioning inside the table is relative to rows and columns, so
8500     * a value of 0 for x and y, means the top left cell of the table, and a
8501     * value of 1 for w and h means @p subobj only takes that 1 cell.
8502     */
8503    EAPI void         elm_table_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
8504
8505    /**
8506     * @brief Remove child from table.
8507     *
8508     * @param obj The table object
8509     * @param subobj The subobject
8510     */
8511    EAPI void         elm_table_unpack(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
8512
8513    /**
8514     * @brief Faster way to remove all child objects from a table object.
8515     *
8516     * @param obj The table object
8517     * @param clear If true, will delete children, else just remove from table.
8518     */
8519    EAPI void         elm_table_clear(Evas_Object *obj, Eina_Bool clear) EINA_ARG_NONNULL(1);
8520
8521    /**
8522     * @brief Set the packing location of an existing child of the table
8523     *
8524     * @param subobj The subobject to be modified in the table
8525     * @param x Row number
8526     * @param y Column number
8527     * @param w rowspan
8528     * @param h colspan
8529     *
8530     * Modifies the position of an object already in the table.
8531     *
8532     * @note All positioning inside the table is relative to rows and columns, so
8533     * a value of 0 for x and y, means the top left cell of the table, and a
8534     * value of 1 for w and h means @p subobj only takes that 1 cell.
8535     */
8536    EAPI void         elm_table_pack_set(Evas_Object *subobj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
8537
8538    /**
8539     * @brief Get the packing location of an existing child of the table
8540     *
8541     * @param subobj The subobject to be modified in the table
8542     * @param x Row number
8543     * @param y Column number
8544     * @param w rowspan
8545     * @param h colspan
8546     *
8547     * @see elm_table_pack_set()
8548     */
8549    EAPI void         elm_table_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
8550
8551    /**
8552     * @}
8553     */
8554
8555    /* TEMPORARY: DOCS WILL BE FILLED IN WITH CNP/SED */
8556    typedef struct Elm_Gen_Item Elm_Gen_Item;
8557    typedef struct _Elm_Gen_Item_Class Elm_Gen_Item_Class;
8558    typedef struct _Elm_Gen_Item_Class_Func Elm_Gen_Item_Class_Func; /**< Class functions for gen item classes. */
8559    typedef char        *(*Elm_Gen_Item_Text_Get_Cb) (void *data, Evas_Object *obj, const char *part); /**< Label fetching class function for gen item classes. */
8560    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. */
8561    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. */
8562    typedef void         (*Elm_Gen_Item_Del_Cb)      (void *data, Evas_Object *obj); /**< Deletion class function for gen item classes. */
8563    struct _Elm_Gen_Item_Class
8564      {
8565         const char             *item_style;
8566         struct _Elm_Gen_Item_Class_Func
8567           {
8568              Elm_Gen_Item_Text_Get_Cb  text_get;
8569              Elm_Gen_Item_Content_Get_Cb  content_get;
8570              Elm_Gen_Item_State_Get_Cb state_get;
8571              Elm_Gen_Item_Del_Cb       del;
8572           } func;
8573      };
8574    EINA_DEPRECATED EAPI void elm_gen_clear(Evas_Object *obj);
8575    EINA_DEPRECATED EAPI void elm_gen_item_selected_set(Elm_Gen_Item *it, Eina_Bool selected);
8576    EINA_DEPRECATED EAPI Eina_Bool elm_gen_item_selected_get(const Elm_Gen_Item *it);
8577    EINA_DEPRECATED EAPI void elm_gen_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
8578    EINA_DEPRECATED EAPI Eina_Bool elm_gen_always_select_mode_get(const Evas_Object *obj);
8579    EINA_DEPRECATED EAPI void elm_gen_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select);
8580    EINA_DEPRECATED EAPI Eina_Bool elm_gen_no_select_mode_get(const Evas_Object *obj);
8581    EINA_DEPRECATED EAPI void elm_gen_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
8582    EINA_DEPRECATED EAPI void elm_gen_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
8583    EINA_DEPRECATED EAPI void elm_gen_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel);
8584    EINA_DEPRECATED EAPI void elm_gen_page_relative_get(const Evas_Object *obj, double *h_pagerel, double *v_pagerel);
8585
8586    EINA_DEPRECATED EAPI void elm_gen_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize);
8587    EINA_DEPRECATED EAPI void elm_gen_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber);
8588    EINA_DEPRECATED EAPI void elm_gen_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber);
8589    EINA_DEPRECATED EAPI void elm_gen_page_show(const Evas_Object *obj, int h_pagenumber, int v_pagenumber);
8590    EINA_DEPRECATED EAPI void elm_gen_page_bring_in(const Evas_Object *obj, int h_pagenumber, int v_pagenumber);
8591    EINA_DEPRECATED EAPI Elm_Gen_Item *elm_gen_first_item_get(const Evas_Object *obj);
8592    EINA_DEPRECATED EAPI Elm_Gen_Item *elm_gen_last_item_get(const Evas_Object *obj);
8593    EINA_DEPRECATED EAPI Elm_Gen_Item *elm_gen_item_next_get(const Elm_Gen_Item *it);
8594    EINA_DEPRECATED EAPI Elm_Gen_Item *elm_gen_item_prev_get(const Elm_Gen_Item *it);
8595    EINA_DEPRECATED EAPI Evas_Object *elm_gen_item_widget_get(const Elm_Gen_Item *it);
8596
8597    /**
8598     * @defgroup Gengrid Gengrid (Generic grid)
8599     *
8600     * This widget aims to position objects in a grid layout while
8601     * actually creating and rendering only the visible ones, using the
8602     * same idea as the @ref Genlist "genlist": the user defines a @b
8603     * class for each item, specifying functions that will be called at
8604     * object creation, deletion, etc. When those items are selected by
8605     * the user, a callback function is issued. Users may interact with
8606     * a gengrid via the mouse (by clicking on items to select them and
8607     * clicking on the grid's viewport and swiping to pan the whole
8608     * view) or via the keyboard, navigating through item with the
8609     * arrow keys.
8610     *
8611     * @section Gengrid_Layouts Gengrid layouts
8612     *
8613     * Gengrid may layout its items in one of two possible layouts:
8614     * - horizontal or
8615     * - vertical.
8616     *
8617     * When in "horizontal mode", items will be placed in @b columns,
8618     * from top to bottom and, when the space for a column is filled,
8619     * another one is started on the right, thus expanding the grid
8620     * horizontally, making for horizontal scrolling. When in "vertical
8621     * mode" , though, items will be placed in @b rows, from left to
8622     * right and, when the space for a row is filled, another one is
8623     * started below, thus expanding the grid vertically (and making
8624     * for vertical scrolling).
8625     *
8626     * @section Gengrid_Items Gengrid items
8627     *
8628     * An item in a gengrid can have 0 or more texts (they can be
8629     * regular text or textblock Evas objects - that's up to the style
8630     * to determine), 0 or more contents (which are simply objects
8631     * swallowed into the gengrid item's theming Edje object) and 0 or
8632     * more <b>boolean states</b>, which have the behavior left to the
8633     * user to define. The Edje part names for each of these properties
8634     * will be looked up, in the theme file for the gengrid, under the
8635     * Edje (string) data items named @c "texts", @c "contents" and @c
8636     * "states", respectively. For each of those properties, if more
8637     * than one part is provided, they must have names listed separated
8638     * by spaces in the data fields. For the default gengrid item
8639     * theme, we have @b one text part (@c "elm.text"), @b two content 
8640     * parts (@c "elm.swalllow.icon" and @c "elm.swallow.end") and @b
8641     * no state parts.
8642     *
8643     * A gengrid item may be at one of several styles. Elementary
8644     * provides one by default - "default", but this can be extended by
8645     * system or application custom themes/overlays/extensions (see
8646     * @ref Theme "themes" for more details).
8647     *
8648     * @section Gengrid_Item_Class Gengrid item classes
8649     *
8650     * In order to have the ability to add and delete items on the fly,
8651     * gengrid implements a class (callback) system where the
8652     * application provides a structure with information about that
8653     * type of item (gengrid may contain multiple different items with
8654     * different classes, states and styles). Gengrid will call the
8655     * functions in this struct (methods) when an item is "realized"
8656     * (i.e., created dynamically, while the user is scrolling the
8657     * grid). All objects will simply be deleted when no longer needed
8658     * with evas_object_del(). The #Elm_GenGrid_Item_Class structure
8659     * contains the following members:
8660     * - @c item_style - This is a constant string and simply defines
8661     * the name of the item style. It @b must be specified and the
8662     * default should be @c "default".
8663     * - @c func.text_get - This function is called when an item
8664     * object is actually created. The @c data parameter will point to
8665     * the same data passed to elm_gengrid_item_append() and related
8666     * item creation functions. The @c obj parameter is the gengrid
8667     * object itself, while the @c part one is the name string of one
8668     * of the existing text parts in the Edje group implementing the
8669     * item's theme. This function @b must return a strdup'()ed string,
8670     * as the caller will free() it when done. See
8671     * #Elm_Gengrid_Item_Text_Get_Cb.
8672     * - @c func.content_get - This function is called when an item object
8673     * is actually created. The @c data parameter will point to the
8674     * same data passed to elm_gengrid_item_append() and related item
8675     * creation functions. The @c obj parameter is the gengrid object
8676     * itself, while the @c part one is the name string of one of the
8677     * existing (content) swallow parts in the Edje group implementing the
8678     * item's theme. It must return @c NULL, when no content is desired,
8679     * or a valid object handle, otherwise. The object will be deleted
8680     * by the gengrid on its deletion or when the item is "unrealized".
8681     * See #Elm_Gengrid_Item_Content_Get_Cb.
8682     * - @c func.state_get - This function is called when an item
8683     * object is actually created. The @c data parameter will point to
8684     * the same data passed to elm_gengrid_item_append() and related
8685     * item creation functions. The @c obj parameter is the gengrid
8686     * object itself, while the @c part one is the name string of one
8687     * of the state parts in the Edje group implementing the item's
8688     * theme. Return @c EINA_FALSE for false/off or @c EINA_TRUE for
8689     * true/on. Gengrids will emit a signal to its theming Edje object
8690     * with @c "elm,state,XXX,active" and @c "elm" as "emission" and
8691     * "source" arguments, respectively, when the state is true (the
8692     * default is false), where @c XXX is the name of the (state) part.
8693     * See #Elm_Gengrid_Item_State_Get_Cb.
8694     * - @c func.del - This is called when elm_gengrid_item_del() is
8695     * called on an item or elm_gengrid_clear() is called on the
8696     * gengrid. This is intended for use when gengrid items are
8697     * deleted, so any data attached to the item (e.g. its data
8698     * parameter on creation) can be deleted. See #Elm_Gengrid_Item_Del_Cb.
8699     *
8700     * @section Gengrid_Usage_Hints Usage hints
8701     *
8702     * If the user wants to have multiple items selected at the same
8703     * time, elm_gengrid_multi_select_set() will permit it. If the
8704     * gengrid is single-selection only (the default), then
8705     * elm_gengrid_select_item_get() will return the selected item or
8706     * @c NULL, if none is selected. If the gengrid is under
8707     * multi-selection, then elm_gengrid_selected_items_get() will
8708     * return a list (that is only valid as long as no items are
8709     * modified (added, deleted, selected or unselected) of child items
8710     * on a gengrid.
8711     *
8712     * If an item changes (internal (boolean) state, text or content
8713     * changes), then use elm_gengrid_item_update() to have gengrid
8714     * update the item with the new state. A gengrid will re-"realize"
8715     * the item, thus calling the functions in the
8716     * #Elm_Gengrid_Item_Class set for that item.
8717     *
8718     * To programmatically (un)select an item, use
8719     * elm_gengrid_item_selected_set(). To get its selected state use
8720     * elm_gengrid_item_selected_get(). To make an item disabled
8721     * (unable to be selected and appear differently) use
8722     * elm_gengrid_item_disabled_set() to set this and
8723     * elm_gengrid_item_disabled_get() to get the disabled state.
8724     *
8725     * Grid cells will only have their selection smart callbacks called
8726     * when firstly getting selected. Any further clicks will do
8727     * nothing, unless you enable the "always select mode", with
8728     * elm_gengrid_always_select_mode_set(), thus making every click to
8729     * issue selection callbacks. elm_gengrid_no_select_mode_set() will
8730     * turn off the ability to select items entirely in the widget and
8731     * they will neither appear selected nor call the selection smart
8732     * callbacks.
8733     *
8734     * Remember that you can create new styles and add your own theme
8735     * augmentation per application with elm_theme_extension_add(). If
8736     * you absolutely must have a specific style that overrides any
8737     * theme the user or system sets up you can use
8738     * elm_theme_overlay_add() to add such a file.
8739     *
8740     * @section Gengrid_Smart_Events Gengrid smart events
8741     *
8742     * Smart events that you can add callbacks for are:
8743     * - @c "activated" - The user has double-clicked or pressed
8744     *   (enter|return|spacebar) on an item. The @c event_info parameter
8745     *   is the gengrid item that was activated.
8746     * - @c "clicked,double" - The user has double-clicked an item.
8747     *   The @c event_info parameter is the gengrid item that was double-clicked.
8748     * - @c "longpressed" - This is called when the item is pressed for a certain
8749     *   amount of time. By default it's 1 second.
8750     * - @c "selected" - The user has made an item selected. The
8751     *   @c event_info parameter is the gengrid item that was selected.
8752     * - @c "unselected" - The user has made an item unselected. The
8753     *   @c event_info parameter is the gengrid item that was unselected.
8754     * - @c "realized" - This is called when the item in the gengrid
8755     *   has its implementing Evas object instantiated, de facto. @c
8756     *   event_info is the gengrid item that was created. The object
8757     *   may be deleted at any time, so it is highly advised to the
8758     *   caller @b not to use the object pointer returned from
8759     *   elm_gengrid_item_object_get(), because it may point to freed
8760     *   objects.
8761     * - @c "unrealized" - This is called when the implementing Evas
8762     *   object for this item is deleted. @c event_info is the gengrid
8763     *   item that was deleted.
8764     * - @c "changed" - Called when an item is added, removed, resized
8765     *   or moved and when the gengrid is resized or gets "horizontal"
8766     *   property changes.
8767     * - @c "scroll,anim,start" - This is called when scrolling animation has
8768     *   started.
8769     * - @c "scroll,anim,stop" - This is called when scrolling animation has
8770     *   stopped.
8771     * - @c "drag,start,up" - Called when the item in the gengrid has
8772     *   been dragged (not scrolled) up.
8773     * - @c "drag,start,down" - Called when the item in the gengrid has
8774     *   been dragged (not scrolled) down.
8775     * - @c "drag,start,left" - Called when the item in the gengrid has
8776     *   been dragged (not scrolled) left.
8777     * - @c "drag,start,right" - Called when the item in the gengrid has
8778     *   been dragged (not scrolled) right.
8779     * - @c "drag,stop" - Called when the item in the gengrid has
8780     *   stopped being dragged.
8781     * - @c "drag" - Called when the item in the gengrid is being
8782     *   dragged.
8783     * - @c "scroll" - called when the content has been scrolled
8784     *   (moved).
8785     * - @c "scroll,drag,start" - called when dragging the content has
8786     *   started.
8787     * - @c "scroll,drag,stop" - called when dragging the content has
8788     *   stopped.
8789     * - @c "edge,top" - This is called when the gengrid is scrolled until
8790     *   the top edge.
8791     * - @c "edge,bottom" - This is called when the gengrid is scrolled
8792     *   until the bottom edge.
8793     * - @c "edge,left" - This is called when the gengrid is scrolled
8794     *   until the left edge.
8795     * - @c "edge,right" - This is called when the gengrid is scrolled
8796     *   until the right edge.
8797     *
8798     * List of gengrid examples:
8799     * @li @ref gengrid_example
8800     */
8801
8802    /**
8803     * @addtogroup Gengrid
8804     * @{
8805     */
8806
8807    typedef struct _Elm_Gengrid_Item_Class Elm_Gengrid_Item_Class; /**< Gengrid item class definition structs */
8808    #define Elm_Gengrid_Item_Class Elm_Gen_Item_Class
8809    typedef struct _Elm_Gengrid_Item Elm_Gengrid_Item; /**< Gengrid item handles */
8810    #define Elm_Gengrid_Item Elm_Gen_Item /**< Item of Elm_Genlist. Sub-type of Elm_Widget_Item */
8811    typedef struct _Elm_Gengrid_Item_Class_Func Elm_Gengrid_Item_Class_Func; /**< Class functions for gengrid item classes. */
8812
8813    /**
8814     * Text fetching class function for Elm_Gen_Item_Class.
8815     * @param data The data passed in the item creation function
8816     * @param obj The base widget object
8817     * @param part The part name of the swallow
8818     * @return The allocated (NOT stringshared) string to set as the text 
8819     */
8820    typedef char        *(*Elm_Gengrid_Item_Text_Get_Cb) (void *data, Evas_Object *obj, const char *part);
8821
8822    /**
8823     * Content (swallowed object) fetching class function for Elm_Gen_Item_Class.
8824     * @param data The data passed in the item creation function
8825     * @param obj The base widget object
8826     * @param part The part name of the swallow
8827     * @return The content object to swallow
8828     */
8829    typedef Evas_Object *(*Elm_Gengrid_Item_Content_Get_Cb)  (void *data, Evas_Object *obj, const char *part);
8830
8831    /**
8832     * State fetching class function for Elm_Gen_Item_Class.
8833     * @param data The data passed in the item creation function
8834     * @param obj The base widget object
8835     * @param part The part name of the swallow
8836     * @return The hell if I know
8837     */
8838    typedef Eina_Bool    (*Elm_Gengrid_Item_State_Get_Cb) (void *data, Evas_Object *obj, const char *part);
8839
8840    /**
8841     * Deletion class function for Elm_Gen_Item_Class.
8842     * @param data The data passed in the item creation function
8843     * @param obj The base widget object
8844     */
8845    typedef void         (*Elm_Gengrid_Item_Del_Cb)      (void *data, Evas_Object *obj);
8846
8847    /**
8848     * @struct _Elm_Gengrid_Item_Class
8849     *
8850     * Gengrid item class definition. See @ref Gengrid_Item_Class for
8851     * field details.
8852     */
8853    struct _Elm_Gengrid_Item_Class
8854      {
8855         const char             *item_style;
8856         struct _Elm_Gengrid_Item_Class_Func
8857           {
8858              Elm_Gengrid_Item_Text_Get_Cb    text_get; /**< Text fetching class function for gengrid item classes.*/
8859              Elm_Gengrid_Item_Content_Get_Cb content_get; /**< Content fetching class function for gengrid item classes. */
8860              Elm_Gengrid_Item_State_Get_Cb   state_get; /**< State fetching class function for gengrid item classes. */
8861              Elm_Gengrid_Item_Del_Cb         del; /**< Deletion class function for gengrid item classes. */
8862           } func;
8863      }; /**< #Elm_Gengrid_Item_Class member definitions */
8864    #define Elm_Gengrid_Item_Class_Func Elm_Gen_Item_Class_Func
8865
8866    /**
8867     * Add a new gengrid widget to the given parent Elementary
8868     * (container) object
8869     *
8870     * @param parent The parent object
8871     * @return a new gengrid widget handle or @c NULL, on errors
8872     *
8873     * This function inserts a new gengrid widget on the canvas.
8874     *
8875     * @see elm_gengrid_item_size_set()
8876     * @see elm_gengrid_group_item_size_set()
8877     * @see elm_gengrid_horizontal_set()
8878     * @see elm_gengrid_item_append()
8879     * @see elm_gengrid_item_del()
8880     * @see elm_gengrid_clear()
8881     *
8882     * @ingroup Gengrid
8883     */
8884    EAPI Evas_Object       *elm_gengrid_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
8885
8886    /**
8887     * Set the size for the items of a given gengrid widget
8888     *
8889     * @param obj The gengrid object.
8890     * @param w The items' width.
8891     * @param h The items' height;
8892     *
8893     * A gengrid, after creation, has still no information on the size
8894     * to give to each of its cells. So, you most probably will end up
8895     * with squares one @ref Fingers "finger" wide, the default
8896     * size. Use this function to force a custom size for you items,
8897     * making them as big as you wish.
8898     *
8899     * @see elm_gengrid_item_size_get()
8900     *
8901     * @ingroup Gengrid
8902     */
8903    EAPI void               elm_gengrid_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
8904
8905    /**
8906     * Get the size set for the items of a given gengrid widget
8907     *
8908     * @param obj The gengrid object.
8909     * @param w Pointer to a variable where to store the items' width.
8910     * @param h Pointer to a variable where to store the items' height.
8911     *
8912     * @note Use @c NULL pointers on the size values you're not
8913     * interested in: they'll be ignored by the function.
8914     *
8915     * @see elm_gengrid_item_size_get() for more details
8916     *
8917     * @ingroup Gengrid
8918     */
8919    EAPI void               elm_gengrid_item_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
8920
8921    /**
8922     * Set the size for the group items of a given gengrid widget
8923     *
8924     * @param obj The gengrid object.
8925     * @param w The group items' width.
8926     * @param h The group items' height;
8927     *
8928     * A gengrid, after creation, has still no information on the size
8929     * to give to each of its cells. So, you most probably will end up
8930     * with squares one @ref Fingers "finger" wide, the default
8931     * size. Use this function to force a custom size for you group items,
8932     * making them as big as you wish.
8933     *
8934     * @see elm_gengrid_group_item_size_get()
8935     *
8936     * @ingroup Gengrid
8937     */
8938    EAPI void               elm_gengrid_group_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
8939
8940    /**
8941     * Get the size set for the group items of a given gengrid widget
8942     *
8943     * @param obj The gengrid object.
8944     * @param w Pointer to a variable where to store the group items' width.
8945     * @param h Pointer to a variable where to store the group items' height.
8946     *
8947     * @note Use @c NULL pointers on the size values you're not
8948     * interested in: they'll be ignored by the function.
8949     *
8950     * @see elm_gengrid_group_item_size_get() for more details
8951     *
8952     * @ingroup Gengrid
8953     */
8954    EAPI void               elm_gengrid_group_item_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
8955
8956    /**
8957     * Set the items grid's alignment within a given gengrid widget
8958     *
8959     * @param obj The gengrid object.
8960     * @param align_x Alignment in the horizontal axis (0 <= align_x <= 1).
8961     * @param align_y Alignment in the vertical axis (0 <= align_y <= 1).
8962     *
8963     * This sets the alignment of the whole grid of items of a gengrid
8964     * within its given viewport. By default, those values are both
8965     * 0.5, meaning that the gengrid will have its items grid placed
8966     * exactly in the middle of its viewport.
8967     *
8968     * @note If given alignment values are out of the cited ranges,
8969     * they'll be changed to the nearest boundary values on the valid
8970     * ranges.
8971     *
8972     * @see elm_gengrid_align_get()
8973     *
8974     * @ingroup Gengrid
8975     */
8976    EAPI void               elm_gengrid_align_set(Evas_Object *obj, double align_x, double align_y) EINA_ARG_NONNULL(1);
8977
8978    /**
8979     * Get the items grid's alignment values within a given gengrid
8980     * widget
8981     *
8982     * @param obj The gengrid object.
8983     * @param align_x Pointer to a variable where to store the
8984     * horizontal alignment.
8985     * @param align_y Pointer to a variable where to store the vertical
8986     * alignment.
8987     *
8988     * @note Use @c NULL pointers on the alignment values you're not
8989     * interested in: they'll be ignored by the function.
8990     *
8991     * @see elm_gengrid_align_set() for more details
8992     *
8993     * @ingroup Gengrid
8994     */
8995    EAPI void               elm_gengrid_align_get(const Evas_Object *obj, double *align_x, double *align_y) EINA_ARG_NONNULL(1);
8996
8997    /**
8998     * Set whether a given gengrid widget is or not able have items
8999     * @b reordered
9000     *
9001     * @param obj The gengrid object
9002     * @param reorder_mode Use @c EINA_TRUE to turn reoderding on,
9003     * @c EINA_FALSE to turn it off
9004     *
9005     * If a gengrid is set to allow reordering, a click held for more
9006     * than 0.5 over a given item will highlight it specially,
9007     * signalling the gengrid has entered the reordering state. From
9008     * that time on, the user will be able to, while still holding the
9009     * mouse button down, move the item freely in the gengrid's
9010     * viewport, replacing to said item to the locations it goes to.
9011     * The replacements will be animated and, whenever the user
9012     * releases the mouse button, the item being replaced gets a new
9013     * definitive place in the grid.
9014     *
9015     * @see elm_gengrid_reorder_mode_get()
9016     *
9017     * @ingroup Gengrid
9018     */
9019    EAPI void               elm_gengrid_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) EINA_ARG_NONNULL(1);
9020
9021    /**
9022     * Get whether a given gengrid widget is or not able have items
9023     * @b reordered
9024     *
9025     * @param obj The gengrid object
9026     * @return @c EINA_TRUE, if reoderding is on, @c EINA_FALSE if it's
9027     * off
9028     *
9029     * @see elm_gengrid_reorder_mode_set() for more details
9030     *
9031     * @ingroup Gengrid
9032     */
9033    EAPI Eina_Bool          elm_gengrid_reorder_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9034
9035    /**
9036     * Append a new item in a given gengrid widget.
9037     *
9038     * @param obj The gengrid object.
9039     * @param gic The item class for the item.
9040     * @param data The item data.
9041     * @param func Convenience function called when the item is
9042     * selected.
9043     * @param func_data Data to be passed to @p func.
9044     * @return A handle to the item added or @c NULL, on errors.
9045     *
9046     * This adds an item to the beginning of the gengrid.
9047     *
9048     * @see elm_gengrid_item_prepend()
9049     * @see elm_gengrid_item_insert_before()
9050     * @see elm_gengrid_item_insert_after()
9051     * @see elm_gengrid_item_del()
9052     *
9053     * @ingroup Gengrid
9054     */
9055    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);
9056
9057    /**
9058     * Prepend a new item in a given gengrid widget.
9059     *
9060     * @param obj The gengrid object.
9061     * @param gic The item class for the item.
9062     * @param data The item data.
9063     * @param func Convenience function called when the item is
9064     * selected.
9065     * @param func_data Data to be passed to @p func.
9066     * @return A handle to the item added or @c NULL, on errors.
9067     *
9068     * This adds an item to the end of the gengrid.
9069     *
9070     * @see elm_gengrid_item_append()
9071     * @see elm_gengrid_item_insert_before()
9072     * @see elm_gengrid_item_insert_after()
9073     * @see elm_gengrid_item_del()
9074     *
9075     * @ingroup Gengrid
9076     */
9077    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);
9078
9079    /**
9080     * Insert an item before another in a gengrid widget
9081     *
9082     * @param obj The gengrid object.
9083     * @param gic The item class for the item.
9084     * @param data The item data.
9085     * @param relative The item to place this new one before.
9086     * @param func Convenience function called when the item is
9087     * selected.
9088     * @param func_data Data to be passed to @p func.
9089     * @return A handle to the item added or @c NULL, on errors.
9090     *
9091     * This inserts an item before another in the gengrid.
9092     *
9093     * @see elm_gengrid_item_append()
9094     * @see elm_gengrid_item_prepend()
9095     * @see elm_gengrid_item_insert_after()
9096     * @see elm_gengrid_item_del()
9097     *
9098     * @ingroup Gengrid
9099     */
9100    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);
9101
9102    /**
9103     * Insert an item after another in a gengrid widget
9104     *
9105     * @param obj The gengrid object.
9106     * @param gic The item class for the item.
9107     * @param data The item data.
9108     * @param relative The item to place this new one after.
9109     * @param func Convenience function called when the item is
9110     * selected.
9111     * @param func_data Data to be passed to @p func.
9112     * @return A handle to the item added or @c NULL, on errors.
9113     *
9114     * This inserts an item after another in the gengrid.
9115     *
9116     * @see elm_gengrid_item_append()
9117     * @see elm_gengrid_item_prepend()
9118     * @see elm_gengrid_item_insert_after()
9119     * @see elm_gengrid_item_del()
9120     *
9121     * @ingroup Gengrid
9122     */
9123    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);
9124
9125    /**
9126     * Insert an item in a gengrid widget using a user-defined sort function.
9127     *
9128     * @param obj The gengrid object.
9129     * @param gic The item class for the item.
9130     * @param data The item data.
9131     * @param comp User defined comparison function that defines the sort order based on
9132     * Elm_Gen_Item and its data param.
9133     * @param func Convenience function called when the item is selected.
9134     * @param func_data Data to be passed to @p func.
9135     * @return A handle to the item added or @c NULL, on errors.
9136     *
9137     * This inserts an item in the gengrid based on user defined comparison function.
9138     *
9139     * @see elm_gengrid_item_append()
9140     * @see elm_gengrid_item_prepend()
9141     * @see elm_gengrid_item_insert_after()
9142     * @see elm_gengrid_item_del()
9143     * @see elm_gengrid_item_direct_sorted_insert()
9144     *
9145     * @ingroup Gengrid
9146     */
9147    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);
9148
9149    /**
9150     * Insert an item in a gengrid widget using a user-defined sort function.
9151     *
9152     * @param obj The gengrid object.
9153     * @param gic The item class for the item.
9154     * @param data The item data.
9155     * @param comp User defined comparison function that defines the sort order based on
9156     * Elm_Gen_Item.
9157     * @param func Convenience function called when the item is selected.
9158     * @param func_data Data to be passed to @p func.
9159     * @return A handle to the item added or @c NULL, on errors.
9160     *
9161     * This inserts an item in the gengrid based on user defined comparison function.
9162     *
9163     * @see elm_gengrid_item_append()
9164     * @see elm_gengrid_item_prepend()
9165     * @see elm_gengrid_item_insert_after()
9166     * @see elm_gengrid_item_del()
9167     * @see elm_gengrid_item_sorted_insert()
9168     *
9169     * @ingroup Gengrid
9170     */
9171    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);
9172
9173    /**
9174     * Set whether items on a given gengrid widget are to get their
9175     * selection callbacks issued for @b every subsequent selection
9176     * click on them or just for the first click.
9177     *
9178     * @param obj The gengrid object
9179     * @param always_select @c EINA_TRUE to make items "always
9180     * selected", @c EINA_FALSE, otherwise
9181     *
9182     * By default, grid items will only call their selection callback
9183     * function when firstly getting selected, any subsequent further
9184     * clicks will do nothing. With this call, you make those
9185     * subsequent clicks also to issue the selection callbacks.
9186     *
9187     * @note <b>Double clicks</b> will @b always be reported on items.
9188     *
9189     * @see elm_gengrid_always_select_mode_get()
9190     *
9191     * @ingroup Gengrid
9192     */
9193    EAPI void               elm_gengrid_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
9194
9195    /**
9196     * Get whether items on a given gengrid widget have their selection
9197     * callbacks issued for @b every subsequent selection click on them
9198     * or just for the first click.
9199     *
9200     * @param obj The gengrid object.
9201     * @return @c EINA_TRUE if the gengrid items are "always selected",
9202     * @c EINA_FALSE, otherwise
9203     *
9204     * @see elm_gengrid_always_select_mode_set() for more details
9205     *
9206     * @ingroup Gengrid
9207     */
9208    EAPI Eina_Bool          elm_gengrid_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9209
9210    /**
9211     * Set whether items on a given gengrid widget can be selected or not.
9212     *
9213     * @param obj The gengrid object
9214     * @param no_select @c EINA_TRUE to make items selectable,
9215     * @c EINA_FALSE otherwise
9216     *
9217     * This will make items in @p obj selectable or not. In the latter
9218     * case, any user interaction on the gengrid items will neither make
9219     * them appear selected nor them call their selection callback
9220     * functions.
9221     *
9222     * @see elm_gengrid_no_select_mode_get()
9223     *
9224     * @ingroup Gengrid
9225     */
9226    EAPI void               elm_gengrid_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
9227
9228    /**
9229     * Get whether items on a given gengrid widget can be selected or
9230     * not.
9231     *
9232     * @param obj The gengrid object
9233     * @return @c EINA_TRUE, if items are selectable, @c EINA_FALSE
9234     * otherwise
9235     *
9236     * @see elm_gengrid_no_select_mode_set() for more details
9237     *
9238     * @ingroup Gengrid
9239     */
9240    EAPI Eina_Bool          elm_gengrid_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9241
9242    /**
9243     * Enable or disable multi-selection in a given gengrid widget
9244     *
9245     * @param obj The gengrid object.
9246     * @param multi @c EINA_TRUE, to enable multi-selection,
9247     * @c EINA_FALSE to disable it.
9248     *
9249     * Multi-selection is the ability to have @b more than one
9250     * item selected, on a given gengrid, simultaneously. When it is
9251     * enabled, a sequence of clicks on different items will make them
9252     * all selected, progressively. A click on an already selected item
9253     * will unselect it. If interacting via the keyboard,
9254     * multi-selection is enabled while holding the "Shift" key.
9255     *
9256     * @note By default, multi-selection is @b disabled on gengrids
9257     *
9258     * @see elm_gengrid_multi_select_get()
9259     *
9260     * @ingroup Gengrid
9261     */
9262    EAPI void               elm_gengrid_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
9263
9264    /**
9265     * Get whether multi-selection is enabled or disabled for a given
9266     * gengrid widget
9267     *
9268     * @param obj The gengrid object.
9269     * @return @c EINA_TRUE, if multi-selection is enabled, @c
9270     * EINA_FALSE otherwise
9271     *
9272     * @see elm_gengrid_multi_select_set() for more details
9273     *
9274     * @ingroup Gengrid
9275     */
9276    EAPI Eina_Bool          elm_gengrid_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9277
9278    /**
9279     * Enable or disable bouncing effect for a given gengrid widget
9280     *
9281     * @param obj The gengrid object
9282     * @param h_bounce @c EINA_TRUE, to enable @b horizontal bouncing,
9283     * @c EINA_FALSE to disable it
9284     * @param v_bounce @c EINA_TRUE, to enable @b vertical bouncing,
9285     * @c EINA_FALSE to disable it
9286     *
9287     * The bouncing effect occurs whenever one reaches the gengrid's
9288     * edge's while panning it -- it will scroll past its limits a
9289     * little bit and return to the edge again, in a animated for,
9290     * automatically.
9291     *
9292     * @note By default, gengrids have bouncing enabled on both axis
9293     *
9294     * @see elm_gengrid_bounce_get()
9295     *
9296     * @ingroup Gengrid
9297     */
9298    EAPI void               elm_gengrid_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
9299
9300    /**
9301     * Get whether bouncing effects are enabled or disabled, for a
9302     * given gengrid widget, on each axis
9303     *
9304     * @param obj The gengrid object
9305     * @param h_bounce Pointer to a variable where to store the
9306     * horizontal bouncing flag.
9307     * @param v_bounce Pointer to a variable where to store the
9308     * vertical bouncing flag.
9309     *
9310     * @see elm_gengrid_bounce_set() for more details
9311     *
9312     * @ingroup Gengrid
9313     */
9314    EAPI void               elm_gengrid_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
9315
9316    /**
9317     * Set a given gengrid widget's scrolling page size, relative to
9318     * its viewport size.
9319     *
9320     * @param obj The gengrid object
9321     * @param h_pagerel The horizontal page (relative) size
9322     * @param v_pagerel The vertical page (relative) size
9323     *
9324     * The gengrid's scroller is capable of binding scrolling by the
9325     * user to "pages". It means that, while scrolling and, specially
9326     * after releasing the mouse button, the grid will @b snap to the
9327     * nearest displaying page's area. When page sizes are set, the
9328     * grid's continuous content area is split into (equal) page sized
9329     * pieces.
9330     *
9331     * This function sets the size of a page <b>relatively to the
9332     * viewport dimensions</b> of the gengrid, for each axis. A value
9333     * @c 1.0 means "the exact viewport's size", in that axis, while @c
9334     * 0.0 turns paging off in that axis. Likewise, @c 0.5 means "half
9335     * a viewport". Sane usable values are, than, between @c 0.0 and @c
9336     * 1.0. Values beyond those will make it behave behave
9337     * inconsistently. If you only want one axis to snap to pages, use
9338     * the value @c 0.0 for the other one.
9339     *
9340     * There is a function setting page size values in @b absolute
9341     * values, too -- elm_gengrid_page_size_set(). Naturally, its use
9342     * is mutually exclusive to this one.
9343     *
9344     * @see elm_gengrid_page_relative_get()
9345     *
9346     * @ingroup Gengrid
9347     */
9348    EAPI void               elm_gengrid_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel) EINA_ARG_NONNULL(1);
9349
9350    /**
9351     * Get a given gengrid widget's scrolling page size, relative to
9352     * its viewport size.
9353     *
9354     * @param obj The gengrid object
9355     * @param h_pagerel Pointer to a variable where to store the
9356     * horizontal page (relative) size
9357     * @param v_pagerel Pointer to a variable where to store the
9358     * vertical page (relative) size
9359     *
9360     * @see elm_gengrid_page_relative_set() for more details
9361     *
9362     * @ingroup Gengrid
9363     */
9364    EAPI void               elm_gengrid_page_relative_get(const Evas_Object *obj, double *h_pagerel, double *v_pagerel) EINA_ARG_NONNULL(1);
9365
9366    /**
9367     * Set a given gengrid widget's scrolling page size
9368     *
9369     * @param obj The gengrid object
9370     * @param h_pagerel The horizontal page size, in pixels
9371     * @param v_pagerel The vertical page size, in pixels
9372     *
9373     * The gengrid's scroller is capable of binding scrolling by the
9374     * user to "pages". It means that, while scrolling and, specially
9375     * after releasing the mouse button, the grid will @b snap to the
9376     * nearest displaying page's area. When page sizes are set, the
9377     * grid's continuous content area is split into (equal) page sized
9378     * pieces.
9379     *
9380     * This function sets the size of a page of the gengrid, in pixels,
9381     * for each axis. Sane usable values are, between @c 0 and the
9382     * dimensions of @p obj, for each axis. Values beyond those will
9383     * make it behave behave inconsistently. If you only want one axis
9384     * to snap to pages, use the value @c 0 for the other one.
9385     *
9386     * There is a function setting page size values in @b relative
9387     * values, too -- elm_gengrid_page_relative_set(). Naturally, its
9388     * use is mutually exclusive to this one.
9389     *
9390     * @ingroup Gengrid
9391     */
9392    EAPI void               elm_gengrid_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize) EINA_ARG_NONNULL(1);
9393
9394    /**
9395     * @brief Get gengrid current page number.
9396     *
9397     * @param obj The gengrid object
9398     * @param h_pagenumber The horizontal page number
9399     * @param v_pagenumber The vertical page number
9400     *
9401     * The page number starts from 0. 0 is the first page.
9402     * Current page means the page which meet the top-left of the viewport.
9403     * If there are two or more pages in the viewport, it returns the number of page
9404     * which meet the top-left of the viewport.
9405     *
9406     * @see elm_gengrid_last_page_get()
9407     * @see elm_gengrid_page_show()
9408     * @see elm_gengrid_page_brint_in()
9409     */
9410    EAPI void         elm_gengrid_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
9411
9412    /**
9413     * @brief Get scroll last page number.
9414     *
9415     * @param obj The gengrid object
9416     * @param h_pagenumber The horizontal page number
9417     * @param v_pagenumber The vertical page number
9418     *
9419     * The page number starts from 0. 0 is the first page.
9420     * This returns the last page number among the pages.
9421     *
9422     * @see elm_gengrid_current_page_get()
9423     * @see elm_gengrid_page_show()
9424     * @see elm_gengrid_page_brint_in()
9425     */
9426    EAPI void         elm_gengrid_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
9427
9428    /**
9429     * Show a specific virtual region within the gengrid content object by page number.
9430     *
9431     * @param obj The gengrid object
9432     * @param h_pagenumber The horizontal page number
9433     * @param v_pagenumber The vertical page number
9434     *
9435     * 0, 0 of the indicated page is located at the top-left of the viewport.
9436     * This will jump to the page directly without animation.
9437     *
9438     * Example of usage:
9439     *
9440     * @code
9441     * sc = elm_gengrid_add(win);
9442     * elm_gengrid_content_set(sc, content);
9443     * elm_gengrid_page_relative_set(sc, 1, 0);
9444     * elm_gengrid_current_page_get(sc, &h_page, &v_page);
9445     * elm_gengrid_page_show(sc, h_page + 1, v_page);
9446     * @endcode
9447     *
9448     * @see elm_gengrid_page_bring_in()
9449     */
9450    EAPI void         elm_gengrid_page_show(const Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
9451
9452    /**
9453     * Show a specific virtual region within the gengrid content object by page number.
9454     *
9455     * @param obj The gengrid object
9456     * @param h_pagenumber The horizontal page number
9457     * @param v_pagenumber The vertical page number
9458     *
9459     * 0, 0 of the indicated page is located at the top-left of the viewport.
9460     * This will slide to the page with animation.
9461     *
9462     * Example of usage:
9463     *
9464     * @code
9465     * sc = elm_gengrid_add(win);
9466     * elm_gengrid_content_set(sc, content);
9467     * elm_gengrid_page_relative_set(sc, 1, 0);
9468     * elm_gengrid_last_page_get(sc, &h_page, &v_page);
9469     * elm_gengrid_page_bring_in(sc, h_page, v_page);
9470     * @endcode
9471     *
9472     * @see elm_gengrid_page_show()
9473     */
9474     EAPI void         elm_gengrid_page_bring_in(const Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
9475
9476    /**
9477     * Set the direction in which a given gengrid widget will expand while
9478     * placing its items.
9479     *
9480     * @param obj The gengrid object.
9481     * @param setting @c EINA_TRUE to make the gengrid expand
9482     * horizontally, @c EINA_FALSE to expand vertically.
9483     *
9484     * When in "horizontal mode" (@c EINA_TRUE), items will be placed
9485     * in @b columns, from top to bottom and, when the space for a
9486     * column is filled, another one is started on the right, thus
9487     * expanding the grid horizontally. When in "vertical mode"
9488     * (@c EINA_FALSE), though, items will be placed in @b rows, from left
9489     * to right and, when the space for a row is filled, another one is
9490     * started below, thus expanding the grid vertically.
9491     *
9492     * @see elm_gengrid_horizontal_get()
9493     *
9494     * @ingroup Gengrid
9495     */
9496    EAPI void               elm_gengrid_horizontal_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
9497
9498    /**
9499     * Get for what direction a given gengrid widget will expand while
9500     * placing its items.
9501     *
9502     * @param obj The gengrid object.
9503     * @return @c EINA_TRUE, if @p obj is set to expand horizontally,
9504     * @c EINA_FALSE if it's set to expand vertically.
9505     *
9506     * @see elm_gengrid_horizontal_set() for more detais
9507     *
9508     * @ingroup Gengrid
9509     */
9510    EAPI Eina_Bool          elm_gengrid_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9511
9512    /**
9513     * Get the first item in a given gengrid widget
9514     *
9515     * @param obj The gengrid object
9516     * @return The first item's handle or @c NULL, if there are no
9517     * items in @p obj (and on errors)
9518     *
9519     * This returns the first item in the @p obj's internal list of
9520     * items.
9521     *
9522     * @see elm_gengrid_last_item_get()
9523     *
9524     * @ingroup Gengrid
9525     */
9526    EAPI Elm_Gengrid_Item  *elm_gengrid_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9527
9528    /**
9529     * Get the last item in a given gengrid widget
9530     *
9531     * @param obj The gengrid object
9532     * @return The last item's handle or @c NULL, if there are no
9533     * items in @p obj (and on errors)
9534     *
9535     * This returns the last item in the @p obj's internal list of
9536     * items.
9537     *
9538     * @see elm_gengrid_first_item_get()
9539     *
9540     * @ingroup Gengrid
9541     */
9542    EAPI Elm_Gengrid_Item  *elm_gengrid_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9543
9544    /**
9545     * Get the @b next item in a gengrid widget's internal list of items,
9546     * given a handle to one of those items.
9547     *
9548     * @param item The gengrid item to fetch next from
9549     * @return The item after @p item, or @c NULL if there's none (and
9550     * on errors)
9551     *
9552     * This returns the item placed after the @p item, on the container
9553     * gengrid.
9554     *
9555     * @see elm_gengrid_item_prev_get()
9556     *
9557     * @ingroup Gengrid
9558     */
9559    EAPI Elm_Gengrid_Item  *elm_gengrid_item_next_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9560
9561    /**
9562     * Get the @b previous item in a gengrid widget's internal list of items,
9563     * given a handle to one of those items.
9564     *
9565     * @param item The gengrid item to fetch previous from
9566     * @return The item before @p item, or @c NULL if there's none (and
9567     * on errors)
9568     *
9569     * This returns the item placed before the @p item, on the container
9570     * gengrid.
9571     *
9572     * @see elm_gengrid_item_next_get()
9573     *
9574     * @ingroup Gengrid
9575     */
9576    EAPI Elm_Gengrid_Item  *elm_gengrid_item_prev_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9577
9578    /**
9579     * Get the gengrid object's handle which contains a given gengrid
9580     * item
9581     *
9582     * @param item The item to fetch the container from
9583     * @return The gengrid (parent) object
9584     *
9585     * This returns the gengrid object itself that an item belongs to.
9586     *
9587     * @ingroup Gengrid
9588     */
9589    EAPI Evas_Object       *elm_gengrid_item_gengrid_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9590
9591    /**
9592     * Remove a gengrid item from its parent, deleting it.
9593     *
9594     * @param item The item to be removed.
9595     * @return @c EINA_TRUE on success or @c EINA_FALSE, otherwise.
9596     *
9597     * @see elm_gengrid_clear(), to remove all items in a gengrid at
9598     * once.
9599     *
9600     * @ingroup Gengrid
9601     */
9602    EAPI void               elm_gengrid_item_del(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9603
9604    /**
9605     * Update the contents of a given gengrid item
9606     *
9607     * @param item The gengrid item
9608     *
9609     * This updates an item by calling all the item class functions
9610     * again to get the contents, texts and states. Use this when the
9611     * original item data has changed and you want the changes to be
9612     * reflected.
9613     *
9614     * @ingroup Gengrid
9615     */
9616    EAPI void               elm_gengrid_item_update(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9617
9618    /**
9619     * Get the Gengrid Item class for the given Gengrid Item.
9620     *
9621     * @param item The gengrid item
9622     *
9623     * This returns the Gengrid_Item_Class for the given item. It can be used to examine
9624     * the function pointers and item_style.
9625     *
9626     * @ingroup Gengrid
9627     */
9628    EAPI const Elm_Gengrid_Item_Class *elm_gengrid_item_item_class_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9629
9630    /**
9631     * Get the Gengrid Item class for the given Gengrid Item.
9632     *
9633     * This sets the Gengrid_Item_Class for the given item. It can be used to examine
9634     * the function pointers and item_style.
9635     *
9636     * @param item The gengrid item
9637     * @param gic The gengrid item class describing the function pointers and the item style.
9638     *
9639     * @ingroup Gengrid
9640     */
9641    EAPI void               elm_gengrid_item_item_class_set(Elm_Gengrid_Item *item, const Elm_Gengrid_Item_Class *gic) EINA_ARG_NONNULL(1, 2);
9642
9643    /**
9644     * Return the data associated to a given gengrid item
9645     *
9646     * @param item The gengrid item.
9647     * @return the data associated with this item.
9648     *
9649     * This returns the @c data value passed on the
9650     * elm_gengrid_item_append() and related item addition calls.
9651     *
9652     * @see elm_gengrid_item_append()
9653     * @see elm_gengrid_item_data_set()
9654     *
9655     * @ingroup Gengrid
9656     */
9657    EAPI void              *elm_gengrid_item_data_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9658
9659    /**
9660     * Set the data associated with a given gengrid item
9661     *
9662     * @param item The gengrid item
9663     * @param data The data pointer to set on it
9664     *
9665     * This @b overrides the @c data value passed on the
9666     * elm_gengrid_item_append() and related item addition calls. This
9667     * function @b won't call elm_gengrid_item_update() automatically,
9668     * so you'd issue it afterwards if you want to have the item
9669     * updated to reflect the new data.
9670     *
9671     * @see elm_gengrid_item_data_get()
9672     * @see elm_gengrid_item_update()
9673     *
9674     * @ingroup Gengrid
9675     */
9676    EAPI void               elm_gengrid_item_data_set(Elm_Gengrid_Item *item, const void *data) EINA_ARG_NONNULL(1);
9677
9678    /**
9679     * Get a given gengrid item's position, relative to the whole
9680     * gengrid's grid area.
9681     *
9682     * @param item The Gengrid item.
9683     * @param x Pointer to variable to store the item's <b>row number</b>.
9684     * @param y Pointer to variable to store the item's <b>column number</b>.
9685     *
9686     * This returns the "logical" position of the item within the
9687     * gengrid. For example, @c (0, 1) would stand for first row,
9688     * second column.
9689     *
9690     * @ingroup Gengrid
9691     */
9692    EAPI void               elm_gengrid_item_pos_get(const Elm_Gengrid_Item *item, unsigned int *x, unsigned int *y) EINA_ARG_NONNULL(1);
9693
9694    /**
9695     * Set whether a given gengrid item is selected or not
9696     *
9697     * @param item The gengrid item
9698     * @param selected Use @c EINA_TRUE, to make it selected, @c
9699     * EINA_FALSE to make it unselected
9700     *
9701     * This sets the selected state of an item. If multi-selection is
9702     * not enabled on the containing gengrid and @p selected is @c
9703     * EINA_TRUE, any other previously selected items will get
9704     * unselected in favor of this new one.
9705     *
9706     * @see elm_gengrid_item_selected_get()
9707     *
9708     * @ingroup Gengrid
9709     */
9710    EAPI void elm_gengrid_item_selected_set(Elm_Gengrid_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
9711
9712    /**
9713     * Get whether a given gengrid item is selected or not
9714     *
9715     * @param item The gengrid item
9716     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
9717     *
9718     * This API returns EINA_TRUE for all the items selected in multi-select mode as well.
9719     *
9720     * @see elm_gengrid_item_selected_set() for more details
9721     *
9722     * @ingroup Gengrid
9723     */
9724    EAPI Eina_Bool elm_gengrid_item_selected_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9725
9726    /**
9727     * Get the real Evas object created to implement the view of a
9728     * given gengrid item
9729     *
9730     * @param item The gengrid item.
9731     * @return the Evas object implementing this item's view.
9732     *
9733     * This returns the actual Evas object used to implement the
9734     * specified gengrid item's view. This may be @c NULL, as it may
9735     * not have been created or may have been deleted, at any time, by
9736     * the gengrid. <b>Do not modify this object</b> (move, resize,
9737     * show, hide, etc.), as the gengrid is controlling it. This
9738     * function is for querying, emitting custom signals or hooking
9739     * lower level callbacks for events on that object. Do not delete
9740     * this object under any circumstances.
9741     *
9742     * @see elm_gengrid_item_data_get()
9743     *
9744     * @ingroup Gengrid
9745     */
9746    EAPI const Evas_Object *elm_gengrid_item_object_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9747
9748    /**
9749     * Show the portion of a gengrid's internal grid containing a given
9750     * item, @b immediately.
9751     *
9752     * @param item The item to display
9753     *
9754     * This causes gengrid to @b redraw its viewport's contents to the
9755     * region contining the given @p item item, if it is not fully
9756     * visible.
9757     *
9758     * @see elm_gengrid_item_bring_in()
9759     *
9760     * @ingroup Gengrid
9761     */
9762    EAPI void               elm_gengrid_item_show(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9763
9764    /**
9765     * Animatedly bring in, to the visible area of a gengrid, a given
9766     * item on it.
9767     *
9768     * @param item The gengrid item to display
9769     *
9770     * This causes gengrid to jump to the given @p item and show
9771     * it (by scrolling), if it is not fully visible. This will use
9772     * animation to do so and take a period of time to complete.
9773     *
9774     * @see elm_gengrid_item_show()
9775     *
9776     * @ingroup Gengrid
9777     */
9778    EAPI void               elm_gengrid_item_bring_in(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9779
9780    /**
9781     * Set whether a given gengrid item is disabled or not.
9782     *
9783     * @param item The gengrid item
9784     * @param disabled Use @c EINA_TRUE, true disable it, @c EINA_FALSE
9785     * to enable it back.
9786     *
9787     * A disabled item cannot be selected or unselected. It will also
9788     * change its appearance, to signal the user it's disabled.
9789     *
9790     * @see elm_gengrid_item_disabled_get()
9791     *
9792     * @ingroup Gengrid
9793     */
9794    EAPI void               elm_gengrid_item_disabled_set(Elm_Gengrid_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
9795
9796    /**
9797     * Get whether a given gengrid item is disabled or not.
9798     *
9799     * @param item The gengrid item
9800     * @return @c EINA_TRUE, if it's disabled, @c EINA_FALSE otherwise
9801     * (and on errors).
9802     *
9803     * @see elm_gengrid_item_disabled_set() for more details
9804     *
9805     * @ingroup Gengrid
9806     */
9807    EAPI Eina_Bool          elm_gengrid_item_disabled_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9808
9809    /**
9810     * Set the text to be shown in a given gengrid item's tooltips.
9811     *
9812     * @param item The gengrid item
9813     * @param text The text to set in the content
9814     *
9815     * This call will setup the text to be used as tooltip to that item
9816     * (analogous to elm_object_tooltip_text_set(), but being item
9817     * tooltips with higher precedence than object tooltips). It can
9818     * have only one tooltip at a time, so any previous tooltip data
9819     * will get removed.
9820     *
9821     * @ingroup Gengrid
9822     */
9823    EAPI void               elm_gengrid_item_tooltip_text_set(Elm_Gengrid_Item *item, const char *text) EINA_ARG_NONNULL(1);
9824
9825    /**
9826     * Set the content to be shown in a given gengrid item's tooltip
9827     *
9828     * @param item The gengrid item.
9829     * @param func The function returning the tooltip contents.
9830     * @param data What to provide to @a func as callback data/context.
9831     * @param del_cb Called when data is not needed anymore, either when
9832     *        another callback replaces @p func, the tooltip is unset with
9833     *        elm_gengrid_item_tooltip_unset() or the owner @p item
9834     *        dies. This callback receives as its first parameter the
9835     *        given @p data, being @c event_info the item handle.
9836     *
9837     * This call will setup the tooltip's contents to @p item
9838     * (analogous to elm_object_tooltip_content_cb_set(), but being
9839     * item tooltips with higher precedence than object tooltips). It
9840     * can have only one tooltip at a time, so any previous tooltip
9841     * content will get removed. @p func (with @p data) will be called
9842     * every time Elementary needs to show the tooltip and it should
9843     * return a valid Evas object, which will be fully managed by the
9844     * tooltip system, getting deleted when the tooltip is gone.
9845     *
9846     * @ingroup Gengrid
9847     */
9848    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);
9849
9850    /**
9851     * Unset a tooltip from a given gengrid item
9852     *
9853     * @param item gengrid item to remove a previously set tooltip from.
9854     *
9855     * This call removes any tooltip set on @p item. The callback
9856     * provided as @c del_cb to
9857     * elm_gengrid_item_tooltip_content_cb_set() will be called to
9858     * notify it is not used anymore (and have resources cleaned, if
9859     * need be).
9860     *
9861     * @see elm_gengrid_item_tooltip_content_cb_set()
9862     *
9863     * @ingroup Gengrid
9864     */
9865    EAPI void               elm_gengrid_item_tooltip_unset(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9866
9867    /**
9868     * Set a different @b style for a given gengrid item's tooltip.
9869     *
9870     * @param item gengrid item with tooltip set
9871     * @param style the <b>theme style</b> to use on tooltips (e.g. @c
9872     * "default", @c "transparent", etc)
9873     *
9874     * Tooltips can have <b>alternate styles</b> to be displayed on,
9875     * which are defined by the theme set on Elementary. This function
9876     * works analogously as elm_object_tooltip_style_set(), but here
9877     * applied only to gengrid item objects. The default style for
9878     * tooltips is @c "default".
9879     *
9880     * @note before you set a style you should define a tooltip with
9881     *       elm_gengrid_item_tooltip_content_cb_set() or
9882     *       elm_gengrid_item_tooltip_text_set()
9883     *
9884     * @see elm_gengrid_item_tooltip_style_get()
9885     *
9886     * @ingroup Gengrid
9887     */
9888    EAPI void               elm_gengrid_item_tooltip_style_set(Elm_Gengrid_Item *item, const char *style) EINA_ARG_NONNULL(1);
9889
9890    /**
9891     * Get the style set a given gengrid item's tooltip.
9892     *
9893     * @param item gengrid item with tooltip already set on.
9894     * @return style the theme style in use, which defaults to
9895     *         "default". If the object does not have a tooltip set,
9896     *         then @c NULL is returned.
9897     *
9898     * @see elm_gengrid_item_tooltip_style_set() for more details
9899     *
9900     * @ingroup Gengrid
9901     */
9902    EAPI const char        *elm_gengrid_item_tooltip_style_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9903
9904    /**
9905     * @brief Disable size restrictions on an object's tooltip
9906     * @param item The tooltip's anchor object
9907     * @param disable If EINA_TRUE, size restrictions are disabled
9908     * @return EINA_FALSE on failure, EINA_TRUE on success
9909     *
9910     * This function allows a tooltip to expand beyond its parant window's canvas.
9911     * It will instead be limited only by the size of the display.
9912     */
9913    EAPI Eina_Bool          elm_gengrid_item_tooltip_window_mode_set(Elm_Gengrid_Item *item, Eina_Bool disable);
9914
9915    /**
9916     * @brief Retrieve size restriction state of an object's tooltip
9917     * @param item The tooltip's anchor object
9918     * @return If EINA_TRUE, size restrictions are disabled
9919     *
9920     * This function returns whether a tooltip is allowed to expand beyond
9921     * its parant window's canvas.
9922     * It will instead be limited only by the size of the display.
9923     */
9924    EAPI Eina_Bool          elm_gengrid_item_tooltip_window_mode_get(const Elm_Gengrid_Item *item);
9925
9926    /**
9927     * Set the type of mouse pointer/cursor decoration to be shown,
9928     * when the mouse pointer is over the given gengrid widget item
9929     *
9930     * @param item gengrid item to customize cursor on
9931     * @param cursor the cursor type's name
9932     *
9933     * This function works analogously as elm_object_cursor_set(), but
9934     * here the cursor's changing area is restricted to the item's
9935     * area, and not the whole widget's. Note that that item cursors
9936     * have precedence over widget cursors, so that a mouse over @p
9937     * item will always show cursor @p type.
9938     *
9939     * If this function is called twice for an object, a previously set
9940     * cursor will be unset on the second call.
9941     *
9942     * @see elm_object_cursor_set()
9943     * @see elm_gengrid_item_cursor_get()
9944     * @see elm_gengrid_item_cursor_unset()
9945     *
9946     * @ingroup Gengrid
9947     */
9948    EAPI void               elm_gengrid_item_cursor_set(Elm_Gengrid_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
9949
9950    /**
9951     * Get the type of mouse pointer/cursor decoration set to be shown,
9952     * when the mouse pointer is over the given gengrid widget item
9953     *
9954     * @param item gengrid item with custom cursor set
9955     * @return the cursor type's name or @c NULL, if no custom cursors
9956     * were set to @p item (and on errors)
9957     *
9958     * @see elm_object_cursor_get()
9959     * @see elm_gengrid_item_cursor_set() for more details
9960     * @see elm_gengrid_item_cursor_unset()
9961     *
9962     * @ingroup Gengrid
9963     */
9964    EAPI const char        *elm_gengrid_item_cursor_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9965
9966    /**
9967     * Unset any custom mouse pointer/cursor decoration set to be
9968     * shown, when the mouse pointer is over the given gengrid widget
9969     * item, thus making it show the @b default cursor again.
9970     *
9971     * @param item a gengrid item
9972     *
9973     * Use this call to undo any custom settings on this item's cursor
9974     * decoration, bringing it back to defaults (no custom style set).
9975     *
9976     * @see elm_object_cursor_unset()
9977     * @see elm_gengrid_item_cursor_set() for more details
9978     *
9979     * @ingroup Gengrid
9980     */
9981    EAPI void               elm_gengrid_item_cursor_unset(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9982
9983    /**
9984     * Set a different @b style for a given custom cursor set for a
9985     * gengrid item.
9986     *
9987     * @param item gengrid item with custom cursor set
9988     * @param style the <b>theme style</b> to use (e.g. @c "default",
9989     * @c "transparent", etc)
9990     *
9991     * This function only makes sense when one is using custom mouse
9992     * cursor decorations <b>defined in a theme file</b> , which can
9993     * have, given a cursor name/type, <b>alternate styles</b> on
9994     * it. It works analogously as elm_object_cursor_style_set(), but
9995     * here applied only to gengrid item objects.
9996     *
9997     * @warning Before you set a cursor style you should have defined a
9998     *       custom cursor previously on the item, with
9999     *       elm_gengrid_item_cursor_set()
10000     *
10001     * @see elm_gengrid_item_cursor_engine_only_set()
10002     * @see elm_gengrid_item_cursor_style_get()
10003     *
10004     * @ingroup Gengrid
10005     */
10006    EAPI void               elm_gengrid_item_cursor_style_set(Elm_Gengrid_Item *item, const char *style) EINA_ARG_NONNULL(1);
10007
10008    /**
10009     * Get the current @b style set for a given gengrid item's custom
10010     * cursor
10011     *
10012     * @param item gengrid item with custom cursor set.
10013     * @return style the cursor style in use. If the object does not
10014     *         have a cursor set, then @c NULL is returned.
10015     *
10016     * @see elm_gengrid_item_cursor_style_set() for more details
10017     *
10018     * @ingroup Gengrid
10019     */
10020    EAPI const char        *elm_gengrid_item_cursor_style_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
10021
10022    /**
10023     * Set if the (custom) cursor for a given gengrid item should be
10024     * searched in its theme, also, or should only rely on the
10025     * rendering engine.
10026     *
10027     * @param item item with custom (custom) cursor already set on
10028     * @param engine_only Use @c EINA_TRUE to have cursors looked for
10029     * only on those provided by the rendering engine, @c EINA_FALSE to
10030     * have them searched on the widget's theme, as well.
10031     *
10032     * @note This call is of use only if you've set a custom cursor
10033     * for gengrid items, with elm_gengrid_item_cursor_set().
10034     *
10035     * @note By default, cursors will only be looked for between those
10036     * provided by the rendering engine.
10037     *
10038     * @ingroup Gengrid
10039     */
10040    EAPI void               elm_gengrid_item_cursor_engine_only_set(Elm_Gengrid_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
10041
10042    /**
10043     * Get if the (custom) cursor for a given gengrid item is being
10044     * searched in its theme, also, or is only relying on the rendering
10045     * engine.
10046     *
10047     * @param item a gengrid item
10048     * @return @c EINA_TRUE, if cursors are being looked for only on
10049     * those provided by the rendering engine, @c EINA_FALSE if they
10050     * are being searched on the widget's theme, as well.
10051     *
10052     * @see elm_gengrid_item_cursor_engine_only_set(), for more details
10053     *
10054     * @ingroup Gengrid
10055     */
10056    EAPI Eina_Bool          elm_gengrid_item_cursor_engine_only_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
10057
10058    /**
10059     * Remove all items from a given gengrid widget
10060     *
10061     * @param obj The gengrid object.
10062     *
10063     * This removes (and deletes) all items in @p obj, leaving it
10064     * empty.
10065     *
10066     * @see elm_gengrid_item_del(), to remove just one item.
10067     *
10068     * @ingroup Gengrid
10069     */
10070    EAPI void elm_gengrid_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
10071
10072    /**
10073     * Get the selected item in a given gengrid widget
10074     *
10075     * @param obj The gengrid object.
10076     * @return The selected item's handleor @c NULL, if none is
10077     * selected at the moment (and on errors)
10078     *
10079     * This returns the selected item in @p obj. If multi selection is
10080     * enabled on @p obj (@see elm_gengrid_multi_select_set()), only
10081     * the first item in the list is selected, which might not be very
10082     * useful. For that case, see elm_gengrid_selected_items_get().
10083     *
10084     * @ingroup Gengrid
10085     */
10086    EAPI Elm_Gengrid_Item  *elm_gengrid_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10087
10088    /**
10089     * Get <b>a list</b> of selected items in a given gengrid
10090     *
10091     * @param obj The gengrid object.
10092     * @return The list of selected items or @c NULL, if none is
10093     * selected at the moment (and on errors)
10094     *
10095     * This returns a list of the selected items, in the order that
10096     * they appear in the grid. This list is only valid as long as no
10097     * more items are selected or unselected (or unselected implictly
10098     * by deletion). The list contains #Elm_Gengrid_Item pointers as
10099     * data, naturally.
10100     *
10101     * @see elm_gengrid_selected_item_get()
10102     *
10103     * @ingroup Gengrid
10104     */
10105    EAPI const Eina_List   *elm_gengrid_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10106
10107    /**
10108     * @}
10109     */
10110
10111    /**
10112     * @defgroup Clock Clock
10113     *
10114     * @image html img/widget/clock/preview-00.png
10115     * @image latex img/widget/clock/preview-00.eps
10116     *
10117     * This is a @b digital clock widget. In its default theme, it has a
10118     * vintage "flipping numbers clock" appearance, which will animate
10119     * sheets of individual algarisms individually as time goes by.
10120     *
10121     * A newly created clock will fetch system's time (already
10122     * considering local time adjustments) to start with, and will tick
10123     * accondingly. It may or may not show seconds.
10124     *
10125     * Clocks have an @b edition mode. When in it, the sheets will
10126     * display extra arrow indications on the top and bottom and the
10127     * user may click on them to raise or lower the time values. After
10128     * it's told to exit edition mode, it will keep ticking with that
10129     * new time set (it keeps the difference from local time).
10130     *
10131     * Also, when under edition mode, user clicks on the cited arrows
10132     * which are @b held for some time will make the clock to flip the
10133     * sheet, thus editing the time, continuosly and automatically for
10134     * the user. The interval between sheet flips will keep growing in
10135     * time, so that it helps the user to reach a time which is distant
10136     * from the one set.
10137     *
10138     * The time display is, by default, in military mode (24h), but an
10139     * am/pm indicator may be optionally shown, too, when it will
10140     * switch to 12h.
10141     *
10142     * Smart callbacks one can register to:
10143     * - "changed" - the clock's user changed the time
10144     *
10145     * Here is an example on its usage:
10146     * @li @ref clock_example
10147     */
10148
10149    /**
10150     * @addtogroup Clock
10151     * @{
10152     */
10153
10154    /**
10155     * Identifiers for which clock digits should be editable, when a
10156     * clock widget is in edition mode. Values may be ORed together to
10157     * make a mask, naturally.
10158     *
10159     * @see elm_clock_edit_set()
10160     * @see elm_clock_digit_edit_set()
10161     */
10162    typedef enum _Elm_Clock_Digedit
10163      {
10164         ELM_CLOCK_NONE         = 0, /**< Default value. Means that all digits are editable, when in edition mode. */
10165         ELM_CLOCK_HOUR_DECIMAL = 1 << 0, /**< Decimal algarism of hours value should be editable */
10166         ELM_CLOCK_HOUR_UNIT    = 1 << 1, /**< Unit algarism of hours value should be editable */
10167         ELM_CLOCK_MIN_DECIMAL  = 1 << 2, /**< Decimal algarism of minutes value should be editable */
10168         ELM_CLOCK_MIN_UNIT     = 1 << 3, /**< Unit algarism of minutes value should be editable */
10169         ELM_CLOCK_SEC_DECIMAL  = 1 << 4, /**< Decimal algarism of seconds value should be editable */
10170         ELM_CLOCK_SEC_UNIT     = 1 << 5, /**< Unit algarism of seconds value should be editable */
10171         ELM_CLOCK_ALL          = (1 << 6) - 1 /**< All digits should be editable */
10172      } Elm_Clock_Digedit;
10173
10174    /**
10175     * Add a new clock widget to the given parent Elementary
10176     * (container) object
10177     *
10178     * @param parent The parent object
10179     * @return a new clock widget handle or @c NULL, on errors
10180     *
10181     * This function inserts a new clock widget on the canvas.
10182     *
10183     * @ingroup Clock
10184     */
10185    EAPI Evas_Object      *elm_clock_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
10186
10187    /**
10188     * Set a clock widget's time, programmatically
10189     *
10190     * @param obj The clock widget object
10191     * @param hrs The hours to set
10192     * @param min The minutes to set
10193     * @param sec The secondes to set
10194     *
10195     * This function updates the time that is showed by the clock
10196     * widget.
10197     *
10198     *  Values @b must be set within the following ranges:
10199     * - 0 - 23, for hours
10200     * - 0 - 59, for minutes
10201     * - 0 - 59, for seconds,
10202     *
10203     * even if the clock is not in "military" mode.
10204     *
10205     * @warning The behavior for values set out of those ranges is @b
10206     * undefined.
10207     *
10208     * @ingroup Clock
10209     */
10210    EAPI void              elm_clock_time_set(Evas_Object *obj, int hrs, int min, int sec) EINA_ARG_NONNULL(1);
10211
10212    /**
10213     * Get a clock widget's time values
10214     *
10215     * @param obj The clock object
10216     * @param[out] hrs Pointer to the variable to get the hours value
10217     * @param[out] min Pointer to the variable to get the minutes value
10218     * @param[out] sec Pointer to the variable to get the seconds value
10219     *
10220     * This function gets the time set for @p obj, returning
10221     * it on the variables passed as the arguments to function
10222     *
10223     * @note Use @c NULL pointers on the time values you're not
10224     * interested in: they'll be ignored by the function.
10225     *
10226     * @ingroup Clock
10227     */
10228    EAPI void              elm_clock_time_get(const Evas_Object *obj, int *hrs, int *min, int *sec) EINA_ARG_NONNULL(1);
10229
10230    /**
10231     * Set whether a given clock widget is under <b>edition mode</b> or
10232     * under (default) displaying-only mode.
10233     *
10234     * @param obj The clock object
10235     * @param edit @c EINA_TRUE to put it in edition, @c EINA_FALSE to
10236     * put it back to "displaying only" mode
10237     *
10238     * This function makes a clock's time to be editable or not <b>by
10239     * user interaction</b>. When in edition mode, clocks @b stop
10240     * ticking, until one brings them back to canonical mode. The
10241     * elm_clock_digit_edit_set() function will influence which digits
10242     * of the clock will be editable. By default, all of them will be
10243     * (#ELM_CLOCK_NONE).
10244     *
10245     * @note am/pm sheets, if being shown, will @b always be editable
10246     * under edition mode.
10247     *
10248     * @see elm_clock_edit_get()
10249     *
10250     * @ingroup Clock
10251     */
10252    EAPI void              elm_clock_edit_set(Evas_Object *obj, Eina_Bool edit) EINA_ARG_NONNULL(1);
10253
10254    /**
10255     * Retrieve whether a given clock widget is under <b>edition
10256     * mode</b> or under (default) displaying-only mode.
10257     *
10258     * @param obj The clock object
10259     * @param edit @c EINA_TRUE, if it's in edition mode, @c EINA_FALSE
10260     * otherwise
10261     *
10262     * This function retrieves whether the clock's time can be edited
10263     * or not by user interaction.
10264     *
10265     * @see elm_clock_edit_set() for more details
10266     *
10267     * @ingroup Clock
10268     */
10269    EAPI Eina_Bool         elm_clock_edit_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10270
10271    /**
10272     * Set what digits of the given clock widget should be editable
10273     * when in edition mode.
10274     *
10275     * @param obj The clock object
10276     * @param digedit Bit mask indicating the digits to be editable
10277     * (values in #Elm_Clock_Digedit).
10278     *
10279     * If the @p digedit param is #ELM_CLOCK_NONE, editing will be
10280     * disabled on @p obj (same effect as elm_clock_edit_set(), with @c
10281     * EINA_FALSE).
10282     *
10283     * @see elm_clock_digit_edit_get()
10284     *
10285     * @ingroup Clock
10286     */
10287    EAPI void              elm_clock_digit_edit_set(Evas_Object *obj, Elm_Clock_Digedit digedit) EINA_ARG_NONNULL(1);
10288
10289    /**
10290     * Retrieve what digits of the given clock widget should be
10291     * editable when in edition mode.
10292     *
10293     * @param obj The clock object
10294     * @return Bit mask indicating the digits to be editable
10295     * (values in #Elm_Clock_Digedit).
10296     *
10297     * @see elm_clock_digit_edit_set() for more details
10298     *
10299     * @ingroup Clock
10300     */
10301    EAPI Elm_Clock_Digedit elm_clock_digit_edit_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10302
10303    /**
10304     * Set if the given clock widget must show hours in military or
10305     * am/pm mode
10306     *
10307     * @param obj The clock object
10308     * @param am_pm @c EINA_TRUE to put it in am/pm mode, @c EINA_FALSE
10309     * to military mode
10310     *
10311     * This function sets if the clock must show hours in military or
10312     * am/pm mode. In some countries like Brazil the military mode
10313     * (00-24h-format) is used, in opposition to the USA, where the
10314     * am/pm mode is more commonly used.
10315     *
10316     * @see elm_clock_show_am_pm_get()
10317     *
10318     * @ingroup Clock
10319     */
10320    EAPI void              elm_clock_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm) EINA_ARG_NONNULL(1);
10321
10322    /**
10323     * Get if the given clock widget shows hours in military or am/pm
10324     * mode
10325     *
10326     * @param obj The clock object
10327     * @return @c EINA_TRUE, if in am/pm mode, @c EINA_FALSE if in
10328     * military
10329     *
10330     * This function gets if the clock shows hours in military or am/pm
10331     * mode.
10332     *
10333     * @see elm_clock_show_am_pm_set() for more details
10334     *
10335     * @ingroup Clock
10336     */
10337    EAPI Eina_Bool         elm_clock_show_am_pm_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10338
10339    /**
10340     * Set if the given clock widget must show time with seconds or not
10341     *
10342     * @param obj The clock object
10343     * @param seconds @c EINA_TRUE to show seconds, @c EINA_FALSE otherwise
10344     *
10345     * This function sets if the given clock must show or not elapsed
10346     * seconds. By default, they are @b not shown.
10347     *
10348     * @see elm_clock_show_seconds_get()
10349     *
10350     * @ingroup Clock
10351     */
10352    EAPI void              elm_clock_show_seconds_set(Evas_Object *obj, Eina_Bool seconds) EINA_ARG_NONNULL(1);
10353
10354    /**
10355     * Get whether the given clock widget is showing time with seconds
10356     * or not
10357     *
10358     * @param obj The clock object
10359     * @return @c EINA_TRUE if it's showing seconds, @c EINA_FALSE otherwise
10360     *
10361     * This function gets whether @p obj is showing or not the elapsed
10362     * seconds.
10363     *
10364     * @see elm_clock_show_seconds_set()
10365     *
10366     * @ingroup Clock
10367     */
10368    EAPI Eina_Bool         elm_clock_show_seconds_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10369
10370    /**
10371     * Set the interval on time updates for an user mouse button hold
10372     * on clock widgets' time edition.
10373     *
10374     * @param obj The clock object
10375     * @param interval The (first) interval value in seconds
10376     *
10377     * This interval value is @b decreased while the user holds the
10378     * mouse pointer either incrementing or decrementing a given the
10379     * clock digit's value.
10380     *
10381     * This helps the user to get to a given time distant from the
10382     * current one easier/faster, as it will start to flip quicker and
10383     * quicker on mouse button holds.
10384     *
10385     * The calculation for the next flip interval value, starting from
10386     * the one set with this call, is the previous interval divided by
10387     * 1.05, so it decreases a little bit.
10388     *
10389     * The default starting interval value for automatic flips is
10390     * @b 0.85 seconds.
10391     *
10392     * @see elm_clock_interval_get()
10393     *
10394     * @ingroup Clock
10395     */
10396    EAPI void              elm_clock_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
10397
10398    /**
10399     * Get the interval on time updates for an user mouse button hold
10400     * on clock widgets' time edition.
10401     *
10402     * @param obj The clock object
10403     * @return The (first) interval value, in seconds, set on it
10404     *
10405     * @see elm_clock_interval_set() for more details
10406     *
10407     * @ingroup Clock
10408     */
10409    EAPI double            elm_clock_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10410
10411    /**
10412     * @}
10413     */
10414
10415    /**
10416     * @defgroup Layout Layout
10417     *
10418     * @image html img/widget/layout/preview-00.png
10419     * @image latex img/widget/layout/preview-00.eps width=\textwidth
10420     *
10421     * @image html img/layout-predefined.png
10422     * @image latex img/layout-predefined.eps width=\textwidth
10423     *
10424     * This is a container widget that takes a standard Edje design file and
10425     * wraps it very thinly in a widget.
10426     *
10427     * An Edje design (theme) file has a very wide range of possibilities to
10428     * describe the behavior of elements added to the Layout. Check out the Edje
10429     * documentation and the EDC reference to get more information about what can
10430     * be done with Edje.
10431     *
10432     * Just like @ref List, @ref Box, and other container widgets, any
10433     * object added to the Layout will become its child, meaning that it will be
10434     * deleted if the Layout is deleted, move if the Layout is moved, and so on.
10435     *
10436     * The Layout widget can contain as many Contents, Boxes or Tables as
10437     * described in its theme file. For instance, objects can be added to
10438     * different Tables by specifying the respective Table part names. The same
10439     * is valid for Content and Box.
10440     *
10441     * The objects added as child of the Layout will behave as described in the
10442     * part description where they were added. There are 3 possible types of
10443     * parts where a child can be added:
10444     *
10445     * @section secContent Content (SWALLOW part)
10446     *
10447     * Only one object can be added to the @c SWALLOW part (but you still can
10448     * have many @c SWALLOW parts and one object on each of them). Use the @c
10449     * elm_object_content_set/get/unset functions to set, retrieve and unset
10450     * objects as content of the @c SWALLOW. After being set to this part, the
10451     * object size, position, visibility, clipping and other description
10452     * properties will be totally controlled by the description of the given part
10453     * (inside the Edje theme file).
10454     *
10455     * One can use @c evas_object_size_hint_* functions on the child to have some
10456     * kind of control over its behavior, but the resulting behavior will still
10457     * depend heavily on the @c SWALLOW part description.
10458     *
10459     * The Edje theme also can change the part description, based on signals or
10460     * scripts running inside the theme. This change can also be animated. All of
10461     * this will affect the child object set as content accordingly. The object
10462     * size will be changed if the part size is changed, it will animate move if
10463     * the part is moving, and so on.
10464     *
10465     * The following picture demonstrates a Layout widget with a child object
10466     * added to its @c SWALLOW:
10467     *
10468     * @image html layout_swallow.png
10469     * @image latex layout_swallow.eps width=\textwidth
10470     *
10471     * @section secBox Box (BOX part)
10472     *
10473     * An Edje @c BOX part is very similar to the Elementary @ref Box widget. It
10474     * allows one to add objects to the box and have them distributed along its
10475     * area, accordingly to the specified @a layout property (now by @a layout we
10476     * mean the chosen layouting design of the Box, not the Layout widget
10477     * itself).
10478     *
10479     * A similar effect for having a box with its position, size and other things
10480     * controlled by the Layout theme would be to create an Elementary @ref Box
10481     * widget and add it as a Content in the @c SWALLOW part.
10482     *
10483     * The main difference of using the Layout Box is that its behavior, the box
10484     * properties like layouting format, padding, align, etc. will be all
10485     * controlled by the theme. This means, for example, that a signal could be
10486     * sent to the Layout theme (with elm_object_signal_emit()) and the theme
10487     * handled the signal by changing the box padding, or align, or both. Using
10488     * the Elementary @ref Box widget is not necessarily harder or easier, it
10489     * just depends on the circunstances and requirements.
10490     *
10491     * The Layout Box can be used through the @c elm_layout_box_* set of
10492     * functions.
10493     *
10494     * The following picture demonstrates a Layout widget with many child objects
10495     * added to its @c BOX part:
10496     *
10497     * @image html layout_box.png
10498     * @image latex layout_box.eps width=\textwidth
10499     *
10500     * @section secTable Table (TABLE part)
10501     *
10502     * Just like the @ref secBox, the Layout Table is very similar to the
10503     * Elementary @ref Table widget. It allows one to add objects to the Table
10504     * specifying the row and column where the object should be added, and any
10505     * column or row span if necessary.
10506     *
10507     * Again, we could have this design by adding a @ref Table widget to the @c
10508     * SWALLOW part using elm_object_part_content_set(). The same difference happens
10509     * here when choosing to use the Layout Table (a @c TABLE part) instead of
10510     * the @ref Table plus @c SWALLOW part. It's just a matter of convenience.
10511     *
10512     * The Layout Table can be used through the @c elm_layout_table_* set of
10513     * functions.
10514     *
10515     * The following picture demonstrates a Layout widget with many child objects
10516     * added to its @c TABLE part:
10517     *
10518     * @image html layout_table.png
10519     * @image latex layout_table.eps width=\textwidth
10520     *
10521     * @section secPredef Predefined Layouts
10522     *
10523     * Another interesting thing about the Layout widget is that it offers some
10524     * predefined themes that come with the default Elementary theme. These
10525     * themes can be set by the call elm_layout_theme_set(), and provide some
10526     * basic functionality depending on the theme used.
10527     *
10528     * Most of them already send some signals, some already provide a toolbar or
10529     * back and next buttons.
10530     *
10531     * These are available predefined theme layouts. All of them have class = @c
10532     * layout, group = @c application, and style = one of the following options:
10533     *
10534     * @li @c toolbar-content - application with toolbar and main content area
10535     * @li @c toolbar-content-back - application with toolbar and main content
10536     * area with a back button and title area
10537     * @li @c toolbar-content-back-next - application with toolbar and main
10538     * content area with a back and next buttons and title area
10539     * @li @c content-back - application with a main content area with a back
10540     * button and title area
10541     * @li @c content-back-next - application with a main content area with a
10542     * back and next buttons and title area
10543     * @li @c toolbar-vbox - application with toolbar and main content area as a
10544     * vertical box
10545     * @li @c toolbar-table - application with toolbar and main content area as a
10546     * table
10547     *
10548     * @section secExamples Examples
10549     *
10550     * Some examples of the Layout widget can be found here:
10551     * @li @ref layout_example_01
10552     * @li @ref layout_example_02
10553     * @li @ref layout_example_03
10554     * @li @ref layout_example_edc
10555     *
10556     */
10557
10558    /**
10559     * Add a new layout to the parent
10560     *
10561     * @param parent The parent object
10562     * @return The new object or NULL if it cannot be created
10563     *
10564     * @see elm_layout_file_set()
10565     * @see elm_layout_theme_set()
10566     *
10567     * @ingroup Layout
10568     */
10569    EAPI Evas_Object       *elm_layout_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
10570
10571    /**
10572     * Set the file that will be used as layout
10573     *
10574     * @param obj The layout object
10575     * @param file The path to file (edj) that will be used as layout
10576     * @param group The group that the layout belongs in edje file
10577     *
10578     * @return (1 = success, 0 = error)
10579     *
10580     * @ingroup Layout
10581     */
10582    EAPI Eina_Bool          elm_layout_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1);
10583
10584    /**
10585     * Set the edje group from the elementary theme that will be used as layout
10586     *
10587     * @param obj The layout object
10588     * @param clas the clas of the group
10589     * @param group the group
10590     * @param style the style to used
10591     *
10592     * @return (1 = success, 0 = error)
10593     *
10594     * @ingroup Layout
10595     */
10596    EAPI Eina_Bool          elm_layout_theme_set(Evas_Object *obj, const char *clas, const char *group, const char *style) EINA_ARG_NONNULL(1);
10597
10598    /**
10599     * Set the layout content.
10600     *
10601     * @param obj The layout object
10602     * @param swallow The swallow part name in the edje file
10603     * @param content The child that will be added in this layout object
10604     *
10605     * Once the content object is set, a previously set one will be deleted.
10606     * If you want to keep that old content object, use the
10607     * elm_object_part_content_unset() function.
10608     *
10609     * @note In an Edje theme, the part used as a content container is called @c
10610     * SWALLOW. This is why the parameter name is called @p swallow, but it is
10611     * expected to be a part name just like the second parameter of
10612     * elm_layout_box_append().
10613     *
10614     * @see elm_layout_box_append()
10615     * @see elm_object_part_content_get()
10616     * @see elm_object_part_content_unset()
10617     * @see @ref secBox
10618     * @deprecated use elm_object_part_content_set() instead
10619     *
10620     * @ingroup Layout
10621     */
10622    EINA_DEPRECATED EAPI void               elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content) EINA_ARG_NONNULL(1);
10623
10624    /**
10625     * Get the child object in the given content part.
10626     *
10627     * @param obj The layout object
10628     * @param swallow The SWALLOW part to get its content
10629     *
10630     * @return The swallowed object or NULL if none or an error occurred
10631     *
10632     * @deprecated use elm_object_part_content_get() instead
10633     *
10634     * @ingroup Layout
10635     */
10636    EINA_DEPRECATED EAPI Evas_Object       *elm_layout_content_get(const Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
10637
10638    /**
10639     * Unset the layout content.
10640     *
10641     * @param obj The layout object
10642     * @param swallow The swallow part name in the edje file
10643     * @return The content that was being used
10644     *
10645     * Unparent and return the content object which was set for this part.
10646     *
10647     * @deprecated use elm_object_part_content_unset() instead
10648     *
10649     * @ingroup Layout
10650     */
10651    EINA_DEPRECATED EAPI Evas_Object       *elm_layout_content_unset(Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
10652
10653    /**
10654     * Set the text of the given part
10655     *
10656     * @param obj The layout object
10657     * @param part The TEXT part where to set the text
10658     * @param text The text to set
10659     *
10660     * @ingroup Layout
10661     * @deprecated use elm_object_part_text_set() instead.
10662     */
10663    EINA_DEPRECATED EAPI void               elm_layout_text_set(Evas_Object *obj, const char *part, const char *text) EINA_ARG_NONNULL(1);
10664
10665    /**
10666     * Get the text set in the given part
10667     *
10668     * @param obj The layout object
10669     * @param part The TEXT part to retrieve the text off
10670     *
10671     * @return The text set in @p part
10672     *
10673     * @ingroup Layout
10674     * @deprecated use elm_object_part_text_get() instead.
10675     */
10676    EINA_DEPRECATED EAPI const char        *elm_layout_text_get(const Evas_Object *obj, const char *part) EINA_ARG_NONNULL(1);
10677
10678    /**
10679     * Append child to layout box part.
10680     *
10681     * @param obj the layout object
10682     * @param part the box part to which the object will be appended.
10683     * @param child the child object to append to box.
10684     *
10685     * Once the object is appended, it will become child of the layout. Its
10686     * lifetime will be bound to the layout, whenever the layout dies the child
10687     * will be deleted automatically. One should use elm_layout_box_remove() to
10688     * make this layout forget about the object.
10689     *
10690     * @see elm_layout_box_prepend()
10691     * @see elm_layout_box_insert_before()
10692     * @see elm_layout_box_insert_at()
10693     * @see elm_layout_box_remove()
10694     *
10695     * @ingroup Layout
10696     */
10697    EAPI void               elm_layout_box_append(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1);
10698
10699    /**
10700     * Prepend child to layout box part.
10701     *
10702     * @param obj the layout object
10703     * @param part the box part to prepend.
10704     * @param child the child object to prepend to box.
10705     *
10706     * Once the object is prepended, it will become child of the layout. Its
10707     * lifetime will be bound to the layout, whenever the layout dies the child
10708     * will be deleted automatically. One should use elm_layout_box_remove() to
10709     * make this layout forget about the object.
10710     *
10711     * @see elm_layout_box_append()
10712     * @see elm_layout_box_insert_before()
10713     * @see elm_layout_box_insert_at()
10714     * @see elm_layout_box_remove()
10715     *
10716     * @ingroup Layout
10717     */
10718    EAPI void               elm_layout_box_prepend(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1);
10719
10720    /**
10721     * Insert child to layout box part before a reference object.
10722     *
10723     * @param obj the layout object
10724     * @param part the box part to insert.
10725     * @param child the child object to insert into box.
10726     * @param reference another reference object to insert before in box.
10727     *
10728     * Once the object is inserted, it will become child of the layout. Its
10729     * lifetime will be bound to the layout, whenever the layout dies the child
10730     * will be deleted automatically. One should use elm_layout_box_remove() to
10731     * make this layout forget about the object.
10732     *
10733     * @see elm_layout_box_append()
10734     * @see elm_layout_box_prepend()
10735     * @see elm_layout_box_insert_before()
10736     * @see elm_layout_box_remove()
10737     *
10738     * @ingroup Layout
10739     */
10740    EAPI void               elm_layout_box_insert_before(Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference) EINA_ARG_NONNULL(1);
10741
10742    /**
10743     * Insert child to layout box part at a given position.
10744     *
10745     * @param obj the layout object
10746     * @param part the box part to insert.
10747     * @param child the child object to insert into box.
10748     * @param pos the numeric position >=0 to insert the child.
10749     *
10750     * Once the object is inserted, it will become child of the layout. Its
10751     * lifetime will be bound to the layout, whenever the layout dies the child
10752     * will be deleted automatically. One should use elm_layout_box_remove() to
10753     * make this layout forget about the object.
10754     *
10755     * @see elm_layout_box_append()
10756     * @see elm_layout_box_prepend()
10757     * @see elm_layout_box_insert_before()
10758     * @see elm_layout_box_remove()
10759     *
10760     * @ingroup Layout
10761     */
10762    EAPI void               elm_layout_box_insert_at(Evas_Object *obj, const char *part, Evas_Object *child, unsigned int pos) EINA_ARG_NONNULL(1);
10763
10764    /**
10765     * Remove a child of the given part box.
10766     *
10767     * @param obj The layout object
10768     * @param part The box part name to remove child.
10769     * @param child The object to remove from box.
10770     * @return The object that was being used, or NULL if not found.
10771     *
10772     * The object will be removed from the box part and its lifetime will
10773     * not be handled by the layout anymore. This is equivalent to
10774     * elm_object_part_content_unset() for box.
10775     *
10776     * @see elm_layout_box_append()
10777     * @see elm_layout_box_remove_all()
10778     *
10779     * @ingroup Layout
10780     */
10781    EAPI Evas_Object       *elm_layout_box_remove(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1, 2, 3);
10782
10783    /**
10784     * Remove all children of the given part box.
10785     *
10786     * @param obj The layout object
10787     * @param part The box part name to remove child.
10788     * @param clear If EINA_TRUE, then all objects will be deleted as
10789     *        well, otherwise they will just be removed and will be
10790     *        dangling on the canvas.
10791     *
10792     * The objects will be removed from the box part and their lifetime will
10793     * not be handled by the layout anymore. This is equivalent to
10794     * elm_layout_box_remove() for all box children.
10795     *
10796     * @see elm_layout_box_append()
10797     * @see elm_layout_box_remove()
10798     *
10799     * @ingroup Layout
10800     */
10801    EAPI void               elm_layout_box_remove_all(Evas_Object *obj, const char *part, Eina_Bool clear) EINA_ARG_NONNULL(1, 2);
10802
10803    /**
10804     * Insert child to layout table part.
10805     *
10806     * @param obj the layout object
10807     * @param part the box part to pack child.
10808     * @param child_obj the child object to pack into table.
10809     * @param col the column to which the child should be added. (>= 0)
10810     * @param row the row to which the child should be added. (>= 0)
10811     * @param colspan how many columns should be used to store this object. (>=
10812     *        1)
10813     * @param rowspan how many rows should be used to store this object. (>= 1)
10814     *
10815     * Once the object is inserted, it will become child of the table. Its
10816     * lifetime will be bound to the layout, and whenever the layout dies the
10817     * child will be deleted automatically. One should use
10818     * elm_layout_table_remove() to make this layout forget about the object.
10819     *
10820     * If @p colspan or @p rowspan are bigger than 1, that object will occupy
10821     * more space than a single cell. For instance, the following code:
10822     * @code
10823     * elm_layout_table_pack(layout, "table_part", child, 0, 1, 3, 1);
10824     * @endcode
10825     *
10826     * Would result in an object being added like the following picture:
10827     *
10828     * @image html layout_colspan.png
10829     * @image latex layout_colspan.eps width=\textwidth
10830     *
10831     * @see elm_layout_table_unpack()
10832     * @see elm_layout_table_clear()
10833     *
10834     * @ingroup Layout
10835     */
10836    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);
10837
10838    /**
10839     * Unpack (remove) a child of the given part table.
10840     *
10841     * @param obj The layout object
10842     * @param part The table part name to remove child.
10843     * @param child_obj The object to remove from table.
10844     * @return The object that was being used, or NULL if not found.
10845     *
10846     * The object will be unpacked from the table part and its lifetime
10847     * will not be handled by the layout anymore. This is equivalent to
10848     * elm_object_part_content_unset() for table.
10849     *
10850     * @see elm_layout_table_pack()
10851     * @see elm_layout_table_clear()
10852     *
10853     * @ingroup Layout
10854     */
10855    EAPI Evas_Object       *elm_layout_table_unpack(Evas_Object *obj, const char *part, Evas_Object *child_obj) EINA_ARG_NONNULL(1, 2, 3);
10856
10857    /**
10858     * Remove all the child objects of the given part table.
10859     *
10860     * @param obj The layout object
10861     * @param part The table part name to remove child.
10862     * @param clear If EINA_TRUE, then all objects will be deleted as
10863     *        well, otherwise they will just be removed and will be
10864     *        dangling on the canvas.
10865     *
10866     * The objects will be removed from the table part and their lifetime will
10867     * not be handled by the layout anymore. This is equivalent to
10868     * elm_layout_table_unpack() for all table children.
10869     *
10870     * @see elm_layout_table_pack()
10871     * @see elm_layout_table_unpack()
10872     *
10873     * @ingroup Layout
10874     */
10875    EAPI void               elm_layout_table_clear(Evas_Object *obj, const char *part, Eina_Bool clear) EINA_ARG_NONNULL(1, 2);
10876
10877    /**
10878     * Get the edje layout
10879     *
10880     * @param obj The layout object
10881     *
10882     * @return A Evas_Object with the edje layout settings loaded
10883     * with function elm_layout_file_set
10884     *
10885     * This returns the edje object. It is not expected to be used to then
10886     * swallow objects via edje_object_part_swallow() for example. Use
10887     * elm_object_part_content_set() instead so child object handling and sizing is
10888     * done properly.
10889     *
10890     * @note This function should only be used if you really need to call some
10891     * low level Edje function on this edje object. All the common stuff (setting
10892     * text, emitting signals, hooking callbacks to signals, etc.) can be done
10893     * with proper elementary functions.
10894     *
10895     * @see elm_object_signal_callback_add()
10896     * @see elm_object_signal_emit()
10897     * @see elm_object_part_text_set()
10898     * @see elm_object_part_content_set()
10899     * @see elm_layout_box_append()
10900     * @see elm_layout_table_pack()
10901     * @see elm_layout_data_get()
10902     *
10903     * @ingroup Layout
10904     */
10905    EAPI Evas_Object       *elm_layout_edje_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10906
10907    /**
10908     * Get the edje data from the given layout
10909     *
10910     * @param obj The layout object
10911     * @param key The data key
10912     *
10913     * @return The edje data string
10914     *
10915     * This function fetches data specified inside the edje theme of this layout.
10916     * This function return NULL if data is not found.
10917     *
10918     * In EDC this comes from a data block within the group block that @p
10919     * obj was loaded from. E.g.
10920     *
10921     * @code
10922     * collections {
10923     *   group {
10924     *     name: "a_group";
10925     *     data {
10926     *       item: "key1" "value1";
10927     *       item: "key2" "value2";
10928     *     }
10929     *   }
10930     * }
10931     * @endcode
10932     *
10933     * @ingroup Layout
10934     */
10935    EAPI const char        *elm_layout_data_get(const Evas_Object *obj, const char *key) EINA_ARG_NONNULL(1, 2);
10936
10937    /**
10938     * Eval sizing
10939     *
10940     * @param obj The layout object
10941     *
10942     * Manually forces a sizing re-evaluation. This is useful when the minimum
10943     * size required by the edje theme of this layout has changed. The change on
10944     * the minimum size required by the edje theme is not immediately reported to
10945     * the elementary layout, so one needs to call this function in order to tell
10946     * the widget (layout) that it needs to reevaluate its own size.
10947     *
10948     * The minimum size of the theme is calculated based on minimum size of
10949     * parts, the size of elements inside containers like box and table, etc. All
10950     * of this can change due to state changes, and that's when this function
10951     * should be called.
10952     *
10953     * Also note that a standard signal of "size,eval" "elm" emitted from the
10954     * edje object will cause this to happen too.
10955     *
10956     * @ingroup Layout
10957     */
10958    EAPI void               elm_layout_sizing_eval(Evas_Object *obj) EINA_ARG_NONNULL(1);
10959
10960    /**
10961     * Sets a specific cursor for an edje part.
10962     *
10963     * @param obj The layout object.
10964     * @param part_name a part from loaded edje group.
10965     * @param cursor cursor name to use, see Elementary_Cursor.h
10966     *
10967     * @return EINA_TRUE on success or EINA_FALSE on failure, that may be
10968     *         part not exists or it has "mouse_events: 0".
10969     *
10970     * @ingroup Layout
10971     */
10972    EAPI Eina_Bool          elm_layout_part_cursor_set(Evas_Object *obj, const char *part_name, const char *cursor) EINA_ARG_NONNULL(1, 2);
10973
10974    /**
10975     * Get the cursor to be shown when mouse is over an edje part
10976     *
10977     * @param obj The layout object.
10978     * @param part_name a part from loaded edje group.
10979     * @return the cursor name.
10980     *
10981     * @ingroup Layout
10982     */
10983    EAPI const char        *elm_layout_part_cursor_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10984
10985    /**
10986     * Unsets a cursor previously set with elm_layout_part_cursor_set().
10987     *
10988     * @param obj The layout object.
10989     * @param part_name a part from loaded edje group, that had a cursor set
10990     *        with elm_layout_part_cursor_set().
10991     *
10992     * @ingroup Layout
10993     */
10994    EAPI void               elm_layout_part_cursor_unset(Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10995
10996    /**
10997     * Sets a specific cursor style for an edje part.
10998     *
10999     * @param obj The layout object.
11000     * @param part_name a part from loaded edje group.
11001     * @param style the theme style to use (default, transparent, ...)
11002     *
11003     * @return EINA_TRUE on success or EINA_FALSE on failure, that may be
11004     *         part not exists or it did not had a cursor set.
11005     *
11006     * @ingroup Layout
11007     */
11008    EAPI Eina_Bool          elm_layout_part_cursor_style_set(Evas_Object *obj, const char *part_name, const char *style) EINA_ARG_NONNULL(1, 2);
11009
11010    /**
11011     * Gets a specific cursor style for an edje part.
11012     *
11013     * @param obj The layout object.
11014     * @param part_name a part from loaded edje group.
11015     *
11016     * @return the theme style in use, defaults to "default". If the
11017     *         object does not have a cursor set, then NULL is returned.
11018     *
11019     * @ingroup Layout
11020     */
11021    EAPI const char        *elm_layout_part_cursor_style_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
11022
11023    /**
11024     * Sets if the cursor set should be searched on the theme or should use
11025     * the provided by the engine, only.
11026     *
11027     * @note before you set if should look on theme you should define a
11028     * cursor with elm_layout_part_cursor_set(). By default it will only
11029     * look for cursors provided by the engine.
11030     *
11031     * @param obj The layout object.
11032     * @param part_name a part from loaded edje group.
11033     * @param engine_only if cursors should be just provided by the engine (EINA_TRUE)
11034     *        or should also search on widget's theme as well (EINA_FALSE)
11035     *
11036     * @return EINA_TRUE on success or EINA_FALSE on failure, that may be
11037     *         part not exists or it did not had a cursor set.
11038     *
11039     * @ingroup Layout
11040     */
11041    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);
11042
11043    /**
11044     * Gets a specific cursor engine_only for an edje part.
11045     *
11046     * @param obj The layout object.
11047     * @param part_name a part from loaded edje group.
11048     *
11049     * @return whenever the cursor is just provided by engine or also from theme.
11050     *
11051     * @ingroup Layout
11052     */
11053    EAPI Eina_Bool          elm_layout_part_cursor_engine_only_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
11054
11055 /**
11056  * @def elm_layout_icon_set
11057  * Convenience macro to set the icon object in a layout that follows the
11058  * Elementary naming convention for its parts.
11059  *
11060  * @ingroup Layout
11061  */
11062 #define elm_layout_icon_set(_ly, _obj) \
11063   do { \
11064     const char *sig; \
11065     elm_object_part_content_set((_ly), "elm.swallow.icon", (_obj)); \
11066     if ((_obj)) sig = "elm,state,icon,visible"; \
11067     else sig = "elm,state,icon,hidden"; \
11068     elm_object_signal_emit((_ly), sig, "elm"); \
11069   } while (0)
11070
11071 /**
11072  * @def elm_layout_icon_get
11073  * Convienience macro to get the icon object from a layout that follows the
11074  * Elementary naming convention for its parts.
11075  *
11076  * @ingroup Layout
11077  */
11078 #define elm_layout_icon_get(_ly) \
11079   elm_object_part_content_get((_ly), "elm.swallow.icon")
11080
11081 /**
11082  * @def elm_layout_end_set
11083  * Convienience macro to set the end object in a layout that follows the
11084  * Elementary naming convention for its parts.
11085  *
11086  * @ingroup Layout
11087  */
11088 #define elm_layout_end_set(_ly, _obj) \
11089   do { \
11090     const char *sig; \
11091     elm_object_part_content_set((_ly), "elm.swallow.end", (_obj)); \
11092     if ((_obj)) sig = "elm,state,end,visible"; \
11093     else sig = "elm,state,end,hidden"; \
11094     elm_object_signal_emit((_ly), sig, "elm"); \
11095   } while (0)
11096
11097 /**
11098  * @def elm_layout_end_get
11099  * Convienience macro to get the end object in a layout that follows the
11100  * Elementary naming convention for its parts.
11101  *
11102  * @ingroup Layout
11103  */
11104 #define elm_layout_end_get(_ly) \
11105   elm_object_part_content_get((_ly), "elm.swallow.end")
11106
11107 /**
11108  * @def elm_layout_label_set
11109  * Convienience macro to set the label in a layout that follows the
11110  * Elementary naming convention for its parts.
11111  *
11112  * @ingroup Layout
11113  * @deprecated use elm_object_text_set() instead.
11114  */
11115 #define elm_layout_label_set(_ly, _txt) \
11116   elm_layout_text_set((_ly), "elm.text", (_txt))
11117
11118 /**
11119  * @def elm_layout_label_get
11120  * Convenience macro to get the label in a layout that follows the
11121  * Elementary naming convention for its parts.
11122  *
11123  * @ingroup Layout
11124  * @deprecated use elm_object_text_set() instead.
11125  */
11126 #define elm_layout_label_get(_ly) \
11127   elm_layout_text_get((_ly), "elm.text")
11128
11129    /* smart callbacks called:
11130     * "theme,changed" - when elm theme is changed.
11131     */
11132
11133    /**
11134     * @defgroup Notify Notify
11135     *
11136     * @image html img/widget/notify/preview-00.png
11137     * @image latex img/widget/notify/preview-00.eps
11138     *
11139     * Display a container in a particular region of the parent(top, bottom,
11140     * etc).  A timeout can be set to automatically hide the notify. This is so
11141     * that, after an evas_object_show() on a notify object, if a timeout was set
11142     * on it, it will @b automatically get hidden after that time.
11143     *
11144     * Signals that you can add callbacks for are:
11145     * @li "timeout" - when timeout happens on notify and it's hidden
11146     * @li "block,clicked" - when a click outside of the notify happens
11147     *
11148     * Default contents parts of the notify widget that you can use for are:
11149     * @li "default" - A content of the notify
11150     *
11151     * @ref tutorial_notify show usage of the API.
11152     *
11153     * @{
11154     */
11155
11156    /**
11157     * @brief Possible orient values for notify.
11158     *
11159     * This values should be used in conjunction to elm_notify_orient_set() to
11160     * set the position in which the notify should appear(relative to its parent)
11161     * and in conjunction with elm_notify_orient_get() to know where the notify
11162     * is appearing.
11163     */
11164    typedef enum _Elm_Notify_Orient
11165      {
11166         ELM_NOTIFY_ORIENT_TOP, /**< Notify should appear in the top of parent, default */
11167         ELM_NOTIFY_ORIENT_CENTER, /**< Notify should appear in the center of parent */
11168         ELM_NOTIFY_ORIENT_BOTTOM, /**< Notify should appear in the bottom of parent */
11169         ELM_NOTIFY_ORIENT_LEFT, /**< Notify should appear in the left of parent */
11170         ELM_NOTIFY_ORIENT_RIGHT, /**< Notify should appear in the right of parent */
11171         ELM_NOTIFY_ORIENT_TOP_LEFT, /**< Notify should appear in the top left of parent */
11172         ELM_NOTIFY_ORIENT_TOP_RIGHT, /**< Notify should appear in the top right of parent */
11173         ELM_NOTIFY_ORIENT_BOTTOM_LEFT, /**< Notify should appear in the bottom left of parent */
11174         ELM_NOTIFY_ORIENT_BOTTOM_RIGHT, /**< Notify should appear in the bottom right of parent */
11175         ELM_NOTIFY_ORIENT_LAST /**< Sentinel value, @b don't use */
11176      } Elm_Notify_Orient;
11177
11178    /**
11179     * @brief Add a new notify to the parent
11180     *
11181     * @param parent The parent object
11182     * @return The new object or NULL if it cannot be created
11183     */
11184    EAPI Evas_Object      *elm_notify_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
11185
11186    /**
11187     * @brief Set the content of the notify widget
11188     *
11189     * @param obj The notify object
11190     * @param content The content will be filled in this notify object
11191     *
11192     * Once the content object is set, a previously set one will be deleted. If
11193     * you want to keep that old content object, use the
11194     * elm_notify_content_unset() function.
11195     *
11196     * @deprecated use elm_object_content_set() instead
11197     *
11198     */
11199    EINA_DEPRECATED EAPI void              elm_notify_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
11200
11201    /**
11202     * @brief Unset the content of the notify widget
11203     *
11204     * @param obj The notify object
11205     * @return The content that was being used
11206     *
11207     * Unparent and return the content object which was set for this widget
11208     *
11209     * @see elm_notify_content_set()
11210     * @deprecated use elm_object_content_unset() instead
11211     *
11212     */
11213    EINA_DEPRECATED EAPI Evas_Object      *elm_notify_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
11214
11215    /**
11216     * @brief Return the content of the notify widget
11217     *
11218     * @param obj The notify object
11219     * @return The content that is being used
11220     *
11221     * @see elm_notify_content_set()
11222     * @deprecated use elm_object_content_get() instead
11223     *
11224     */
11225    EINA_DEPRECATED EAPI Evas_Object      *elm_notify_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11226
11227    /**
11228     * @brief Set the notify parent
11229     *
11230     * @param obj The notify object
11231     * @param content The new parent
11232     *
11233     * Once the parent object is set, a previously set one will be disconnected
11234     * and replaced.
11235     */
11236    EAPI void              elm_notify_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
11237
11238    /**
11239     * @brief Get the notify parent
11240     *
11241     * @param obj The notify object
11242     * @return The parent
11243     *
11244     * @see elm_notify_parent_set()
11245     */
11246    EAPI Evas_Object      *elm_notify_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11247
11248    /**
11249     * @brief Set the orientation
11250     *
11251     * @param obj The notify object
11252     * @param orient The new orientation
11253     *
11254     * Sets the position in which the notify will appear in its parent.
11255     *
11256     * @see @ref Elm_Notify_Orient for possible values.
11257     */
11258    EAPI void              elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient) EINA_ARG_NONNULL(1);
11259
11260    /**
11261     * @brief Return the orientation
11262     * @param obj The notify object
11263     * @return The orientation of the notification
11264     *
11265     * @see elm_notify_orient_set()
11266     * @see Elm_Notify_Orient
11267     */
11268    EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11269
11270    /**
11271     * @brief Set the time interval after which the notify window is going to be
11272     * hidden.
11273     *
11274     * @param obj The notify object
11275     * @param time The timeout in seconds
11276     *
11277     * This function sets a timeout and starts the timer controlling when the
11278     * notify is hidden. Since calling evas_object_show() on a notify restarts
11279     * the timer controlling when the notify is hidden, setting this before the
11280     * notify is shown will in effect mean starting the timer when the notify is
11281     * shown.
11282     *
11283     * @note Set a value <= 0.0 to disable a running timer.
11284     *
11285     * @note If the value > 0.0 and the notify is previously visible, the
11286     * timer will be started with this value, canceling any running timer.
11287     */
11288    EAPI void              elm_notify_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
11289
11290    /**
11291     * @brief Return the timeout value (in seconds)
11292     * @param obj the notify object
11293     *
11294     * @see elm_notify_timeout_set()
11295     */
11296    EAPI double            elm_notify_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11297
11298    /**
11299     * @brief Sets whether events should be passed to by a click outside
11300     * its area.
11301     *
11302     * @param obj The notify object
11303     * @param repeats EINA_TRUE Events are repeats, else no
11304     *
11305     * When true if the user clicks outside the window the events will be caught
11306     * by the others widgets, else the events are blocked.
11307     *
11308     * @note The default value is EINA_TRUE.
11309     */
11310    EAPI void              elm_notify_repeat_events_set(Evas_Object *obj, Eina_Bool repeat) EINA_ARG_NONNULL(1);
11311
11312    /**
11313     * @brief Return true if events are repeat below the notify object
11314     * @param obj the notify object
11315     *
11316     * @see elm_notify_repeat_events_set()
11317     */
11318    EAPI Eina_Bool         elm_notify_repeat_events_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11319
11320    /**
11321     * @}
11322     */
11323
11324    /**
11325     * @defgroup Hover Hover
11326     *
11327     * @image html img/widget/hover/preview-00.png
11328     * @image latex img/widget/hover/preview-00.eps
11329     *
11330     * A Hover object will hover over its @p parent object at the @p target
11331     * location. Anything in the background will be given a darker coloring to
11332     * indicate that the hover object is on top (at the default theme). When the
11333     * hover is clicked it is dismissed(hidden), if the contents of the hover are
11334     * clicked that @b doesn't cause the hover to be dismissed.
11335     *
11336     * A Hover object has two parents. One parent that owns it during creation
11337     * and the other parent being the one over which the hover object spans.
11338     *
11339     *
11340     * @note The hover object will take up the entire space of @p target
11341     * object.
11342     *
11343     * Elementary has the following styles for the hover widget:
11344     * @li default
11345     * @li popout
11346     * @li menu
11347     * @li hoversel_vertical
11348     *
11349     * The following are the available position for content:
11350     * @li left
11351     * @li top-left
11352     * @li top
11353     * @li top-right
11354     * @li right
11355     * @li bottom-right
11356     * @li bottom
11357     * @li bottom-left
11358     * @li middle
11359     * @li smart
11360     *
11361     * Signals that you can add callbacks for are:
11362     * @li "clicked" - the user clicked the empty space in the hover to dismiss
11363     * @li "smart,changed" - a content object placed under the "smart"
11364     *                   policy was replaced to a new slot direction.
11365     *
11366     * See @ref tutorial_hover for more information.
11367     *
11368     * @{
11369     */
11370    typedef enum _Elm_Hover_Axis
11371      {
11372         ELM_HOVER_AXIS_NONE, /**< ELM_HOVER_AXIS_NONE -- no prefered orientation */
11373         ELM_HOVER_AXIS_HORIZONTAL, /**< ELM_HOVER_AXIS_HORIZONTAL -- horizontal */
11374         ELM_HOVER_AXIS_VERTICAL, /**< ELM_HOVER_AXIS_VERTICAL -- vertical */
11375         ELM_HOVER_AXIS_BOTH /**< ELM_HOVER_AXIS_BOTH -- both */
11376      } Elm_Hover_Axis;
11377
11378    /**
11379     * @brief Adds a hover object to @p parent
11380     *
11381     * @param parent The parent object
11382     * @return The hover object or NULL if one could not be created
11383     */
11384    EAPI Evas_Object *elm_hover_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
11385
11386    /**
11387     * @brief Sets the target object for the hover.
11388     *
11389     * @param obj The hover object
11390     * @param target The object to center the hover onto.
11391     *
11392     * This function will cause the hover to be centered on the target object.
11393     */
11394    EAPI void         elm_hover_target_set(Evas_Object *obj, Evas_Object *target) EINA_ARG_NONNULL(1);
11395
11396    /**
11397     * @brief Gets the target object for the hover.
11398     *
11399     * @param obj The hover object
11400     * @return The target object for the hover.
11401     *
11402     * @see elm_hover_target_set()
11403     */
11404    EAPI Evas_Object *elm_hover_target_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11405
11406    /**
11407     * @brief Sets the parent object for the hover.
11408     *
11409     * @param obj The hover object
11410     * @param parent The object to locate the hover over.
11411     *
11412     * This function will cause the hover to take up the entire space that the
11413     * parent object fills.
11414     */
11415    EAPI void         elm_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
11416
11417    /**
11418     * @brief Gets the parent object for the hover.
11419     *
11420     * @param obj The hover object
11421     * @return The parent object to locate the hover over.
11422     *
11423     * @see elm_hover_parent_set()
11424     */
11425    EAPI Evas_Object *elm_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11426
11427    /**
11428     * @brief Sets the content of the hover object and the direction in which it
11429     * will pop out.
11430     *
11431     * @param obj The hover object
11432     * @param swallow The direction that the object will be displayed
11433     * at. Accepted values are "left", "top-left", "top", "top-right",
11434     * "right", "bottom-right", "bottom", "bottom-left", "middle" and
11435     * "smart".
11436     * @param content The content to place at @p swallow
11437     *
11438     * Once the content object is set for a given direction, a previously
11439     * set one (on the same direction) will be deleted. If you want to
11440     * keep that old content object, use the elm_hover_content_unset()
11441     * function.
11442     *
11443     * All directions may have contents at the same time, except for
11444     * "smart". This is a special placement hint and its use case
11445     * independs of the calculations coming from
11446     * elm_hover_best_content_location_get(). Its use is for cases when
11447     * one desires only one hover content, but with a dynamic special
11448     * placement within the hover area. The content's geometry, whenever
11449     * it changes, will be used to decide on a best location, not
11450     * extrapolating the hover's parent object view to show it in (still
11451     * being the hover's target determinant of its medium part -- move and
11452     * resize it to simulate finger sizes, for example). If one of the
11453     * directions other than "smart" are used, a previously content set
11454     * using it will be deleted, and vice-versa.
11455     */
11456    EAPI void         elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content) EINA_ARG_NONNULL(1);
11457
11458    /**
11459     * @brief Get the content of the hover object, in a given direction.
11460     *
11461     * Return the content object which was set for this widget in the
11462     * @p swallow direction.
11463     *
11464     * @param obj The hover object
11465     * @param swallow The direction that the object was display at.
11466     * @return The content that was being used
11467     *
11468     * @see elm_hover_content_set()
11469     */
11470    EAPI Evas_Object *elm_hover_content_get(const Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
11471
11472    /**
11473     * @brief Unset the content of the hover object, in a given direction.
11474     *
11475     * Unparent and return the content object set at @p swallow direction.
11476     *
11477     * @param obj The hover object
11478     * @param swallow The direction that the object was display at.
11479     * @return The content that was being used.
11480     *
11481     * @see elm_hover_content_set()
11482     */
11483    EAPI Evas_Object *elm_hover_content_unset(Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
11484
11485    /**
11486     * @brief Returns the best swallow location for content in the hover.
11487     *
11488     * @param obj The hover object
11489     * @param pref_axis The preferred orientation axis for the hover object to use
11490     * @return The edje location to place content into the hover or @c
11491     *         NULL, on errors.
11492     *
11493     * Best is defined here as the location at which there is the most available
11494     * space.
11495     *
11496     * @p pref_axis may be one of
11497     * - @c ELM_HOVER_AXIS_NONE -- no prefered orientation
11498     * - @c ELM_HOVER_AXIS_HORIZONTAL -- horizontal
11499     * - @c ELM_HOVER_AXIS_VERTICAL -- vertical
11500     * - @c ELM_HOVER_AXIS_BOTH -- both
11501     *
11502     * If ELM_HOVER_AXIS_HORIZONTAL is choosen the returned position will
11503     * nescessarily be along the horizontal axis("left" or "right"). If
11504     * ELM_HOVER_AXIS_VERTICAL is choosen the returned position will nescessarily
11505     * be along the vertical axis("top" or "bottom"). Chossing
11506     * ELM_HOVER_AXIS_BOTH or ELM_HOVER_AXIS_NONE has the same effect and the
11507     * returned position may be in either axis.
11508     *
11509     * @see elm_hover_content_set()
11510     */
11511    EAPI const char  *elm_hover_best_content_location_get(const Evas_Object *obj, Elm_Hover_Axis pref_axis) EINA_ARG_NONNULL(1);
11512
11513    /**
11514     * @}
11515     */
11516
11517    /* entry */
11518    /**
11519     * @defgroup Entry Entry
11520     *
11521     * @image html img/widget/entry/preview-00.png
11522     * @image latex img/widget/entry/preview-00.eps width=\textwidth
11523     * @image html img/widget/entry/preview-01.png
11524     * @image latex img/widget/entry/preview-01.eps width=\textwidth
11525     * @image html img/widget/entry/preview-02.png
11526     * @image latex img/widget/entry/preview-02.eps width=\textwidth
11527     * @image html img/widget/entry/preview-03.png
11528     * @image latex img/widget/entry/preview-03.eps width=\textwidth
11529     *
11530     * An entry is a convenience widget which shows a box that the user can
11531     * enter text into. Entries by default don't scroll, so they grow to
11532     * accomodate the entire text, resizing the parent window as needed. This
11533     * can be changed with the elm_entry_scrollable_set() function.
11534     *
11535     * They can also be single line or multi line (the default) and when set
11536     * to multi line mode they support text wrapping in any of the modes
11537     * indicated by #Elm_Wrap_Type.
11538     *
11539     * Other features include password mode, filtering of inserted text with
11540     * elm_entry_text_filter_append() and related functions, inline "items" and
11541     * formatted markup text.
11542     *
11543     * @section entry-markup Formatted text
11544     *
11545     * The markup tags supported by the Entry are defined by the theme, but
11546     * even when writing new themes or extensions it's a good idea to stick to
11547     * a sane default, to maintain coherency and avoid application breakages.
11548     * Currently defined by the default theme are the following tags:
11549     * @li \<br\>: Inserts a line break.
11550     * @li \<ps\>: Inserts a paragraph separator. This is preferred over line
11551     * breaks.
11552     * @li \<tab\>: Inserts a tab.
11553     * @li \<em\>...\</em\>: Emphasis. Sets the @em oblique style for the
11554     * enclosed text.
11555     * @li \<b\>...\</b\>: Sets the @b bold style for the enclosed text.
11556     * @li \<link\>...\</link\>: Underlines the enclosed text.
11557     * @li \<hilight\>...\</hilight\>: Hilights the enclosed text.
11558     *
11559     * @section entry-special Special markups
11560     *
11561     * Besides those used to format text, entries support two special markup
11562     * tags used to insert clickable portions of text or items inlined within
11563     * the text.
11564     *
11565     * @subsection entry-anchors Anchors
11566     *
11567     * Anchors are similar to HTML anchors. Text can be surrounded by \<a\> and
11568     * \</a\> tags and an event will be generated when this text is clicked,
11569     * like this:
11570     *
11571     * @code
11572     * This text is outside <a href=anc-01>but this one is an anchor</a>
11573     * @endcode
11574     *
11575     * The @c href attribute in the opening tag gives the name that will be
11576     * used to identify the anchor and it can be any valid utf8 string.
11577     *
11578     * When an anchor is clicked, an @c "anchor,clicked" signal is emitted with
11579     * an #Elm_Entry_Anchor_Info in the @c event_info parameter for the
11580     * callback function. The same applies for "anchor,in" (mouse in), "anchor,out"
11581     * (mouse out), "anchor,down" (mouse down), and "anchor,up" (mouse up) events on
11582     * an anchor.
11583     *
11584     * @subsection entry-items Items
11585     *
11586     * Inlined in the text, any other @c Evas_Object can be inserted by using
11587     * \<item\> tags this way:
11588     *
11589     * @code
11590     * <item size=16x16 vsize=full href=emoticon/haha></item>
11591     * @endcode
11592     *
11593     * Just like with anchors, the @c href identifies each item, but these need,
11594     * in addition, to indicate their size, which is done using any one of
11595     * @c size, @c absize or @c relsize attributes. These attributes take their
11596     * value in the WxH format, where W is the width and H the height of the
11597     * item.
11598     *
11599     * @li absize: Absolute pixel size for the item. Whatever value is set will
11600     * be the item's size regardless of any scale value the object may have
11601     * been set to. The final line height will be adjusted to fit larger items.
11602     * @li size: Similar to @c absize, but it's adjusted to the scale value set
11603     * for the object.
11604     * @li relsize: Size is adjusted for the item to fit within the current
11605     * line height.
11606     *
11607     * Besides their size, items are specificed a @c vsize value that affects
11608     * how their final size and position are calculated. The possible values
11609     * are:
11610     * @li ascent: Item will be placed within the line's baseline and its
11611     * ascent. That is, the height between the line where all characters are
11612     * positioned and the highest point in the line. For @c size and @c absize
11613     * items, the descent value will be added to the total line height to make
11614     * them fit. @c relsize items will be adjusted to fit within this space.
11615     * @li full: Items will be placed between the descent and ascent, or the
11616     * lowest point in the line and its highest.
11617     *
11618     * The next image shows different configurations of items and how
11619     * the previously mentioned options affect their sizes. In all cases,
11620     * the green line indicates the ascent, blue for the baseline and red for
11621     * the descent.
11622     *
11623     * @image html entry_item.png
11624     * @image latex entry_item.eps width=\textwidth
11625     *
11626     * And another one to show how size differs from absize. In the first one,
11627     * the scale value is set to 1.0, while the second one is using one of 2.0.
11628     *
11629     * @image html entry_item_scale.png
11630     * @image latex entry_item_scale.eps width=\textwidth
11631     *
11632     * After the size for an item is calculated, the entry will request an
11633     * object to place in its space. For this, the functions set with
11634     * elm_entry_item_provider_append() and related functions will be called
11635     * in order until one of them returns a @c non-NULL value. If no providers
11636     * are available, or all of them return @c NULL, then the entry falls back
11637     * to one of the internal defaults, provided the name matches with one of
11638     * them.
11639     *
11640     * All of the following are currently supported:
11641     *
11642     * - emoticon/angry
11643     * - emoticon/angry-shout
11644     * - emoticon/crazy-laugh
11645     * - emoticon/evil-laugh
11646     * - emoticon/evil
11647     * - emoticon/goggle-smile
11648     * - emoticon/grumpy
11649     * - emoticon/grumpy-smile
11650     * - emoticon/guilty
11651     * - emoticon/guilty-smile
11652     * - emoticon/haha
11653     * - emoticon/half-smile
11654     * - emoticon/happy-panting
11655     * - emoticon/happy
11656     * - emoticon/indifferent
11657     * - emoticon/kiss
11658     * - emoticon/knowing-grin
11659     * - emoticon/laugh
11660     * - emoticon/little-bit-sorry
11661     * - emoticon/love-lots
11662     * - emoticon/love
11663     * - emoticon/minimal-smile
11664     * - emoticon/not-happy
11665     * - emoticon/not-impressed
11666     * - emoticon/omg
11667     * - emoticon/opensmile
11668     * - emoticon/smile
11669     * - emoticon/sorry
11670     * - emoticon/squint-laugh
11671     * - emoticon/surprised
11672     * - emoticon/suspicious
11673     * - emoticon/tongue-dangling
11674     * - emoticon/tongue-poke
11675     * - emoticon/uh
11676     * - emoticon/unhappy
11677     * - emoticon/very-sorry
11678     * - emoticon/what
11679     * - emoticon/wink
11680     * - emoticon/worried
11681     * - emoticon/wtf
11682     *
11683     * Alternatively, an item may reference an image by its path, using
11684     * the URI form @c file:///path/to/an/image.png and the entry will then
11685     * use that image for the item.
11686     *
11687     * @section entry-files Loading and saving files
11688     *
11689     * Entries have convinience functions to load text from a file and save
11690     * changes back to it after a short delay. The automatic saving is enabled
11691     * by default, but can be disabled with elm_entry_autosave_set() and files
11692     * can be loaded directly as plain text or have any markup in them
11693     * recognized. See elm_entry_file_set() for more details.
11694     *
11695     * @section entry-signals Emitted signals
11696     *
11697     * This widget emits the following signals:
11698     *
11699     * @li "changed": The text within the entry was changed.
11700     * @li "changed,user": The text within the entry was changed because of user interaction.
11701     * @li "activated": The enter key was pressed on a single line entry.
11702     * @li "press": A mouse button has been pressed on the entry.
11703     * @li "longpressed": A mouse button has been pressed and held for a couple
11704     * seconds.
11705     * @li "clicked": The entry has been clicked (mouse press and release).
11706     * @li "clicked,double": The entry has been double clicked.
11707     * @li "clicked,triple": The entry has been triple clicked.
11708     * @li "focused": The entry has received focus.
11709     * @li "unfocused": The entry has lost focus.
11710     * @li "selection,paste": A paste of the clipboard contents was requested.
11711     * @li "selection,copy": A copy of the selected text into the clipboard was
11712     * requested.
11713     * @li "selection,cut": A cut of the selected text into the clipboard was
11714     * requested.
11715     * @li "selection,start": A selection has begun and no previous selection
11716     * existed.
11717     * @li "selection,changed": The current selection has changed.
11718     * @li "selection,cleared": The current selection has been cleared.
11719     * @li "cursor,changed": The cursor has changed position.
11720     * @li "anchor,clicked": An anchor has been clicked. The event_info
11721     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
11722     * @li "anchor,in": Mouse cursor has moved into an anchor. The event_info
11723     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
11724     * @li "anchor,out": Mouse cursor has moved out of an anchor. The event_info
11725     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
11726     * @li "anchor,up": Mouse button has been unpressed on an anchor. The event_info
11727     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
11728     * @li "anchor,down": Mouse button has been pressed on an anchor. The event_info
11729     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
11730     * @li "preedit,changed": The preedit string has changed.
11731     * @li "language,changed": Program language changed.
11732     *
11733     * @section entry-examples
11734     *
11735     * An overview of the Entry API can be seen in @ref entry_example_01
11736     *
11737     * @{
11738     */
11739
11740    /**
11741     * @typedef Elm_Entry_Anchor_Info
11742     *
11743     * The info sent in the callback for the "anchor,clicked" signals emitted
11744     * by entries.
11745     */
11746    typedef struct _Elm_Entry_Anchor_Info Elm_Entry_Anchor_Info;
11747
11748    /**
11749     * @struct _Elm_Entry_Anchor_Info
11750     *
11751     * The info sent in the callback for the "anchor,clicked" signals emitted
11752     * by entries.
11753     */
11754    struct _Elm_Entry_Anchor_Info
11755      {
11756         const char *name; /**< The name of the anchor, as stated in its href */
11757         int         button; /**< The mouse button used to click on it */
11758         Evas_Coord  x, /**< Anchor geometry, relative to canvas */
11759                     y, /**< Anchor geometry, relative to canvas */
11760                     w, /**< Anchor geometry, relative to canvas */
11761                     h; /**< Anchor geometry, relative to canvas */
11762      };
11763
11764    /**
11765     * @typedef Elm_Entry_Filter_Cb
11766     * This callback type is used by entry filters to modify text.
11767     * @param data The data specified as the last param when adding the filter
11768     * @param entry The entry object
11769     * @param text A pointer to the location of the text being filtered. This data can be modified,
11770     * but any additional allocations must be managed by the user.
11771     * @see elm_entry_text_filter_append
11772     * @see elm_entry_text_filter_prepend
11773     */
11774    typedef void (*Elm_Entry_Filter_Cb)(void *data, Evas_Object *entry, char **text);
11775
11776    /**
11777     * @typedef Elm_Entry_Change_Info
11778     * This corresponds to Edje_Entry_Change_Info. Includes information about
11779     * a change in the entry.
11780     */
11781    typedef Edje_Entry_Change_Info Elm_Entry_Change_Info;
11782
11783
11784    /**
11785     * This adds an entry to @p parent object.
11786     *
11787     * By default, entries are:
11788     * @li not scrolled
11789     * @li multi-line
11790     * @li word wrapped
11791     * @li autosave is enabled
11792     *
11793     * @param parent The parent object
11794     * @return The new object or NULL if it cannot be created
11795     */
11796    EAPI Evas_Object *elm_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
11797
11798    /**
11799     * Sets the entry to single line mode.
11800     *
11801     * In single line mode, entries don't ever wrap when the text reaches the
11802     * edge, and instead they keep growing horizontally. Pressing the @c Enter
11803     * key will generate an @c "activate" event instead of adding a new line.
11804     *
11805     * When @p single_line is @c EINA_FALSE, line wrapping takes effect again
11806     * and pressing enter will break the text into a different line
11807     * without generating any events.
11808     *
11809     * @param obj The entry object
11810     * @param single_line If true, the text in the entry
11811     * will be on a single line.
11812     */
11813    EAPI void         elm_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line) EINA_ARG_NONNULL(1);
11814
11815    /**
11816     * Gets whether the entry is set to be single line.
11817     *
11818     * @param obj The entry object
11819     * @return single_line If true, the text in the entry is set to display
11820     * on a single line.
11821     *
11822     * @see elm_entry_single_line_set()
11823     */
11824    EAPI Eina_Bool    elm_entry_single_line_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11825
11826    /**
11827     * Sets the entry to password mode.
11828     *
11829     * In password mode, entries are implicitly single line and the display of
11830     * any text in them is replaced with asterisks (*).
11831     *
11832     * @param obj The entry object
11833     * @param password If true, password mode is enabled.
11834     */
11835    EAPI void         elm_entry_password_set(Evas_Object *obj, Eina_Bool password) EINA_ARG_NONNULL(1);
11836
11837    /**
11838     * Gets whether the entry is set to password mode.
11839     *
11840     * @param obj The entry object
11841     * @return If true, the entry is set to display all characters
11842     * as asterisks (*).
11843     *
11844     * @see elm_entry_password_set()
11845     */
11846    EAPI Eina_Bool    elm_entry_password_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11847
11848    /**
11849     * This sets the text displayed within the entry to @p entry.
11850     *
11851     * @param obj The entry object
11852     * @param entry The text to be displayed
11853     *
11854     * @deprecated Use elm_object_text_set() instead.
11855     * @note Using this function bypasses text filters
11856     */
11857    EAPI void         elm_entry_entry_set(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
11858
11859    /**
11860     * This returns the text currently shown in object @p entry.
11861     * See also elm_entry_entry_set().
11862     *
11863     * @param obj The entry object
11864     * @return The currently displayed text or NULL on failure
11865     *
11866     * @deprecated Use elm_object_text_get() instead.
11867     */
11868    EAPI const char  *elm_entry_entry_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11869
11870    /**
11871     * Appends @p entry to the text of the entry.
11872     *
11873     * Adds the text in @p entry to the end of any text already present in the
11874     * widget.
11875     *
11876     * The appended text is subject to any filters set for the widget.
11877     *
11878     * @param obj The entry object
11879     * @param entry The text to be displayed
11880     *
11881     * @see elm_entry_text_filter_append()
11882     */
11883    EAPI void         elm_entry_entry_append(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
11884
11885    /**
11886     * Gets whether the entry is empty.
11887     *
11888     * Empty means no text at all. If there are any markup tags, like an item
11889     * tag for which no provider finds anything, and no text is displayed, this
11890     * function still returns EINA_FALSE.
11891     *
11892     * @param obj The entry object
11893     * @return EINA_TRUE if the entry is empty, EINA_FALSE otherwise.
11894     */
11895    EAPI Eina_Bool    elm_entry_is_empty(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11896
11897    /**
11898     * Gets any selected text within the entry.
11899     *
11900     * If there's any selected text in the entry, this function returns it as
11901     * a string in markup format. NULL is returned if no selection exists or
11902     * if an error occurred.
11903     *
11904     * The returned value points to an internal string and should not be freed
11905     * or modified in any way. If the @p entry object is deleted or its
11906     * contents are changed, the returned pointer should be considered invalid.
11907     *
11908     * @param obj The entry object
11909     * @return The selected text within the entry or NULL on failure
11910     */
11911    EAPI const char  *elm_entry_selection_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11912
11913    /**
11914     * Returns the actual textblock object of the entry.
11915     *
11916     * This function exposes the internal textblock object that actually
11917     * contains and draws the text. This should be used for low-level
11918     * manipulations that are otherwise not possible.
11919     *
11920     * Changing the textblock directly from here will not notify edje/elm to
11921     * recalculate the textblock size automatically, so any modifications
11922     * done to the textblock returned by this function should be followed by
11923     * a call to elm_entry_calc_force().
11924     *
11925     * The return value is marked as const as an additional warning.
11926     * One should not use the returned object with any of the generic evas
11927     * functions (geometry_get/resize/move and etc), but only with the textblock
11928     * functions; The former will either not work at all, or break the correct
11929     * functionality.
11930     *
11931     * IMPORTANT: Many functions may change (i.e delete and create a new one)
11932     * the internal textblock object. Do NOT cache the returned object, and try
11933     * not to mix calls on this object with regular elm_entry calls (which may
11934     * change the internal textblock object). This applies to all cursors
11935     * returned from textblock calls, and all the other derivative values.
11936     *
11937     * @param obj The entry object
11938     * @return The textblock object.
11939     */
11940    EAPI const Evas_Object *elm_entry_textblock_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11941
11942    /**
11943     * Forces calculation of the entry size and text layouting.
11944     *
11945     * This should be used after modifying the textblock object directly. See
11946     * elm_entry_textblock_get() for more information.
11947     *
11948     * @param obj The entry object
11949     *
11950     * @see elm_entry_textblock_get()
11951     */
11952    EAPI void elm_entry_calc_force(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11953
11954    /**
11955     * Inserts the given text into the entry at the current cursor position.
11956     *
11957     * This inserts text at the cursor position as if it was typed
11958     * by the user (note that this also allows markup which a user
11959     * can't just "type" as it would be converted to escaped text, so this
11960     * call can be used to insert things like emoticon items or bold push/pop
11961     * tags, other font and color change tags etc.)
11962     *
11963     * If any selection exists, it will be replaced by the inserted text.
11964     *
11965     * The inserted text is subject to any filters set for the widget.
11966     *
11967     * @param obj The entry object
11968     * @param entry The text to insert
11969     *
11970     * @see elm_entry_text_filter_append()
11971     */
11972    EAPI void         elm_entry_entry_insert(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
11973
11974    /**
11975     * Set the line wrap type to use on multi-line entries.
11976     *
11977     * Sets the wrap type used by the entry to any of the specified in
11978     * #Elm_Wrap_Type. This tells how the text will be implicitly cut into a new
11979     * line (without inserting a line break or paragraph separator) when it
11980     * reaches the far edge of the widget.
11981     *
11982     * Note that this only makes sense for multi-line entries. A widget set
11983     * to be single line will never wrap.
11984     *
11985     * @param obj The entry object
11986     * @param wrap The wrap mode to use. See #Elm_Wrap_Type for details on them
11987     */
11988    EAPI void         elm_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
11989
11990    /**
11991     * Gets the wrap mode the entry was set to use.
11992     *
11993     * @param obj The entry object
11994     * @return Wrap type
11995     *
11996     * @see also elm_entry_line_wrap_set()
11997     */
11998    EAPI Elm_Wrap_Type elm_entry_line_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11999
12000    /**
12001     * Sets if the entry is to be editable or not.
12002     *
12003     * By default, entries are editable and when focused, any text input by the
12004     * user will be inserted at the current cursor position. But calling this
12005     * function with @p editable as EINA_FALSE will prevent the user from
12006     * inputting text into the entry.
12007     *
12008     * The only way to change the text of a non-editable entry is to use
12009     * elm_object_text_set(), elm_entry_entry_insert() and other related
12010     * functions.
12011     *
12012     * @param obj The entry object
12013     * @param editable If EINA_TRUE, user input will be inserted in the entry,
12014     * if not, the entry is read-only and no user input is allowed.
12015     */
12016    EAPI void         elm_entry_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
12017
12018    /**
12019     * Gets whether the entry is editable or not.
12020     *
12021     * @param obj The entry object
12022     * @return If true, the entry is editable by the user.
12023     * If false, it is not editable by the user
12024     *
12025     * @see elm_entry_editable_set()
12026     */
12027    EAPI Eina_Bool    elm_entry_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12028
12029    /**
12030     * This drops any existing text selection within the entry.
12031     *
12032     * @param obj The entry object
12033     */
12034    EAPI void         elm_entry_select_none(Evas_Object *obj) EINA_ARG_NONNULL(1);
12035
12036    /**
12037     * This selects all text within the entry.
12038     *
12039     * @param obj The entry object
12040     */
12041    EAPI void         elm_entry_select_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
12042
12043    /**
12044     * This moves the cursor one place to the right within the entry.
12045     *
12046     * @param obj The entry object
12047     * @return EINA_TRUE upon success, EINA_FALSE upon failure
12048     */
12049    EAPI Eina_Bool    elm_entry_cursor_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
12050
12051    /**
12052     * This moves the cursor one place to the left within the entry.
12053     *
12054     * @param obj The entry object
12055     * @return EINA_TRUE upon success, EINA_FALSE upon failure
12056     */
12057    EAPI Eina_Bool    elm_entry_cursor_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
12058
12059    /**
12060     * This moves the cursor one line up within the entry.
12061     *
12062     * @param obj The entry object
12063     * @return EINA_TRUE upon success, EINA_FALSE upon failure
12064     */
12065    EAPI Eina_Bool    elm_entry_cursor_up(Evas_Object *obj) EINA_ARG_NONNULL(1);
12066
12067    /**
12068     * This moves the cursor one line down within the entry.
12069     *
12070     * @param obj The entry object
12071     * @return EINA_TRUE upon success, EINA_FALSE upon failure
12072     */
12073    EAPI Eina_Bool    elm_entry_cursor_down(Evas_Object *obj) EINA_ARG_NONNULL(1);
12074
12075    /**
12076     * This moves the cursor to the beginning of the entry.
12077     *
12078     * @param obj The entry object
12079     */
12080    EAPI void         elm_entry_cursor_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
12081
12082    /**
12083     * This moves the cursor to the end of the entry.
12084     *
12085     * @param obj The entry object
12086     */
12087    EAPI void         elm_entry_cursor_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
12088
12089    /**
12090     * This moves the cursor to the beginning of the current line.
12091     *
12092     * @param obj The entry object
12093     */
12094    EAPI void         elm_entry_cursor_line_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
12095
12096    /**
12097     * This moves the cursor to the end of the current line.
12098     *
12099     * @param obj The entry object
12100     */
12101    EAPI void         elm_entry_cursor_line_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
12102
12103    /**
12104     * This begins a selection within the entry as though
12105     * the user were holding down the mouse button to make a selection.
12106     *
12107     * @param obj The entry object
12108     */
12109    EAPI void         elm_entry_cursor_selection_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
12110
12111    /**
12112     * This ends a selection within the entry as though
12113     * the user had just released the mouse button while making a selection.
12114     *
12115     * @param obj The entry object
12116     */
12117    EAPI void         elm_entry_cursor_selection_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
12118
12119    /**
12120     * Gets whether a format node exists at the current cursor position.
12121     *
12122     * A format node is anything that defines how the text is rendered. It can
12123     * be a visible format node, such as a line break or a paragraph separator,
12124     * or an invisible one, such as bold begin or end tag.
12125     * This function returns whether any format node exists at the current
12126     * cursor position.
12127     *
12128     * @param obj The entry object
12129     * @return EINA_TRUE if the current cursor position contains a format node,
12130     * EINA_FALSE otherwise.
12131     *
12132     * @see elm_entry_cursor_is_visible_format_get()
12133     */
12134    EAPI Eina_Bool    elm_entry_cursor_is_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12135
12136    /**
12137     * Gets if the current cursor position holds a visible format node.
12138     *
12139     * @param obj The entry object
12140     * @return EINA_TRUE if the current cursor is a visible format, EINA_FALSE
12141     * if it's an invisible one or no format exists.
12142     *
12143     * @see elm_entry_cursor_is_format_get()
12144     */
12145    EAPI Eina_Bool    elm_entry_cursor_is_visible_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12146
12147    /**
12148     * Gets the character pointed by the cursor at its current position.
12149     *
12150     * This function returns a string with the utf8 character stored at the
12151     * current cursor position.
12152     * Only the text is returned, any format that may exist will not be part
12153     * of the return value.
12154     *
12155     * @param obj The entry object
12156     * @return The text pointed by the cursors.
12157     */
12158    EAPI const char  *elm_entry_cursor_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12159
12160    /**
12161     * This function returns the geometry of the cursor.
12162     *
12163     * It's useful if you want to draw something on the cursor (or where it is),
12164     * or for example in the case of scrolled entry where you want to show the
12165     * cursor.
12166     *
12167     * @param obj The entry object
12168     * @param x returned geometry
12169     * @param y returned geometry
12170     * @param w returned geometry
12171     * @param h returned geometry
12172     * @return EINA_TRUE upon success, EINA_FALSE upon failure
12173     */
12174    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);
12175
12176    /**
12177     * Sets the cursor position in the entry to the given value
12178     *
12179     * The value in @p pos is the index of the character position within the
12180     * contents of the string as returned by elm_entry_cursor_pos_get().
12181     *
12182     * @param obj The entry object
12183     * @param pos The position of the cursor
12184     */
12185    EAPI void         elm_entry_cursor_pos_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
12186
12187    /**
12188     * Retrieves the current position of the cursor in the entry
12189     *
12190     * @param obj The entry object
12191     * @return The cursor position
12192     */
12193    EAPI int          elm_entry_cursor_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12194
12195    /**
12196     * This executes a "cut" action on the selected text in the entry.
12197     *
12198     * @param obj The entry object
12199     */
12200    EAPI void         elm_entry_selection_cut(Evas_Object *obj) EINA_ARG_NONNULL(1);
12201
12202    /**
12203     * This executes a "copy" action on the selected text in the entry.
12204     *
12205     * @param obj The entry object
12206     */
12207    EAPI void         elm_entry_selection_copy(Evas_Object *obj) EINA_ARG_NONNULL(1);
12208
12209    /**
12210     * This executes a "paste" action in the entry.
12211     *
12212     * @param obj The entry object
12213     */
12214    EAPI void         elm_entry_selection_paste(Evas_Object *obj) EINA_ARG_NONNULL(1);
12215
12216    /**
12217     * This clears and frees the items in a entry's contextual (longpress)
12218     * menu.
12219     *
12220     * @param obj The entry object
12221     *
12222     * @see elm_entry_context_menu_item_add()
12223     */
12224    EAPI void         elm_entry_context_menu_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
12225
12226    /**
12227     * This adds an item to the entry's contextual menu.
12228     *
12229     * A longpress on an entry will make the contextual menu show up, if this
12230     * hasn't been disabled with elm_entry_context_menu_disabled_set().
12231     * By default, this menu provides a few options like enabling selection mode,
12232     * which is useful on embedded devices that need to be explicit about it,
12233     * and when a selection exists it also shows the copy and cut actions.
12234     *
12235     * With this function, developers can add other options to this menu to
12236     * perform any action they deem necessary.
12237     *
12238     * @param obj The entry object
12239     * @param label The item's text label
12240     * @param icon_file The item's icon file
12241     * @param icon_type The item's icon type
12242     * @param func The callback to execute when the item is clicked
12243     * @param data The data to associate with the item for related functions
12244     */
12245    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);
12246
12247    /**
12248     * This disables the entry's contextual (longpress) menu.
12249     *
12250     * @param obj The entry object
12251     * @param disabled If true, the menu is disabled
12252     */
12253    EAPI void         elm_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
12254
12255    /**
12256     * This returns whether the entry's contextual (longpress) menu is
12257     * disabled.
12258     *
12259     * @param obj The entry object
12260     * @return If true, the menu is disabled
12261     */
12262    EAPI Eina_Bool    elm_entry_context_menu_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12263
12264    /**
12265     * This appends a custom item provider to the list for that entry
12266     *
12267     * This appends the given callback. The list is walked from beginning to end
12268     * with each function called given the item href string in the text. If the
12269     * function returns an object handle other than NULL (it should create an
12270     * object to do this), then this object is used to replace that item. If
12271     * not the next provider is called until one provides an item object, or the
12272     * default provider in entry does.
12273     *
12274     * @param obj The entry object
12275     * @param func The function called to provide the item object
12276     * @param data The data passed to @p func
12277     *
12278     * @see @ref entry-items
12279     */
12280    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);
12281
12282    /**
12283     * This prepends a custom item provider to the list for that entry
12284     *
12285     * This prepends the given callback. See elm_entry_item_provider_append() for
12286     * more information
12287     *
12288     * @param obj The entry object
12289     * @param func The function called to provide the item object
12290     * @param data The data passed to @p func
12291     */
12292    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);
12293
12294    /**
12295     * This removes a custom item provider to the list for that entry
12296     *
12297     * This removes the given callback. See elm_entry_item_provider_append() for
12298     * more information
12299     *
12300     * @param obj The entry object
12301     * @param func The function called to provide the item object
12302     * @param data The data passed to @p func
12303     */
12304    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);
12305
12306    /**
12307     * Append a filter function for text inserted in the entry
12308     *
12309     * Append the given callback to the list. This functions will be called
12310     * whenever any text is inserted into the entry, with the text to be inserted
12311     * as a parameter. The callback function is free to alter the text in any way
12312     * it wants, but it must remember to free the given pointer and update it.
12313     * If the new text is to be discarded, the function can free it and set its
12314     * text parameter to NULL. This will also prevent any following filters from
12315     * being called.
12316     *
12317     * @param obj The entry object
12318     * @param func The function to use as text filter
12319     * @param data User data to pass to @p func
12320     */
12321    EAPI void         elm_entry_text_filter_append(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
12322
12323    /**
12324     * Prepend a filter function for text insdrted in the entry
12325     *
12326     * Prepend the given callback to the list. See elm_entry_text_filter_append()
12327     * for more information
12328     *
12329     * @param obj The entry object
12330     * @param func The function to use as text filter
12331     * @param data User data to pass to @p func
12332     */
12333    EAPI void         elm_entry_text_filter_prepend(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
12334
12335    /**
12336     * Remove a filter from the list
12337     *
12338     * Removes the given callback from the filter list. See
12339     * elm_entry_text_filter_append() for more information.
12340     *
12341     * @param obj The entry object
12342     * @param func The filter function to remove
12343     * @param data The user data passed when adding the function
12344     */
12345    EAPI void         elm_entry_text_filter_remove(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
12346
12347    /**
12348     * This converts a markup (HTML-like) string into UTF-8.
12349     *
12350     * The returned string is a malloc'ed buffer and it should be freed when
12351     * not needed anymore.
12352     *
12353     * @param s The string (in markup) to be converted
12354     * @return The converted string (in UTF-8). It should be freed.
12355     */
12356    EAPI char        *elm_entry_markup_to_utf8(const char *s) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
12357
12358    /**
12359     * This converts a UTF-8 string into markup (HTML-like).
12360     *
12361     * The returned string is a malloc'ed buffer and it should be freed when
12362     * not needed anymore.
12363     *
12364     * @param s The string (in UTF-8) to be converted
12365     * @return The converted string (in markup). It should be freed.
12366     */
12367    EAPI char        *elm_entry_utf8_to_markup(const char *s) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
12368
12369    /**
12370     * This sets the file (and implicitly loads it) for the text to display and
12371     * then edit. All changes are written back to the file after a short delay if
12372     * the entry object is set to autosave (which is the default).
12373     *
12374     * If the entry had any other file set previously, any changes made to it
12375     * will be saved if the autosave feature is enabled, otherwise, the file
12376     * will be silently discarded and any non-saved changes will be lost.
12377     *
12378     * @param obj The entry object
12379     * @param file The path to the file to load and save
12380     * @param format The file format
12381     */
12382    EAPI void         elm_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format) EINA_ARG_NONNULL(1);
12383
12384    /**
12385     * Gets the file being edited by the entry.
12386     *
12387     * This function can be used to retrieve any file set on the entry for
12388     * edition, along with the format used to load and save it.
12389     *
12390     * @param obj The entry object
12391     * @param file The path to the file to load and save
12392     * @param format The file format
12393     */
12394    EAPI void         elm_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format) EINA_ARG_NONNULL(1);
12395
12396    /**
12397     * This function writes any changes made to the file set with
12398     * elm_entry_file_set()
12399     *
12400     * @param obj The entry object
12401     */
12402    EAPI void         elm_entry_file_save(Evas_Object *obj) EINA_ARG_NONNULL(1);
12403
12404    /**
12405     * This sets the entry object to 'autosave' the loaded text file or not.
12406     *
12407     * @param obj The entry object
12408     * @param autosave Autosave the loaded file or not
12409     *
12410     * @see elm_entry_file_set()
12411     */
12412    EAPI void         elm_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave) EINA_ARG_NONNULL(1);
12413
12414    /**
12415     * This gets the entry object's 'autosave' status.
12416     *
12417     * @param obj The entry object
12418     * @return Autosave the loaded file or not
12419     *
12420     * @see elm_entry_file_set()
12421     */
12422    EAPI Eina_Bool    elm_entry_autosave_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12423
12424    /**
12425     * Control pasting of text and images for the widget.
12426     *
12427     * Normally the entry allows both text and images to be pasted.  By setting
12428     * textonly to be true, this prevents images from being pasted.
12429     *
12430     * Note this only changes the behaviour of text.
12431     *
12432     * @param obj The entry object
12433     * @param textonly paste mode - EINA_TRUE is text only, EINA_FALSE is
12434     * text+image+other.
12435     */
12436    EAPI void         elm_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly) EINA_ARG_NONNULL(1);
12437
12438    /**
12439     * Getting elm_entry text paste/drop mode.
12440     *
12441     * In textonly mode, only text may be pasted or dropped into the widget.
12442     *
12443     * @param obj The entry object
12444     * @return If the widget only accepts text from pastes.
12445     */
12446    EAPI Eina_Bool    elm_entry_cnp_textonly_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12447
12448    /**
12449     * Enable or disable scrolling in entry
12450     *
12451     * Normally the entry is not scrollable unless you enable it with this call.
12452     *
12453     * @param obj The entry object
12454     * @param scroll EINA_TRUE if it is to be scrollable, EINA_FALSE otherwise
12455     */
12456    EAPI void         elm_entry_scrollable_set(Evas_Object *obj, Eina_Bool scroll);
12457
12458    /**
12459     * Get the scrollable state of the entry
12460     *
12461     * Normally the entry is not scrollable. This gets the scrollable state
12462     * of the entry. See elm_entry_scrollable_set() for more information.
12463     *
12464     * @param obj The entry object
12465     * @return The scrollable state
12466     */
12467    EAPI Eina_Bool    elm_entry_scrollable_get(const Evas_Object *obj);
12468
12469    /**
12470     * This sets a widget to be displayed to the left of a scrolled entry.
12471     *
12472     * @param obj The scrolled entry object
12473     * @param icon The widget to display on the left side of the scrolled
12474     * entry.
12475     *
12476     * @note A previously set widget will be destroyed.
12477     * @note If the object being set does not have minimum size hints set,
12478     * it won't get properly displayed.
12479     *
12480     * @see elm_entry_end_set()
12481     */
12482    EAPI void         elm_entry_icon_set(Evas_Object *obj, Evas_Object *icon);
12483
12484    /**
12485     * Gets the leftmost widget of the scrolled entry. This object is
12486     * owned by the scrolled entry and should not be modified.
12487     *
12488     * @param obj The scrolled entry object
12489     * @return the left widget inside the scroller
12490     */
12491    EAPI Evas_Object *elm_entry_icon_get(const Evas_Object *obj);
12492
12493    /**
12494     * Unset the leftmost widget of the scrolled entry, unparenting and
12495     * returning it.
12496     *
12497     * @param obj The scrolled entry object
12498     * @return the previously set icon sub-object of this entry, on
12499     * success.
12500     *
12501     * @see elm_entry_icon_set()
12502     */
12503    EAPI Evas_Object *elm_entry_icon_unset(Evas_Object *obj);
12504
12505    /**
12506     * Sets the visibility of the left-side widget of the scrolled entry,
12507     * set by elm_entry_icon_set().
12508     *
12509     * @param obj The scrolled entry object
12510     * @param setting EINA_TRUE if the object should be displayed,
12511     * EINA_FALSE if not.
12512     */
12513    EAPI void         elm_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting);
12514
12515    /**
12516     * This sets a widget to be displayed to the end of a scrolled entry.
12517     *
12518     * @param obj The scrolled entry object
12519     * @param end The widget to display on the right side of the scrolled
12520     * entry.
12521     *
12522     * @note A previously set widget will be destroyed.
12523     * @note If the object being set does not have minimum size hints set,
12524     * it won't get properly displayed.
12525     *
12526     * @see elm_entry_icon_set
12527     */
12528    EAPI void         elm_entry_end_set(Evas_Object *obj, Evas_Object *end);
12529
12530    /**
12531     * Gets the endmost widget of the scrolled entry. This object is owned
12532     * by the scrolled entry and should not be modified.
12533     *
12534     * @param obj The scrolled entry object
12535     * @return the right widget inside the scroller
12536     */
12537    EAPI Evas_Object *elm_entry_end_get(const Evas_Object *obj);
12538
12539    /**
12540     * Unset the endmost widget of the scrolled entry, unparenting and
12541     * returning it.
12542     *
12543     * @param obj The scrolled entry object
12544     * @return the previously set icon sub-object of this entry, on
12545     * success.
12546     *
12547     * @see elm_entry_icon_set()
12548     */
12549    EAPI Evas_Object *elm_entry_end_unset(Evas_Object *obj);
12550
12551    /**
12552     * Sets the visibility of the end widget of the scrolled entry, set by
12553     * elm_entry_end_set().
12554     *
12555     * @param obj The scrolled entry object
12556     * @param setting EINA_TRUE if the object should be displayed,
12557     * EINA_FALSE if not.
12558     */
12559    EAPI void         elm_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting);
12560
12561    /**
12562     * This sets the scrolled entry's scrollbar policy (ie. enabling/disabling
12563     * them).
12564     *
12565     * Setting an entry to single-line mode with elm_entry_single_line_set()
12566     * will automatically disable the display of scrollbars when the entry
12567     * moves inside its scroller.
12568     *
12569     * @param obj The scrolled entry object
12570     * @param h The horizontal scrollbar policy to apply
12571     * @param v The vertical scrollbar policy to apply
12572     */
12573    EAPI void         elm_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v);
12574
12575    /**
12576     * This enables/disables bouncing within the entry.
12577     *
12578     * This function sets whether the entry will bounce when scrolling reaches
12579     * the end of the contained entry.
12580     *
12581     * @param obj The scrolled entry object
12582     * @param h The horizontal bounce state
12583     * @param v The vertical bounce state
12584     */
12585    EAPI void         elm_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
12586
12587    /**
12588     * Get the bounce mode
12589     *
12590     * @param obj The Entry object
12591     * @param h_bounce Allow bounce horizontally
12592     * @param v_bounce Allow bounce vertically
12593     */
12594    EAPI void         elm_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
12595
12596    /* pre-made filters for entries */
12597    /**
12598     * @typedef Elm_Entry_Filter_Limit_Size
12599     *
12600     * Data for the elm_entry_filter_limit_size() entry filter.
12601     */
12602    typedef struct _Elm_Entry_Filter_Limit_Size Elm_Entry_Filter_Limit_Size;
12603
12604    /**
12605     * @struct _Elm_Entry_Filter_Limit_Size
12606     *
12607     * Data for the elm_entry_filter_limit_size() entry filter.
12608     */
12609    struct _Elm_Entry_Filter_Limit_Size
12610      {
12611         int max_char_count; /**< The maximum number of characters allowed. */
12612         int max_byte_count; /**< The maximum number of bytes allowed*/
12613      };
12614
12615    /**
12616     * Filter inserted text based on user defined character and byte limits
12617     *
12618     * Add this filter to an entry to limit the characters that it will accept
12619     * based the the contents of the provided #Elm_Entry_Filter_Limit_Size.
12620     * The funtion works on the UTF-8 representation of the string, converting
12621     * it from the set markup, thus not accounting for any format in it.
12622     *
12623     * The user must create an #Elm_Entry_Filter_Limit_Size structure and pass
12624     * it as data when setting the filter. In it, it's possible to set limits
12625     * by character count or bytes (any of them is disabled if 0), and both can
12626     * be set at the same time. In that case, it first checks for characters,
12627     * then bytes.
12628     *
12629     * The function will cut the inserted text in order to allow only the first
12630     * number of characters that are still allowed. The cut is made in
12631     * characters, even when limiting by bytes, in order to always contain
12632     * valid ones and avoid half unicode characters making it in.
12633     *
12634     * This filter, like any others, does not apply when setting the entry text
12635     * directly with elm_object_text_set() (or the deprecated
12636     * elm_entry_entry_set()).
12637     */
12638    EAPI void         elm_entry_filter_limit_size(void *data, Evas_Object *entry, char **text) EINA_ARG_NONNULL(1, 2, 3);
12639
12640    /**
12641     * @typedef Elm_Entry_Filter_Accept_Set
12642     *
12643     * Data for the elm_entry_filter_accept_set() entry filter.
12644     */
12645    typedef struct _Elm_Entry_Filter_Accept_Set Elm_Entry_Filter_Accept_Set;
12646
12647    /**
12648     * @struct _Elm_Entry_Filter_Accept_Set
12649     *
12650     * Data for the elm_entry_filter_accept_set() entry filter.
12651     */
12652    struct _Elm_Entry_Filter_Accept_Set
12653      {
12654         const char *accepted; /**< Set of characters accepted in the entry. */
12655         const char *rejected; /**< Set of characters rejected from the entry. */
12656      };
12657
12658    /**
12659     * Filter inserted text based on accepted or rejected sets of characters
12660     *
12661     * Add this filter to an entry to restrict the set of accepted characters
12662     * based on the sets in the provided #Elm_Entry_Filter_Accept_Set.
12663     * This structure contains both accepted and rejected sets, but they are
12664     * mutually exclusive.
12665     *
12666     * The @c accepted set takes preference, so if it is set, the filter will
12667     * only work based on the accepted characters, ignoring anything in the
12668     * @c rejected value. If @c accepted is @c NULL, then @c rejected is used.
12669     *
12670     * In both cases, the function filters by matching utf8 characters to the
12671     * raw markup text, so it can be used to remove formatting tags.
12672     *
12673     * This filter, like any others, does not apply when setting the entry text
12674     * directly with elm_object_text_set() (or the deprecated
12675     * elm_entry_entry_set()).
12676     */
12677    EAPI void         elm_entry_filter_accept_set(void *data, Evas_Object *entry, char **text) EINA_ARG_NONNULL(1, 3);
12678    /**
12679     * Set the input panel layout of the entry
12680     *
12681     * @param obj The entry object
12682     * @param layout layout type
12683     */
12684    EAPI void elm_entry_input_panel_layout_set(Evas_Object *obj, Elm_Input_Panel_Layout layout) EINA_ARG_NONNULL(1);
12685
12686    /**
12687     * Get the input panel layout of the entry
12688     *
12689     * @param obj The entry object
12690     * @return layout type
12691     *
12692     * @see elm_entry_input_panel_layout_set
12693     */
12694    EAPI Elm_Input_Panel_Layout elm_entry_input_panel_layout_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
12695
12696    /**
12697     * Set the autocapitalization type on the immodule.
12698     *
12699     * @param obj The entry object
12700     * @param autocapital_type The type of autocapitalization
12701     */
12702    EAPI void         elm_entry_autocapital_type_set(Evas_Object *obj, Elm_Autocapital_Type autocapital_type) EINA_ARG_NONNULL(1);
12703
12704    /**
12705     * Retrieve the autocapitalization type on the immodule.
12706     *
12707     * @param obj The entry object
12708     * @return autocapitalization type
12709     */
12710    EAPI Elm_Autocapital_Type elm_entry_autocapital_type_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
12711
12712    /**
12713     * Sets the attribute to show the input panel automatically.
12714     *
12715     * @param obj The entry object
12716     * @param enabled If true, the input panel is appeared when entry is clicked or has a focus
12717     */
12718    EAPI void elm_entry_input_panel_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
12719
12720    /**
12721     * Retrieve the attribute to show the input panel automatically.
12722     *
12723     * @param obj The entry object
12724     * @return EINA_TRUE if input panel will be appeared when the entry is clicked or has a focus, EINA_FALSE otherwise
12725     */
12726    EAPI Eina_Bool elm_entry_input_panel_enabled_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
12727
12728    /**
12729     * @}
12730     */
12731
12732    /* composite widgets - these basically put together basic widgets above
12733     * in convenient packages that do more than basic stuff */
12734
12735    /* anchorview */
12736    /**
12737     * @defgroup Anchorview Anchorview
12738     *
12739     * @image html img/widget/anchorview/preview-00.png
12740     * @image latex img/widget/anchorview/preview-00.eps
12741     *
12742     * Anchorview is for displaying text that contains markup with anchors
12743     * like <c>\<a href=1234\>something\</\></c> in it.
12744     *
12745     * Besides being styled differently, the anchorview widget provides the
12746     * necessary functionality so that clicking on these anchors brings up a
12747     * popup with user defined content such as "call", "add to contacts" or
12748     * "open web page". This popup is provided using the @ref Hover widget.
12749     *
12750     * This widget is very similar to @ref Anchorblock, so refer to that
12751     * widget for an example. The only difference Anchorview has is that the
12752     * widget is already provided with scrolling functionality, so if the
12753     * text set to it is too large to fit in the given space, it will scroll,
12754     * whereas the @ref Anchorblock widget will keep growing to ensure all the
12755     * text can be displayed.
12756     *
12757     * This widget emits the following signals:
12758     * @li "anchor,clicked": will be called when an anchor is clicked. The
12759     * @p event_info parameter on the callback will be a pointer of type
12760     * ::Elm_Entry_Anchorview_Info.
12761     *
12762     * See @ref Anchorblock for an example on how to use both of them.
12763     *
12764     * @see Anchorblock
12765     * @see Entry
12766     * @see Hover
12767     *
12768     * @{
12769     */
12770
12771    /**
12772     * @typedef Elm_Entry_Anchorview_Info
12773     *
12774     * The info sent in the callback for "anchor,clicked" signals emitted by
12775     * the Anchorview widget.
12776     */
12777    typedef struct _Elm_Entry_Anchorview_Info Elm_Entry_Anchorview_Info;
12778
12779    /**
12780     * @struct _Elm_Entry_Anchorview_Info
12781     *
12782     * The info sent in the callback for "anchor,clicked" signals emitted by
12783     * the Anchorview widget.
12784     */
12785    struct _Elm_Entry_Anchorview_Info
12786      {
12787         const char     *name; /**< Name of the anchor, as indicated in its href
12788                                    attribute */
12789         int             button; /**< The mouse button used to click on it */
12790         Evas_Object    *hover; /**< The hover object to use for the popup */
12791         struct {
12792              Evas_Coord    x, y, w, h;
12793         } anchor, /**< Geometry selection of text used as anchor */
12794           hover_parent; /**< Geometry of the object used as parent by the
12795                              hover */
12796         Eina_Bool       hover_left : 1; /**< Hint indicating if there's space
12797                                              for content on the left side of
12798                                              the hover. Before calling the
12799                                              callback, the widget will make the
12800                                              necessary calculations to check
12801                                              which sides are fit to be set with
12802                                              content, based on the position the
12803                                              hover is activated and its distance
12804                                              to the edges of its parent object
12805                                              */
12806         Eina_Bool       hover_right : 1; /**< Hint indicating content fits on
12807                                               the right side of the hover.
12808                                               See @ref hover_left */
12809         Eina_Bool       hover_top : 1; /**< Hint indicating content fits on top
12810                                             of the hover. See @ref hover_left */
12811         Eina_Bool       hover_bottom : 1; /**< Hint indicating content fits
12812                                                below the hover. See @ref
12813                                                hover_left */
12814      };
12815
12816    /**
12817     * Add a new Anchorview object
12818     *
12819     * @param parent The parent object
12820     * @return The new object or NULL if it cannot be created
12821     */
12822    EAPI Evas_Object *elm_anchorview_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12823
12824    /**
12825     * Set the text to show in the anchorview
12826     *
12827     * Sets the text of the anchorview to @p text. This text can include markup
12828     * format tags, including <c>\<a href=anchorname\></c> to begin a segment of
12829     * text that will be specially styled and react to click events, ended with
12830     * either of \</a\> or \</\>. When clicked, the anchor will emit an
12831     * "anchor,clicked" signal that you can attach a callback to with
12832     * evas_object_smart_callback_add(). The name of the anchor given in the
12833     * event info struct will be the one set in the href attribute, in this
12834     * case, anchorname.
12835     *
12836     * Other markup can be used to style the text in different ways, but it's
12837     * up to the style defined in the theme which tags do what.
12838     * @deprecated use elm_object_text_set() instead.
12839     */
12840    EINA_DEPRECATED EAPI void         elm_anchorview_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1);
12841
12842    /**
12843     * Get the markup text set for the anchorview
12844     *
12845     * Retrieves the text set on the anchorview, with markup tags included.
12846     *
12847     * @param obj The anchorview object
12848     * @return The markup text set or @c NULL if nothing was set or an error
12849     * occurred
12850     * @deprecated use elm_object_text_set() instead.
12851     */
12852    EINA_DEPRECATED EAPI const char  *elm_anchorview_text_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12853
12854    /**
12855     * Set the parent of the hover popup
12856     *
12857     * Sets the parent object to use by the hover created by the anchorview
12858     * when an anchor is clicked. See @ref Hover for more details on this.
12859     * If no parent is set, the same anchorview object will be used.
12860     *
12861     * @param obj The anchorview object
12862     * @param parent The object to use as parent for the hover
12863     */
12864    EAPI void         elm_anchorview_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
12865
12866    /**
12867     * Get the parent of the hover popup
12868     *
12869     * Get the object used as parent for the hover created by the anchorview
12870     * widget. See @ref Hover for more details on this.
12871     *
12872     * @param obj The anchorview object
12873     * @return The object used as parent for the hover, NULL if none is set.
12874     */
12875    EAPI Evas_Object *elm_anchorview_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12876
12877    /**
12878     * Set the style that the hover should use
12879     *
12880     * When creating the popup hover, anchorview will request that it's
12881     * themed according to @p style.
12882     *
12883     * @param obj The anchorview object
12884     * @param style The style to use for the underlying hover
12885     *
12886     * @see elm_object_style_set()
12887     */
12888    EAPI void         elm_anchorview_hover_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
12889
12890    /**
12891     * Get the style that the hover should use
12892     *
12893     * Get the style the hover created by anchorview will use.
12894     *
12895     * @param obj The anchorview object
12896     * @return The style to use by the hover. NULL means the default is used.
12897     *
12898     * @see elm_object_style_set()
12899     */
12900    EAPI const char  *elm_anchorview_hover_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12901
12902    /**
12903     * Ends the hover popup in the anchorview
12904     *
12905     * When an anchor is clicked, the anchorview widget will create a hover
12906     * object to use as a popup with user provided content. This function
12907     * terminates this popup, returning the anchorview to its normal state.
12908     *
12909     * @param obj The anchorview object
12910     */
12911    EAPI void         elm_anchorview_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
12912
12913    /**
12914     * Set bouncing behaviour when the scrolled content reaches an edge
12915     *
12916     * Tell the internal scroller object whether it should bounce or not
12917     * when it reaches the respective edges for each axis.
12918     *
12919     * @param obj The anchorview object
12920     * @param h_bounce Whether to bounce or not in the horizontal axis
12921     * @param v_bounce Whether to bounce or not in the vertical axis
12922     *
12923     * @see elm_scroller_bounce_set()
12924     */
12925    EAPI void         elm_anchorview_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
12926
12927    /**
12928     * Get the set bouncing behaviour of the internal scroller
12929     *
12930     * Get whether the internal scroller should bounce when the edge of each
12931     * axis is reached scrolling.
12932     *
12933     * @param obj The anchorview object
12934     * @param h_bounce Pointer where to store the bounce state of the horizontal
12935     *                 axis
12936     * @param v_bounce Pointer where to store the bounce state of the vertical
12937     *                 axis
12938     *
12939     * @see elm_scroller_bounce_get()
12940     */
12941    EAPI void         elm_anchorview_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
12942
12943    /**
12944     * Appends a custom item provider to the given anchorview
12945     *
12946     * Appends the given function to the list of items providers. This list is
12947     * called, one function at a time, with the given @p data pointer, the
12948     * anchorview object and, in the @p item parameter, the item name as
12949     * referenced in its href string. Following functions in the list will be
12950     * called in order until one of them returns something different to NULL,
12951     * which should be an Evas_Object which will be used in place of the item
12952     * element.
12953     *
12954     * Items in the markup text take the form \<item relsize=16x16 vsize=full
12955     * href=item/name\>\</item\>
12956     *
12957     * @param obj The anchorview object
12958     * @param func The function to add to the list of providers
12959     * @param data User data that will be passed to the callback function
12960     *
12961     * @see elm_entry_item_provider_append()
12962     */
12963    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);
12964
12965    /**
12966     * Prepend a custom item provider to the given anchorview
12967     *
12968     * Like elm_anchorview_item_provider_append(), but it adds the function
12969     * @p func to the beginning of the list, instead of the end.
12970     *
12971     * @param obj The anchorview object
12972     * @param func The function to add to the list of providers
12973     * @param data User data that will be passed to the callback function
12974     */
12975    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);
12976
12977    /**
12978     * Remove a custom item provider from the list of the given anchorview
12979     *
12980     * Removes the function and data pairing that matches @p func and @p data.
12981     * That is, unless the same function and same user data are given, the
12982     * function will not be removed from the list. This allows us to add the
12983     * same callback several times, with different @p data pointers and be
12984     * able to remove them later without conflicts.
12985     *
12986     * @param obj The anchorview object
12987     * @param func The function to remove from the list
12988     * @param data The data matching the function to remove from the list
12989     */
12990    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);
12991
12992    /**
12993     * @}
12994     */
12995
12996    /* anchorblock */
12997    /**
12998     * @defgroup Anchorblock Anchorblock
12999     *
13000     * @image html img/widget/anchorblock/preview-00.png
13001     * @image latex img/widget/anchorblock/preview-00.eps
13002     *
13003     * Anchorblock is for displaying text that contains markup with anchors
13004     * like <c>\<a href=1234\>something\</\></c> in it.
13005     *
13006     * Besides being styled differently, the anchorblock widget provides the
13007     * necessary functionality so that clicking on these anchors brings up a
13008     * popup with user defined content such as "call", "add to contacts" or
13009     * "open web page". This popup is provided using the @ref Hover widget.
13010     *
13011     * This widget emits the following signals:
13012     * @li "anchor,clicked": will be called when an anchor is clicked. The
13013     * @p event_info parameter on the callback will be a pointer of type
13014     * ::Elm_Entry_Anchorblock_Info.
13015     *
13016     * @see Anchorview
13017     * @see Entry
13018     * @see Hover
13019     *
13020     * Since examples are usually better than plain words, we might as well
13021     * try @ref tutorial_anchorblock_example "one".
13022     */
13023
13024    /**
13025     * @addtogroup Anchorblock
13026     * @{
13027     */
13028
13029    /**
13030     * @typedef Elm_Entry_Anchorblock_Info
13031     *
13032     * The info sent in the callback for "anchor,clicked" signals emitted by
13033     * the Anchorblock widget.
13034     */
13035    typedef struct _Elm_Entry_Anchorblock_Info Elm_Entry_Anchorblock_Info;
13036
13037    /**
13038     * @struct _Elm_Entry_Anchorblock_Info
13039     *
13040     * The info sent in the callback for "anchor,clicked" signals emitted by
13041     * the Anchorblock widget.
13042     */
13043    struct _Elm_Entry_Anchorblock_Info
13044      {
13045         const char     *name; /**< Name of the anchor, as indicated in its href
13046                                    attribute */
13047         int             button; /**< The mouse button used to click on it */
13048         Evas_Object    *hover; /**< The hover object to use for the popup */
13049         struct {
13050              Evas_Coord    x, y, w, h;
13051         } anchor, /**< Geometry selection of text used as anchor */
13052           hover_parent; /**< Geometry of the object used as parent by the
13053                              hover */
13054         Eina_Bool       hover_left : 1; /**< Hint indicating if there's space
13055                                              for content on the left side of
13056                                              the hover. Before calling the
13057                                              callback, the widget will make the
13058                                              necessary calculations to check
13059                                              which sides are fit to be set with
13060                                              content, based on the position the
13061                                              hover is activated and its distance
13062                                              to the edges of its parent object
13063                                              */
13064         Eina_Bool       hover_right : 1; /**< Hint indicating content fits on
13065                                               the right side of the hover.
13066                                               See @ref hover_left */
13067         Eina_Bool       hover_top : 1; /**< Hint indicating content fits on top
13068                                             of the hover. See @ref hover_left */
13069         Eina_Bool       hover_bottom : 1; /**< Hint indicating content fits
13070                                                below the hover. See @ref
13071                                                hover_left */
13072      };
13073
13074 /**
13075     * Add a new Anchorblock object
13076     *
13077     * @param parent The parent object
13078     * @return The new object or NULL if it cannot be created
13079     */
13080    EAPI Evas_Object *elm_anchorblock_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
13081
13082    /**
13083     * Set the text to show in the anchorblock
13084     *
13085     * Sets the text of the anchorblock to @p text. This text can include markup
13086     * format tags, including <c>\<a href=anchorname\></a></c> to begin a segment
13087     * of text that will be specially styled and react to click events, ended
13088     * with either of \</a\> or \</\>. When clicked, the anchor will emit an
13089     * "anchor,clicked" signal that you can attach a callback to with
13090     * evas_object_smart_callback_add(). The name of the anchor given in the
13091     * event info struct will be the one set in the href attribute, in this
13092     * case, anchorname.
13093     *
13094     * Other markup can be used to style the text in different ways, but it's
13095     * up to the style defined in the theme which tags do what.
13096     * @deprecated use elm_object_text_set() instead.
13097     */
13098    EINA_DEPRECATED EAPI void         elm_anchorblock_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1);
13099
13100    /**
13101     * Get the markup text set for the anchorblock
13102     *
13103     * Retrieves the text set on the anchorblock, with markup tags included.
13104     *
13105     * @param obj The anchorblock object
13106     * @return The markup text set or @c NULL if nothing was set or an error
13107     * occurred
13108     * @deprecated use elm_object_text_set() instead.
13109     */
13110    EINA_DEPRECATED EAPI const char  *elm_anchorblock_text_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13111
13112    /**
13113     * Set the parent of the hover popup
13114     *
13115     * Sets the parent object to use by the hover created by the anchorblock
13116     * when an anchor is clicked. See @ref Hover for more details on this.
13117     *
13118     * @param obj The anchorblock object
13119     * @param parent The object to use as parent for the hover
13120     */
13121    EAPI void         elm_anchorblock_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
13122
13123    /**
13124     * Get the parent of the hover popup
13125     *
13126     * Get the object used as parent for the hover created by the anchorblock
13127     * widget. See @ref Hover for more details on this.
13128     * If no parent is set, the same anchorblock object will be used.
13129     *
13130     * @param obj The anchorblock object
13131     * @return The object used as parent for the hover, NULL if none is set.
13132     */
13133    EAPI Evas_Object *elm_anchorblock_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13134
13135    /**
13136     * Set the style that the hover should use
13137     *
13138     * When creating the popup hover, anchorblock will request that it's
13139     * themed according to @p style.
13140     *
13141     * @param obj The anchorblock object
13142     * @param style The style to use for the underlying hover
13143     *
13144     * @see elm_object_style_set()
13145     */
13146    EAPI void         elm_anchorblock_hover_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
13147
13148    /**
13149     * Get the style that the hover should use
13150     *
13151     * Get the style, the hover created by anchorblock will use.
13152     *
13153     * @param obj The anchorblock object
13154     * @return The style to use by the hover. NULL means the default is used.
13155     *
13156     * @see elm_object_style_set()
13157     */
13158    EAPI const char  *elm_anchorblock_hover_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13159
13160    /**
13161     * Ends the hover popup in the anchorblock
13162     *
13163     * When an anchor is clicked, the anchorblock widget will create a hover
13164     * object to use as a popup with user provided content. This function
13165     * terminates this popup, returning the anchorblock to its normal state.
13166     *
13167     * @param obj The anchorblock object
13168     */
13169    EAPI void         elm_anchorblock_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
13170
13171    /**
13172     * Appends a custom item provider to the given anchorblock
13173     *
13174     * Appends the given function to the list of items providers. This list is
13175     * called, one function at a time, with the given @p data pointer, the
13176     * anchorblock object and, in the @p item parameter, the item name as
13177     * referenced in its href string. Following functions in the list will be
13178     * called in order until one of them returns something different to NULL,
13179     * which should be an Evas_Object which will be used in place of the item
13180     * element.
13181     *
13182     * Items in the markup text take the form \<item relsize=16x16 vsize=full
13183     * href=item/name\>\</item\>
13184     *
13185     * @param obj The anchorblock object
13186     * @param func The function to add to the list of providers
13187     * @param data User data that will be passed to the callback function
13188     *
13189     * @see elm_entry_item_provider_append()
13190     */
13191    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);
13192
13193    /**
13194     * Prepend a custom item provider to the given anchorblock
13195     *
13196     * Like elm_anchorblock_item_provider_append(), but it adds the function
13197     * @p func to the beginning of the list, instead of the end.
13198     *
13199     * @param obj The anchorblock object
13200     * @param func The function to add to the list of providers
13201     * @param data User data that will be passed to the callback function
13202     */
13203    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);
13204
13205    /**
13206     * Remove a custom item provider from the list of the given anchorblock
13207     *
13208     * Removes the function and data pairing that matches @p func and @p data.
13209     * That is, unless the same function and same user data are given, the
13210     * function will not be removed from the list. This allows us to add the
13211     * same callback several times, with different @p data pointers and be
13212     * able to remove them later without conflicts.
13213     *
13214     * @param obj The anchorblock object
13215     * @param func The function to remove from the list
13216     * @param data The data matching the function to remove from the list
13217     */
13218    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);
13219
13220    /**
13221     * @}
13222     */
13223
13224    /**
13225     * @defgroup Bubble Bubble
13226     *
13227     * @image html img/widget/bubble/preview-00.png
13228     * @image latex img/widget/bubble/preview-00.eps
13229     * @image html img/widget/bubble/preview-01.png
13230     * @image latex img/widget/bubble/preview-01.eps
13231     * @image html img/widget/bubble/preview-02.png
13232     * @image latex img/widget/bubble/preview-02.eps
13233     *
13234     * @brief The Bubble is a widget to show text similar to how speech is
13235     * represented in comics.
13236     *
13237     * The bubble widget contains 5 important visual elements:
13238     * @li The frame is a rectangle with rounded edjes and an "arrow".
13239     * @li The @p icon is an image to which the frame's arrow points to.
13240     * @li The @p label is a text which appears to the right of the icon if the
13241     * corner is "top_left" or "bottom_left" and is right aligned to the frame
13242     * otherwise.
13243     * @li The @p info is a text which appears to the right of the label. Info's
13244     * font is of a ligther color than label.
13245     * @li The @p content is an evas object that is shown inside the frame.
13246     *
13247     * The position of the arrow, icon, label and info depends on which corner is
13248     * selected. The four available corners are:
13249     * @li "top_left" - Default
13250     * @li "top_right"
13251     * @li "bottom_left"
13252     * @li "bottom_right"
13253     *
13254     * Signals that you can add callbacks for are:
13255     * @li "clicked" - This is called when a user has clicked the bubble.
13256     *
13257     * Default contents parts of the bubble that you can use for are:
13258     * @li "default" - A content of the bubble
13259     * @li "icon" - An icon of the bubble
13260     *
13261     * Default text parts of the button widget that you can use for are:
13262     * @li NULL - Label of the bubble
13263     *
13264          * For an example of using a buble see @ref bubble_01_example_page "this".
13265     *
13266     * @{
13267     */
13268
13269    /**
13270     * Add a new bubble to the parent
13271     *
13272     * @param parent The parent object
13273     * @return The new object or NULL if it cannot be created
13274     *
13275     * This function adds a text bubble to the given parent evas object.
13276     */
13277    EAPI Evas_Object *elm_bubble_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
13278
13279    /**
13280     * Set the label of the bubble
13281     *
13282     * @param obj The bubble object
13283     * @param label The string to set in the label
13284     *
13285     * This function sets the title of the bubble. Where this appears depends on
13286     * the selected corner.
13287     * @deprecated use elm_object_text_set() instead.
13288     */
13289    EINA_DEPRECATED EAPI void         elm_bubble_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
13290
13291    /**
13292     * Get the label of the bubble
13293     *
13294     * @param obj The bubble object
13295     * @return The string of set in the label
13296     *
13297     * This function gets the title of the bubble.
13298     * @deprecated use elm_object_text_get() instead.
13299     */
13300    EINA_DEPRECATED EAPI const char  *elm_bubble_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13301
13302    /**
13303     * Set the info of the bubble
13304     *
13305     * @param obj The bubble object
13306     * @param info The given info about the bubble
13307     *
13308     * This function sets the info of the bubble. Where this appears depends on
13309     * the selected corner.
13310     * @deprecated use elm_object_part_text_set() instead. (with "info" as the parameter).
13311     */
13312    EINA_DEPRECATED EAPI void         elm_bubble_info_set(Evas_Object *obj, const char *info) EINA_ARG_NONNULL(1);
13313
13314    /**
13315     * Get the info of the bubble
13316     *
13317     * @param obj The bubble object
13318     *
13319     * @return The "info" string of the bubble
13320     *
13321     * This function gets the info text.
13322     * @deprecated use elm_object_part_text_get() instead. (with "info" as the parameter).
13323     */
13324    EINA_DEPRECATED EAPI const char  *elm_bubble_info_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13325
13326    /**
13327     * Set the content to be shown in the bubble
13328     *
13329     * Once the content object is set, a previously set one will be deleted.
13330     * If you want to keep the old content object, use the
13331     * elm_bubble_content_unset() function.
13332     *
13333     * @param obj The bubble object
13334     * @param content The given content of the bubble
13335     *
13336     * This function sets the content shown on the middle of the bubble.
13337     *
13338     * @deprecated use elm_object_content_set() instead
13339     *
13340     */
13341    EINA_DEPRECATED EAPI void         elm_bubble_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
13342
13343    /**
13344     * Get the content shown in the bubble
13345     *
13346     * Return the content object which is set for this widget.
13347     *
13348     * @param obj The bubble object
13349     * @return The content that is being used
13350     *
13351     * @deprecated use elm_object_content_get() instead
13352     *
13353     */
13354    EINA_DEPRECATED EAPI Evas_Object *elm_bubble_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13355
13356    /**
13357     * Unset the content shown in the bubble
13358     *
13359     * Unparent and return the content object which was set for this widget.
13360     *
13361     * @param obj The bubble object
13362     * @return The content that was being used
13363     *
13364     * @deprecated use elm_object_content_unset() instead
13365     *
13366     */
13367    EINA_DEPRECATED EAPI Evas_Object *elm_bubble_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
13368
13369    /**
13370     * Set the icon of the bubble
13371     *
13372     * Once the icon object is set, a previously set one will be deleted.
13373     * If you want to keep the old content object, use the
13374     * elm_icon_content_unset() function.
13375     *
13376     * @param obj The bubble object
13377     * @param icon The given icon for the bubble
13378     *
13379     * @deprecated use elm_object_part_content_set() instead
13380     *
13381     */
13382    EINA_DEPRECATED EAPI void         elm_bubble_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
13383
13384    /**
13385     * Get the icon of the bubble
13386     *
13387     * @param obj The bubble object
13388     * @return The icon for the bubble
13389     *
13390     * This function gets the icon shown on the top left of bubble.
13391     *
13392     * @deprecated use elm_object_part_content_get() instead
13393     *
13394     */
13395    EINA_DEPRECATED EAPI Evas_Object *elm_bubble_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13396
13397    /**
13398     * Unset the icon of the bubble
13399     *
13400     * Unparent and return the icon object which was set for this widget.
13401     *
13402     * @param obj The bubble object
13403     * @return The icon that was being used
13404     *
13405     * @deprecated use elm_object_part_content_unset() instead
13406     *
13407     */
13408    EINA_DEPRECATED EAPI Evas_Object *elm_bubble_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
13409
13410    /**
13411     * Set the corner of the bubble
13412     *
13413     * @param obj The bubble object.
13414     * @param corner The given corner for the bubble.
13415     *
13416     * This function sets the corner of the bubble. The corner will be used to
13417     * determine where the arrow in the frame points to and where label, icon and
13418     * info are shown.
13419     *
13420     * Possible values for corner are:
13421     * @li "top_left" - Default
13422     * @li "top_right"
13423     * @li "bottom_left"
13424     * @li "bottom_right"
13425     */
13426    EAPI void         elm_bubble_corner_set(Evas_Object *obj, const char *corner) EINA_ARG_NONNULL(1, 2);
13427
13428    /**
13429     * Get the corner of the bubble
13430     *
13431     * @param obj The bubble object.
13432     * @return The given corner for the bubble.
13433     *
13434     * This function gets the selected corner of the bubble.
13435     */
13436    EAPI const char  *elm_bubble_corner_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13437
13438    /**
13439     * @}
13440     */
13441
13442    /**
13443     * @defgroup Photo Photo
13444     *
13445     * For displaying the photo of a person (contact). Simple, yet
13446     * with a very specific purpose.
13447     *
13448     * Signals that you can add callbacks for are:
13449     *
13450     * "clicked" - This is called when a user has clicked the photo
13451     * "drag,start" - Someone started dragging the image out of the object
13452     * "drag,end" - Dragged item was dropped (somewhere)
13453     *
13454     * @{
13455     */
13456
13457    /**
13458     * Add a new photo to the parent
13459     *
13460     * @param parent The parent object
13461     * @return The new object or NULL if it cannot be created
13462     *
13463     * @ingroup Photo
13464     */
13465    EAPI Evas_Object *elm_photo_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
13466
13467    /**
13468     * Set the file that will be used as photo
13469     *
13470     * @param obj The photo object
13471     * @param file The path to file that will be used as photo
13472     *
13473     * @return (1 = success, 0 = error)
13474     *
13475     * @ingroup Photo
13476     */
13477    EAPI Eina_Bool    elm_photo_file_set(Evas_Object *obj, const char *file) EINA_ARG_NONNULL(1);
13478
13479     /**
13480     * Set the file that will be used as thumbnail in the photo.
13481     *
13482     * @param obj The photo object.
13483     * @param file The path to file that will be used as thumb.
13484     * @param group The key used in case of an EET file.
13485     *
13486     * @ingroup Photo
13487     */
13488    EAPI void         elm_photo_thumb_set(const Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
13489
13490    /**
13491     * Set the size that will be used on the photo
13492     *
13493     * @param obj The photo object
13494     * @param size The size that the photo will be
13495     *
13496     * @ingroup Photo
13497     */
13498    EAPI void         elm_photo_size_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
13499
13500    /**
13501     * Set if the photo should be completely visible or not.
13502     *
13503     * @param obj The photo object
13504     * @param fill if true the photo will be completely visible
13505     *
13506     * @ingroup Photo
13507     */
13508    EAPI void         elm_photo_fill_inside_set(Evas_Object *obj, Eina_Bool fill) EINA_ARG_NONNULL(1);
13509
13510    /**
13511     * Set editability of the photo.
13512     *
13513     * An editable photo can be dragged to or from, and can be cut or
13514     * pasted too.  Note that pasting an image or dropping an item on
13515     * the image will delete the existing content.
13516     *
13517     * @param obj The photo object.
13518     * @param set To set of clear editablity.
13519     */
13520    EAPI void         elm_photo_editable_set(Evas_Object *obj, Eina_Bool set) EINA_ARG_NONNULL(1);
13521
13522    /**
13523     * @}
13524     */
13525
13526    /* gesture layer */
13527    /**
13528     * @defgroup Elm_Gesture_Layer Gesture Layer
13529     * Gesture Layer Usage:
13530     *
13531     * Use Gesture Layer to detect gestures.
13532     * The advantage is that you don't have to implement
13533     * gesture detection, just set callbacks of gesture state.
13534     * By using gesture layer we make standard interface.
13535     *
13536     * In order to use Gesture Layer you start with @ref elm_gesture_layer_add
13537     * with a parent object parameter.
13538     * Next 'activate' gesture layer with a @ref elm_gesture_layer_attach
13539     * call. Usually with same object as target (2nd parameter).
13540     *
13541     * Now you need to tell gesture layer what gestures you follow.
13542     * This is done with @ref elm_gesture_layer_cb_set call.
13543     * By setting the callback you actually saying to gesture layer:
13544     * I would like to know when the gesture @ref Elm_Gesture_Types
13545     * switches to state @ref Elm_Gesture_State.
13546     *
13547     * Next, you need to implement the actual action that follows the input
13548     * in your callback.
13549     *
13550     * Note that if you like to stop being reported about a gesture, just set
13551     * all callbacks referring this gesture to NULL.
13552     * (again with @ref elm_gesture_layer_cb_set)
13553     *
13554     * The information reported by gesture layer to your callback is depending
13555     * on @ref Elm_Gesture_Types:
13556     * @ref Elm_Gesture_Taps_Info is the info reported for tap gestures:
13557     * @ref ELM_GESTURE_N_TAPS, @ref ELM_GESTURE_N_LONG_TAPS,
13558     * @ref ELM_GESTURE_N_DOUBLE_TAPS, @ref ELM_GESTURE_N_TRIPLE_TAPS.
13559     *
13560     * @ref Elm_Gesture_Momentum_Info is info reported for momentum gestures:
13561     * @ref ELM_GESTURE_MOMENTUM.
13562     *
13563     * @ref Elm_Gesture_Line_Info is the info reported for line gestures:
13564     * (this also contains @ref Elm_Gesture_Momentum_Info internal structure)
13565     * @ref ELM_GESTURE_N_LINES, @ref ELM_GESTURE_N_FLICKS.
13566     * Note that we consider a flick as a line-gesture that should be completed
13567     * in flick-time-limit as defined in @ref Config.
13568     *
13569     * @ref Elm_Gesture_Zoom_Info is the info reported for @ref ELM_GESTURE_ZOOM gesture.
13570     *
13571     * @ref Elm_Gesture_Rotate_Info is the info reported for @ref ELM_GESTURE_ROTATE gesture.
13572     *
13573     *
13574     * Gesture Layer Tweaks:
13575     *
13576     * Note that line, flick, gestures can start without the need to remove fingers from surface.
13577     * When user fingers rests on same-spot gesture is ended and starts again when fingers moved.
13578     *
13579     * Setting glayer_continues_enable to false in @ref Config will change this behavior
13580     * so gesture starts when user touches (a *DOWN event) touch-surface
13581     * and ends when no fingers touches surface (a *UP event).
13582     */
13583
13584    /**
13585     * @enum _Elm_Gesture_Types
13586     * Enum of supported gesture types.
13587     * @ingroup Elm_Gesture_Layer
13588     */
13589    enum _Elm_Gesture_Types
13590      {
13591         ELM_GESTURE_FIRST = 0,
13592
13593         ELM_GESTURE_N_TAPS, /**< N fingers single taps */
13594         ELM_GESTURE_N_LONG_TAPS, /**< N fingers single long-taps */
13595         ELM_GESTURE_N_DOUBLE_TAPS, /**< N fingers double-single taps */
13596         ELM_GESTURE_N_TRIPLE_TAPS, /**< N fingers triple-single taps */
13597
13598         ELM_GESTURE_MOMENTUM, /**< Reports momentum in the dircetion of move */
13599
13600         ELM_GESTURE_N_LINES, /**< N fingers line gesture */
13601         ELM_GESTURE_N_FLICKS, /**< N fingers flick gesture */
13602
13603         ELM_GESTURE_ZOOM, /**< Zoom */
13604         ELM_GESTURE_ROTATE, /**< Rotate */
13605
13606         ELM_GESTURE_LAST
13607      };
13608
13609    /**
13610     * @typedef Elm_Gesture_Types
13611     * gesture types enum
13612     * @ingroup Elm_Gesture_Layer
13613     */
13614    typedef enum _Elm_Gesture_Types Elm_Gesture_Types;
13615
13616    /**
13617     * @enum _Elm_Gesture_State
13618     * Enum of gesture states.
13619     * @ingroup Elm_Gesture_Layer
13620     */
13621    enum _Elm_Gesture_State
13622      {
13623         ELM_GESTURE_STATE_UNDEFINED = -1, /**< Gesture not STARTed */
13624         ELM_GESTURE_STATE_START,          /**< Gesture STARTed     */
13625         ELM_GESTURE_STATE_MOVE,           /**< Gesture is ongoing  */
13626         ELM_GESTURE_STATE_END,            /**< Gesture completed   */
13627         ELM_GESTURE_STATE_ABORT    /**< Onging gesture was ABORTed */
13628      };
13629
13630    /**
13631     * @typedef Elm_Gesture_State
13632     * gesture states enum
13633     * @ingroup Elm_Gesture_Layer
13634     */
13635    typedef enum _Elm_Gesture_State Elm_Gesture_State;
13636
13637    /**
13638     * @struct _Elm_Gesture_Taps_Info
13639     * Struct holds taps info for user
13640     * @ingroup Elm_Gesture_Layer
13641     */
13642    struct _Elm_Gesture_Taps_Info
13643      {
13644         Evas_Coord x, y;         /**< Holds center point between fingers */
13645         unsigned int n;          /**< Number of fingers tapped           */
13646         unsigned int timestamp;  /**< event timestamp       */
13647      };
13648
13649    /**
13650     * @typedef Elm_Gesture_Taps_Info
13651     * holds taps info for user
13652     * @ingroup Elm_Gesture_Layer
13653     */
13654    typedef struct _Elm_Gesture_Taps_Info Elm_Gesture_Taps_Info;
13655
13656    /**
13657     * @struct _Elm_Gesture_Momentum_Info
13658     * Struct holds momentum info for user
13659     * x1 and y1 are not necessarily in sync
13660     * x1 holds x value of x direction starting point
13661     * and same holds for y1.
13662     * This is noticeable when doing V-shape movement
13663     * @ingroup Elm_Gesture_Layer
13664     */
13665    struct _Elm_Gesture_Momentum_Info
13666      {  /* Report line ends, timestamps, and momentum computed        */
13667         Evas_Coord x1; /**< Final-swipe direction starting point on X */
13668         Evas_Coord y1; /**< Final-swipe direction starting point on Y */
13669         Evas_Coord x2; /**< Final-swipe direction ending point on X   */
13670         Evas_Coord y2; /**< Final-swipe direction ending point on Y   */
13671
13672         unsigned int tx; /**< Timestamp of start of final x-swipe */
13673         unsigned int ty; /**< Timestamp of start of final y-swipe */
13674
13675         Evas_Coord mx; /**< Momentum on X */
13676         Evas_Coord my; /**< Momentum on Y */
13677
13678         unsigned int n;  /**< Number of fingers */
13679      };
13680
13681    /**
13682     * @typedef Elm_Gesture_Momentum_Info
13683     * holds momentum info for user
13684     * @ingroup Elm_Gesture_Layer
13685     */
13686     typedef struct _Elm_Gesture_Momentum_Info Elm_Gesture_Momentum_Info;
13687
13688    /**
13689     * @struct _Elm_Gesture_Line_Info
13690     * Struct holds line info for user
13691     * @ingroup Elm_Gesture_Layer
13692     */
13693    struct _Elm_Gesture_Line_Info
13694      {  /* Report line ends, timestamps, and momentum computed      */
13695         Elm_Gesture_Momentum_Info momentum; /**< Line momentum info */
13696         double angle;              /**< Angle (direction) of lines  */
13697      };
13698
13699    /**
13700     * @typedef Elm_Gesture_Line_Info
13701     * Holds line info for user
13702     * @ingroup Elm_Gesture_Layer
13703     */
13704     typedef struct  _Elm_Gesture_Line_Info Elm_Gesture_Line_Info;
13705
13706    /**
13707     * @struct _Elm_Gesture_Zoom_Info
13708     * Struct holds zoom info for user
13709     * @ingroup Elm_Gesture_Layer
13710     */
13711    struct _Elm_Gesture_Zoom_Info
13712      {
13713         Evas_Coord x, y;       /**< Holds zoom center point reported to user  */
13714         Evas_Coord radius; /**< Holds radius between fingers reported to user */
13715         double zoom;            /**< Zoom value: 1.0 means no zoom             */
13716         double momentum;        /**< Zoom momentum: zoom growth per second (NOT YET SUPPORTED) */
13717      };
13718
13719    /**
13720     * @typedef Elm_Gesture_Zoom_Info
13721     * Holds zoom info for user
13722     * @ingroup Elm_Gesture_Layer
13723     */
13724    typedef struct _Elm_Gesture_Zoom_Info Elm_Gesture_Zoom_Info;
13725
13726    /**
13727     * @struct _Elm_Gesture_Rotate_Info
13728     * Struct holds rotation info for user
13729     * @ingroup Elm_Gesture_Layer
13730     */
13731    struct _Elm_Gesture_Rotate_Info
13732      {
13733         Evas_Coord x, y;   /**< Holds zoom center point reported to user      */
13734         Evas_Coord radius; /**< Holds radius between fingers reported to user */
13735         double base_angle; /**< Holds start-angle */
13736         double angle;      /**< Rotation value: 0.0 means no rotation         */
13737         double momentum;   /**< Rotation momentum: rotation done per second (NOT YET SUPPORTED) */
13738      };
13739
13740    /**
13741     * @typedef Elm_Gesture_Rotate_Info
13742     * Holds rotation info for user
13743     * @ingroup Elm_Gesture_Layer
13744     */
13745    typedef struct _Elm_Gesture_Rotate_Info Elm_Gesture_Rotate_Info;
13746
13747    /**
13748     * @typedef Elm_Gesture_Event_Cb
13749     * User callback used to stream gesture info from gesture layer
13750     * @param data user data
13751     * @param event_info gesture report info
13752     * Returns a flag field to be applied on the causing event.
13753     * You should probably return EVAS_EVENT_FLAG_ON_HOLD if your widget acted
13754     * upon the event, in an irreversible way.
13755     *
13756     * @ingroup Elm_Gesture_Layer
13757     */
13758    typedef Evas_Event_Flags (*Elm_Gesture_Event_Cb) (void *data, void *event_info);
13759
13760    /**
13761     * Use function to set callbacks to be notified about
13762     * change of state of gesture.
13763     * When a user registers a callback with this function
13764     * this means this gesture has to be tested.
13765     *
13766     * When ALL callbacks for a gesture are set to NULL
13767     * it means user isn't interested in gesture-state
13768     * and it will not be tested.
13769     *
13770     * @param obj Pointer to gesture-layer.
13771     * @param idx The gesture you would like to track its state.
13772     * @param cb callback function pointer.
13773     * @param cb_type what event this callback tracks: START, MOVE, END, ABORT.
13774     * @param data user info to be sent to callback (usually, Smart Data)
13775     *
13776     * @ingroup Elm_Gesture_Layer
13777     */
13778    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);
13779
13780    /**
13781     * Call this function to get repeat-events settings.
13782     *
13783     * @param obj Pointer to gesture-layer.
13784     *
13785     * @return repeat events settings.
13786     * @see elm_gesture_layer_hold_events_set()
13787     * @ingroup Elm_Gesture_Layer
13788     */
13789    EAPI Eina_Bool elm_gesture_layer_hold_events_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
13790
13791    /**
13792     * This function called in order to make gesture-layer repeat events.
13793     * Set this of you like to get the raw events only if gestures were not detected.
13794     * Clear this if you like gesture layer to fwd events as testing gestures.
13795     *
13796     * @param obj Pointer to gesture-layer.
13797     * @param r Repeat: TRUE/FALSE
13798     *
13799     * @ingroup Elm_Gesture_Layer
13800     */
13801    EAPI void elm_gesture_layer_hold_events_set(Evas_Object *obj, Eina_Bool r) EINA_ARG_NONNULL(1);
13802
13803    /**
13804     * This function sets step-value for zoom action.
13805     * Set step to any positive value.
13806     * Cancel step setting by setting to 0.0
13807     *
13808     * @param obj Pointer to gesture-layer.
13809     * @param s new zoom step value.
13810     *
13811     * @ingroup Elm_Gesture_Layer
13812     */
13813    EAPI void elm_gesture_layer_zoom_step_set(Evas_Object *obj, double s) EINA_ARG_NONNULL(1);
13814
13815    /**
13816     * This function sets step-value for rotate action.
13817     * Set step to any positive value.
13818     * Cancel step setting by setting to 0.0
13819     *
13820     * @param obj Pointer to gesture-layer.
13821     * @param s new roatate step value.
13822     *
13823     * @ingroup Elm_Gesture_Layer
13824     */
13825    EAPI void elm_gesture_layer_rotate_step_set(Evas_Object *obj, double s) EINA_ARG_NONNULL(1);
13826
13827    /**
13828     * This function called to attach gesture-layer to an Evas_Object.
13829     * @param obj Pointer to gesture-layer.
13830     * @param t Pointer to underlying object (AKA Target)
13831     *
13832     * @return TRUE, FALSE on success, failure.
13833     *
13834     * @ingroup Elm_Gesture_Layer
13835     */
13836    EAPI Eina_Bool elm_gesture_layer_attach(Evas_Object *obj, Evas_Object *t) EINA_ARG_NONNULL(1, 2);
13837
13838    /**
13839     * Call this function to construct a new gesture-layer object.
13840     * This does not activate the gesture layer. You have to
13841     * call elm_gesture_layer_attach in order to 'activate' gesture-layer.
13842     *
13843     * @param parent the parent object.
13844     *
13845     * @return Pointer to new gesture-layer object.
13846     *
13847     * @ingroup Elm_Gesture_Layer
13848     */
13849    EAPI Evas_Object *elm_gesture_layer_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
13850
13851    /**
13852     * @defgroup Thumb Thumb
13853     *
13854     * @image html img/widget/thumb/preview-00.png
13855     * @image latex img/widget/thumb/preview-00.eps
13856     *
13857     * A thumb object is used for displaying the thumbnail of an image or video.
13858     * You must have compiled Elementary with Ethumb_Client support and the DBus
13859     * service must be present and auto-activated in order to have thumbnails to
13860     * be generated.
13861     *
13862     * Once the thumbnail object becomes visible, it will check if there is a
13863     * previously generated thumbnail image for the file set on it. If not, it
13864     * will start generating this thumbnail.
13865     *
13866     * Different config settings will cause different thumbnails to be generated
13867     * even on the same file.
13868     *
13869     * Generated thumbnails are stored under @c $HOME/.thumbnails/. Check the
13870     * Ethumb documentation to change this path, and to see other configuration
13871     * options.
13872     *
13873     * Signals that you can add callbacks for are:
13874     *
13875     * - "clicked" - This is called when a user has clicked the thumb without dragging
13876     *             around.
13877     * - "clicked,double" - This is called when a user has double-clicked the thumb.
13878     * - "press" - This is called when a user has pressed down the thumb.
13879     * - "generate,start" - The thumbnail generation started.
13880     * - "generate,stop" - The generation process stopped.
13881     * - "generate,error" - The generation failed.
13882     * - "load,error" - The thumbnail image loading failed.
13883     *
13884     * available styles:
13885     * - default
13886     * - noframe
13887     *
13888     * An example of use of thumbnail:
13889     *
13890     * - @ref thumb_example_01
13891     */
13892
13893    /**
13894     * @addtogroup Thumb
13895     * @{
13896     */
13897
13898    /**
13899     * @enum _Elm_Thumb_Animation_Setting
13900     * @typedef Elm_Thumb_Animation_Setting
13901     *
13902     * Used to set if a video thumbnail is animating or not.
13903     *
13904     * @ingroup Thumb
13905     */
13906    typedef enum _Elm_Thumb_Animation_Setting
13907      {
13908         ELM_THUMB_ANIMATION_START = 0, /**< Play animation once */
13909         ELM_THUMB_ANIMATION_LOOP,      /**< Keep playing animation until stop is requested */
13910         ELM_THUMB_ANIMATION_STOP,      /**< Stop playing the animation */
13911         ELM_THUMB_ANIMATION_LAST
13912      } Elm_Thumb_Animation_Setting;
13913
13914    /**
13915     * Add a new thumb object to the parent.
13916     *
13917     * @param parent The parent object.
13918     * @return The new object or NULL if it cannot be created.
13919     *
13920     * @see elm_thumb_file_set()
13921     * @see elm_thumb_ethumb_client_get()
13922     *
13923     * @ingroup Thumb
13924     */
13925    EAPI Evas_Object                 *elm_thumb_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
13926
13927    /**
13928     * Reload thumbnail if it was generated before.
13929     *
13930     * @param obj The thumb object to reload
13931     *
13932     * This is useful if the ethumb client configuration changed, like its
13933     * size, aspect or any other property one set in the handle returned
13934     * by elm_thumb_ethumb_client_get().
13935     *
13936     * If the options didn't change, the thumbnail won't be generated again, but
13937     * the old one will still be used.
13938     *
13939     * @see elm_thumb_file_set()
13940     *
13941     * @ingroup Thumb
13942     */
13943    EAPI void                         elm_thumb_reload(Evas_Object *obj) EINA_ARG_NONNULL(1);
13944
13945    /**
13946     * Set the file that will be used as thumbnail.
13947     *
13948     * @param obj The thumb object.
13949     * @param file The path to file that will be used as thumb.
13950     * @param key The key used in case of an EET file.
13951     *
13952     * The file can be an image or a video (in that case, acceptable extensions are:
13953     * avi, mp4, ogv, mov, mpg and wmv). To start the video animation, use the
13954     * function elm_thumb_animate().
13955     *
13956     * @see elm_thumb_file_get()
13957     * @see elm_thumb_reload()
13958     * @see elm_thumb_animate()
13959     *
13960     * @ingroup Thumb
13961     */
13962    EAPI void                         elm_thumb_file_set(Evas_Object *obj, const char *file, const char *key) EINA_ARG_NONNULL(1);
13963
13964    /**
13965     * Get the image or video path and key used to generate the thumbnail.
13966     *
13967     * @param obj The thumb object.
13968     * @param file Pointer to filename.
13969     * @param key Pointer to key.
13970     *
13971     * @see elm_thumb_file_set()
13972     * @see elm_thumb_path_get()
13973     *
13974     * @ingroup Thumb
13975     */
13976    EAPI void                         elm_thumb_file_get(const Evas_Object *obj, const char **file, const char **key) EINA_ARG_NONNULL(1);
13977
13978    /**
13979     * Get the path and key to the image or video generated by ethumb.
13980     *
13981     * One just need to make sure that the thumbnail was generated before getting
13982     * its path; otherwise, the path will be NULL. One way to do that is by asking
13983     * for the path when/after the "generate,stop" smart callback is called.
13984     *
13985     * @param obj The thumb object.
13986     * @param file Pointer to thumb path.
13987     * @param key Pointer to thumb key.
13988     *
13989     * @see elm_thumb_file_get()
13990     *
13991     * @ingroup Thumb
13992     */
13993    EAPI void                         elm_thumb_path_get(const Evas_Object *obj, const char **file, const char **key) EINA_ARG_NONNULL(1);
13994
13995    /**
13996     * Set the animation state for the thumb object. If its content is an animated
13997     * video, you may start/stop the animation or tell it to play continuously and
13998     * looping.
13999     *
14000     * @param obj The thumb object.
14001     * @param setting The animation setting.
14002     *
14003     * @see elm_thumb_file_set()
14004     *
14005     * @ingroup Thumb
14006     */
14007    EAPI void                         elm_thumb_animate_set(Evas_Object *obj, Elm_Thumb_Animation_Setting s) EINA_ARG_NONNULL(1);
14008
14009    /**
14010     * Get the animation state for the thumb object.
14011     *
14012     * @param obj The thumb object.
14013     * @return getting The animation setting or @c ELM_THUMB_ANIMATION_LAST,
14014     * on errors.
14015     *
14016     * @see elm_thumb_animate_set()
14017     *
14018     * @ingroup Thumb
14019     */
14020    EAPI Elm_Thumb_Animation_Setting  elm_thumb_animate_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14021
14022    /**
14023     * Get the ethumb_client handle so custom configuration can be made.
14024     *
14025     * @return Ethumb_Client instance or NULL.
14026     *
14027     * This must be called before the objects are created to be sure no object is
14028     * visible and no generation started.
14029     *
14030     * Example of usage:
14031     *
14032     * @code
14033     * #include <Elementary.h>
14034     * #ifndef ELM_LIB_QUICKLAUNCH
14035     * EAPI_MAIN int
14036     * elm_main(int argc, char **argv)
14037     * {
14038     *    Ethumb_Client *client;
14039     *
14040     *    elm_need_ethumb();
14041     *
14042     *    // ... your code
14043     *
14044     *    client = elm_thumb_ethumb_client_get();
14045     *    if (!client)
14046     *      {
14047     *         ERR("could not get ethumb_client");
14048     *         return 1;
14049     *      }
14050     *    ethumb_client_size_set(client, 100, 100);
14051     *    ethumb_client_crop_align_set(client, 0.5, 0.5);
14052     *    // ... your code
14053     *
14054     *    // Create elm_thumb objects here
14055     *
14056     *    elm_run();
14057     *    elm_shutdown();
14058     *    return 0;
14059     * }
14060     * #endif
14061     * ELM_MAIN()
14062     * @endcode
14063     *
14064     * @note There's only one client handle for Ethumb, so once a configuration
14065     * change is done to it, any other request for thumbnails (for any thumbnail
14066     * object) will use that configuration. Thus, this configuration is global.
14067     *
14068     * @ingroup Thumb
14069     */
14070    EAPI void                        *elm_thumb_ethumb_client_get(void);
14071
14072    /**
14073     * Get the ethumb_client connection state.
14074     *
14075     * @return EINA_TRUE if the client is connected to the server or EINA_FALSE
14076     * otherwise.
14077     */
14078    EAPI Eina_Bool                    elm_thumb_ethumb_client_connected(void);
14079
14080    /**
14081     * Make the thumbnail 'editable'.
14082     *
14083     * @param obj Thumb object.
14084     * @param set Turn on or off editability. Default is @c EINA_FALSE.
14085     *
14086     * This means the thumbnail is a valid drag target for drag and drop, and can be
14087     * cut or pasted too.
14088     *
14089     * @see elm_thumb_editable_get()
14090     *
14091     * @ingroup Thumb
14092     */
14093    EAPI Eina_Bool                    elm_thumb_editable_set(Evas_Object *obj, Eina_Bool edit) EINA_ARG_NONNULL(1);
14094
14095    /**
14096     * Make the thumbnail 'editable'.
14097     *
14098     * @param obj Thumb object.
14099     * @return Editability.
14100     *
14101     * This means the thumbnail is a valid drag target for drag and drop, and can be
14102     * cut or pasted too.
14103     *
14104     * @see elm_thumb_editable_set()
14105     *
14106     * @ingroup Thumb
14107     */
14108    EAPI Eina_Bool                    elm_thumb_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14109
14110    /**
14111     * @}
14112     */
14113
14114    /**
14115     * @defgroup Web Web
14116     *
14117     * @image html img/widget/web/preview-00.png
14118     * @image latex img/widget/web/preview-00.eps
14119     *
14120     * A web object is used for displaying web pages (HTML/CSS/JS)
14121     * using WebKit-EFL. You must have compiled Elementary with
14122     * ewebkit support.
14123     *
14124     * Signals that you can add callbacks for are:
14125     * @li "download,request": A file download has been requested. Event info is
14126     * a pointer to a Elm_Web_Download
14127     * @li "editorclient,contents,changed": Editor client's contents changed
14128     * @li "editorclient,selection,changed": Editor client's selection changed
14129     * @li "frame,created": A new frame was created. Event info is an
14130     * Evas_Object which can be handled with WebKit's ewk_frame API
14131     * @li "icon,received": An icon was received by the main frame
14132     * @li "inputmethod,changed": Input method changed. Event info is an
14133     * Eina_Bool indicating whether it's enabled or not
14134     * @li "js,windowobject,clear": JS window object has been cleared
14135     * @li "link,hover,in": Mouse cursor is hovering over a link. Event info
14136     * is a char *link[2], where the first string contains the URL the link
14137     * points to, and the second one the title of the link
14138     * @li "link,hover,out": Mouse cursor left the link
14139     * @li "load,document,finished": Loading of a document finished. Event info
14140     * is the frame that finished loading
14141     * @li "load,error": Load failed. Event info is a pointer to
14142     * Elm_Web_Frame_Load_Error
14143     * @li "load,finished": Load finished. Event info is NULL on success, on
14144     * error it's a pointer to Elm_Web_Frame_Load_Error
14145     * @li "load,newwindow,show": A new window was created and is ready to be
14146     * shown
14147     * @li "load,progress": Overall load progress. Event info is a pointer to
14148     * a double containing a value between 0.0 and 1.0
14149     * @li "load,provisional": Started provisional load
14150     * @li "load,started": Loading of a document started
14151     * @li "menubar,visible,get": Queries if the menubar is visible. Event info
14152     * is a pointer to Eina_Bool where the callback should set EINA_TRUE if
14153     * the menubar is visible, or EINA_FALSE in case it's not
14154     * @li "menubar,visible,set": Informs menubar visibility. Event info is
14155     * an Eina_Bool indicating the visibility
14156     * @li "popup,created": A dropdown widget was activated, requesting its
14157     * popup menu to be created. Event info is a pointer to Elm_Web_Menu
14158     * @li "popup,willdelete": The web object is ready to destroy the popup
14159     * object created. Event info is a pointer to Elm_Web_Menu
14160     * @li "ready": Page is fully loaded
14161     * @li "scrollbars,visible,get": Queries visibility of scrollbars. Event
14162     * info is a pointer to Eina_Bool where the visibility state should be set
14163     * @li "scrollbars,visible,set": Informs scrollbars visibility. Event info
14164     * is an Eina_Bool with the visibility state set
14165     * @li "statusbar,text,set": Text of the statusbar changed. Even info is
14166     * a string with the new text
14167     * @li "statusbar,visible,get": Queries visibility of the status bar.
14168     * Event info is a pointer to Eina_Bool where the visibility state should be
14169     * set.
14170     * @li "statusbar,visible,set": Informs statusbar visibility. Event info is
14171     * an Eina_Bool with the visibility value
14172     * @li "title,changed": Title of the main frame changed. Event info is a
14173     * string with the new title
14174     * @li "toolbars,visible,get": Queries visibility of toolbars. Event info
14175     * is a pointer to Eina_Bool where the visibility state should be set
14176     * @li "toolbars,visible,set": Informs the visibility of toolbars. Event
14177     * info is an Eina_Bool with the visibility state
14178     * @li "tooltip,text,set": Show and set text of a tooltip. Event info is
14179     * a string with the text to show
14180     * @li "uri,changed": URI of the main frame changed. Event info is a string
14181     * with the new URI
14182     * @li "view,resized": The web object internal's view changed sized
14183     * @li "windows,close,request": A JavaScript request to close the current
14184     * window was requested
14185     * @li "zoom,animated,end": Animated zoom finished
14186     *
14187     * available styles:
14188     * - default
14189     *
14190     * An example of use of web:
14191     *
14192     * - @ref web_example_01 TBD
14193     */
14194
14195    /**
14196     * @addtogroup Web
14197     * @{
14198     */
14199
14200    /**
14201     * Structure used to report load errors.
14202     *
14203     * Load errors are reported as signal by elm_web. All the strings are
14204     * temporary references and should @b not be used after the signal
14205     * callback returns. If it's required, make copies with strdup() or
14206     * eina_stringshare_add() (they are not even guaranteed to be
14207     * stringshared, so must use eina_stringshare_add() and not
14208     * eina_stringshare_ref()).
14209     */
14210    typedef struct _Elm_Web_Frame_Load_Error Elm_Web_Frame_Load_Error;
14211
14212    /**
14213     * Structure used to report load errors.
14214     *
14215     * Load errors are reported as signal by elm_web. All the strings are
14216     * temporary references and should @b not be used after the signal
14217     * callback returns. If it's required, make copies with strdup() or
14218     * eina_stringshare_add() (they are not even guaranteed to be
14219     * stringshared, so must use eina_stringshare_add() and not
14220     * eina_stringshare_ref()).
14221     */
14222    struct _Elm_Web_Frame_Load_Error
14223      {
14224         int code; /**< Numeric error code */
14225         Eina_Bool is_cancellation; /**< Error produced by cancelling a request */
14226         const char *domain; /**< Error domain name */
14227         const char *description; /**< Error description (already localized) */
14228         const char *failing_url; /**< The URL that failed to load */
14229         Evas_Object *frame; /**< Frame object that produced the error */
14230      };
14231
14232    /**
14233     * The possibles types that the items in a menu can be
14234     */
14235    typedef enum _Elm_Web_Menu_Item_Type
14236      {
14237         ELM_WEB_MENU_SEPARATOR,
14238         ELM_WEB_MENU_GROUP,
14239         ELM_WEB_MENU_OPTION
14240      } Elm_Web_Menu_Item_Type;
14241
14242    /**
14243     * Structure describing the items in a menu
14244     */
14245    typedef struct _Elm_Web_Menu_Item Elm_Web_Menu_Item;
14246
14247    /**
14248     * Structure describing the items in a menu
14249     */
14250    struct _Elm_Web_Menu_Item
14251      {
14252         const char *text; /**< The text for the item */
14253         Elm_Web_Menu_Item_Type type; /**< The type of the item */
14254      };
14255
14256    /**
14257     * Structure describing the menu of a popup
14258     *
14259     * This structure will be passed as the @c event_info for the "popup,create"
14260     * signal, which is emitted when a dropdown menu is opened. Users wanting
14261     * to handle these popups by themselves should listen to this signal and
14262     * set the @c handled property of the struct to @c EINA_TRUE. Leaving this
14263     * property as @c EINA_FALSE means that the user will not handle the popup
14264     * and the default implementation will be used.
14265     *
14266     * When the popup is ready to be dismissed, a "popup,willdelete" signal
14267     * will be emitted to notify the user that it can destroy any objects and
14268     * free all data related to it.
14269     *
14270     * @see elm_web_popup_selected_set()
14271     * @see elm_web_popup_destroy()
14272     */
14273    typedef struct _Elm_Web_Menu Elm_Web_Menu;
14274
14275    /**
14276     * Structure describing the menu of a popup
14277     *
14278     * This structure will be passed as the @c event_info for the "popup,create"
14279     * signal, which is emitted when a dropdown menu is opened. Users wanting
14280     * to handle these popups by themselves should listen to this signal and
14281     * set the @c handled property of the struct to @c EINA_TRUE. Leaving this
14282     * property as @c EINA_FALSE means that the user will not handle the popup
14283     * and the default implementation will be used.
14284     *
14285     * When the popup is ready to be dismissed, a "popup,willdelete" signal
14286     * will be emitted to notify the user that it can destroy any objects and
14287     * free all data related to it.
14288     *
14289     * @see elm_web_popup_selected_set()
14290     * @see elm_web_popup_destroy()
14291     */
14292    struct _Elm_Web_Menu
14293      {
14294         Eina_List *items; /**< List of #Elm_Web_Menu_Item */
14295         int x; /**< The X position of the popup, relative to the elm_web object */
14296         int y; /**< The Y position of the popup, relative to the elm_web object */
14297         int width; /**< Width of the popup menu */
14298         int height; /**< Height of the popup menu */
14299
14300         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. */
14301      };
14302
14303    typedef struct _Elm_Web_Download Elm_Web_Download;
14304    struct _Elm_Web_Download
14305      {
14306         const char *url;
14307      };
14308
14309    /**
14310     * Types of zoom available.
14311     */
14312    typedef enum _Elm_Web_Zoom_Mode
14313      {
14314         ELM_WEB_ZOOM_MODE_MANUAL = 0, /**< Zoom controlled normally by elm_web_zoom_set */
14315         ELM_WEB_ZOOM_MODE_AUTO_FIT, /**< Zoom until content fits in web object */
14316         ELM_WEB_ZOOM_MODE_AUTO_FILL, /**< Zoom until content fills web object */
14317         ELM_WEB_ZOOM_MODE_LAST
14318      } Elm_Web_Zoom_Mode;
14319
14320    /**
14321     * Opaque handler containing the features (such as statusbar, menubar, etc)
14322     * that are to be set on a newly requested window.
14323     */
14324    typedef struct _Elm_Web_Window_Features Elm_Web_Window_Features;
14325
14326    /**
14327     * Callback type for the create_window hook.
14328     *
14329     * The function parameters are:
14330     * @li @p data User data pointer set when setting the hook function
14331     * @li @p obj The elm_web object requesting the new window
14332     * @li @p js Set to @c EINA_TRUE if the request was originated from
14333     * JavaScript. @c EINA_FALSE otherwise.
14334     * @li @p window_features A pointer of #Elm_Web_Window_Features indicating
14335     * the features requested for the new window.
14336     *
14337     * The returned value of the function should be the @c elm_web widget where
14338     * the request will be loaded. That is, if a new window or tab is created,
14339     * the elm_web widget in it should be returned, and @b NOT the window
14340     * object.
14341     * Returning @c NULL should cancel the request.
14342     *
14343     * @see elm_web_window_create_hook_set()
14344     */
14345    typedef Evas_Object *(*Elm_Web_Window_Open)(void *data, Evas_Object *obj, Eina_Bool js, const Elm_Web_Window_Features *window_features);
14346
14347    /**
14348     * Callback type for the JS alert hook.
14349     *
14350     * The function parameters are:
14351     * @li @p data User data pointer set when setting the hook function
14352     * @li @p obj The elm_web object requesting the new window
14353     * @li @p message The message to show in the alert dialog
14354     *
14355     * The function should return the object representing the alert dialog.
14356     * Elm_Web will run a second main loop to handle the dialog and normal
14357     * flow of the application will be restored when the object is deleted, so
14358     * the user should handle the popup properly in order to delete the object
14359     * when the action is finished.
14360     * If the function returns @c NULL the popup will be ignored.
14361     *
14362     * @see elm_web_dialog_alert_hook_set()
14363     */
14364    typedef Evas_Object *(*Elm_Web_Dialog_Alert)(void *data, Evas_Object *obj, const char *message);
14365
14366    /**
14367     * Callback type for the JS confirm hook.
14368     *
14369     * The function parameters are:
14370     * @li @p data User data pointer set when setting the hook function
14371     * @li @p obj The elm_web object requesting the new window
14372     * @li @p message The message to show in the confirm dialog
14373     * @li @p ret Pointer where to store the user selection. @c EINA_TRUE if
14374     * the user selected @c Ok, @c EINA_FALSE otherwise.
14375     *
14376     * The function should return the object representing the confirm dialog.
14377     * Elm_Web will run a second main loop to handle the dialog and normal
14378     * flow of the application will be restored when the object is deleted, so
14379     * the user should handle the popup properly in order to delete the object
14380     * when the action is finished.
14381     * If the function returns @c NULL the popup will be ignored.
14382     *
14383     * @see elm_web_dialog_confirm_hook_set()
14384     */
14385    typedef Evas_Object *(*Elm_Web_Dialog_Confirm)(void *data, Evas_Object *obj, const char *message, Eina_Bool *ret);
14386
14387    /**
14388     * Callback type for the JS prompt hook.
14389     *
14390     * The function parameters are:
14391     * @li @p data User data pointer set when setting the hook function
14392     * @li @p obj The elm_web object requesting the new window
14393     * @li @p message The message to show in the prompt dialog
14394     * @li @p def_value The default value to present the user in the entry
14395     * @li @p value Pointer where to store the value given by the user. Must
14396     * be a malloc'ed string or @c NULL if the user cancelled the popup.
14397     * @li @p ret Pointer where to store the user selection. @c EINA_TRUE if
14398     * the user selected @c Ok, @c EINA_FALSE otherwise.
14399     *
14400     * The function should return the object representing the prompt dialog.
14401     * Elm_Web will run a second main loop to handle the dialog and normal
14402     * flow of the application will be restored when the object is deleted, so
14403     * the user should handle the popup properly in order to delete the object
14404     * when the action is finished.
14405     * If the function returns @c NULL the popup will be ignored.
14406     *
14407     * @see elm_web_dialog_prompt_hook_set()
14408     */
14409    typedef Evas_Object *(*Elm_Web_Dialog_Prompt)(void *data, Evas_Object *obj, const char *message, const char *def_value, char **value, Eina_Bool *ret);
14410
14411    /**
14412     * Callback type for the JS file selector hook.
14413     *
14414     * The function parameters are:
14415     * @li @p data User data pointer set when setting the hook function
14416     * @li @p obj The elm_web object requesting the new window
14417     * @li @p allows_multiple @c EINA_TRUE if multiple files can be selected.
14418     * @li @p accept_types Mime types accepted
14419     * @li @p selected Pointer where to store the list of malloc'ed strings
14420     * containing the path to each file selected. Must be @c NULL if the file
14421     * dialog is cancelled
14422     * @li @p ret Pointer where to store the user selection. @c EINA_TRUE if
14423     * the user selected @c Ok, @c EINA_FALSE otherwise.
14424     *
14425     * The function should return the object representing the file selector
14426     * dialog.
14427     * Elm_Web will run a second main loop to handle the dialog and normal
14428     * flow of the application will be restored when the object is deleted, so
14429     * the user should handle the popup properly in order to delete the object
14430     * when the action is finished.
14431     * If the function returns @c NULL the popup will be ignored.
14432     *
14433     * @see elm_web_dialog_file selector_hook_set()
14434     */
14435    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);
14436
14437    /**
14438     * Callback type for the JS console message hook.
14439     *
14440     * When a console message is added from JavaScript, any set function to the
14441     * console message hook will be called for the user to handle. There is no
14442     * default implementation of this hook.
14443     *
14444     * The function parameters are:
14445     * @li @p data User data pointer set when setting the hook function
14446     * @li @p obj The elm_web object that originated the message
14447     * @li @p message The message sent
14448     * @li @p line_number The line number
14449     * @li @p source_id Source id
14450     *
14451     * @see elm_web_console_message_hook_set()
14452     */
14453    typedef void (*Elm_Web_Console_Message)(void *data, Evas_Object *obj, const char *message, unsigned int line_number, const char *source_id);
14454
14455    /**
14456     * Add a new web object to the parent.
14457     *
14458     * @param parent The parent object.
14459     * @return The new object or NULL if it cannot be created.
14460     *
14461     * @see elm_web_uri_set()
14462     * @see elm_web_webkit_view_get()
14463     */
14464    EAPI Evas_Object                 *elm_web_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
14465
14466    /**
14467     * Get internal ewk_view object from web object.
14468     *
14469     * Elementary may not provide some low level features of EWebKit,
14470     * instead of cluttering the API with proxy methods we opted to
14471     * return the internal reference. Be careful using it as it may
14472     * interfere with elm_web behavior.
14473     *
14474     * @param obj The web object.
14475     * @return The internal ewk_view object or NULL if it does not
14476     *         exist. (Failure to create or Elementary compiled without
14477     *         ewebkit)
14478     *
14479     * @see elm_web_add()
14480     */
14481    EAPI Evas_Object                 *elm_web_webkit_view_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14482
14483    /**
14484     * Sets the function to call when a new window is requested
14485     *
14486     * This hook will be called when a request to create a new window is
14487     * issued from the web page loaded.
14488     * There is no default implementation for this feature, so leaving this
14489     * unset or passing @c NULL in @p func will prevent new windows from
14490     * opening.
14491     *
14492     * @param obj The web object where to set the hook function
14493     * @param func The hook function to be called when a window is requested
14494     * @param data User data
14495     */
14496    EAPI void                         elm_web_window_create_hook_set(Evas_Object *obj, Elm_Web_Window_Open func, void *data);
14497
14498    /**
14499     * Sets the function to call when an alert dialog
14500     *
14501     * This hook will be called when a JavaScript alert dialog is requested.
14502     * If no function is set or @c NULL is passed in @p func, the default
14503     * implementation will take place.
14504     *
14505     * @param obj The web object where to set the hook function
14506     * @param func The callback function to be used
14507     * @param data User data
14508     *
14509     * @see elm_web_inwin_mode_set()
14510     */
14511    EAPI void                         elm_web_dialog_alert_hook_set(Evas_Object *obj, Elm_Web_Dialog_Alert func, void *data);
14512
14513    /**
14514     * Sets the function to call when an confirm dialog
14515     *
14516     * This hook will be called when a JavaScript confirm dialog is requested.
14517     * If no function is set or @c NULL is passed in @p func, the default
14518     * implementation will take place.
14519     *
14520     * @param obj The web object where to set the hook function
14521     * @param func The callback function to be used
14522     * @param data User data
14523     *
14524     * @see elm_web_inwin_mode_set()
14525     */
14526    EAPI void                         elm_web_dialog_confirm_hook_set(Evas_Object *obj, Elm_Web_Dialog_Confirm func, void *data);
14527
14528    /**
14529     * Sets the function to call when an prompt dialog
14530     *
14531     * This hook will be called when a JavaScript prompt dialog is requested.
14532     * If no function is set or @c NULL is passed in @p func, the default
14533     * implementation will take place.
14534     *
14535     * @param obj The web object where to set the hook function
14536     * @param func The callback function to be used
14537     * @param data User data
14538     *
14539     * @see elm_web_inwin_mode_set()
14540     */
14541    EAPI void                         elm_web_dialog_prompt_hook_set(Evas_Object *obj, Elm_Web_Dialog_Prompt func, void *data);
14542
14543    /**
14544     * Sets the function to call when an file selector dialog
14545     *
14546     * This hook will be called when a JavaScript file selector dialog is
14547     * requested.
14548     * If no function is set or @c NULL is passed in @p func, the default
14549     * implementation will take place.
14550     *
14551     * @param obj The web object where to set the hook function
14552     * @param func The callback function to be used
14553     * @param data User data
14554     *
14555     * @see elm_web_inwin_mode_set()
14556     */
14557    EAPI void                         elm_web_dialog_file_selector_hook_set(Evas_Object *obj, Elm_Web_Dialog_File_Selector func, void *data);
14558
14559    /**
14560     * Sets the function to call when a console message is emitted from JS
14561     *
14562     * This hook will be called when a console message is emitted from
14563     * JavaScript. There is no default implementation for this feature.
14564     *
14565     * @param obj The web object where to set the hook function
14566     * @param func The callback function to be used
14567     * @param data User data
14568     */
14569    EAPI void                         elm_web_console_message_hook_set(Evas_Object *obj, Elm_Web_Console_Message func, void *data);
14570
14571    /**
14572     * Gets the status of the tab propagation
14573     *
14574     * @param obj The web object to query
14575     * @return EINA_TRUE if tab propagation is enabled, EINA_FALSE otherwise
14576     *
14577     * @see elm_web_tab_propagate_set()
14578     */
14579    EAPI Eina_Bool                    elm_web_tab_propagate_get(const Evas_Object *obj);
14580
14581    /**
14582     * Sets whether to use tab propagation
14583     *
14584     * If tab propagation is enabled, whenever the user presses the Tab key,
14585     * Elementary will handle it and switch focus to the next widget.
14586     * The default value is disabled, where WebKit will handle the Tab key to
14587     * cycle focus though its internal objects, jumping to the next widget
14588     * only when that cycle ends.
14589     *
14590     * @param obj The web object
14591     * @param propagate Whether to propagate Tab keys to Elementary or not
14592     */
14593    EAPI void                         elm_web_tab_propagate_set(Evas_Object *obj, Eina_Bool propagate);
14594
14595    /**
14596     * Sets the URI for the web object
14597     *
14598     * It must be a full URI, with resource included, in the form
14599     * http://www.enlightenment.org or file:///tmp/something.html
14600     *
14601     * @param obj The web object
14602     * @param uri The URI to set
14603     * @return EINA_TRUE if the URI could be, EINA_FALSE if an error occurred
14604     */
14605    EAPI Eina_Bool                    elm_web_uri_set(Evas_Object *obj, const char *uri);
14606
14607    /**
14608     * Gets the current URI for the object
14609     *
14610     * The returned string must not be freed and is guaranteed to be
14611     * stringshared.
14612     *
14613     * @param obj The web object
14614     * @return A stringshared internal string with the current URI, or NULL on
14615     * failure
14616     */
14617    EAPI const char                  *elm_web_uri_get(const Evas_Object *obj);
14618
14619    /**
14620     * Gets the current title
14621     *
14622     * The returned string must not be freed and is guaranteed to be
14623     * stringshared.
14624     *
14625     * @param obj The web object
14626     * @return A stringshared internal string with the current title, or NULL on
14627     * failure
14628     */
14629    EAPI const char                  *elm_web_title_get(const Evas_Object *obj);
14630
14631    /**
14632     * Sets the background color to be used by the web object
14633     *
14634     * This is the color that will be used by default when the loaded page
14635     * does not set it's own. Color values are pre-multiplied.
14636     *
14637     * @param obj The web object
14638     * @param r Red component
14639     * @param g Green component
14640     * @param b Blue component
14641     * @param a Alpha component
14642     */
14643    EAPI void                         elm_web_bg_color_set(Evas_Object *obj, int r, int g, int b, int a);
14644
14645    /**
14646     * Gets the background color to be used by the web object
14647     *
14648     * This is the color that will be used by default when the loaded page
14649     * does not set it's own. Color values are pre-multiplied.
14650     *
14651     * @param obj The web object
14652     * @param r Red component
14653     * @param g Green component
14654     * @param b Blue component
14655     * @param a Alpha component
14656     */
14657    EAPI void                         elm_web_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b, int *a);
14658
14659    /**
14660     * Gets a copy of the currently selected text
14661     *
14662     * The string returned must be freed by the user when it's done with it.
14663     *
14664     * @param obj The web object
14665     * @return A newly allocated string, or NULL if nothing is selected or an
14666     * error occurred
14667     */
14668    EAPI char                        *elm_view_selection_get(const Evas_Object *obj);
14669
14670    /**
14671     * Tells the web object which index in the currently open popup was selected
14672     *
14673     * When the user handles the popup creation from the "popup,created" signal,
14674     * it needs to tell the web object which item was selected by calling this
14675     * function with the index corresponding to the item.
14676     *
14677     * @param obj The web object
14678     * @param index The index selected
14679     *
14680     * @see elm_web_popup_destroy()
14681     */
14682    EAPI void                         elm_web_popup_selected_set(Evas_Object *obj, int index);
14683
14684    /**
14685     * Dismisses an open dropdown popup
14686     *
14687     * When the popup from a dropdown widget is to be dismissed, either after
14688     * selecting an option or to cancel it, this function must be called, which
14689     * will later emit an "popup,willdelete" signal to notify the user that
14690     * any memory and objects related to this popup can be freed.
14691     *
14692     * @param obj The web object
14693     * @return EINA_TRUE if the menu was successfully destroyed, or EINA_FALSE
14694     * if there was no menu to destroy
14695     */
14696    EAPI Eina_Bool                    elm_web_popup_destroy(Evas_Object *obj);
14697
14698    /**
14699     * Searches the given string in a document.
14700     *
14701     * @param obj The web object where to search the text
14702     * @param string String to search
14703     * @param case_sensitive If search should be case sensitive or not
14704     * @param forward If search is from cursor and on or backwards
14705     * @param wrap If search should wrap at the end
14706     *
14707     * @return @c EINA_TRUE if the given string was found, @c EINA_FALSE if not
14708     * or failure
14709     */
14710    EAPI Eina_Bool                    elm_web_text_search(const Evas_Object *obj, const char *string, Eina_Bool case_sensitive, Eina_Bool forward, Eina_Bool wrap);
14711
14712    /**
14713     * Marks matches of the given string in a document.
14714     *
14715     * @param obj The web object where to search text
14716     * @param string String to match
14717     * @param case_sensitive If match should be case sensitive or not
14718     * @param highlight If matches should be highlighted
14719     * @param limit Maximum amount of matches, or zero to unlimited
14720     *
14721     * @return number of matched @a string
14722     */
14723    EAPI unsigned int                 elm_web_text_matches_mark(Evas_Object *obj, const char *string, Eina_Bool case_sensitive, Eina_Bool highlight, unsigned int limit);
14724
14725    /**
14726     * Clears all marked matches in the document
14727     *
14728     * @param obj The web object
14729     *
14730     * @return EINA_TRUE on success, EINA_FALSE otherwise
14731     */
14732    EAPI Eina_Bool                    elm_web_text_matches_unmark_all(Evas_Object *obj);
14733
14734    /**
14735     * Sets whether to highlight the matched marks
14736     *
14737     * If enabled, marks set with elm_web_text_matches_mark() will be
14738     * highlighted.
14739     *
14740     * @param obj The web object
14741     * @param highlight Whether to highlight the marks or not
14742     *
14743     * @return EINA_TRUE on success, EINA_FALSE otherwise
14744     */
14745    EAPI Eina_Bool                    elm_web_text_matches_highlight_set(Evas_Object *obj, Eina_Bool highlight);
14746
14747    /**
14748     * Gets whether highlighting marks is enabled
14749     *
14750     * @param The web object
14751     *
14752     * @return EINA_TRUE is marks are set to be highlighted, EINA_FALSE
14753     * otherwise
14754     */
14755    EAPI Eina_Bool                    elm_web_text_matches_highlight_get(const Evas_Object *obj);
14756
14757    /**
14758     * Gets the overall loading progress of the page
14759     *
14760     * Returns the estimated loading progress of the page, with a value between
14761     * 0.0 and 1.0. This is an estimated progress accounting for all the frames
14762     * included in the page.
14763     *
14764     * @param The web object
14765     *
14766     * @return A value between 0.0 and 1.0 indicating the progress, or -1.0 on
14767     * failure
14768     */
14769    EAPI double                       elm_web_load_progress_get(const Evas_Object *obj);
14770
14771    /**
14772     * Stops loading the current page
14773     *
14774     * Cancels the loading of the current page in the web object. This will
14775     * cause a "load,error" signal to be emitted, with the is_cancellation
14776     * flag set to EINA_TRUE.
14777     *
14778     * @param obj The web object
14779     *
14780     * @return EINA_TRUE if the cancel was successful, EINA_FALSE otherwise
14781     */
14782    EAPI Eina_Bool                    elm_web_stop(Evas_Object *obj);
14783
14784    /**
14785     * Requests a reload of the current document in the object
14786     *
14787     * @param obj The web object
14788     *
14789     * @return EINA_TRUE on success, EINA_FALSE otherwise
14790     */
14791    EAPI Eina_Bool                    elm_web_reload(Evas_Object *obj);
14792
14793    /**
14794     * Requests a reload of the current document, avoiding any existing caches
14795     *
14796     * @param obj The web object
14797     *
14798     * @return EINA_TRUE on success, EINA_FALSE otherwise
14799     */
14800    EAPI Eina_Bool                    elm_web_reload_full(Evas_Object *obj);
14801
14802    /**
14803     * Goes back one step in the browsing history
14804     *
14805     * This is equivalent to calling elm_web_object_navigate(obj, -1);
14806     *
14807     * @param obj The web object
14808     *
14809     * @return EINA_TRUE on success, EINA_FALSE otherwise
14810     *
14811     * @see elm_web_history_enable_set()
14812     * @see elm_web_back_possible()
14813     * @see elm_web_forward()
14814     * @see elm_web_navigate()
14815     */
14816    EAPI Eina_Bool                    elm_web_back(Evas_Object *obj);
14817
14818    /**
14819     * Goes forward one step in the browsing history
14820     *
14821     * This is equivalent to calling elm_web_object_navigate(obj, 1);
14822     *
14823     * @param obj The web object
14824     *
14825     * @return EINA_TRUE on success, EINA_FALSE otherwise
14826     *
14827     * @see elm_web_history_enable_set()
14828     * @see elm_web_forward_possible()
14829     * @see elm_web_back()
14830     * @see elm_web_navigate()
14831     */
14832    EAPI Eina_Bool                    elm_web_forward(Evas_Object *obj);
14833
14834    /**
14835     * Jumps the given number of steps in the browsing history
14836     *
14837     * The @p steps value can be a negative integer to back in history, or a
14838     * positive to move forward.
14839     *
14840     * @param obj The web object
14841     * @param steps The number of steps to jump
14842     *
14843     * @return EINA_TRUE on success, EINA_FALSE on error or if not enough
14844     * history exists to jump the given number of steps
14845     *
14846     * @see elm_web_history_enable_set()
14847     * @see elm_web_navigate_possible()
14848     * @see elm_web_back()
14849     * @see elm_web_forward()
14850     */
14851    EAPI Eina_Bool                    elm_web_navigate(Evas_Object *obj, int steps);
14852
14853    /**
14854     * Queries whether it's possible to go back in history
14855     *
14856     * @param obj The web object
14857     *
14858     * @return EINA_TRUE if it's possible to back in history, EINA_FALSE
14859     * otherwise
14860     */
14861    EAPI Eina_Bool                    elm_web_back_possible(Evas_Object *obj);
14862
14863    /**
14864     * Queries whether it's possible to go forward in history
14865     *
14866     * @param obj The web object
14867     *
14868     * @return EINA_TRUE if it's possible to forward in history, EINA_FALSE
14869     * otherwise
14870     */
14871    EAPI Eina_Bool                    elm_web_forward_possible(Evas_Object *obj);
14872
14873    /**
14874     * Queries whether it's possible to jump the given number of steps
14875     *
14876     * The @p steps value can be a negative integer to back in history, or a
14877     * positive to move forward.
14878     *
14879     * @param obj The web object
14880     * @param steps The number of steps to check for
14881     *
14882     * @return EINA_TRUE if enough history exists to perform the given jump,
14883     * EINA_FALSE otherwise
14884     */
14885    EAPI Eina_Bool                    elm_web_navigate_possible(Evas_Object *obj, int steps);
14886
14887    /**
14888     * Gets whether browsing history is enabled for the given object
14889     *
14890     * @param obj The web object
14891     *
14892     * @return EINA_TRUE if history is enabled, EINA_FALSE otherwise
14893     */
14894    EAPI Eina_Bool                    elm_web_history_enable_get(const Evas_Object *obj);
14895
14896    /**
14897     * Enables or disables the browsing history
14898     *
14899     * @param obj The web object
14900     * @param enable Whether to enable or disable the browsing history
14901     */
14902    EAPI void                         elm_web_history_enable_set(Evas_Object *obj, Eina_Bool enable);
14903
14904    /**
14905     * Sets the zoom level of the web object
14906     *
14907     * Zoom level matches the Webkit API, so 1.0 means normal zoom, with higher
14908     * values meaning zoom in and lower meaning zoom out. This function will
14909     * only affect the zoom level if the mode set with elm_web_zoom_mode_set()
14910     * is ::ELM_WEB_ZOOM_MODE_MANUAL.
14911     *
14912     * @param obj The web object
14913     * @param zoom The zoom level to set
14914     */
14915    EAPI void                         elm_web_zoom_set(Evas_Object *obj, double zoom);
14916
14917    /**
14918     * Gets the current zoom level set on the web object
14919     *
14920     * Note that this is the zoom level set on the web object and not that
14921     * of the underlying Webkit one. In the ::ELM_WEB_ZOOM_MODE_MANUAL mode,
14922     * the two zoom levels should match, but for the other two modes the
14923     * Webkit zoom is calculated internally to match the chosen mode without
14924     * changing the zoom level set for the web object.
14925     *
14926     * @param obj The web object
14927     *
14928     * @return The zoom level set on the object
14929     */
14930    EAPI double                       elm_web_zoom_get(const Evas_Object *obj);
14931
14932    /**
14933     * Sets the zoom mode to use
14934     *
14935     * The modes can be any of those defined in ::Elm_Web_Zoom_Mode, except
14936     * ::ELM_WEB_ZOOM_MODE_LAST. The default is ::ELM_WEB_ZOOM_MODE_MANUAL.
14937     *
14938     * ::ELM_WEB_ZOOM_MODE_MANUAL means the zoom level will be controlled
14939     * with the elm_web_zoom_set() function.
14940     * ::ELM_WEB_ZOOM_MODE_AUTO_FIT will calculate the needed zoom level to
14941     * make sure the entirety of the web object's contents are shown.
14942     * ::ELM_WEB_ZOOM_MODE_AUTO_FILL will calculate the needed zoom level to
14943     * fit the contents in the web object's size, without leaving any space
14944     * unused.
14945     *
14946     * @param obj The web object
14947     * @param mode The mode to set
14948     */
14949    EAPI void                         elm_web_zoom_mode_set(Evas_Object *obj, Elm_Web_Zoom_Mode mode);
14950
14951    /**
14952     * Gets the currently set zoom mode
14953     *
14954     * @param obj The web object
14955     *
14956     * @return The current zoom mode set for the object, or
14957     * ::ELM_WEB_ZOOM_MODE_LAST on error
14958     */
14959    EAPI Elm_Web_Zoom_Mode            elm_web_zoom_mode_get(const Evas_Object *obj);
14960
14961    /**
14962     * Shows the given region in the web object
14963     *
14964     * @param obj The web object
14965     * @param x The x coordinate of the region to show
14966     * @param y The y coordinate of the region to show
14967     * @param w The width of the region to show
14968     * @param h The height of the region to show
14969     */
14970    EAPI void                         elm_web_region_show(Evas_Object *obj, int x, int y, int w, int h);
14971
14972    /**
14973     * Brings in the region to the visible area
14974     *
14975     * Like elm_web_region_show(), but it animates the scrolling of the object
14976     * to show the area
14977     *
14978     * @param obj The web object
14979     * @param x The x coordinate of the region to show
14980     * @param y The y coordinate of the region to show
14981     * @param w The width of the region to show
14982     * @param h The height of the region to show
14983     */
14984    EAPI void                         elm_web_region_bring_in(Evas_Object *obj, int x, int y, int w, int h);
14985
14986    /**
14987     * Sets the default dialogs to use an Inwin instead of a normal window
14988     *
14989     * If set, then the default implementation for the JavaScript dialogs and
14990     * file selector will be opened in an Inwin. Otherwise they will use a
14991     * normal separated window.
14992     *
14993     * @param obj The web object
14994     * @param value EINA_TRUE to use Inwin, EINA_FALSE to use a normal window
14995     */
14996    EAPI void                         elm_web_inwin_mode_set(Evas_Object *obj, Eina_Bool value);
14997
14998    /**
14999     * Gets whether Inwin mode is set for the current object
15000     *
15001     * @param obj The web object
15002     *
15003     * @return EINA_TRUE if Inwin mode is set, EINA_FALSE otherwise
15004     */
15005    EAPI Eina_Bool                    elm_web_inwin_mode_get(const Evas_Object *obj);
15006
15007    EAPI void                         elm_web_window_features_ref(Elm_Web_Window_Features *wf);
15008    EAPI void                         elm_web_window_features_unref(Elm_Web_Window_Features *wf);
15009    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);
15010    EAPI void                         elm_web_window_features_int_property_get(const Elm_Web_Window_Features *wf, int *x, int *y, int *w, int *h);
15011
15012    /**
15013     * @}
15014     */
15015
15016    /**
15017     * @defgroup Hoversel Hoversel
15018     *
15019     * @image html img/widget/hoversel/preview-00.png
15020     * @image latex img/widget/hoversel/preview-00.eps
15021     *
15022     * A hoversel is a button that pops up a list of items (automatically
15023     * choosing the direction to display) that have a label and, optionally, an
15024     * icon to select from. It is a convenience widget to avoid the need to do
15025     * all the piecing together yourself. It is intended for a small number of
15026     * items in the hoversel menu (no more than 8), though is capable of many
15027     * more.
15028     *
15029     * Signals that you can add callbacks for are:
15030     * "clicked" - the user clicked the hoversel button and popped up the sel
15031     * "selected" - an item in the hoversel list is selected. event_info is the item
15032     * "dismissed" - the hover is dismissed
15033     *
15034     * See @ref tutorial_hoversel for an example.
15035     * @{
15036     */
15037
15038    /**
15039     * @brief Add a new Hoversel object
15040     *
15041     * @param parent The parent object
15042     * @return The new object or NULL if it cannot be created
15043     */
15044    EAPI Evas_Object       *elm_hoversel_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
15045
15046    /**
15047     * @brief This sets the hoversel to expand horizontally.
15048     *
15049     * @param obj The hoversel object
15050     * @param horizontal If true, the hover will expand horizontally to the
15051     * right.
15052     *
15053     * @note The initial button will display horizontally regardless of this
15054     * setting.
15055     */
15056    EAPI void               elm_hoversel_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
15057
15058    /**
15059     * @brief This returns whether the hoversel is set to expand horizontally.
15060     *
15061     * @param obj The hoversel object
15062     * @return If true, the hover will expand horizontally to the right.
15063     *
15064     * @see elm_hoversel_horizontal_set()
15065     */
15066    EAPI Eina_Bool          elm_hoversel_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15067
15068    /**
15069     * @brief Set the Hover parent
15070     *
15071     * @param obj The hoversel object
15072     * @param parent The parent to use
15073     *
15074     * Sets the hover parent object, the area that will be darkened when the
15075     * hoversel is clicked. Should probably be the window that the hoversel is
15076     * in. See @ref Hover objects for more information.
15077     */
15078    EAPI void               elm_hoversel_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
15079    /**
15080     * @brief Get the Hover parent
15081     *
15082     * @param obj The hoversel object
15083     * @return The used parent
15084     *
15085     * Gets the hover parent object.
15086     *
15087     * @see elm_hoversel_hover_parent_set()
15088     */
15089    EAPI Evas_Object       *elm_hoversel_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15090
15091    /**
15092     * @brief Set the hoversel button label
15093     *
15094     * @param obj The hoversel object
15095     * @param label The label text.
15096     *
15097     * This sets the label of the button that is always visible (before it is
15098     * clicked and expanded).
15099     *
15100     * @deprecated elm_object_text_set()
15101     */
15102    EINA_DEPRECATED EAPI void               elm_hoversel_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
15103
15104    /**
15105     * @brief Get the hoversel button label
15106     *
15107     * @param obj The hoversel object
15108     * @return The label text.
15109     *
15110     * @deprecated elm_object_text_get()
15111     */
15112    EINA_DEPRECATED EAPI const char        *elm_hoversel_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15113
15114    /**
15115     * @brief Set the icon of the hoversel button
15116     *
15117     * @param obj The hoversel object
15118     * @param icon The icon object
15119     *
15120     * Sets the icon of the button that is always visible (before it is clicked
15121     * and expanded).  Once the icon object is set, a previously set one will be
15122     * deleted, if you want to keep that old content object, use the
15123     * elm_hoversel_icon_unset() function.
15124     *
15125     * @see elm_object_content_set() for the button widget
15126     */
15127    EAPI void               elm_hoversel_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
15128
15129    /**
15130     * @brief Get the icon of the hoversel button
15131     *
15132     * @param obj The hoversel object
15133     * @return The icon object
15134     *
15135     * Get the icon of the button that is always visible (before it is clicked
15136     * and expanded). Also see elm_object_content_get() for the button widget.
15137     *
15138     * @see elm_hoversel_icon_set()
15139     */
15140    EAPI Evas_Object       *elm_hoversel_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15141
15142    /**
15143     * @brief Get and unparent the icon of the hoversel button
15144     *
15145     * @param obj The hoversel object
15146     * @return The icon object that was being used
15147     *
15148     * Unparent and return the icon of the button that is always visible
15149     * (before it is clicked and expanded).
15150     *
15151     * @see elm_hoversel_icon_set()
15152     * @see elm_object_content_unset() for the button widget
15153     */
15154    EAPI Evas_Object       *elm_hoversel_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15155
15156    /**
15157     * @brief This triggers the hoversel popup from code, the same as if the user
15158     * had clicked the button.
15159     *
15160     * @param obj The hoversel object
15161     */
15162    EAPI void               elm_hoversel_hover_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
15163
15164    /**
15165     * @brief This dismisses the hoversel popup as if the user had clicked
15166     * outside the hover.
15167     *
15168     * @param obj The hoversel object
15169     */
15170    EAPI void               elm_hoversel_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
15171
15172    /**
15173     * @brief Returns whether the hoversel is expanded.
15174     *
15175     * @param obj The hoversel object
15176     * @return  This will return EINA_TRUE if the hoversel is expanded or
15177     * EINA_FALSE if it is not expanded.
15178     */
15179    EAPI Eina_Bool          elm_hoversel_expanded_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15180
15181    /**
15182     * @brief This will remove all the children items from the hoversel.
15183     *
15184     * @param obj The hoversel object
15185     *
15186     * @warning Should @b not be called while the hoversel is active; use
15187     * elm_hoversel_expanded_get() to check first.
15188     *
15189     * @see elm_hoversel_item_del_cb_set()
15190     * @see elm_hoversel_item_del()
15191     */
15192    EAPI void               elm_hoversel_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
15193
15194    /**
15195     * @brief Get the list of items within the given hoversel.
15196     *
15197     * @param obj The hoversel object
15198     * @return Returns a list of Elm_Object_Item*
15199     *
15200     * @see elm_hoversel_item_add()
15201     */
15202    EAPI const Eina_List   *elm_hoversel_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15203
15204    /**
15205     * @brief Add an item to the hoversel button
15206     *
15207     * @param obj The hoversel object
15208     * @param label The text label to use for the item (NULL if not desired)
15209     * @param icon_file An image file path on disk to use for the icon or standard
15210     * icon name (NULL if not desired)
15211     * @param icon_type The icon type if relevant
15212     * @param func Convenience function to call when this item is selected
15213     * @param data Data to pass to item-related functions
15214     * @return A handle to the item added.
15215     *
15216     * This adds an item to the hoversel to show when it is clicked. Note: if you
15217     * need to use an icon from an edje file then use
15218     * elm_hoversel_item_icon_set() right after the this function, and set
15219     * icon_file to NULL here.
15220     *
15221     * For more information on what @p icon_file and @p icon_type are see the
15222     * @ref Icon "icon documentation".
15223     */
15224    EAPI Elm_Object_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);
15225
15226    /**
15227     * @brief Delete an item from the hoversel
15228     *
15229     * @param it The item to delete
15230     *
15231     * This deletes the item from the hoversel (should not be called while the
15232     * hoversel is active; use elm_hoversel_expanded_get() to check first).
15233     *
15234     * @see elm_hoversel_item_add()
15235     * @see elm_hoversel_item_del_cb_set()
15236     */
15237    EAPI void               elm_hoversel_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
15238
15239    /**
15240     * @brief Set the function to be called when an item from the hoversel is
15241     * freed.
15242     *
15243     * @param item The item to set the callback on
15244     * @param func The function called
15245     *
15246     * That function will receive these parameters:
15247     * @li void * item data
15248     * @li Evas_Object * hoversel object
15249     * @li Elm_Object_Item * hoversel item
15250     *
15251     * @see elm_hoversel_item_add()
15252     */
15253    EAPI void               elm_hoversel_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
15254
15255    /**
15256     * @brief This returns the data pointer supplied with elm_hoversel_item_add()
15257     * that will be passed to associated function callbacks.
15258     *
15259     * @param it The item to get the data from
15260     * @return The data pointer set with elm_hoversel_item_add()
15261     *
15262     * @see elm_hoversel_item_add()
15263     */
15264    EAPI void              *elm_hoversel_item_data_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
15265
15266    /**
15267     * @brief This returns the label text of the given hoversel item.
15268     *
15269     * @param it The item to get the label
15270     * @return The label text of the hoversel item
15271     *
15272     * @see elm_hoversel_item_add()
15273     */
15274    EAPI const char        *elm_hoversel_item_label_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
15275
15276    /**
15277     * @brief This sets the icon for the given hoversel item.
15278     *
15279     * @param item The item to set the icon
15280     * @param icon_file An image file path on disk to use for the icon or standard
15281     * icon name
15282     * @param icon_group The edje group to use if @p icon_file is an edje file. Set this
15283     * to NULL if the icon is not an edje file
15284     * @param icon_type The icon type
15285     *
15286     * The icon can be loaded from the standard set, from an image file, or from
15287     * an edje file.
15288     *
15289     * @see elm_hoversel_item_add()
15290     */
15291    EAPI void               elm_hoversel_item_icon_set(Elm_Object_Item *it, const char *icon_file, const char *icon_group, Elm_Icon_Type icon_type) EINA_ARG_NONNULL(1);
15292
15293    /**
15294     * @brief Get the icon object of the hoversel item
15295     *
15296     * @param item The item to get the icon from
15297     * @param icon_file The image file path on disk used for the icon or standard
15298     * icon name
15299     * @param icon_group The edje group used if @p icon_file is an edje file. NULL
15300     * if the icon is not an edje file
15301     * @param icon_type The icon type
15302     *
15303     * @see elm_hoversel_item_icon_set()
15304     * @see elm_hoversel_item_add()
15305     */
15306    EAPI void               elm_hoversel_item_icon_get(const Elm_Object_Item *it, const char **icon_file, const char **icon_group, Elm_Icon_Type *icon_type) EINA_ARG_NONNULL(1);
15307
15308    /**
15309     * @}
15310     */
15311
15312    /**
15313     * @defgroup Toolbar Toolbar
15314     * @ingroup Elementary
15315     *
15316     * @image html img/widget/toolbar/preview-00.png
15317     * @image latex img/widget/toolbar/preview-00.eps width=\textwidth
15318     *
15319     * @image html img/toolbar.png
15320     * @image latex img/toolbar.eps width=\textwidth
15321     *
15322     * A toolbar is a widget that displays a list of items inside
15323     * a box. It can be scrollable, show a menu with items that don't fit
15324     * to toolbar size or even crop them.
15325     *
15326     * Only one item can be selected at a time.
15327     *
15328     * Items can have multiple states, or show menus when selected by the user.
15329     *
15330     * Smart callbacks one can listen to:
15331     * - "clicked" - when the user clicks on a toolbar item and becomes selected.
15332     * - "language,changed" - when the program language changes
15333     *
15334     * Available styles for it:
15335     * - @c "default"
15336     * - @c "transparent" - no background or shadow, just show the content
15337     *
15338     * Default text parts of the toolbar items that you can use for are:
15339     * @li "default" - label of the toolbar item
15340     *  
15341     * Supported elm_object_item common APIs.
15342     * @li elm_object_item_disabled_set
15343     * @li elm_object_item_text_set
15344     * @li elm_object_item_part_text_set
15345     * @li elm_object_item_text_get
15346     * @li elm_object_item_part_text_get
15347     *
15348     * List of examples:
15349     * @li @ref toolbar_example_01
15350     * @li @ref toolbar_example_02
15351     * @li @ref toolbar_example_03
15352     */
15353
15354    /**
15355     * @addtogroup Toolbar
15356     * @{
15357     */
15358
15359    /**
15360     * @enum _Elm_Toolbar_Shrink_Mode
15361     * @typedef Elm_Toolbar_Shrink_Mode
15362     *
15363     * Set toolbar's items display behavior, it can be scrollabel,
15364     * show a menu with exceeding items, or simply hide them.
15365     *
15366     * @note Default value is #ELM_TOOLBAR_SHRINK_MENU. It reads value
15367     * from elm config.
15368     *
15369     * Values <b> don't </b> work as bitmask, only one can be choosen.
15370     *
15371     * @see elm_toolbar_mode_shrink_set()
15372     * @see elm_toolbar_mode_shrink_get()
15373     *
15374     * @ingroup Toolbar
15375     */
15376    typedef enum _Elm_Toolbar_Shrink_Mode
15377      {
15378         ELM_TOOLBAR_SHRINK_NONE,   /**< Set toolbar minimun size to fit all the items. */
15379         ELM_TOOLBAR_SHRINK_HIDE,   /**< Hide exceeding items. */
15380         ELM_TOOLBAR_SHRINK_SCROLL, /**< Allow accessing exceeding items through a scroller. */
15381         ELM_TOOLBAR_SHRINK_MENU,   /**< Inserts a button to pop up a menu with exceeding items. */
15382         ELM_TOOLBAR_SHRINK_LAST    /**< Indicates error if returned by elm_toolbar_shrink_mode_get() */
15383      } Elm_Toolbar_Shrink_Mode;
15384
15385    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(). */
15386
15387    /**
15388     * Add a new toolbar widget to the given parent Elementary
15389     * (container) object.
15390     *
15391     * @param parent The parent object.
15392     * @return a new toolbar widget handle or @c NULL, on errors.
15393     *
15394     * This function inserts a new toolbar widget on the canvas.
15395     *
15396     * @ingroup Toolbar
15397     */
15398    EAPI Evas_Object            *elm_toolbar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
15399
15400    /**
15401     * Set the icon size, in pixels, to be used by toolbar items.
15402     *
15403     * @param obj The toolbar object
15404     * @param icon_size The icon size in pixels
15405     *
15406     * @note Default value is @c 32. It reads value from elm config.
15407     *
15408     * @see elm_toolbar_icon_size_get()
15409     *
15410     * @ingroup Toolbar
15411     */
15412    EAPI void                    elm_toolbar_icon_size_set(Evas_Object *obj, int icon_size) EINA_ARG_NONNULL(1);
15413
15414    /**
15415     * Get the icon size, in pixels, to be used by toolbar items.
15416     *
15417     * @param obj The toolbar object.
15418     * @return The icon size in pixels.
15419     *
15420     * @see elm_toolbar_icon_size_set() for details.
15421     *
15422     * @ingroup Toolbar
15423     */
15424    EAPI int                     elm_toolbar_icon_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15425
15426    /**
15427     * Sets icon lookup order, for toolbar items' icons.
15428     *
15429     * @param obj The toolbar object.
15430     * @param order The icon lookup order.
15431     *
15432     * Icons added before calling this function will not be affected.
15433     * The default lookup order is #ELM_ICON_LOOKUP_THEME_FDO.
15434     *
15435     * @see elm_toolbar_icon_order_lookup_get()
15436     *
15437     * @ingroup Toolbar
15438     */
15439    EAPI void                    elm_toolbar_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) EINA_ARG_NONNULL(1);
15440
15441    /**
15442     * Gets the icon lookup order.
15443     *
15444     * @param obj The toolbar object.
15445     * @return The icon lookup order.
15446     *
15447     * @see elm_toolbar_icon_order_lookup_set() for details.
15448     *
15449     * @ingroup Toolbar
15450     */
15451    EAPI Elm_Icon_Lookup_Order   elm_toolbar_icon_order_lookup_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15452
15453    /**
15454     * Set whether the toolbar should always have an item selected.
15455     *
15456     * @param obj The toolbar object.
15457     * @param wrap @c EINA_TRUE to enable always-select mode or @c EINA_FALSE to
15458     * disable it.
15459     *
15460     * This will cause the toolbar to always have an item selected, and clicking
15461     * the selected item will not cause a selected event to be emitted. Enabling this mode
15462     * will immediately select the first toolbar item.
15463     *
15464     * Always-selected is disabled by default.
15465     *
15466     * @see elm_toolbar_always_select_mode_get().
15467     *
15468     * @ingroup Toolbar
15469     */
15470    EAPI void                    elm_toolbar_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
15471
15472    /**
15473     * Get whether the toolbar should always have an item selected.
15474     *
15475     * @param obj The toolbar object.
15476     * @return @c EINA_TRUE means an item will always be selected, @c EINA_FALSE indicates
15477     * that it is possible to have no items selected. If @p obj is @c NULL, @c EINA_FALSE is returned.
15478     *
15479     * @see elm_toolbar_always_select_mode_set() for details.
15480     *
15481     * @ingroup Toolbar
15482     */
15483    EAPI Eina_Bool               elm_toolbar_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15484
15485    /**
15486     * Set whether the toolbar items' should be selected by the user or not.
15487     *
15488     * @param obj The toolbar object.
15489     * @param wrap @c EINA_TRUE to disable selection or @c EINA_FALSE to
15490     * enable it.
15491     *
15492     * This will turn off the ability to select items entirely and they will
15493     * neither appear selected nor emit selected signals. The clicked
15494     * callback function will still be called.
15495     *
15496     * Selection is enabled by default.
15497     *
15498     * @see elm_toolbar_no_select_mode_get().
15499     *
15500     * @ingroup Toolbar
15501     */
15502    EAPI void                    elm_toolbar_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
15503
15504    /**
15505     * Set whether the toolbar items' should be selected by the user or not.
15506     *
15507     * @param obj The toolbar object.
15508     * @return @c EINA_TRUE means items can be selected. @c EINA_FALSE indicates
15509     * they can't. If @p obj is @c NULL, @c EINA_FALSE is returned.
15510     *
15511     * @see elm_toolbar_no_select_mode_set() for details.
15512     *
15513     * @ingroup Toolbar
15514     */
15515    EAPI Eina_Bool               elm_toolbar_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15516
15517    /**
15518     * Append item to the toolbar.
15519     *
15520     * @param obj The toolbar object.
15521     * @param icon A string with icon name or the absolute path of an image file.
15522     * @param label The label of the item.
15523     * @param func The function to call when the item is clicked.
15524     * @param data The data to associate with the item for related callbacks.
15525     * @return The created item or @c NULL upon failure.
15526     *
15527     * A new item will be created and appended to the toolbar, i.e., will
15528     * be set as @b last item.
15529     *
15530     * Items created with this method can be deleted with
15531     * elm_toolbar_item_del().
15532     *
15533     * Associated @p data can be properly freed when item is deleted if a
15534     * callback function is set with elm_toolbar_item_del_cb_set().
15535     *
15536     * If a function is passed as argument, it will be called everytime this item
15537     * is selected, i.e., the user clicks over an unselected item.
15538     * If such function isn't needed, just passing
15539     * @c NULL as @p func is enough. The same should be done for @p data.
15540     *
15541     * Toolbar will load icon image from fdo or current theme.
15542     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
15543     * If an absolute path is provided it will load it direct from a file.
15544     *
15545     * @see elm_toolbar_item_icon_set()
15546     * @see elm_toolbar_item_del()
15547     * @see elm_toolbar_item_del_cb_set()
15548     *
15549     * @ingroup Toolbar
15550     */
15551    EAPI Elm_Object_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);
15552
15553    /**
15554     * Prepend item to the toolbar.
15555     *
15556     * @param obj The toolbar object.
15557     * @param icon A string with icon name or the absolute path of an image file.
15558     * @param label The label of the item.
15559     * @param func The function to call when the item is clicked.
15560     * @param data The data to associate with the item for related callbacks.
15561     * @return The created item or @c NULL upon failure.
15562     *
15563     * A new item will be created and prepended to the toolbar, i.e., will
15564     * be set as @b first item.
15565     *
15566     * Items created with this method can be deleted with
15567     * elm_toolbar_item_del().
15568     *
15569     * Associated @p data can be properly freed when item is deleted if a
15570     * callback function is set with elm_toolbar_item_del_cb_set().
15571     *
15572     * If a function is passed as argument, it will be called everytime this item
15573     * is selected, i.e., the user clicks over an unselected item.
15574     * If such function isn't needed, just passing
15575     * @c NULL as @p func is enough. The same should be done for @p data.
15576     *
15577     * Toolbar will load icon image from fdo or current theme.
15578     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
15579     * If an absolute path is provided it will load it direct from a file.
15580     *
15581     * @see elm_toolbar_item_icon_set()
15582     * @see elm_toolbar_item_del()
15583     * @see elm_toolbar_item_del_cb_set()
15584     *
15585     * @ingroup Toolbar
15586     */
15587    EAPI Elm_Object_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);
15588
15589    /**
15590     * Insert a new item into the toolbar object before item @p before.
15591     *
15592     * @param obj The toolbar object.
15593     * @param before The toolbar item to insert before.
15594     * @param icon A string with icon name or the absolute path of an image file.
15595     * @param label The label of the item.
15596     * @param func The function to call when the item is clicked.
15597     * @param data The data to associate with the item for related callbacks.
15598     * @return The created item or @c NULL upon failure.
15599     *
15600     * A new item will be created and added to the toolbar. Its position in
15601     * this toolbar will be just before item @p before.
15602     *
15603     * Items created with this method can be deleted with
15604     * elm_toolbar_item_del().
15605     *
15606     * Associated @p data can be properly freed when item is deleted if a
15607     * callback function is set with elm_toolbar_item_del_cb_set().
15608     *
15609     * If a function is passed as argument, it will be called everytime this item
15610     * is selected, i.e., the user clicks over an unselected item.
15611     * If such function isn't needed, just passing
15612     * @c NULL as @p func is enough. The same should be done for @p data.
15613     *
15614     * Toolbar will load icon image from fdo or current theme.
15615     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
15616     * If an absolute path is provided it will load it direct from a file.
15617     *
15618     * @see elm_toolbar_item_icon_set()
15619     * @see elm_toolbar_item_del()
15620     * @see elm_toolbar_item_del_cb_set()
15621     *
15622     * @ingroup Toolbar
15623     */
15624    EAPI Elm_Object_Item       *elm_toolbar_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const char *icon, const char *label, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
15625
15626    /**
15627     * Insert a new item into the toolbar object after item @p after.
15628     *
15629     * @param obj The toolbar object.
15630     * @param after The toolbar item to insert after.
15631     * @param icon A string with icon name or the absolute path of an image file.
15632     * @param label The label of the item.
15633     * @param func The function to call when the item is clicked.
15634     * @param data The data to associate with the item for related callbacks.
15635     * @return The created item or @c NULL upon failure.
15636     *
15637     * A new item will be created and added to the toolbar. Its position in
15638     * this toolbar will be just after item @p after.
15639     *
15640     * Items created with this method can be deleted with
15641     * elm_toolbar_item_del().
15642     *
15643     * Associated @p data can be properly freed when item is deleted if a
15644     * callback function is set with elm_toolbar_item_del_cb_set().
15645     *
15646     * If a function is passed as argument, it will be called everytime this item
15647     * is selected, i.e., the user clicks over an unselected item.
15648     * If such function isn't needed, just passing
15649     * @c NULL as @p func is enough. The same should be done for @p data.
15650     *
15651     * Toolbar will load icon image from fdo or current theme.
15652     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
15653     * If an absolute path is provided it will load it direct from a file.
15654     *
15655     * @see elm_toolbar_item_icon_set()
15656     * @see elm_toolbar_item_del()
15657     * @see elm_toolbar_item_del_cb_set()
15658     *
15659     * @ingroup Toolbar
15660     */
15661    EAPI Elm_Object_Item       *elm_toolbar_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const char *icon, const char *label, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
15662
15663    /**
15664     * Get the first item in the given toolbar widget's list of
15665     * items.
15666     *
15667     * @param obj The toolbar object
15668     * @return The first item or @c NULL, if it has no items (and on
15669     * errors)
15670     *
15671     * @see elm_toolbar_item_append()
15672     * @see elm_toolbar_last_item_get()
15673     *
15674     * @ingroup Toolbar
15675     */
15676    EAPI Elm_Object_Item       *elm_toolbar_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15677
15678    /**
15679     * Get the last item in the given toolbar widget's list of
15680     * items.
15681     *
15682     * @param obj The toolbar object
15683     * @return The last item or @c NULL, if it has no items (and on
15684     * errors)
15685     *
15686     * @see elm_toolbar_item_prepend()
15687     * @see elm_toolbar_first_item_get()
15688     *
15689     * @ingroup Toolbar
15690     */
15691    EAPI Elm_Object_Item       *elm_toolbar_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15692
15693    /**
15694     * Get the item after @p item in toolbar.
15695     *
15696     * @param it The toolbar item.
15697     * @return The item after @p item, or @c NULL if none or on failure.
15698     *
15699     * @note If it is the last item, @c NULL will be returned.
15700     *
15701     * @see elm_toolbar_item_append()
15702     *
15703     * @ingroup Toolbar
15704     */
15705    EAPI Elm_Object_Item       *elm_toolbar_item_next_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
15706
15707    /**
15708     * Get the item before @p item in toolbar.
15709     *
15710     * @param item The toolbar item.
15711     * @return The item before @p item, or @c NULL if none or on failure.
15712     *
15713     * @note If it is the first item, @c NULL will be returned.
15714     *
15715     * @see elm_toolbar_item_prepend()
15716     *
15717     * @ingroup Toolbar
15718     */
15719    EAPI Elm_Object_Item       *elm_toolbar_item_prev_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
15720
15721    /**
15722     * Get the toolbar object from an item.
15723     *
15724     * @param it The item.
15725     * @return The toolbar object.
15726     *
15727     * This returns the toolbar object itself that an item belongs to.
15728     *
15729          * @deprecated use elm_object_item_object_get() instead.
15730     * @ingroup Toolbar
15731     */
15732    EINA_DEPRECATED EAPI Evas_Object            *elm_toolbar_item_toolbar_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
15733
15734    /**
15735     * Set the priority of a toolbar item.
15736     *
15737     * @param it The toolbar item.
15738     * @param priority The item priority. The default is zero.
15739     *
15740     * This is used only when the toolbar shrink mode is set to
15741     * #ELM_TOOLBAR_SHRINK_MENU or #ELM_TOOLBAR_SHRINK_HIDE.
15742     * When space is less than required, items with low priority
15743     * will be removed from the toolbar and added to a dynamically-created menu,
15744     * while items with higher priority will remain on the toolbar,
15745     * with the same order they were added.
15746     *
15747     * @see elm_toolbar_item_priority_get()
15748     *
15749     * @ingroup Toolbar
15750     */
15751    EAPI void                    elm_toolbar_item_priority_set(Elm_Object_Item *it, int priority) EINA_ARG_NONNULL(1);
15752
15753    /**
15754     * Get the priority of a toolbar item.
15755     *
15756     * @param it The toolbar item.
15757     * @return The @p item priority, or @c 0 on failure.
15758     *
15759     * @see elm_toolbar_item_priority_set() for details.
15760     *
15761     * @ingroup Toolbar
15762     */
15763    EAPI int                     elm_toolbar_item_priority_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
15764
15765    /**
15766     * Get the label of item.
15767     *
15768     * @param it The item of toolbar.
15769     * @return The label of item.
15770     *
15771     * The return value is a pointer to the label associated to @p item when
15772     * it was created, with function elm_toolbar_item_append() or similar,
15773     * or later,
15774     * with function elm_toolbar_item_label_set. If no label
15775     * was passed as argument, it will return @c NULL.
15776     *
15777     * @see elm_toolbar_item_label_set() for more details.
15778     * @see elm_toolbar_item_append()
15779     *
15780          * @deprecated use elm_object_item_text_get() instead.
15781     * @ingroup Toolbar
15782     */
15783    EINA_DEPRECATED EAPI const char             *elm_toolbar_item_label_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
15784
15785    /**
15786     * Set the label of item.
15787     *
15788     * @param it The item of toolbar.
15789     * @param text The label of item.
15790     *
15791     * The label to be displayed by the item.
15792     * Label will be placed at icons bottom (if set).
15793     *
15794     * If a label was passed as argument on item creation, with function
15795     * elm_toolbar_item_append() or similar, it will be already
15796     * displayed by the item.
15797     *
15798     * @see elm_toolbar_item_label_get()
15799     * @see elm_toolbar_item_append()
15800     *
15801          * @deprecated use elm_object_item_text_set() instead
15802     * @ingroup Toolbar
15803     */
15804    EINA_DEPRECATED EAPI void                    elm_toolbar_item_label_set(Elm_Object_Item *it, const char *label) EINA_ARG_NONNULL(1);
15805
15806    /**
15807     * Return the data associated with a given toolbar widget item.
15808     *
15809     * @param it The toolbar widget item handle.
15810     * @return The data associated with @p item.
15811     *
15812     * @see elm_toolbar_item_data_set()
15813     *
15814     * @deprecated use elm_object_item_data_get() instead.
15815     * @ingroup Toolbar
15816     */
15817    EINA_DEPRECATED EAPI void                   *elm_toolbar_item_data_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
15818
15819    /**
15820     * Set the data associated with a given toolbar widget item.
15821     *
15822     * @param it The toolbar widget item handle
15823     * @param data The new data pointer to set to @p item.
15824     *
15825     * This sets new item data on @p item.
15826     *
15827     * @warning The old data pointer won't be touched by this function, so
15828     * the user had better to free that old data himself/herself.
15829     *
15830     * @deprecated use elm_object_item_data_set() instead.
15831     * @ingroup Toolbar
15832     */
15833    EINA_DEPRECATED EAPI void                    elm_toolbar_item_data_set(Elm_Object_Item *it, const void *data) EINA_ARG_NONNULL(1);
15834
15835    /**
15836     * Returns a pointer to a toolbar item by its label.
15837     *
15838     * @param obj The toolbar object.
15839     * @param label The label of the item to find.
15840     *
15841     * @return The pointer to the toolbar item matching @p label or @c NULL
15842     * on failure.
15843     *
15844     * @ingroup Toolbar
15845     */
15846    EAPI Elm_Object_Item       *elm_toolbar_item_find_by_label(const Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
15847
15848    /*
15849     * Get whether the @p item is selected or not.
15850     *
15851     * @param it The toolbar item.
15852     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
15853     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
15854     *
15855     * @see elm_toolbar_selected_item_set() for details.
15856     * @see elm_toolbar_item_selected_get()
15857     *
15858     * @ingroup Toolbar
15859     */
15860    EAPI Eina_Bool               elm_toolbar_item_selected_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
15861
15862    /**
15863     * Set the selected state of an item.
15864     *
15865     * @param it The toolbar item
15866     * @param selected The selected state
15867     *
15868     * This sets the selected state of the given item @p it.
15869     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
15870     *
15871     * If a new item is selected the previosly selected will be unselected.
15872     * Previoulsy selected item can be get with function
15873     * elm_toolbar_selected_item_get().
15874     *
15875     * Selected items will be highlighted.
15876     *
15877     * @see elm_toolbar_item_selected_get()
15878     * @see elm_toolbar_selected_item_get()
15879     *
15880     * @ingroup Toolbar
15881     */
15882    EAPI void                    elm_toolbar_item_selected_set(Elm_Object_Item *it, Eina_Bool selected) EINA_ARG_NONNULL(1);
15883
15884    /**
15885     * Get the selected item.
15886     *
15887     * @param obj The toolbar object.
15888     * @return The selected toolbar item.
15889     *
15890     * The selected item can be unselected with function
15891     * elm_toolbar_item_selected_set().
15892     *
15893     * The selected item always will be highlighted on toolbar.
15894     *
15895     * @see elm_toolbar_selected_items_get()
15896     *
15897     * @ingroup Toolbar
15898     */
15899    EAPI Elm_Object_Item       *elm_toolbar_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15900
15901    /**
15902     * Set the icon associated with @p item.
15903     *
15904     * @param obj The parent of this item.
15905     * @param it The toolbar item.
15906     * @param icon A string with icon name or the absolute path of an image file.
15907     *
15908     * Toolbar will load icon image from fdo or current theme.
15909     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
15910     * If an absolute path is provided it will load it direct from a file.
15911     *
15912     * @see elm_toolbar_icon_order_lookup_set()
15913     * @see elm_toolbar_icon_order_lookup_get()
15914     *
15915     * @ingroup Toolbar
15916     */
15917    EAPI void                    elm_toolbar_item_icon_set(Elm_Object_Item *it, const char *icon) EINA_ARG_NONNULL(1);
15918
15919    /**
15920     * Get the string used to set the icon of @p item.
15921     *
15922     * @param it The toolbar item.
15923     * @return The string associated with the icon object.
15924     *
15925     * @see elm_toolbar_item_icon_set() for details.
15926     *
15927     * @ingroup Toolbar
15928     */
15929    EAPI const char             *elm_toolbar_item_icon_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
15930
15931    /**
15932     * Get the object of @p item.
15933     *
15934     * @param it The toolbar item.
15935     * @return The object
15936     *
15937     * @ingroup Toolbar
15938     */
15939    EAPI Evas_Object            *elm_toolbar_item_object_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
15940
15941    /**
15942     * Get the icon object of @p item.
15943     *
15944     * @param it The toolbar item.
15945     * @return The icon object
15946     *
15947     * @see elm_toolbar_item_icon_set(), elm_toolbar_item_icon_file_set(),
15948     * or elm_toolbar_item_icon_memfile_set() for details.
15949     *
15950     * @ingroup Toolbar
15951     */
15952    EAPI Evas_Object            *elm_toolbar_item_icon_object_get(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
15953
15954    /**
15955     * Set the icon associated with @p item to an image in a binary buffer.
15956     *
15957     * @param it The toolbar item.
15958     * @param img The binary data that will be used as an image
15959     * @param size The size of binary data @p img
15960     * @param format Optional format of @p img to pass to the image loader
15961     * @param key Optional key of @p img to pass to the image loader (eg. if @p img is an edje file)
15962     *
15963     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
15964     *
15965     * @note The icon image set by this function can be changed by
15966     * elm_toolbar_item_icon_set().
15967     *
15968     * @ingroup Toolbar
15969     */
15970    EAPI Eina_Bool elm_toolbar_item_icon_memfile_set(Elm_Object_Item *it, const void *img, size_t size, const char *format, const char *key) EINA_ARG_NONNULL(1);
15971
15972    /**
15973     * Set the icon associated with @p item to an image in a binary buffer.
15974     *
15975     * @param it The toolbar item.
15976     * @param file The file that contains the image
15977     * @param key Optional key of @p img to pass to the image loader (eg. if @p img is an edje file)
15978     *
15979     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
15980     *
15981     * @note The icon image set by this function can be changed by
15982     * elm_toolbar_item_icon_set().
15983     *
15984     * @ingroup Toolbar
15985     */
15986    EAPI Eina_Bool elm_toolbar_item_icon_file_set(Elm_Object_Item *it, const char *file, const char *key) EINA_ARG_NONNULL(1);
15987
15988    /**
15989     * Delete them item from the toolbar.
15990     *
15991     * @param it The item of toolbar to be deleted.
15992     *
15993     * @see elm_toolbar_item_append()
15994     * @see elm_toolbar_item_del_cb_set()
15995     *
15996     * @ingroup Toolbar
15997     */
15998    EAPI void                    elm_toolbar_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
15999
16000    /**
16001     * Set the function called when a toolbar item is freed.
16002     *
16003     * @param it The item to set the callback on.
16004     * @param func The function called.
16005     *
16006     * If there is a @p func, then it will be called prior item's memory release.
16007     * That will be called with the following arguments:
16008     * @li item's data;
16009     * @li item's Evas object;
16010     * @li item itself;
16011     *
16012     * This way, a data associated to a toolbar item could be properly freed.
16013     *
16014     * @ingroup Toolbar
16015     */
16016    EAPI void                    elm_toolbar_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
16017
16018    /**
16019     * Get a value whether toolbar item is disabled or not.
16020     *
16021     * @param it The item.
16022     * @return The disabled state.
16023     *
16024     * @see elm_toolbar_item_disabled_set() for more details.
16025     *
16026     * @deprecated use elm_object_item_disabled_get() instead.
16027     * @ingroup Toolbar
16028     */
16029    EINA_DEPRECATED EAPI Eina_Bool               elm_toolbar_item_disabled_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16030
16031    /**
16032     * Sets the disabled/enabled state of a toolbar item.
16033     *
16034     * @param it The item.
16035     * @param disabled The disabled state.
16036     *
16037     * A disabled item cannot be selected or unselected. It will also
16038     * change its appearance (generally greyed out). This sets the
16039     * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
16040     * enabled).
16041     *
16042     * @deprecated use elm_object_item_disabled_set() instead.
16043     * @ingroup Toolbar
16044     */
16045    EINA_DEPRECATED EAPI void                    elm_toolbar_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
16046
16047    /**
16048     * Set or unset item as a separator.
16049     *
16050     * @param it The toolbar item.
16051     * @param setting @c EINA_TRUE to set item @p item as separator or
16052     * @c EINA_FALSE to unset, i.e., item will be used as a regular item.
16053     *
16054     * Items aren't set as separator by default.
16055     *
16056     * If set as separator it will display separator theme, so won't display
16057     * icons or label.
16058     *
16059     * @see elm_toolbar_item_separator_get()
16060     *
16061     * @ingroup Toolbar
16062     */
16063    EAPI void                    elm_toolbar_item_separator_set(Elm_Object_Item *it, Eina_Bool separator) EINA_ARG_NONNULL(1);
16064
16065    /**
16066     * Get a value whether item is a separator or not.
16067     *
16068     * @param it The toolbar item.
16069     * @return @c EINA_TRUE means item @p it is a separator. @c EINA_FALSE
16070     * indicates it's not. If @p it is @c NULL, @c EINA_FALSE is returned.
16071     *
16072     * @see elm_toolbar_item_separator_set() for details.
16073     *
16074     * @ingroup Toolbar
16075     */
16076    EAPI Eina_Bool               elm_toolbar_item_separator_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16077
16078    /**
16079     * Set the shrink state of toolbar @p obj.
16080     *
16081     * @param obj The toolbar object.
16082     * @param shrink_mode Toolbar's items display behavior.
16083     *
16084     * The toolbar won't scroll if #ELM_TOOLBAR_SHRINK_NONE,
16085     * but will enforce a minimun size so all the items will fit, won't scroll
16086     * and won't show the items that don't fit if #ELM_TOOLBAR_SHRINK_HIDE,
16087     * will scroll if #ELM_TOOLBAR_SHRINK_SCROLL, and will create a button to
16088     * pop up excess elements with #ELM_TOOLBAR_SHRINK_MENU.
16089     *
16090     * @ingroup Toolbar
16091     */
16092    EAPI void                    elm_toolbar_mode_shrink_set(Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode) EINA_ARG_NONNULL(1);
16093
16094    /**
16095     * Get the shrink mode of toolbar @p obj.
16096     *
16097     * @param obj The toolbar object.
16098     * @return Toolbar's items display behavior.
16099     *
16100     * @see elm_toolbar_mode_shrink_set() for details.
16101     *
16102     * @ingroup Toolbar
16103     */
16104    EAPI Elm_Toolbar_Shrink_Mode elm_toolbar_mode_shrink_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16105
16106    /**
16107     * Enable/disable homogeneous mode.
16108     *
16109     * @param obj The toolbar object
16110     * @param homogeneous Assume the items within the toolbar are of the
16111     * same size (EINA_TRUE = on, EINA_FALSE = off). Default is @c EINA_FALSE.
16112     *
16113     * This will enable the homogeneous mode where items are of the same size.
16114     * @see elm_toolbar_homogeneous_get()
16115     *
16116     * @ingroup Toolbar
16117     */
16118    EAPI void                    elm_toolbar_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
16119
16120    /**
16121     * Get whether the homogeneous mode is enabled.
16122     *
16123     * @param obj The toolbar object.
16124     * @return Assume the items within the toolbar are of the same height
16125     * and width (EINA_TRUE = on, EINA_FALSE = off).
16126     *
16127     * @see elm_toolbar_homogeneous_set()
16128     *
16129     * @ingroup Toolbar
16130     */
16131    EAPI Eina_Bool               elm_toolbar_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16132
16133    /**
16134     * Set the parent object of the toolbar items' menus.
16135     *
16136     * @param obj The toolbar object.
16137     * @param parent The parent of the menu objects.
16138     *
16139     * Each item can be set as item menu, with elm_toolbar_item_menu_set().
16140     *
16141     * For more details about setting the parent for toolbar menus, see
16142     * elm_menu_parent_set().
16143     *
16144     * @see elm_menu_parent_set() for details.
16145     * @see elm_toolbar_item_menu_set() for details.
16146     *
16147     * @ingroup Toolbar
16148     */
16149    EAPI void                    elm_toolbar_menu_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
16150
16151    /**
16152     * Get the parent object of the toolbar items' menus.
16153     *
16154     * @param obj The toolbar object.
16155     * @return The parent of the menu objects.
16156     *
16157     * @see elm_toolbar_menu_parent_set() for details.
16158     *
16159     * @ingroup Toolbar
16160     */
16161    EAPI Evas_Object            *elm_toolbar_menu_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16162
16163    /**
16164     * Set the alignment of the items.
16165     *
16166     * @param obj The toolbar object.
16167     * @param align The new alignment, a float between <tt> 0.0 </tt>
16168     * and <tt> 1.0 </tt>.
16169     *
16170     * Alignment of toolbar items, from <tt> 0.0 </tt> to indicates to align
16171     * left, to <tt> 1.0 </tt>, to align to right. <tt> 0.5 </tt> centralize
16172     * items.
16173     *
16174     * Centered items by default.
16175     *
16176     * @see elm_toolbar_align_get()
16177     *
16178     * @ingroup Toolbar
16179     */
16180    EAPI void                    elm_toolbar_align_set(Evas_Object *obj, double align) EINA_ARG_NONNULL(1);
16181
16182    /**
16183     * Get the alignment of the items.
16184     *
16185     * @param obj The toolbar object.
16186     * @return toolbar items alignment, a float between <tt> 0.0 </tt> and
16187     * <tt> 1.0 </tt>.
16188     *
16189     * @see elm_toolbar_align_set() for details.
16190     *
16191     * @ingroup Toolbar
16192     */
16193    EAPI double                  elm_toolbar_align_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16194
16195    /**
16196     * Set whether the toolbar item opens a menu.
16197     *
16198     * @param it The toolbar item.
16199     * @param menu If @c EINA_TRUE, @p item will opens a menu when selected.
16200     *
16201     * A toolbar item can be set to be a menu, using this function.
16202     *
16203     * Once it is set to be a menu, it can be manipulated through the
16204     * menu-like function elm_toolbar_menu_parent_set() and the other
16205     * elm_menu functions, using the Evas_Object @c menu returned by
16206     * elm_toolbar_item_menu_get().
16207     *
16208     * So, items to be displayed in this item's menu should be added with
16209     * elm_menu_item_add().
16210     *
16211     * The following code exemplifies the most basic usage:
16212     * @code
16213     * tb = elm_toolbar_add(win)
16214     * item = elm_toolbar_item_append(tb, "refresh", "Menu", NULL, NULL);
16215     * elm_toolbar_item_menu_set(item, EINA_TRUE);
16216     * elm_toolbar_menu_parent_set(tb, win);
16217     * menu = elm_toolbar_item_menu_get(item);
16218     * elm_menu_item_add(menu, NULL, "edit-cut", "Cut", NULL, NULL);
16219     * menu_item = elm_menu_item_add(menu, NULL, "edit-copy", "Copy", NULL,
16220     * NULL);
16221     * @endcode
16222     *
16223     * @see elm_toolbar_item_menu_get()
16224     *
16225     * @ingroup Toolbar
16226     */
16227    EAPI void                    elm_toolbar_item_menu_set(Elm_Object_Item *it, Eina_Bool menu) EINA_ARG_NONNULL(1);
16228
16229    /**
16230     * Get toolbar item's menu.
16231     *
16232     * @param it The toolbar item.
16233     * @return Item's menu object or @c NULL on failure.
16234     *
16235     * If @p item wasn't set as menu item with elm_toolbar_item_menu_set(),
16236     * this function will set it.
16237     *
16238     * @see elm_toolbar_item_menu_set() for details.
16239     *
16240     * @ingroup Toolbar
16241     */
16242    EAPI Evas_Object            *elm_toolbar_item_menu_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16243
16244    /**
16245     * Add a new state to @p item.
16246     *
16247     * @param it The toolbar item.
16248     * @param icon A string with icon name or the absolute path of an image file.
16249     * @param label The label of the new state.
16250     * @param func The function to call when the item is clicked when this
16251     * state is selected.
16252     * @param data The data to associate with the state.
16253     * @return The toolbar item state, or @c NULL upon failure.
16254     *
16255     * Toolbar will load icon image from fdo or current theme.
16256     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
16257     * If an absolute path is provided it will load it direct from a file.
16258     *
16259     * States created with this function can be removed with
16260     * elm_toolbar_item_state_del().
16261     *
16262     * @see elm_toolbar_item_state_del()
16263     * @see elm_toolbar_item_state_sel()
16264     * @see elm_toolbar_item_state_get()
16265     *
16266     * @ingroup Toolbar
16267     */
16268    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_add(Elm_Object_Item *it, const char *icon, const char *label, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
16269
16270    /**
16271     * Delete a previoulsy added state to @p item.
16272     *
16273     * @param it The toolbar item.
16274     * @param state The state to be deleted.
16275     * @return @c EINA_TRUE on success or @c EINA_FALSE on failure.
16276     *
16277     * @see elm_toolbar_item_state_add()
16278     */
16279    EAPI Eina_Bool               elm_toolbar_item_state_del(Elm_Object_Item *it, Elm_Toolbar_Item_State *state) EINA_ARG_NONNULL(1);
16280
16281    /**
16282     * Set @p state as the current state of @p it.
16283     *
16284     * @param it The toolbar item.
16285     * @param state The state to use.
16286     * @return @c EINA_TRUE on success or @c EINA_FALSE on failure.
16287     *
16288     * If @p state is @c NULL, it won't select any state and the default item's
16289     * icon and label will be used. It's the same behaviour than
16290     * elm_toolbar_item_state_unser().
16291     *
16292     * @see elm_toolbar_item_state_unset()
16293     *
16294     * @ingroup Toolbar
16295     */
16296    EAPI Eina_Bool               elm_toolbar_item_state_set(Elm_Object_Item *it, Elm_Toolbar_Item_State *state) EINA_ARG_NONNULL(1);
16297
16298    /**
16299     * Unset the state of @p it.
16300     *
16301     * @param it The toolbar item.
16302     *
16303     * The default icon and label from this item will be displayed.
16304     *
16305     * @see elm_toolbar_item_state_set() for more details.
16306     *
16307     * @ingroup Toolbar
16308     */
16309    EAPI void                    elm_toolbar_item_state_unset(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16310
16311    /**
16312     * Get the current state of @p it.
16313     *
16314     * @param it The toolbar item.
16315     * @return The selected state or @c NULL if none is selected or on failure.
16316     *
16317     * @see elm_toolbar_item_state_set() for details.
16318     * @see elm_toolbar_item_state_unset()
16319     * @see elm_toolbar_item_state_add()
16320     *
16321     * @ingroup Toolbar
16322     */
16323    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16324
16325    /**
16326     * Get the state after selected state in toolbar's @p item.
16327     *
16328     * @param it The toolbar item to change state.
16329     * @return The state after current state, or @c NULL on failure.
16330     *
16331     * If last state is selected, this function will return first state.
16332     *
16333     * @see elm_toolbar_item_state_set()
16334     * @see elm_toolbar_item_state_add()
16335     *
16336     * @ingroup Toolbar
16337     */
16338    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_next(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16339
16340    /**
16341     * Get the state before selected state in toolbar's @p item.
16342     *
16343     * @param it The toolbar item to change state.
16344     * @return The state before current state, or @c NULL on failure.
16345     *
16346     * If first state is selected, this function will return last state.
16347     *
16348     * @see elm_toolbar_item_state_set()
16349     * @see elm_toolbar_item_state_add()
16350     *
16351     * @ingroup Toolbar
16352     */
16353    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_prev(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16354
16355    /**
16356     * Set the text to be shown in a given toolbar item's tooltips.
16357     *
16358     * @param it toolbar item.
16359     * @param text The text to set in the content.
16360     *
16361     * Setup the text as tooltip to object. The item can have only one tooltip,
16362     * so any previous tooltip data - set with this function or
16363     * elm_toolbar_item_tooltip_content_cb_set() - is removed.
16364     *
16365     * @see elm_object_tooltip_text_set() for more details.
16366     *
16367     * @ingroup Toolbar
16368     */
16369    EAPI void             elm_toolbar_item_tooltip_text_set(Elm_Object_Item *it, const char *text) EINA_ARG_NONNULL(1);
16370
16371    /**
16372     * Set the content to be shown in the tooltip item.
16373     *
16374     * Setup the tooltip to item. The item can have only one tooltip,
16375     * so any previous tooltip data is removed. @p func(with @p data) will
16376     * be called every time that need show the tooltip and it should
16377     * return a valid Evas_Object. This object is then managed fully by
16378     * tooltip system and is deleted when the tooltip is gone.
16379     *
16380     * @param it the toolbar item being attached a tooltip.
16381     * @param func the function used to create the tooltip contents.
16382     * @param data what to provide to @a func as callback data/context.
16383     * @param del_cb called when data is not needed anymore, either when
16384     *        another callback replaces @a func, the tooltip is unset with
16385     *        elm_toolbar_item_tooltip_unset() or the owner @a item
16386     *        dies. This callback receives as the first parameter the
16387     *        given @a data, and @c event_info is the item.
16388     *
16389     * @see elm_object_tooltip_content_cb_set() for more details.
16390     *
16391     * @ingroup Toolbar
16392     */
16393    EAPI void             elm_toolbar_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb) EINA_ARG_NONNULL(1);
16394
16395    /**
16396     * Unset tooltip from item.
16397     *
16398     * @param it toolbar item to remove previously set tooltip.
16399     *
16400     * Remove tooltip from item. The callback provided as del_cb to
16401     * elm_toolbar_item_tooltip_content_cb_set() will be called to notify
16402     * it is not used anymore.
16403     *
16404     * @see elm_object_tooltip_unset() for more details.
16405     * @see elm_toolbar_item_tooltip_content_cb_set()
16406     *
16407     * @ingroup Toolbar
16408     */
16409    EAPI void             elm_toolbar_item_tooltip_unset(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16410
16411    /**
16412     * Sets a different style for this item tooltip.
16413     *
16414     * @note before you set a style you should define a tooltip with
16415     *       elm_toolbar_item_tooltip_content_cb_set() or
16416     *       elm_toolbar_item_tooltip_text_set()
16417     *
16418     * @param it toolbar item with tooltip already set.
16419     * @param style the theme style to use (default, transparent, ...)
16420     *
16421     * @see elm_object_tooltip_style_set() for more details.
16422     *
16423     * @ingroup Toolbar
16424     */
16425    EAPI void             elm_toolbar_item_tooltip_style_set(Elm_Object_Item *it, const char *style) EINA_ARG_NONNULL(1);
16426
16427    /**
16428     * Get the style for this item tooltip.
16429     *
16430     * @param it toolbar item with tooltip already set.
16431     * @return style the theme style in use, defaults to "default". If the
16432     *         object does not have a tooltip set, then NULL is returned.
16433     *
16434     * @see elm_object_tooltip_style_get() for more details.
16435     * @see elm_toolbar_item_tooltip_style_set()
16436     *
16437     * @ingroup Toolbar
16438     */
16439    EAPI const char      *elm_toolbar_item_tooltip_style_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16440
16441    /**
16442     * Set the type of mouse pointer/cursor decoration to be shown,
16443     * when the mouse pointer is over the given toolbar widget item
16444     *
16445     * @param it toolbar item to customize cursor on
16446     * @param cursor the cursor type's name
16447     *
16448     * This function works analogously as elm_object_cursor_set(), but
16449     * here the cursor's changing area is restricted to the item's
16450     * area, and not the whole widget's. Note that that item cursors
16451     * have precedence over widget cursors, so that a mouse over an
16452     * item with custom cursor set will always show @b that cursor.
16453     *
16454     * If this function is called twice for an object, a previously set
16455     * cursor will be unset on the second call.
16456     *
16457     * @see elm_object_cursor_set()
16458     * @see elm_toolbar_item_cursor_get()
16459     * @see elm_toolbar_item_cursor_unset()
16460     *
16461     * @ingroup Toolbar
16462     */
16463    EAPI void             elm_toolbar_item_cursor_set(Elm_Object_Item *it, const char *cursor) EINA_ARG_NONNULL(1);
16464
16465    /*
16466     * Get the type of mouse pointer/cursor decoration set to be shown,
16467     * when the mouse pointer is over the given toolbar widget item
16468     *
16469     * @param it toolbar item with custom cursor set
16470     * @return the cursor type's name or @c NULL, if no custom cursors
16471     * were set to @p item (and on errors)
16472     *
16473     * @see elm_object_cursor_get()
16474     * @see elm_toolbar_item_cursor_set()
16475     * @see elm_toolbar_item_cursor_unset()
16476     *
16477     * @ingroup Toolbar
16478     */
16479    EAPI const char      *elm_toolbar_item_cursor_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16480
16481    /**
16482     * Unset any custom mouse pointer/cursor decoration set to be
16483     * shown, when the mouse pointer is over the given toolbar widget
16484     * item, thus making it show the @b default cursor again.
16485     *
16486     * @param it a toolbar item
16487     *
16488     * Use this call to undo any custom settings on this item's cursor
16489     * decoration, bringing it back to defaults (no custom style set).
16490     *
16491     * @see elm_object_cursor_unset()
16492     * @see elm_toolbar_item_cursor_set()
16493     *
16494     * @ingroup Toolbar
16495     */
16496    EAPI void             elm_toolbar_item_cursor_unset(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16497
16498    /**
16499     * Set a different @b style for a given custom cursor set for a
16500     * toolbar item.
16501     *
16502     * @param it toolbar item with custom cursor set
16503     * @param style the <b>theme style</b> to use (e.g. @c "default",
16504     * @c "transparent", etc)
16505     *
16506     * This function only makes sense when one is using custom mouse
16507     * cursor decorations <b>defined in a theme file</b>, which can have,
16508     * given a cursor name/type, <b>alternate styles</b> on it. It
16509     * works analogously as elm_object_cursor_style_set(), but here
16510     * applyed only to toolbar item objects.
16511     *
16512     * @warning Before you set a cursor style you should have definen a
16513     *       custom cursor previously on the item, with
16514     *       elm_toolbar_item_cursor_set()
16515     *
16516     * @see elm_toolbar_item_cursor_engine_only_set()
16517     * @see elm_toolbar_item_cursor_style_get()
16518     *
16519     * @ingroup Toolbar
16520     */
16521    EAPI void             elm_toolbar_item_cursor_style_set(Elm_Object_Item *it, const char *style) EINA_ARG_NONNULL(1);
16522
16523    /**
16524     * Get the current @b style set for a given toolbar item's custom
16525     * cursor
16526     *
16527     * @param it toolbar item with custom cursor set.
16528     * @return style the cursor style in use. If the object does not
16529     *         have a cursor set, then @c NULL is returned.
16530     *
16531     * @see elm_toolbar_item_cursor_style_set() for more details
16532     *
16533     * @ingroup Toolbar
16534     */
16535    EAPI const char      *elm_toolbar_item_cursor_style_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16536
16537    /**
16538     * Set if the (custom)cursor for a given toolbar item should be
16539     * searched in its theme, also, or should only rely on the
16540     * rendering engine.
16541     *
16542     * @param it item with custom (custom) cursor already set on
16543     * @param engine_only Use @c EINA_TRUE to have cursors looked for
16544     * only on those provided by the rendering engine, @c EINA_FALSE to
16545     * have them searched on the widget's theme, as well.
16546     *
16547     * @note This call is of use only if you've set a custom cursor
16548     * for toolbar items, with elm_toolbar_item_cursor_set().
16549     *
16550     * @note By default, cursors will only be looked for between those
16551     * provided by the rendering engine.
16552     *
16553     * @ingroup Toolbar
16554     */
16555    EAPI void             elm_toolbar_item_cursor_engine_only_set(Elm_Object_Item *it, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
16556
16557    /**
16558     * Get if the (custom) cursor for a given toolbar item is being
16559     * searched in its theme, also, or is only relying on the rendering
16560     * engine.
16561     *
16562     * @param it a toolbar item
16563     * @return @c EINA_TRUE, if cursors are being looked for only on
16564     * those provided by the rendering engine, @c EINA_FALSE if they
16565     * are being searched on the widget's theme, as well.
16566     *
16567     * @see elm_toolbar_item_cursor_engine_only_set(), for more details
16568     *
16569     * @ingroup Toolbar
16570     */
16571    EAPI Eina_Bool        elm_toolbar_item_cursor_engine_only_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16572
16573    /**
16574     * Change a toolbar's orientation
16575     * @param obj The toolbar object
16576     * @param vertical If @c EINA_TRUE, the toolbar is vertical
16577     * By default, a toolbar will be horizontal. Use this function to create a vertical toolbar.
16578     * @ingroup Toolbar
16579     * @deprecated use elm_toolbar_horizontal_set() instead.
16580     */
16581    EINA_DEPRECATED EAPI void             elm_toolbar_orientation_set(Evas_Object *obj, Eina_Bool vertical) EINA_ARG_NONNULL(1);
16582
16583    /**
16584     * Change a toolbar's orientation
16585     * @param obj The toolbar object
16586     * @param horizontal If @c EINA_TRUE, the toolbar is horizontal
16587     * By default, a toolbar will be horizontal. Use this function to create a vertical toolbar.
16588     * @ingroup Toolbar
16589     */
16590    EAPI void             elm_toolbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
16591
16592    /**
16593     * Get a toolbar's orientation
16594     * @param obj The toolbar object
16595     * @return If @c EINA_TRUE, the toolbar is vertical
16596     * By default, a toolbar will be horizontal. Use this function to determine whether a toolbar is vertical.
16597     * @ingroup Toolbar
16598     * @deprecated use elm_toolbar_horizontal_get() instead.
16599     */
16600    EINA_DEPRECATED EAPI Eina_Bool        elm_toolbar_orientation_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16601
16602    /**
16603     * Get a toolbar's orientation
16604     * @param obj The toolbar object
16605     * @return If @c EINA_TRUE, the toolbar is horizontal
16606     * By default, a toolbar will be horizontal. Use this function to determine whether a toolbar is vertical.
16607     * @ingroup Toolbar
16608     */
16609    EAPI Eina_Bool elm_toolbar_horizontal_get(const Evas_Object *obj);
16610    /**
16611     * @}
16612     */
16613
16614    /**
16615     * @defgroup Tooltips Tooltips
16616     *
16617     * The Tooltip is an (internal, for now) smart object used to show a
16618     * content in a frame on mouse hover of objects(or widgets), with
16619     * tips/information about them.
16620     *
16621     * @{
16622     */
16623
16624    EAPI double       elm_tooltip_delay_get(void);
16625    EAPI Eina_Bool    elm_tooltip_delay_set(double delay);
16626    EAPI void         elm_object_tooltip_show(Evas_Object *obj) EINA_ARG_NONNULL(1);
16627    EAPI void         elm_object_tooltip_hide(Evas_Object *obj) EINA_ARG_NONNULL(1);
16628    EAPI void         elm_object_tooltip_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1, 2);
16629    EAPI void         elm_object_tooltip_domain_translatable_text_set(Evas_Object *obj, const char *domain, const char *text) EINA_ARG_NONNULL(1, 3);
16630 #define elm_object_tooltip_translatable_text_set(obj, text) elm_object_tooltip_domain_translatable_text_set((obj), NULL, (text))
16631    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);
16632    EAPI void         elm_object_tooltip_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
16633    EAPI void         elm_object_tooltip_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
16634    EAPI const char  *elm_object_tooltip_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16635    EAPI Eina_Bool    elm_object_tooltip_window_mode_set(Evas_Object *obj, Eina_Bool disable) EINA_ARG_NONNULL(1);
16636    EAPI Eina_Bool    elm_object_tooltip_window_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16637
16638    /**
16639     * @}
16640     */
16641
16642    /**
16643     * @defgroup Cursors Cursors
16644     *
16645     * The Elementary cursor is an internal smart object used to
16646     * customize the mouse cursor displayed over objects (or
16647     * widgets). In the most common scenario, the cursor decoration
16648     * comes from the graphical @b engine Elementary is running
16649     * on. Those engines may provide different decorations for cursors,
16650     * and Elementary provides functions to choose them (think of X11
16651     * cursors, as an example).
16652     *
16653     * There's also the possibility of, besides using engine provided
16654     * cursors, also use ones coming from Edje theming files. Both
16655     * globally and per widget, Elementary makes it possible for one to
16656     * make the cursors lookup to be held on engines only or on
16657     * Elementary's theme file, too. To set cursor's hot spot,
16658     * two data items should be added to cursor's theme: "hot_x" and
16659     * "hot_y", that are the offset from upper-left corner of the cursor
16660     * (coordinates 0,0).
16661     *
16662     * @{
16663     */
16664
16665    /**
16666     * Set the cursor to be shown when mouse is over the object
16667     *
16668     * Set the cursor that will be displayed when mouse is over the
16669     * object. The object can have only one cursor set to it, so if
16670     * this function is called twice for an object, the previous set
16671     * will be unset.
16672     * If using X cursors, a definition of all the valid cursor names
16673     * is listed on Elementary_Cursors.h. If an invalid name is set
16674     * the default cursor will be used.
16675     *
16676     * @param obj the object being set a cursor.
16677     * @param cursor the cursor name to be used.
16678     *
16679     * @ingroup Cursors
16680     */
16681    EAPI void         elm_object_cursor_set(Evas_Object *obj, const char *cursor) EINA_ARG_NONNULL(1);
16682
16683    /**
16684     * Get the cursor to be shown when mouse is over the object
16685     *
16686     * @param obj an object with cursor already set.
16687     * @return the cursor name.
16688     *
16689     * @ingroup Cursors
16690     */
16691    EAPI const char  *elm_object_cursor_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16692
16693    /**
16694     * Unset cursor for object
16695     *
16696     * Unset cursor for object, and set the cursor to default if the mouse
16697     * was over this object.
16698     *
16699     * @param obj Target object
16700     * @see elm_object_cursor_set()
16701     *
16702     * @ingroup Cursors
16703     */
16704    EAPI void         elm_object_cursor_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
16705
16706    /**
16707     * Sets a different style for this object cursor.
16708     *
16709     * @note before you set a style you should define a cursor with
16710     *       elm_object_cursor_set()
16711     *
16712     * @param obj an object with cursor already set.
16713     * @param style the theme style to use (default, transparent, ...)
16714     *
16715     * @ingroup Cursors
16716     */
16717    EAPI void         elm_object_cursor_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
16718
16719    /**
16720     * Get the style for this object cursor.
16721     *
16722     * @param obj an object with cursor already set.
16723     * @return style the theme style in use, defaults to "default". If the
16724     *         object does not have a cursor set, then NULL is returned.
16725     *
16726     * @ingroup Cursors
16727     */
16728    EAPI const char  *elm_object_cursor_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16729
16730    /**
16731     * Set if the cursor set should be searched on the theme or should use
16732     * the provided by the engine, only.
16733     *
16734     * @note before you set if should look on theme you should define a cursor
16735     * with elm_object_cursor_set(). By default it will only look for cursors
16736     * provided by the engine.
16737     *
16738     * @param obj an object with cursor already set.
16739     * @param engine_only boolean to define it cursors should be looked only
16740     * between the provided by the engine or searched on widget's theme as well.
16741     *
16742     * @ingroup Cursors
16743     */
16744    EAPI void         elm_object_cursor_engine_only_set(Evas_Object *obj, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
16745
16746    /**
16747     * Get the cursor engine only usage for this object cursor.
16748     *
16749     * @param obj an object with cursor already set.
16750     * @return engine_only boolean to define it cursors should be
16751     * looked only between the provided by the engine or searched on
16752     * widget's theme as well. If the object does not have a cursor
16753     * set, then EINA_FALSE is returned.
16754     *
16755     * @ingroup Cursors
16756     */
16757    EAPI Eina_Bool    elm_object_cursor_engine_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16758
16759    /**
16760     * Get the configured cursor engine only usage
16761     *
16762     * This gets the globally configured exclusive usage of engine cursors.
16763     *
16764     * @return 1 if only engine cursors should be used
16765     * @ingroup Cursors
16766     */
16767    EAPI int          elm_cursor_engine_only_get(void);
16768
16769    /**
16770     * Set the configured cursor engine only usage
16771     *
16772     * This sets the globally configured exclusive usage of engine cursors.
16773     * It won't affect cursors set before changing this value.
16774     *
16775     * @param engine_only If 1 only engine cursors will be enabled, if 0 will
16776     * look for them on theme before.
16777     * @return EINA_TRUE if value is valid and setted (0 or 1)
16778     * @ingroup Cursors
16779     */
16780    EAPI Eina_Bool    elm_cursor_engine_only_set(int engine_only);
16781
16782    /**
16783     * @}
16784     */
16785
16786    /**
16787     * @defgroup Menu Menu
16788     *
16789     * @image html img/widget/menu/preview-00.png
16790     * @image latex img/widget/menu/preview-00.eps
16791     *
16792     * A menu is a list of items displayed above its parent. When the menu is
16793     * showing its parent is darkened. Each item can have a sub-menu. The menu
16794     * object can be used to display a menu on a right click event, in a toolbar,
16795     * anywhere.
16796     *
16797     * Signals that you can add callbacks for are:
16798     * @li "clicked" - the user clicked the empty space in the menu to dismiss.
16799     *
16800     * Default contents parts of the menu items that you can use for are:
16801     * @li "default" - A main content of the menu item
16802     *
16803     * Default text parts of the menu items that you can use for are:
16804     * @li "default" - label in the menu item
16805     *
16806     * @see @ref tutorial_menu
16807     * @{
16808     */
16809
16810    /**
16811     * @brief Add a new menu to the parent
16812     *
16813     * @param parent The parent object.
16814     * @return The new object or NULL if it cannot be created.
16815     */
16816    EAPI Evas_Object       *elm_menu_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
16817
16818    /**
16819     * @brief Set the parent for the given menu widget
16820     *
16821     * @param obj The menu object.
16822     * @param parent The new parent.
16823     */
16824    EAPI void               elm_menu_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
16825
16826    /**
16827     * @brief Get the parent for the given menu widget
16828     *
16829     * @param obj The menu object.
16830     * @return The parent.
16831     *
16832     * @see elm_menu_parent_set()
16833     */
16834    EAPI Evas_Object       *elm_menu_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16835
16836    /**
16837     * @brief Move the menu to a new position
16838     *
16839     * @param obj The menu object.
16840     * @param x The new position.
16841     * @param y The new position.
16842     *
16843     * Sets the top-left position of the menu to (@p x,@p y).
16844     *
16845     * @note @p x and @p y coordinates are relative to parent.
16846     */
16847    EAPI void               elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1);
16848
16849    /**
16850     * @brief Close a opened menu
16851     *
16852     * @param obj the menu object
16853     * @return void
16854     *
16855     * Hides the menu and all it's sub-menus.
16856     */
16857    EAPI void               elm_menu_close(Evas_Object *obj) EINA_ARG_NONNULL(1);
16858
16859    /**
16860     * @brief Returns a list of @p item's items.
16861     *
16862     * @param obj The menu object
16863     * @return An Eina_List* of @p item's items
16864     */
16865    EAPI const Eina_List   *elm_menu_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16866
16867    /**
16868     * @brief Get the Evas_Object of an Elm_Object_Item
16869     *
16870     * @param it The menu item object.
16871     * @return The edje object containing the swallowed content
16872     *
16873     * @warning Don't manipulate this object!
16874     *
16875     */
16876    EAPI Evas_Object       *elm_menu_item_object_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16877
16878    /**
16879     * @brief Add an item at the end of the given menu widget
16880     *
16881     * @param obj The menu object.
16882     * @param parent The parent menu item (optional)
16883     * @param icon An icon display on the item. The icon will be destryed by the menu.
16884     * @param label The label of the item.
16885     * @param func Function called when the user select the item.
16886     * @param data Data sent by the callback.
16887     * @return Returns the new item.
16888     */
16889    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);
16890
16891    /**
16892     * @brief Add an object swallowed in an item at the end of the given menu
16893     * widget
16894     *
16895     * @param obj The menu object.
16896     * @param parent The parent menu item (optional)
16897     * @param subobj The object to swallow
16898     * @param func Function called when the user select the item.
16899     * @param data Data sent by the callback.
16900     * @return Returns the new item.
16901     *
16902     * Add an evas object as an item to the menu.
16903     */
16904    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);
16905
16906    /**
16907     * @brief Set the label of a menu item
16908     *
16909     * @param it The menu item object.
16910     * @param label The label to set for @p item
16911     *
16912     * @warning Don't use this funcion on items created with
16913     * elm_menu_item_add_object() or elm_menu_item_separator_add().
16914     *
16915     * @deprecated Use elm_object_item_text_set() instead
16916     */
16917    EINA_DEPRECATED EAPI void               elm_menu_item_label_set(Elm_Object_Item *it, const char *label) EINA_ARG_NONNULL(1);
16918
16919    /**
16920     * @brief Get the label of a menu item
16921     *
16922     * @param it The menu item object.
16923     * @return The label of @p item
16924          * @deprecated Use elm_object_item_text_get() instead
16925     */
16926    EINA_DEPRECATED EAPI const char        *elm_menu_item_label_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16927
16928    /**
16929     * @brief Set the icon of a menu item to the standard icon with name @p icon
16930     *
16931     * @param it The menu item object.
16932     * @param icon The icon object to set for the content of @p item
16933     *
16934     * Once this icon is set, any previously set icon will be deleted.
16935     */
16936    EAPI void               elm_menu_item_object_icon_name_set(Elm_Object_Item *it, const char *icon) EINA_ARG_NONNULL(1, 2);
16937
16938    /**
16939     * @brief Get the string representation from the icon of a menu item
16940     *
16941     * @param it The menu item object.
16942     * @return The string representation of @p item's icon or NULL
16943     *
16944     * @see elm_menu_item_object_icon_name_set()
16945     */
16946    EAPI const char        *elm_menu_item_object_icon_name_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16947
16948    /**
16949     * @brief Set the content object of a menu item
16950     *
16951     * @param it The menu item object
16952     * @param The content object or NULL
16953     * @return EINA_TRUE on success, else EINA_FALSE
16954     *
16955     * Use this function to change the object swallowed by a menu item, deleting
16956     * any previously swallowed object.
16957     *
16958     * @deprecated Use elm_object_item_content_set() instead
16959     */
16960    EINA_DEPRECATED EAPI Eina_Bool          elm_menu_item_object_content_set(Elm_Object_Item *it, Evas_Object *obj) EINA_ARG_NONNULL(1);
16961
16962    /**
16963     * @brief Get the content object of a menu item
16964     *
16965     * @param it The menu item object
16966     * @return The content object or NULL
16967     * @note If @p item was added with elm_menu_item_add_object, this
16968     * function will return the object passed, else it will return the
16969     * icon object.
16970     *
16971     * @see elm_menu_item_object_content_set()
16972     *
16973     * @deprecated Use elm_object_item_content_get() instead
16974     */
16975    EINA_DEPRECATED EAPI Evas_Object *elm_menu_item_object_content_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16976
16977    /**
16978     * @brief Set the selected state of @p item.
16979     *
16980     * @param it The menu item object.
16981     * @param selected The selected/unselected state of the item
16982     */
16983    EAPI void               elm_menu_item_selected_set(Elm_Object_Item *it, Eina_Bool selected) EINA_ARG_NONNULL(1);
16984
16985    /**
16986     * @brief Get the selected state of @p item.
16987     *
16988     * @param it The menu item object.
16989     * @return The selected/unselected state of the item
16990     *
16991     * @see elm_menu_item_selected_set()
16992     */
16993    EAPI Eina_Bool          elm_menu_item_selected_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
16994
16995    /**
16996     * @brief Set the disabled state of @p item.
16997     *
16998     * @param it The menu item object.
16999     * @param disabled The enabled/disabled state of the item
17000     * @deprecated Use elm_object_item_disabled_set() instead
17001     */
17002    EINA_DEPRECATED EAPI void               elm_menu_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
17003
17004    /**
17005     * @brief Get the disabled state of @p item.
17006     *
17007     * @param it The menu item object.
17008     * @return The enabled/disabled state of the item
17009     *
17010     * @see elm_menu_item_disabled_set()
17011     * @deprecated Use elm_object_item_disabled_get() instead
17012     */
17013    EINA_DEPRECATED EAPI Eina_Bool          elm_menu_item_disabled_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
17014
17015    /**
17016     * @brief Add a separator item to menu @p obj under @p parent.
17017     *
17018     * @param obj The menu object
17019     * @param parent The item to add the separator under
17020     * @return The created item or NULL on failure
17021     *
17022     * This is item is a @ref Separator.
17023     */
17024    EAPI Elm_Object_Item     *elm_menu_item_separator_add(Evas_Object *obj, Elm_Object_Item *parent) EINA_ARG_NONNULL(1);
17025
17026    /**
17027     * @brief Returns whether @p item is a separator.
17028     *
17029     * @param it The item to check
17030     * @return If true, @p item is a separator
17031     *
17032     * @see elm_menu_item_separator_add()
17033     */
17034    EAPI Eina_Bool          elm_menu_item_is_separator(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
17035
17036    /**
17037     * @brief Deletes an item from the menu.
17038     *
17039     * @param it The item to delete.
17040     *
17041     * @see elm_menu_item_add()
17042     */
17043    EAPI void               elm_menu_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
17044
17045    /**
17046     * @brief Set the function called when a menu item is deleted.
17047     *
17048     * @param it The item to set the callback on
17049     * @param func The function called
17050     *
17051     * @see elm_menu_item_add()
17052     * @see elm_menu_item_del()
17053     */
17054    EAPI void               elm_menu_item_del_cb_set(Elm_Object_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
17055
17056    /**
17057     * @brief Returns the data associated with menu item @p item.
17058     *
17059     * @param it The item
17060     * @return The data associated with @p item or NULL if none was set.
17061     *
17062     * This is the data set with elm_menu_add() or elm_menu_item_data_set().
17063     *
17064     * @deprecated Use elm_object_item_data_get() instead
17065     */
17066    EINA_DEPRECATED EAPI void              *elm_menu_item_data_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
17067
17068    /**
17069     * @brief Sets the data to be associated with menu item @p item.
17070     *
17071     * @param it The item
17072     * @param data The data to be associated with @p item
17073     *
17074     * @deprecated Use elm_object_item_data_set() instead
17075     */
17076    EINA_DEPRECATED EAPI void               elm_menu_item_data_set(Elm_Object_Item *it, const void *data) EINA_ARG_NONNULL(1);
17077
17078    /**
17079     * @brief Returns a list of @p item's subitems.
17080     *
17081     * @param it The item
17082     * @return An Eina_List* of @p item's subitems
17083     *
17084     * @see elm_menu_add()
17085     */
17086    EAPI const Eina_List   *elm_menu_item_subitems_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
17087
17088    /**
17089     * @brief Get the position of a menu item
17090     *
17091     * @param it The menu item
17092     * @return The item's index
17093     *
17094     * This function returns the index position of a menu item in a menu.
17095     * For a sub-menu, this number is relative to the first item in the sub-menu.
17096     *
17097     * @note Index values begin with 0
17098     */
17099    EAPI unsigned int       elm_menu_item_index_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1) EINA_PURE;
17100
17101    /**
17102     * @brief @brief Return a menu item's owner menu
17103     *
17104     * @param it The menu item
17105     * @return The menu object owning @p item, or NULL on failure
17106     *
17107     * Use this function to get the menu object owning an item.
17108     */
17109    EAPI Evas_Object       *elm_menu_item_menu_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1) EINA_PURE;
17110
17111    /**
17112     * @brief Get the selected item in the menu
17113     *
17114     * @param obj The menu object
17115     * @return The selected item, or NULL if none
17116     *
17117     * @see elm_menu_item_selected_get()
17118     * @see elm_menu_item_selected_set()
17119     */
17120    EAPI Elm_Object_Item *elm_menu_selected_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
17121
17122    /**
17123     * @brief Get the last item in the menu
17124     *
17125     * @param obj The menu object
17126     * @return The last item, or NULL if none
17127     */
17128    EAPI Elm_Object_Item *elm_menu_last_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
17129
17130    /**
17131     * @brief Get the first item in the menu
17132     *
17133     * @param obj The menu object
17134     * @return The first item, or NULL if none
17135     */
17136    EAPI Elm_Object_Item *elm_menu_first_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
17137
17138    /**
17139     * @brief Get the next item in the menu.
17140     *
17141     * @param it The menu item object.
17142     * @return The item after it, or NULL if none
17143     */
17144    EAPI Elm_Object_Item *elm_menu_item_next_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
17145
17146    /**
17147     * @brief Get the previous item in the menu.
17148     *
17149     * @param it The menu item object.
17150     * @return The item before it, or NULL if none
17151     */
17152    EAPI Elm_Object_Item *elm_menu_item_prev_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
17153
17154    /**
17155     * @}
17156     */
17157
17158    /**
17159     * @defgroup List List
17160     * @ingroup Elementary
17161     *
17162     * @image html img/widget/list/preview-00.png
17163     * @image latex img/widget/list/preview-00.eps width=\textwidth
17164     *
17165     * @image html img/list.png
17166     * @image latex img/list.eps width=\textwidth
17167     *
17168     * A list widget is a container whose children are displayed vertically or
17169     * horizontally, in order, and can be selected.
17170     * The list can accept only one or multiple items selection. Also has many
17171     * modes of items displaying.
17172     *
17173     * A list is a very simple type of list widget.  For more robust
17174     * lists, @ref Genlist should probably be used.
17175     *
17176     * Smart callbacks one can listen to:
17177     * - @c "activated" - The user has double-clicked or pressed
17178     *   (enter|return|spacebar) on an item. The @c event_info parameter
17179     *   is the item that was activated.
17180     * - @c "clicked,double" - The user has double-clicked an item.
17181     *   The @c event_info parameter is the item that was double-clicked.
17182     * - "selected" - when the user selected an item
17183     * - "unselected" - when the user unselected an item
17184     * - "longpressed" - an item in the list is long-pressed
17185     * - "edge,top" - the list is scrolled until the top edge
17186     * - "edge,bottom" - the list is scrolled until the bottom edge
17187     * - "edge,left" - the list is scrolled until the left edge
17188     * - "edge,right" - the list is scrolled until the right edge
17189     * - "language,changed" - the program's language changed
17190     *
17191     * Available styles for it:
17192     * - @c "default"
17193     *
17194     * List of examples:
17195     * @li @ref list_example_01
17196     * @li @ref list_example_02
17197     * @li @ref list_example_03
17198     */
17199
17200    /**
17201     * @addtogroup List
17202     * @{
17203     */
17204
17205    /**
17206     * @enum _Elm_List_Mode
17207     * @typedef Elm_List_Mode
17208     *
17209     * Set list's resize behavior, transverse axis scroll and
17210     * items cropping. See each mode's description for more details.
17211     *
17212     * @note Default value is #ELM_LIST_SCROLL.
17213     *
17214     * Values <b> don't </b> work as bitmask, only one can be choosen.
17215     *
17216     * @see elm_list_mode_set()
17217     * @see elm_list_mode_get()
17218     *
17219     * @ingroup List
17220     */
17221    typedef enum _Elm_List_Mode
17222      {
17223         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. */
17224         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). */
17225         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. */
17226         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. */
17227         ELM_LIST_LAST /**< Indicates error if returned by elm_list_mode_get() */
17228      } Elm_List_Mode;
17229
17230    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().  */
17231
17232    /**
17233     * Add a new list widget to the given parent Elementary
17234     * (container) object.
17235     *
17236     * @param parent The parent object.
17237     * @return a new list widget handle or @c NULL, on errors.
17238     *
17239     * This function inserts a new list widget on the canvas.
17240     *
17241     * @ingroup List
17242     */
17243    EAPI Evas_Object     *elm_list_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
17244
17245    /**
17246     * Starts the list.
17247     *
17248     * @param obj The list object
17249     *
17250     * @note Call before running show() on the list object.
17251     * @warning If not called, it won't display the list properly.
17252     *
17253     * @code
17254     * li = elm_list_add(win);
17255     * elm_list_item_append(li, "First", NULL, NULL, NULL, NULL);
17256     * elm_list_item_append(li, "Second", NULL, NULL, NULL, NULL);
17257     * elm_list_go(li);
17258     * evas_object_show(li);
17259     * @endcode
17260     *
17261     * @ingroup List
17262     */
17263    EAPI void             elm_list_go(Evas_Object *obj) EINA_ARG_NONNULL(1);
17264
17265    /**
17266     * Enable or disable multiple items selection on the list object.
17267     *
17268     * @param obj The list object
17269     * @param multi @c EINA_TRUE to enable multi selection or @c EINA_FALSE to
17270     * disable it.
17271     *
17272     * Disabled by default. If disabled, the user can select a single item of
17273     * the list each time. Selected items are highlighted on list.
17274     * If enabled, many items can be selected.
17275     *
17276     * If a selected item is selected again, it will be unselected.
17277     *
17278     * @see elm_list_multi_select_get()
17279     *
17280     * @ingroup List
17281     */
17282    EAPI void             elm_list_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
17283
17284    /**
17285     * Get a value whether multiple items selection is enabled or not.
17286     *
17287     * @see elm_list_multi_select_set() for details.
17288     *
17289     * @param obj The list object.
17290     * @return @c EINA_TRUE means multiple items selection is enabled.
17291     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
17292     * @c EINA_FALSE is returned.
17293     *
17294     * @ingroup List
17295     */
17296    EAPI Eina_Bool        elm_list_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17297
17298    /**
17299     * Set which mode to use for the list object.
17300     *
17301     * @param obj The list object
17302     * @param mode One of #Elm_List_Mode: #ELM_LIST_COMPRESS, #ELM_LIST_SCROLL,
17303     * #ELM_LIST_LIMIT or #ELM_LIST_EXPAND.
17304     *
17305     * Set list's resize behavior, transverse axis scroll and
17306     * items cropping. See each mode's description for more details.
17307     *
17308     * @note Default value is #ELM_LIST_SCROLL.
17309     *
17310     * Only one can be set, if a previous one was set, it will be changed
17311     * by the new mode set. Bitmask won't work as well.
17312     *
17313     * @see elm_list_mode_get()
17314     *
17315     * @ingroup List
17316     */
17317    EAPI void             elm_list_mode_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
17318
17319    /**
17320     * Get the mode the list is at.
17321     *
17322     * @param obj The list object
17323     * @return One of #Elm_List_Mode: #ELM_LIST_COMPRESS, #ELM_LIST_SCROLL,
17324     * #ELM_LIST_LIMIT, #ELM_LIST_EXPAND or #ELM_LIST_LAST on errors.
17325     *
17326     * @note see elm_list_mode_set() for more information.
17327     *
17328     * @ingroup List
17329     */
17330    EAPI Elm_List_Mode    elm_list_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17331
17332    /**
17333     * Enable or disable horizontal mode on the list object.
17334     *
17335     * @param obj The list object.
17336     * @param horizontal @c EINA_TRUE to enable horizontal or @c EINA_FALSE to
17337     * disable it, i.e., to enable vertical mode.
17338     *
17339     * @note Vertical mode is set by default.
17340     *
17341     * On horizontal mode items are displayed on list from left to right,
17342     * instead of from top to bottom. Also, the list will scroll horizontally.
17343     * Each item will presents left icon on top and right icon, or end, at
17344     * the bottom.
17345     *
17346     * @see elm_list_horizontal_get()
17347     *
17348     * @ingroup List
17349     */
17350    EAPI void             elm_list_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
17351
17352    /**
17353     * Get a value whether horizontal mode is enabled or not.
17354     *
17355     * @param obj The list object.
17356     * @return @c EINA_TRUE means horizontal mode selection is enabled.
17357     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
17358     * @c EINA_FALSE is returned.
17359     *
17360     * @see elm_list_horizontal_set() for details.
17361     *
17362     * @ingroup List
17363     */
17364    EAPI Eina_Bool        elm_list_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17365
17366    /**
17367     * Enable or disable always select mode on the list object.
17368     *
17369     * @param obj The list object
17370     * @param always_select @c EINA_TRUE to enable always select mode or
17371     * @c EINA_FALSE to disable it.
17372     *
17373     * @note Always select mode is disabled by default.
17374     *
17375     * Default behavior of list items is to only call its callback function
17376     * the first time it's pressed, i.e., when it is selected. If a selected
17377     * item is pressed again, and multi-select is disabled, it won't call
17378     * this function (if multi-select is enabled it will unselect the item).
17379     *
17380     * If always select is enabled, it will call the callback function
17381     * everytime a item is pressed, so it will call when the item is selected,
17382     * and again when a selected item is pressed.
17383     *
17384     * @see elm_list_always_select_mode_get()
17385     * @see elm_list_multi_select_set()
17386     *
17387     * @ingroup List
17388     */
17389    EAPI void             elm_list_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
17390
17391    /**
17392     * Get a value whether always select mode is enabled or not, meaning that
17393     * an item will always call its callback function, even if already selected.
17394     *
17395     * @param obj The list object
17396     * @return @c EINA_TRUE means horizontal mode selection is enabled.
17397     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
17398     * @c EINA_FALSE is returned.
17399     *
17400     * @see elm_list_always_select_mode_set() for details.
17401     *
17402     * @ingroup List
17403     */
17404    EAPI Eina_Bool        elm_list_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17405
17406    /**
17407     * Set bouncing behaviour when the scrolled content reaches an edge.
17408     *
17409     * Tell the internal scroller object whether it should bounce or not
17410     * when it reaches the respective edges for each axis.
17411     *
17412     * @param obj The list object
17413     * @param h_bounce Whether to bounce or not in the horizontal axis.
17414     * @param v_bounce Whether to bounce or not in the vertical axis.
17415     *
17416     * @see elm_scroller_bounce_set()
17417     *
17418     * @ingroup List
17419     */
17420    EAPI void             elm_list_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
17421
17422    /**
17423     * Get the bouncing behaviour of the internal scroller.
17424     *
17425     * Get whether the internal scroller should bounce when the edge of each
17426     * axis is reached scrolling.
17427     *
17428     * @param obj The list object.
17429     * @param h_bounce Pointer where to store the bounce state of the horizontal
17430     * axis.
17431     * @param v_bounce Pointer where to store the bounce state of the vertical
17432     * axis.
17433     *
17434     * @see elm_scroller_bounce_get()
17435     * @see elm_list_bounce_set()
17436     *
17437     * @ingroup List
17438     */
17439    EAPI void             elm_list_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
17440
17441    /**
17442     * Set the scrollbar policy.
17443     *
17444     * @param obj The list object
17445     * @param policy_h Horizontal scrollbar policy.
17446     * @param policy_v Vertical scrollbar policy.
17447     *
17448     * This sets the scrollbar visibility policy for the given scroller.
17449     * #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it
17450     * is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns
17451     * it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off.
17452     * This applies respectively for the horizontal and vertical scrollbars.
17453     *
17454     * The both are disabled by default, i.e., are set to
17455     * #ELM_SCROLLER_POLICY_OFF.
17456     *
17457     * @ingroup List
17458     */
17459    EAPI void             elm_list_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
17460
17461    /**
17462     * Get the scrollbar policy.
17463     *
17464     * @see elm_list_scroller_policy_get() for details.
17465     *
17466     * @param obj The list object.
17467     * @param policy_h Pointer where to store horizontal scrollbar policy.
17468     * @param policy_v Pointer where to store vertical scrollbar policy.
17469     *
17470     * @ingroup List
17471     */
17472    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);
17473
17474    /**
17475     * Append a new item to the list object.
17476     *
17477     * @param obj The list object.
17478     * @param label The label of the list item.
17479     * @param icon The icon object to use for the left side of the item. An
17480     * icon can be any Evas object, but usually it is an icon created
17481     * with elm_icon_add().
17482     * @param end The icon object to use for the right side of the item. An
17483     * icon can be any Evas object.
17484     * @param func The function to call when the item is clicked.
17485     * @param data The data to associate with the item for related callbacks.
17486     *
17487     * @return The created item or @c NULL upon failure.
17488     *
17489     * A new item will be created and appended to the list, i.e., will
17490     * be set as @b last item.
17491     *
17492     * Items created with this method can be deleted with
17493     * elm_list_item_del().
17494     *
17495     * Associated @p data can be properly freed when item is deleted if a
17496     * callback function is set with elm_list_item_del_cb_set().
17497     *
17498     * If a function is passed as argument, it will be called everytime this item
17499     * is selected, i.e., the user clicks over an unselected item.
17500     * If always select is enabled it will call this function every time
17501     * user clicks over an item (already selected or not).
17502     * If such function isn't needed, just passing
17503     * @c NULL as @p func is enough. The same should be done for @p data.
17504     *
17505     * Simple example (with no function callback or data associated):
17506     * @code
17507     * li = elm_list_add(win);
17508     * ic = elm_icon_add(win);
17509     * elm_icon_file_set(ic, "path/to/image", NULL);
17510     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
17511     * elm_list_item_append(li, "label", ic, NULL, NULL, NULL);
17512     * elm_list_go(li);
17513     * evas_object_show(li);
17514     * @endcode
17515     *
17516     * @see elm_list_always_select_mode_set()
17517     * @see elm_list_item_del()
17518     * @see elm_list_item_del_cb_set()
17519     * @see elm_list_clear()
17520     * @see elm_icon_add()
17521     *
17522     * @ingroup List
17523     */
17524    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);
17525
17526    /**
17527     * Prepend a new item to the list object.
17528     *
17529     * @param obj The list object.
17530     * @param label The label of the list item.
17531     * @param icon The icon object to use for the left side of the item. An
17532     * icon can be any Evas object, but usually it is an icon created
17533     * with elm_icon_add().
17534     * @param end The icon object to use for the right side of the item. An
17535     * icon can be any Evas object.
17536     * @param func The function to call when the item is clicked.
17537     * @param data The data to associate with the item for related callbacks.
17538     *
17539     * @return The created item or @c NULL upon failure.
17540     *
17541     * A new item will be created and prepended to the list, i.e., will
17542     * be set as @b first item.
17543     *
17544     * Items created with this method can be deleted with
17545     * elm_list_item_del().
17546     *
17547     * Associated @p data can be properly freed when item is deleted if a
17548     * callback function is set with elm_list_item_del_cb_set().
17549     *
17550     * If a function is passed as argument, it will be called everytime this item
17551     * is selected, i.e., the user clicks over an unselected item.
17552     * If always select is enabled it will call this function every time
17553     * user clicks over an item (already selected or not).
17554     * If such function isn't needed, just passing
17555     * @c NULL as @p func is enough. The same should be done for @p data.
17556     *
17557     * @see elm_list_item_append() for a simple code example.
17558     * @see elm_list_always_select_mode_set()
17559     * @see elm_list_item_del()
17560     * @see elm_list_item_del_cb_set()
17561     * @see elm_list_clear()
17562     * @see elm_icon_add()
17563     *
17564     * @ingroup List
17565     */
17566    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);
17567
17568    /**
17569     * Insert a new item into the list object before item @p before.
17570     *
17571     * @param obj The list object.
17572     * @param before The list item to insert before.
17573     * @param label The label of the list item.
17574     * @param icon The icon object to use for the left side of the item. An
17575     * icon can be any Evas object, but usually it is an icon created
17576     * with elm_icon_add().
17577     * @param end The icon object to use for the right side of the item. An
17578     * icon can be any Evas object.
17579     * @param func The function to call when the item is clicked.
17580     * @param data The data to associate with the item for related callbacks.
17581     *
17582     * @return The created item or @c NULL upon failure.
17583     *
17584     * A new item will be created and added to the list. Its position in
17585     * this list will be just before item @p before.
17586     *
17587     * Items created with this method can be deleted with
17588     * elm_list_item_del().
17589     *
17590     * Associated @p data can be properly freed when item is deleted if a
17591     * callback function is set with elm_list_item_del_cb_set().
17592     *
17593     * If a function is passed as argument, it will be called everytime this item
17594     * is selected, i.e., the user clicks over an unselected item.
17595     * If always select is enabled it will call this function every time
17596     * user clicks over an item (already selected or not).
17597     * If such function isn't needed, just passing
17598     * @c NULL as @p func is enough. The same should be done for @p data.
17599     *
17600     * @see elm_list_item_append() for a simple code example.
17601     * @see elm_list_always_select_mode_set()
17602     * @see elm_list_item_del()
17603     * @see elm_list_item_del_cb_set()
17604     * @see elm_list_clear()
17605     * @see elm_icon_add()
17606     *
17607     * @ingroup List
17608     */
17609    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);
17610
17611    /**
17612     * Insert a new item into the list object after item @p after.
17613     *
17614     * @param obj The list object.
17615     * @param after The list item to insert after.
17616     * @param label The label of the list item.
17617     * @param icon The icon object to use for the left side of the item. An
17618     * icon can be any Evas object, but usually it is an icon created
17619     * with elm_icon_add().
17620     * @param end The icon object to use for the right side of the item. An
17621     * icon can be any Evas object.
17622     * @param func The function to call when the item is clicked.
17623     * @param data The data to associate with the item for related callbacks.
17624     *
17625     * @return The created item or @c NULL upon failure.
17626     *
17627     * A new item will be created and added to the list. Its position in
17628     * this list will be just after item @p after.
17629     *
17630     * Items created with this method can be deleted with
17631     * elm_list_item_del().
17632     *
17633     * Associated @p data can be properly freed when item is deleted if a
17634     * callback function is set with elm_list_item_del_cb_set().
17635     *
17636     * If a function is passed as argument, it will be called everytime this item
17637     * is selected, i.e., the user clicks over an unselected item.
17638     * If always select is enabled it will call this function every time
17639     * user clicks over an item (already selected or not).
17640     * If such function isn't needed, just passing
17641     * @c NULL as @p func is enough. The same should be done for @p data.
17642     *
17643     * @see elm_list_item_append() for a simple code example.
17644     * @see elm_list_always_select_mode_set()
17645     * @see elm_list_item_del()
17646     * @see elm_list_item_del_cb_set()
17647     * @see elm_list_clear()
17648     * @see elm_icon_add()
17649     *
17650     * @ingroup List
17651     */
17652    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);
17653
17654    /**
17655     * Insert a new item into the sorted list object.
17656     *
17657     * @param obj The list object.
17658     * @param label The label of the list item.
17659     * @param icon The icon object to use for the left side of the item. An
17660     * icon can be any Evas object, but usually it is an icon created
17661     * with elm_icon_add().
17662     * @param end The icon object to use for the right side of the item. An
17663     * icon can be any Evas object.
17664     * @param func The function to call when the item is clicked.
17665     * @param data The data to associate with the item for related callbacks.
17666     * @param cmp_func The comparing function to be used to sort list
17667     * items <b>by #Elm_List_Item item handles</b>. This function will
17668     * receive two items and compare them, returning a non-negative integer
17669     * if the second item should be place after the first, or negative value
17670     * if should be placed before.
17671     *
17672     * @return The created item or @c NULL upon failure.
17673     *
17674     * @note This function inserts values into a list object assuming it was
17675     * sorted and the result will be sorted.
17676     *
17677     * A new item will be created and added to the list. Its position in
17678     * this list will be found comparing the new item with previously inserted
17679     * items using function @p cmp_func.
17680     *
17681     * Items created with this method can be deleted with
17682     * elm_list_item_del().
17683     *
17684     * Associated @p data can be properly freed when item is deleted if a
17685     * callback function is set with elm_list_item_del_cb_set().
17686     *
17687     * If a function is passed as argument, it will be called everytime this item
17688     * is selected, i.e., the user clicks over an unselected item.
17689     * If always select is enabled it will call this function every time
17690     * user clicks over an item (already selected or not).
17691     * If such function isn't needed, just passing
17692     * @c NULL as @p func is enough. The same should be done for @p data.
17693     *
17694     * @see elm_list_item_append() for a simple code example.
17695     * @see elm_list_always_select_mode_set()
17696     * @see elm_list_item_del()
17697     * @see elm_list_item_del_cb_set()
17698     * @see elm_list_clear()
17699     * @see elm_icon_add()
17700     *
17701     * @ingroup List
17702     */
17703    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);
17704
17705    /**
17706     * Remove all list's items.
17707     *
17708     * @param obj The list object
17709     *
17710     * @see elm_list_item_del()
17711     * @see elm_list_item_append()
17712     *
17713     * @ingroup List
17714     */
17715    EAPI void             elm_list_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
17716
17717    /**
17718     * Get a list of all the list items.
17719     *
17720     * @param obj The list object
17721     * @return An @c Eina_List of list items, #Elm_List_Item,
17722     * or @c NULL on failure.
17723     *
17724     * @see elm_list_item_append()
17725     * @see elm_list_item_del()
17726     * @see elm_list_clear()
17727     *
17728     * @ingroup List
17729     */
17730    EAPI const Eina_List *elm_list_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17731
17732    /**
17733     * Get the selected item.
17734     *
17735     * @param obj The list object.
17736     * @return The selected list item.
17737     *
17738     * The selected item can be unselected with function
17739     * elm_list_item_selected_set().
17740     *
17741     * The selected item always will be highlighted on list.
17742     *
17743     * @see elm_list_selected_items_get()
17744     *
17745     * @ingroup List
17746     */
17747    EAPI Elm_List_Item   *elm_list_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17748
17749    /**
17750     * Return a list of the currently selected list items.
17751     *
17752     * @param obj The list object.
17753     * @return An @c Eina_List of list items, #Elm_List_Item,
17754     * or @c NULL on failure.
17755     *
17756     * Multiple items can be selected if multi select is enabled. It can be
17757     * done with elm_list_multi_select_set().
17758     *
17759     * @see elm_list_selected_item_get()
17760     * @see elm_list_multi_select_set()
17761     *
17762     * @ingroup List
17763     */
17764    EAPI const Eina_List *elm_list_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17765
17766    /**
17767     * Set the selected state of an item.
17768     *
17769     * @param item The list item
17770     * @param selected The selected state
17771     *
17772     * This sets the selected state of the given item @p it.
17773     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
17774     *
17775     * If a new item is selected the previosly selected will be unselected,
17776     * unless multiple selection is enabled with elm_list_multi_select_set().
17777     * Previoulsy selected item can be get with function
17778     * elm_list_selected_item_get().
17779     *
17780     * Selected items will be highlighted.
17781     *
17782     * @see elm_list_item_selected_get()
17783     * @see elm_list_selected_item_get()
17784     * @see elm_list_multi_select_set()
17785     *
17786     * @ingroup List
17787     */
17788    EAPI void             elm_list_item_selected_set(Elm_List_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
17789
17790    /*
17791     * Get whether the @p item is selected or not.
17792     *
17793     * @param item The list item.
17794     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
17795     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
17796     *
17797     * @see elm_list_selected_item_set() for details.
17798     * @see elm_list_item_selected_get()
17799     *
17800     * @ingroup List
17801     */
17802    EAPI Eina_Bool        elm_list_item_selected_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17803
17804    /**
17805     * Set or unset item as a separator.
17806     *
17807     * @param it The list item.
17808     * @param setting @c EINA_TRUE to set item @p it as separator or
17809     * @c EINA_FALSE to unset, i.e., item will be used as a regular item.
17810     *
17811     * Items aren't set as separator by default.
17812     *
17813     * If set as separator it will display separator theme, so won't display
17814     * icons or label.
17815     *
17816     * @see elm_list_item_separator_get()
17817     *
17818     * @ingroup List
17819     */
17820    EAPI void             elm_list_item_separator_set(Elm_List_Item *it, Eina_Bool setting) EINA_ARG_NONNULL(1);
17821
17822    /**
17823     * Get a value whether item is a separator or not.
17824     *
17825     * @see elm_list_item_separator_set() for details.
17826     *
17827     * @param it The list item.
17828     * @return @c EINA_TRUE means item @p it is a separator. @c EINA_FALSE
17829     * indicates it's not. If @p it is @c NULL, @c EINA_FALSE is returned.
17830     *
17831     * @ingroup List
17832     */
17833    EAPI Eina_Bool        elm_list_item_separator_get(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
17834
17835    /**
17836     * Show @p item in the list view.
17837     *
17838     * @param item The list item to be shown.
17839     *
17840     * It won't animate list until item is visible. If such behavior is wanted,
17841     * use elm_list_bring_in() intead.
17842     *
17843     * @ingroup List
17844     */
17845    EAPI void             elm_list_item_show(Elm_List_Item *item) EINA_ARG_NONNULL(1);
17846
17847    /**
17848     * Bring in the given item to list view.
17849     *
17850     * @param item The item.
17851     *
17852     * This causes list to jump to the given item @p item and show it
17853     * (by scrolling), if it is not fully visible.
17854     *
17855     * This may use animation to do so and take a period of time.
17856     *
17857     * If animation isn't wanted, elm_list_item_show() can be used.
17858     *
17859     * @ingroup List
17860     */
17861    EAPI void             elm_list_item_bring_in(Elm_List_Item *item) EINA_ARG_NONNULL(1);
17862
17863    /**
17864     * Delete them item from the list.
17865     *
17866     * @param item The item of list to be deleted.
17867     *
17868     * If deleting all list items is required, elm_list_clear()
17869     * should be used instead of getting items list and deleting each one.
17870     *
17871     * @see elm_list_clear()
17872     * @see elm_list_item_append()
17873     * @see elm_list_item_del_cb_set()
17874     *
17875     * @ingroup List
17876     */
17877    EAPI void             elm_list_item_del(Elm_List_Item *item) EINA_ARG_NONNULL(1);
17878
17879    /**
17880     * Set the function called when a list item is freed.
17881     *
17882     * @param item The item to set the callback on
17883     * @param func The function called
17884     *
17885     * If there is a @p func, then it will be called prior item's memory release.
17886     * That will be called with the following arguments:
17887     * @li item's data;
17888     * @li item's Evas object;
17889     * @li item itself;
17890     *
17891     * This way, a data associated to a list item could be properly freed.
17892     *
17893     * @ingroup List
17894     */
17895    EAPI void             elm_list_item_del_cb_set(Elm_List_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
17896
17897    /**
17898     * Get the data associated to the item.
17899     *
17900     * @param item The list item
17901     * @return The data associated to @p item
17902     *
17903     * The return value is a pointer to data associated to @p item when it was
17904     * created, with function elm_list_item_append() or similar. If no data
17905     * was passed as argument, it will return @c NULL.
17906     *
17907     * @see elm_list_item_append()
17908     *
17909     * @ingroup List
17910     */
17911    EAPI void            *elm_list_item_data_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17912
17913    /**
17914     * Get the left side icon associated to the item.
17915     *
17916     * @param item The list item
17917     * @return The left side icon associated to @p item
17918     *
17919     * The return value is a pointer to the icon associated to @p item when
17920     * it was
17921     * created, with function elm_list_item_append() or similar, or later
17922     * with function elm_list_item_icon_set(). If no icon
17923     * was passed as argument, it will return @c NULL.
17924     *
17925     * @see elm_list_item_append()
17926     * @see elm_list_item_icon_set()
17927     *
17928     * @ingroup List
17929     */
17930    EAPI Evas_Object     *elm_list_item_icon_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17931
17932    /**
17933     * Set the left side icon associated to the item.
17934     *
17935     * @param item The list item
17936     * @param icon The left side icon object to associate with @p item
17937     *
17938     * The icon object to use at left side of the item. An
17939     * icon can be any Evas object, but usually it is an icon created
17940     * with elm_icon_add().
17941     *
17942     * Once the icon object is set, a previously set one will be deleted.
17943     * @warning Setting the same icon for two items will cause the icon to
17944     * dissapear from the first item.
17945     *
17946     * If an icon was passed as argument on item creation, with function
17947     * elm_list_item_append() or similar, it will be already
17948     * associated to the item.
17949     *
17950     * @see elm_list_item_append()
17951     * @see elm_list_item_icon_get()
17952     *
17953     * @ingroup List
17954     */
17955    EAPI void             elm_list_item_icon_set(Elm_List_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
17956
17957    /**
17958     * Get the right side icon associated to the item.
17959     *
17960     * @param item The list item
17961     * @return The right side icon associated to @p item
17962     *
17963     * The return value is a pointer to the icon associated to @p item when
17964     * it was
17965     * created, with function elm_list_item_append() or similar, or later
17966     * with function elm_list_item_icon_set(). If no icon
17967     * was passed as argument, it will return @c NULL.
17968     *
17969     * @see elm_list_item_append()
17970     * @see elm_list_item_icon_set()
17971     *
17972     * @ingroup List
17973     */
17974    EAPI Evas_Object     *elm_list_item_end_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17975
17976    /**
17977     * Set the right side icon associated to the item.
17978     *
17979     * @param item The list item
17980     * @param end The right side icon object to associate with @p item
17981     *
17982     * The icon object to use at right side of the item. An
17983     * icon can be any Evas object, but usually it is an icon created
17984     * with elm_icon_add().
17985     *
17986     * Once the icon object is set, a previously set one will be deleted.
17987     * @warning Setting the same icon for two items will cause the icon to
17988     * dissapear from the first item.
17989     *
17990     * If an icon was passed as argument on item creation, with function
17991     * elm_list_item_append() or similar, it will be already
17992     * associated to the item.
17993     *
17994     * @see elm_list_item_append()
17995     * @see elm_list_item_end_get()
17996     *
17997     * @ingroup List
17998     */
17999    EAPI void             elm_list_item_end_set(Elm_List_Item *item, Evas_Object *end) EINA_ARG_NONNULL(1);
18000
18001    /**
18002     * Gets the base object of the item.
18003     *
18004     * @param item The list item
18005     * @return The base object associated with @p item
18006     *
18007     * Base object is the @c Evas_Object that represents that item.
18008     *
18009     * @ingroup List
18010     */
18011    EAPI Evas_Object     *elm_list_item_object_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
18012    EINA_DEPRECATED EAPI Evas_Object     *elm_list_item_base_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
18013
18014    /**
18015     * Get the label of item.
18016     *
18017     * @param item The item of list.
18018     * @return The label of item.
18019     *
18020     * The return value is a pointer to the label associated to @p item when
18021     * it was created, with function elm_list_item_append(), or later
18022     * with function elm_list_item_label_set. If no label
18023     * was passed as argument, it will return @c NULL.
18024     *
18025     * @see elm_list_item_label_set() for more details.
18026     * @see elm_list_item_append()
18027     *
18028     * @ingroup List
18029     */
18030    EAPI const char      *elm_list_item_label_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
18031
18032    /**
18033     * Set the label of item.
18034     *
18035     * @param item The item of list.
18036     * @param text The label of item.
18037     *
18038     * The label to be displayed by the item.
18039     * Label will be placed between left and right side icons (if set).
18040     *
18041     * If a label was passed as argument on item creation, with function
18042     * elm_list_item_append() or similar, it will be already
18043     * displayed by the item.
18044     *
18045     * @see elm_list_item_label_get()
18046     * @see elm_list_item_append()
18047     *
18048     * @ingroup List
18049     */
18050    EAPI void             elm_list_item_label_set(Elm_List_Item *item, const char *text) EINA_ARG_NONNULL(1);
18051
18052    /**
18053     * Get the item before @p it in list.
18054     *
18055     * @param it The list item.
18056     * @return The item before @p it, or @c NULL if none or on failure.
18057     *
18058     * @note If it is the first item, @c NULL will be returned.
18059     *
18060     * @see elm_list_item_append()
18061     * @see elm_list_items_get()
18062     *
18063     * @ingroup List
18064     */
18065    EAPI Elm_List_Item   *elm_list_item_prev(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
18066
18067    /**
18068     * Get the item after @p it in list.
18069     *
18070     * @param it The list item.
18071     * @return The item after @p it, or @c NULL if none or on failure.
18072     *
18073     * @note If it is the last item, @c NULL will be returned.
18074     *
18075     * @see elm_list_item_append()
18076     * @see elm_list_items_get()
18077     *
18078     * @ingroup List
18079     */
18080    EAPI Elm_List_Item   *elm_list_item_next(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
18081
18082    /**
18083     * Sets the disabled/enabled state of a list item.
18084     *
18085     * @param it The item.
18086     * @param disabled The disabled state.
18087     *
18088     * A disabled item cannot be selected or unselected. It will also
18089     * change its appearance (generally greyed out). This sets the
18090     * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
18091     * enabled).
18092     *
18093     * @ingroup List
18094     */
18095    EAPI void             elm_list_item_disabled_set(Elm_List_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
18096
18097    /**
18098     * Get a value whether list item is disabled or not.
18099     *
18100     * @param it The item.
18101     * @return The disabled state.
18102     *
18103     * @see elm_list_item_disabled_set() for more details.
18104     *
18105     * @ingroup List
18106     */
18107    EAPI Eina_Bool        elm_list_item_disabled_get(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
18108
18109    /**
18110     * Set the text to be shown in a given list item's tooltips.
18111     *
18112     * @param item Target item.
18113     * @param text The text to set in the content.
18114     *
18115     * Setup the text as tooltip to object. The item can have only one tooltip,
18116     * so any previous tooltip data - set with this function or
18117     * elm_list_item_tooltip_content_cb_set() - is removed.
18118     *
18119     * @see elm_object_tooltip_text_set() for more details.
18120     *
18121     * @ingroup List
18122     */
18123    EAPI void             elm_list_item_tooltip_text_set(Elm_List_Item *item, const char *text) EINA_ARG_NONNULL(1);
18124
18125    /**
18126     * @brief Disable size restrictions on an object's tooltip
18127     * @param item The tooltip's anchor object
18128     * @param disable If EINA_TRUE, size restrictions are disabled
18129     * @return EINA_FALSE on failure, EINA_TRUE on success
18130     *
18131     * This function allows a tooltip to expand beyond its parant window's canvas.
18132     * It will instead be limited only by the size of the display.
18133     */
18134    EAPI Eina_Bool        elm_list_item_tooltip_window_mode_set(Elm_List_Item *item, Eina_Bool disable) EINA_ARG_NONNULL(1);
18135    /**
18136     * @brief Retrieve size restriction state of an object's tooltip
18137     * @param obj The tooltip's anchor object
18138     * @return If EINA_TRUE, size restrictions are disabled
18139     *
18140     * This function returns whether a tooltip is allowed to expand beyond
18141     * its parant window's canvas.
18142     * It will instead be limited only by the size of the display.
18143     */
18144    EAPI Eina_Bool        elm_list_item_tooltip_window_mode_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
18145
18146    /**
18147     * Set the content to be shown in the tooltip item.
18148     *
18149     * Setup the tooltip to item. The item can have only one tooltip,
18150     * so any previous tooltip data is removed. @p func(with @p data) will
18151     * be called every time that need show the tooltip and it should
18152     * return a valid Evas_Object. This object is then managed fully by
18153     * tooltip system and is deleted when the tooltip is gone.
18154     *
18155     * @param item the list item being attached a tooltip.
18156     * @param func the function used to create the tooltip contents.
18157     * @param data what to provide to @a func as callback data/context.
18158     * @param del_cb called when data is not needed anymore, either when
18159     *        another callback replaces @a func, the tooltip is unset with
18160     *        elm_list_item_tooltip_unset() or the owner @a item
18161     *        dies. This callback receives as the first parameter the
18162     *        given @a data, and @c event_info is the item.
18163     *
18164     * @see elm_object_tooltip_content_cb_set() for more details.
18165     *
18166     * @ingroup List
18167     */
18168    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);
18169
18170    /**
18171     * Unset tooltip from item.
18172     *
18173     * @param item list item to remove previously set tooltip.
18174     *
18175     * Remove tooltip from item. The callback provided as del_cb to
18176     * elm_list_item_tooltip_content_cb_set() will be called to notify
18177     * it is not used anymore.
18178     *
18179     * @see elm_object_tooltip_unset() for more details.
18180     * @see elm_list_item_tooltip_content_cb_set()
18181     *
18182     * @ingroup List
18183     */
18184    EAPI void             elm_list_item_tooltip_unset(Elm_List_Item *item) EINA_ARG_NONNULL(1);
18185
18186    /**
18187     * Sets a different style for this item tooltip.
18188     *
18189     * @note before you set a style you should define a tooltip with
18190     *       elm_list_item_tooltip_content_cb_set() or
18191     *       elm_list_item_tooltip_text_set()
18192     *
18193     * @param item list item with tooltip already set.
18194     * @param style the theme style to use (default, transparent, ...)
18195     *
18196     * @see elm_object_tooltip_style_set() for more details.
18197     *
18198     * @ingroup List
18199     */
18200    EAPI void             elm_list_item_tooltip_style_set(Elm_List_Item *item, const char *style) EINA_ARG_NONNULL(1);
18201
18202    /**
18203     * Get the style for this item tooltip.
18204     *
18205     * @param item list item with tooltip already set.
18206     * @return style the theme style in use, defaults to "default". If the
18207     *         object does not have a tooltip set, then NULL is returned.
18208     *
18209     * @see elm_object_tooltip_style_get() for more details.
18210     * @see elm_list_item_tooltip_style_set()
18211     *
18212     * @ingroup List
18213     */
18214    EAPI const char      *elm_list_item_tooltip_style_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
18215
18216    /**
18217     * Set the type of mouse pointer/cursor decoration to be shown,
18218     * when the mouse pointer is over the given list widget item
18219     *
18220     * @param item list item to customize cursor on
18221     * @param cursor the cursor type's name
18222     *
18223     * This function works analogously as elm_object_cursor_set(), but
18224     * here the cursor's changing area is restricted to the item's
18225     * area, and not the whole widget's. Note that that item cursors
18226     * have precedence over widget cursors, so that a mouse over an
18227     * item with custom cursor set will always show @b that cursor.
18228     *
18229     * If this function is called twice for an object, a previously set
18230     * cursor will be unset on the second call.
18231     *
18232     * @see elm_object_cursor_set()
18233     * @see elm_list_item_cursor_get()
18234     * @see elm_list_item_cursor_unset()
18235     *
18236     * @ingroup List
18237     */
18238    EAPI void             elm_list_item_cursor_set(Elm_List_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
18239
18240    /*
18241     * Get the type of mouse pointer/cursor decoration set to be shown,
18242     * when the mouse pointer is over the given list widget item
18243     *
18244     * @param item list item with custom cursor set
18245     * @return the cursor type's name or @c NULL, if no custom cursors
18246     * were set to @p item (and on errors)
18247     *
18248     * @see elm_object_cursor_get()
18249     * @see elm_list_item_cursor_set()
18250     * @see elm_list_item_cursor_unset()
18251     *
18252     * @ingroup List
18253     */
18254    EAPI const char      *elm_list_item_cursor_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
18255
18256    /**
18257     * Unset any custom mouse pointer/cursor decoration set to be
18258     * shown, when the mouse pointer is over the given list widget
18259     * item, thus making it show the @b default cursor again.
18260     *
18261     * @param item a list item
18262     *
18263     * Use this call to undo any custom settings on this item's cursor
18264     * decoration, bringing it back to defaults (no custom style set).
18265     *
18266     * @see elm_object_cursor_unset()
18267     * @see elm_list_item_cursor_set()
18268     *
18269     * @ingroup List
18270     */
18271    EAPI void             elm_list_item_cursor_unset(Elm_List_Item *item) EINA_ARG_NONNULL(1);
18272
18273    /**
18274     * Set a different @b style for a given custom cursor set for a
18275     * list item.
18276     *
18277     * @param item list item with custom cursor set
18278     * @param style the <b>theme style</b> to use (e.g. @c "default",
18279     * @c "transparent", etc)
18280     *
18281     * This function only makes sense when one is using custom mouse
18282     * cursor decorations <b>defined in a theme file</b>, which can have,
18283     * given a cursor name/type, <b>alternate styles</b> on it. It
18284     * works analogously as elm_object_cursor_style_set(), but here
18285     * applyed only to list item objects.
18286     *
18287     * @warning Before you set a cursor style you should have definen a
18288     *       custom cursor previously on the item, with
18289     *       elm_list_item_cursor_set()
18290     *
18291     * @see elm_list_item_cursor_engine_only_set()
18292     * @see elm_list_item_cursor_style_get()
18293     *
18294     * @ingroup List
18295     */
18296    EAPI void             elm_list_item_cursor_style_set(Elm_List_Item *item, const char *style) EINA_ARG_NONNULL(1);
18297
18298    /**
18299     * Get the current @b style set for a given list item's custom
18300     * cursor
18301     *
18302     * @param item list item with custom cursor set.
18303     * @return style the cursor style in use. If the object does not
18304     *         have a cursor set, then @c NULL is returned.
18305     *
18306     * @see elm_list_item_cursor_style_set() for more details
18307     *
18308     * @ingroup List
18309     */
18310    EAPI const char      *elm_list_item_cursor_style_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
18311
18312    /**
18313     * Set if the (custom)cursor for a given list item should be
18314     * searched in its theme, also, or should only rely on the
18315     * rendering engine.
18316     *
18317     * @param item item with custom (custom) cursor already set on
18318     * @param engine_only Use @c EINA_TRUE to have cursors looked for
18319     * only on those provided by the rendering engine, @c EINA_FALSE to
18320     * have them searched on the widget's theme, as well.
18321     *
18322     * @note This call is of use only if you've set a custom cursor
18323     * for list items, with elm_list_item_cursor_set().
18324     *
18325     * @note By default, cursors will only be looked for between those
18326     * provided by the rendering engine.
18327     *
18328     * @ingroup List
18329     */
18330    EAPI void             elm_list_item_cursor_engine_only_set(Elm_List_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
18331
18332    /**
18333     * Get if the (custom) cursor for a given list item is being
18334     * searched in its theme, also, or is only relying on the rendering
18335     * engine.
18336     *
18337     * @param item a list item
18338     * @return @c EINA_TRUE, if cursors are being looked for only on
18339     * those provided by the rendering engine, @c EINA_FALSE if they
18340     * are being searched on the widget's theme, as well.
18341     *
18342     * @see elm_list_item_cursor_engine_only_set(), for more details
18343     *
18344     * @ingroup List
18345     */
18346    EAPI Eina_Bool        elm_list_item_cursor_engine_only_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
18347
18348    /**
18349     * @}
18350     */
18351
18352    /**
18353     * @defgroup Slider Slider
18354     * @ingroup Elementary
18355     *
18356     * @image html img/widget/slider/preview-00.png
18357     * @image latex img/widget/slider/preview-00.eps width=\textwidth
18358     *
18359     * The slider adds a dragable ā€œsliderā€ widget for selecting the value of
18360     * something within a range.
18361     *
18362     * A slider can be horizontal or vertical. It can contain an Icon and has a
18363     * primary label as well as a units label (that is formatted with floating
18364     * point values and thus accepts a printf-style format string, like
18365     * ā€œ%1.2f unitsā€. There is also an indicator string that may be somewhere
18366     * else (like on the slider itself) that also accepts a format string like
18367     * units. Label, Icon Unit and Indicator strings/objects are optional.
18368     *
18369     * A slider may be inverted which means values invert, with high vales being
18370     * on the left or top and low values on the right or bottom (as opposed to
18371     * normally being low on the left or top and high on the bottom and right).
18372     *
18373     * The slider should have its minimum and maximum values set by the
18374     * application with  elm_slider_min_max_set() and value should also be set by
18375     * the application before use with  elm_slider_value_set(). The span of the
18376     * slider is its length (horizontally or vertically). This will be scaled by
18377     * the object or applications scaling factor. At any point code can query the
18378     * slider for its value with elm_slider_value_get().
18379     *
18380     * Smart callbacks one can listen to:
18381     * - "changed" - Whenever the slider value is changed by the user.
18382     * - "slider,drag,start" - dragging the slider indicator around has started.
18383     * - "slider,drag,stop" - dragging the slider indicator around has stopped.
18384     * - "delay,changed" - A short time after the value is changed by the user.
18385     * This will be called only when the user stops dragging for
18386     * a very short period or when they release their
18387     * finger/mouse, so it avoids possibly expensive reactions to
18388     * the value change.
18389     *
18390     * Available styles for it:
18391     * - @c "default"
18392     *
18393     * Default contents parts of the slider widget that you can use for are:
18394     * @li "icon" - An icon of the slider
18395     * @li "end" - A end part content of the slider
18396     *
18397     * Default text parts of the silder widget that you can use for are:
18398     * @li "default" - Label of the silder
18399     * Here is an example on its usage:
18400     * @li @ref slider_example
18401     */
18402
18403    /**
18404     * @addtogroup Slider
18405     * @{
18406     */
18407
18408    /**
18409     * Add a new slider widget to the given parent Elementary
18410     * (container) object.
18411     *
18412     * @param parent The parent object.
18413     * @return a new slider widget handle or @c NULL, on errors.
18414     *
18415     * This function inserts a new slider widget on the canvas.
18416     *
18417     * @ingroup Slider
18418     */
18419    EAPI Evas_Object       *elm_slider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
18420
18421    /**
18422     * Set the label of a given slider widget
18423     *
18424     * @param obj The progress bar object
18425     * @param label The text label string, in UTF-8
18426     *
18427     * @ingroup Slider
18428     * @deprecated use elm_object_text_set() instead.
18429     */
18430    EINA_DEPRECATED EAPI void               elm_slider_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
18431
18432    /**
18433     * Get the label of a given slider widget
18434     *
18435     * @param obj The progressbar object
18436     * @return The text label string, in UTF-8
18437     *
18438     * @ingroup Slider
18439     * @deprecated use elm_object_text_get() instead.
18440     */
18441    EINA_DEPRECATED EAPI const char        *elm_slider_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18442
18443    /**
18444     * Set the icon object of the slider object.
18445     *
18446     * @param obj The slider object.
18447     * @param icon The icon object.
18448     *
18449     * On horizontal mode, icon is placed at left, and on vertical mode,
18450     * placed at top.
18451     *
18452     * @note Once the icon object is set, a previously set one will be deleted.
18453     * If you want to keep that old content object, use the
18454     * elm_slider_icon_unset() function.
18455     *
18456     * @warning If the object being set does not have minimum size hints set,
18457     * it won't get properly displayed.
18458     *
18459     * @ingroup Slider
18460     * @deprecated use elm_object_part_content_set() instead.
18461     */
18462    EINA_DEPRECATED EAPI void               elm_slider_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
18463
18464    /**
18465     * Unset an icon set on a given slider widget.
18466     *
18467     * @param obj The slider object.
18468     * @return The icon object that was being used, if any was set, or
18469     * @c NULL, otherwise (and on errors).
18470     *
18471     * On horizontal mode, icon is placed at left, and on vertical mode,
18472     * placed at top.
18473     *
18474     * This call will unparent and return the icon object which was set
18475     * for this widget, previously, on success.
18476     *
18477     * @see elm_slider_icon_set() for more details
18478     * @see elm_slider_icon_get()
18479     * @deprecated use elm_object_part_content_unset() instead.
18480     *
18481     * @ingroup Slider
18482     */
18483    EINA_DEPRECATED EAPI Evas_Object       *elm_slider_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
18484
18485    /**
18486     * Retrieve the icon object set for a given slider widget.
18487     *
18488     * @param obj The slider object.
18489     * @return The icon object's handle, if @p obj had one set, or @c NULL,
18490     * otherwise (and on errors).
18491     *
18492     * On horizontal mode, icon is placed at left, and on vertical mode,
18493     * placed at top.
18494     *
18495     * @see elm_slider_icon_set() for more details
18496     * @see elm_slider_icon_unset()
18497     *
18498     * @deprecated use elm_object_part_content_get() instead.
18499     *
18500     * @ingroup Slider
18501     */
18502    EINA_DEPRECATED EAPI Evas_Object       *elm_slider_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18503
18504    /**
18505     * Set the end object of the slider object.
18506     *
18507     * @param obj The slider object.
18508     * @param end The end object.
18509     *
18510     * On horizontal mode, end is placed at left, and on vertical mode,
18511     * placed at bottom.
18512     *
18513     * @note Once the icon object is set, a previously set one will be deleted.
18514     * If you want to keep that old content object, use the
18515     * elm_slider_end_unset() function.
18516     *
18517     * @warning If the object being set does not have minimum size hints set,
18518     * it won't get properly displayed.
18519     *
18520     * @deprecated use elm_object_part_content_set() instead.
18521     *
18522     * @ingroup Slider
18523     */
18524    EINA_DEPRECATED EAPI void               elm_slider_end_set(Evas_Object *obj, Evas_Object *end) EINA_ARG_NONNULL(1);
18525
18526    /**
18527     * Unset an end object set on a given slider widget.
18528     *
18529     * @param obj The slider object.
18530     * @return The end object that was being used, if any was set, or
18531     * @c NULL, otherwise (and on errors).
18532     *
18533     * On horizontal mode, end is placed at left, and on vertical mode,
18534     * placed at bottom.
18535     *
18536     * This call will unparent and return the icon object which was set
18537     * for this widget, previously, on success.
18538     *
18539     * @see elm_slider_end_set() for more details.
18540     * @see elm_slider_end_get()
18541     *
18542     * @deprecated use elm_object_part_content_unset() instead
18543     * instead.
18544     *
18545     * @ingroup Slider
18546     */
18547    EINA_DEPRECATED EAPI Evas_Object       *elm_slider_end_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
18548
18549    /**
18550     * Retrieve the end object set for a given slider widget.
18551     *
18552     * @param obj The slider object.
18553     * @return The end object's handle, if @p obj had one set, or @c NULL,
18554     * otherwise (and on errors).
18555     *
18556     * On horizontal mode, icon is placed at right, and on vertical mode,
18557     * placed at bottom.
18558     *
18559     * @see elm_slider_end_set() for more details.
18560     * @see elm_slider_end_unset()
18561     *
18562     *
18563     * @deprecated use elm_object_part_content_get() instead
18564     * instead.
18565     *
18566     * @ingroup Slider
18567     */
18568    EINA_DEPRECATED EAPI Evas_Object       *elm_slider_end_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18569
18570    /**
18571     * Set the (exact) length of the bar region of a given slider widget.
18572     *
18573     * @param obj The slider object.
18574     * @param size The length of the slider's bar region.
18575     *
18576     * This sets the minimum width (when in horizontal mode) or height
18577     * (when in vertical mode) of the actual bar area of the slider
18578     * @p obj. This in turn affects the object's minimum size. Use
18579     * this when you're not setting other size hints expanding on the
18580     * given direction (like weight and alignment hints) and you would
18581     * like it to have a specific size.
18582     *
18583     * @note Icon, end, label, indicator and unit text around @p obj
18584     * will require their
18585     * own space, which will make @p obj to require more the @p size,
18586     * actually.
18587     *
18588     * @see elm_slider_span_size_get()
18589     *
18590     * @ingroup Slider
18591     */
18592    EAPI void               elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size) EINA_ARG_NONNULL(1);
18593
18594    /**
18595     * Get the length set for the bar region of a given slider widget
18596     *
18597     * @param obj The slider object.
18598     * @return The length of the slider's bar region.
18599     *
18600     * If that size was not set previously, with
18601     * elm_slider_span_size_set(), this call will return @c 0.
18602     *
18603     * @ingroup Slider
18604     */
18605    EAPI Evas_Coord         elm_slider_span_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18606
18607    /**
18608     * Set the format string for the unit label.
18609     *
18610     * @param obj The slider object.
18611     * @param format The format string for the unit display.
18612     *
18613     * Unit label is displayed all the time, if set, after slider's bar.
18614     * In horizontal mode, at right and in vertical mode, at bottom.
18615     *
18616     * If @c NULL, unit label won't be visible. If not it sets the format
18617     * string for the label text. To the label text is provided a floating point
18618     * value, so the label text can display up to 1 floating point value.
18619     * Note that this is optional.
18620     *
18621     * Use a format string such as "%1.2f meters" for example, and it will
18622     * display values like: "3.14 meters" for a value equal to 3.14159.
18623     *
18624     * Default is unit label disabled.
18625     *
18626     * @see elm_slider_indicator_format_get()
18627     *
18628     * @ingroup Slider
18629     */
18630    EAPI void               elm_slider_unit_format_set(Evas_Object *obj, const char *format) EINA_ARG_NONNULL(1);
18631
18632    /**
18633     * Get the unit label format of the slider.
18634     *
18635     * @param obj The slider object.
18636     * @return The unit label format string in UTF-8.
18637     *
18638     * Unit label is displayed all the time, if set, after slider's bar.
18639     * In horizontal mode, at right and in vertical mode, at bottom.
18640     *
18641     * @see elm_slider_unit_format_set() for more
18642     * information on how this works.
18643     *
18644     * @ingroup Slider
18645     */
18646    EAPI const char        *elm_slider_unit_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18647
18648    /**
18649     * Set the format string for the indicator label.
18650     *
18651     * @param obj The slider object.
18652     * @param indicator The format string for the indicator display.
18653     *
18654     * The slider may display its value somewhere else then unit label,
18655     * for example, above the slider knob that is dragged around. This function
18656     * sets the format string used for this.
18657     *
18658     * If @c NULL, indicator label won't be visible. If not it sets the format
18659     * string for the label text. To the label text is provided a floating point
18660     * value, so the label text can display up to 1 floating point value.
18661     * Note that this is optional.
18662     *
18663     * Use a format string such as "%1.2f meters" for example, and it will
18664     * display values like: "3.14 meters" for a value equal to 3.14159.
18665     *
18666     * Default is indicator label disabled.
18667     *
18668     * @see elm_slider_indicator_format_get()
18669     *
18670     * @ingroup Slider
18671     */
18672    EAPI void               elm_slider_indicator_format_set(Evas_Object *obj, const char *indicator) EINA_ARG_NONNULL(1);
18673
18674    /**
18675     * Get the indicator label format of the slider.
18676     *
18677     * @param obj The slider object.
18678     * @return The indicator label format string in UTF-8.
18679     *
18680     * The slider may display its value somewhere else then unit label,
18681     * for example, above the slider knob that is dragged around. This function
18682     * gets the format string used for this.
18683     *
18684     * @see elm_slider_indicator_format_set() for more
18685     * information on how this works.
18686     *
18687     * @ingroup Slider
18688     */
18689    EAPI const char        *elm_slider_indicator_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18690
18691    /**
18692     * Set the format function pointer for the indicator label
18693     *
18694     * @param obj The slider object.
18695     * @param func The indicator format function.
18696     * @param free_func The freeing function for the format string.
18697     *
18698     * Set the callback function to format the indicator string.
18699     *
18700     * @see elm_slider_indicator_format_set() for more info on how this works.
18701     *
18702     * @ingroup Slider
18703     */
18704   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);
18705
18706   /**
18707    * Set the format function pointer for the units label
18708    *
18709    * @param obj The slider object.
18710    * @param func The units format function.
18711    * @param free_func The freeing function for the format string.
18712    *
18713    * Set the callback function to format the indicator string.
18714    *
18715    * @see elm_slider_units_format_set() for more info on how this works.
18716    *
18717    * @ingroup Slider
18718    */
18719   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);
18720
18721   /**
18722    * Set the orientation of a given slider widget.
18723    *
18724    * @param obj The slider object.
18725    * @param horizontal Use @c EINA_TRUE to make @p obj to be
18726    * @b horizontal, @c EINA_FALSE to make it @b vertical.
18727    *
18728    * Use this function to change how your slider is to be
18729    * disposed: vertically or horizontally.
18730    *
18731    * By default it's displayed horizontally.
18732    *
18733    * @see elm_slider_horizontal_get()
18734    *
18735    * @ingroup Slider
18736    */
18737    EAPI void               elm_slider_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
18738
18739    /**
18740     * Retrieve the orientation of a given slider widget
18741     *
18742     * @param obj The slider object.
18743     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
18744     * @c EINA_FALSE if it's @b vertical (and on errors).
18745     *
18746     * @see elm_slider_horizontal_set() for more details.
18747     *
18748     * @ingroup Slider
18749     */
18750    EAPI Eina_Bool          elm_slider_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18751
18752    /**
18753     * Set the minimum and maximum values for the slider.
18754     *
18755     * @param obj The slider object.
18756     * @param min The minimum value.
18757     * @param max The maximum value.
18758     *
18759     * Define the allowed range of values to be selected by the user.
18760     *
18761     * If actual value is less than @p min, it will be updated to @p min. If it
18762     * is bigger then @p max, will be updated to @p max. Actual value can be
18763     * get with elm_slider_value_get().
18764     *
18765     * By default, min is equal to 0.0, and max is equal to 1.0.
18766     *
18767     * @warning Maximum must be greater than minimum, otherwise behavior
18768     * is undefined.
18769     *
18770     * @see elm_slider_min_max_get()
18771     *
18772     * @ingroup Slider
18773     */
18774    EAPI void               elm_slider_min_max_set(Evas_Object *obj, double min, double max) EINA_ARG_NONNULL(1);
18775
18776    /**
18777     * Get the minimum and maximum values of the slider.
18778     *
18779     * @param obj The slider object.
18780     * @param min Pointer where to store the minimum value.
18781     * @param max Pointer where to store the maximum value.
18782     *
18783     * @note If only one value is needed, the other pointer can be passed
18784     * as @c NULL.
18785     *
18786     * @see elm_slider_min_max_set() for details.
18787     *
18788     * @ingroup Slider
18789     */
18790    EAPI void               elm_slider_min_max_get(const Evas_Object *obj, double *min, double *max) EINA_ARG_NONNULL(1);
18791
18792    /**
18793     * Set the value the slider displays.
18794     *
18795     * @param obj The slider object.
18796     * @param val The value to be displayed.
18797     *
18798     * Value will be presented on the unit label following format specified with
18799     * elm_slider_unit_format_set() and on indicator with
18800     * elm_slider_indicator_format_set().
18801     *
18802     * @warning The value must to be between min and max values. This values
18803     * are set by elm_slider_min_max_set().
18804     *
18805     * @see elm_slider_value_get()
18806     * @see elm_slider_unit_format_set()
18807     * @see elm_slider_indicator_format_set()
18808     * @see elm_slider_min_max_set()
18809     *
18810     * @ingroup Slider
18811     */
18812    EAPI void               elm_slider_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
18813
18814    /**
18815     * Get the value displayed by the spinner.
18816     *
18817     * @param obj The spinner object.
18818     * @return The value displayed.
18819     *
18820     * @see elm_spinner_value_set() for details.
18821     *
18822     * @ingroup Slider
18823     */
18824    EAPI double             elm_slider_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18825
18826    /**
18827     * Invert a given slider widget's displaying values order
18828     *
18829     * @param obj The slider object.
18830     * @param inverted Use @c EINA_TRUE to make @p obj inverted,
18831     * @c EINA_FALSE to bring it back to default, non-inverted values.
18832     *
18833     * A slider may be @b inverted, in which state it gets its
18834     * values inverted, with high vales being on the left or top and
18835     * low values on the right or bottom, as opposed to normally have
18836     * the low values on the former and high values on the latter,
18837     * respectively, for horizontal and vertical modes.
18838     *
18839     * @see elm_slider_inverted_get()
18840     *
18841     * @ingroup Slider
18842     */
18843    EAPI void               elm_slider_inverted_set(Evas_Object *obj, Eina_Bool inverted) EINA_ARG_NONNULL(1);
18844
18845    /**
18846     * Get whether a given slider widget's displaying values are
18847     * inverted or not.
18848     *
18849     * @param obj The slider object.
18850     * @return @c EINA_TRUE, if @p obj has inverted values,
18851     * @c EINA_FALSE otherwise (and on errors).
18852     *
18853     * @see elm_slider_inverted_set() for more details.
18854     *
18855     * @ingroup Slider
18856     */
18857    EAPI Eina_Bool          elm_slider_inverted_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18858
18859    /**
18860     * Set whether to enlarge slider indicator (augmented knob) or not.
18861     *
18862     * @param obj The slider object.
18863     * @param show @c EINA_TRUE will make it enlarge, @c EINA_FALSE will
18864     * let the knob always at default size.
18865     *
18866     * By default, indicator will be bigger while dragged by the user.
18867     *
18868     * @warning It won't display values set with
18869     * elm_slider_indicator_format_set() if you disable indicator.
18870     *
18871     * @ingroup Slider
18872     */
18873    EAPI void               elm_slider_indicator_show_set(Evas_Object *obj, Eina_Bool show) EINA_ARG_NONNULL(1);
18874
18875    /**
18876     * Get whether a given slider widget's enlarging indicator or not.
18877     *
18878     * @param obj The slider object.
18879     * @return @c EINA_TRUE, if @p obj is enlarging indicator, or
18880     * @c EINA_FALSE otherwise (and on errors).
18881     *
18882     * @see elm_slider_indicator_show_set() for details.
18883     *
18884     * @ingroup Slider
18885     */
18886    EAPI Eina_Bool          elm_slider_indicator_show_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18887
18888    /**
18889     * @}
18890     */
18891
18892    /**
18893     * @addtogroup Actionslider Actionslider
18894     *
18895     * @image html img/widget/actionslider/preview-00.png
18896     * @image latex img/widget/actionslider/preview-00.eps
18897     *
18898     * An actionslider is a switcher for 2 or 3 labels with customizable magnet
18899     * properties. The user drags and releases the indicator, to choose a label.
18900     *
18901     * Labels occupy the following positions.
18902     * a. Left
18903     * b. Right
18904     * c. Center
18905     *
18906     * Positions can be enabled or disabled.
18907     *
18908     * Magnets can be set on the above positions.
18909     *
18910     * When the indicator is released, it will move to its nearest "enabled and magnetized" position.
18911     *
18912     * @note By default all positions are set as enabled.
18913     *
18914     * Signals that you can add callbacks for are:
18915     *
18916     * "selected" - when user selects an enabled position (the label is passed
18917     *              as event info)".
18918     * @n
18919     * "pos_changed" - when the indicator reaches any of the positions("left",
18920     *                 "right" or "center").
18921     *
18922     * See an example of actionslider usage @ref actionslider_example_page "here"
18923     * @{
18924     */
18925    typedef enum _Elm_Actionslider_Pos
18926      {
18927         ELM_ACTIONSLIDER_NONE = 0,
18928         ELM_ACTIONSLIDER_LEFT = 1 << 0,
18929         ELM_ACTIONSLIDER_CENTER = 1 << 1,
18930         ELM_ACTIONSLIDER_RIGHT = 1 << 2,
18931         ELM_ACTIONSLIDER_ALL = (1 << 3) -1
18932      } Elm_Actionslider_Pos;
18933
18934    /**
18935     * Add a new actionslider to the parent.
18936     *
18937     * @param parent The parent object
18938     * @return The new actionslider object or NULL if it cannot be created
18939     */
18940    EAPI Evas_Object          *elm_actionslider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
18941
18942    /**
18943     * Set actionslider labels.
18944     *
18945     * @param obj The actionslider object
18946     * @param left_label The label to be set on the left.
18947     * @param center_label The label to be set on the center.
18948     * @param right_label The label to be set on the right.
18949     * @deprecated use elm_object_text_set() instead.
18950     */
18951    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);
18952
18953    /**
18954     * Get actionslider labels.
18955     *
18956     * @param obj The actionslider object
18957     * @param left_label A char** to place the left_label of @p obj into.
18958     * @param center_label A char** to place the center_label of @p obj into.
18959     * @param right_label A char** to place the right_label of @p obj into.
18960     * @deprecated use elm_object_text_set() instead.
18961     */
18962    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);
18963
18964    /**
18965     * Get actionslider selected label.
18966     *
18967     * @param obj The actionslider object
18968     * @return The selected label
18969     */
18970    EAPI const char           *elm_actionslider_selected_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18971
18972    /**
18973     * Set actionslider indicator position.
18974     *
18975     * @param obj The actionslider object.
18976     * @param pos The position of the indicator.
18977     */
18978    EAPI void                  elm_actionslider_indicator_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
18979
18980    /**
18981     * Get actionslider indicator position.
18982     *
18983     * @param obj The actionslider object.
18984     * @return The position of the indicator.
18985     */
18986    EAPI Elm_Actionslider_Pos  elm_actionslider_indicator_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18987
18988    /**
18989     * Set actionslider magnet position. To make multiple positions magnets @c or
18990     * them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT)
18991     *
18992     * @param obj The actionslider object.
18993     * @param pos Bit mask indicating the magnet positions.
18994     */
18995    EAPI void                  elm_actionslider_magnet_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
18996
18997    /**
18998     * Get actionslider magnet position.
18999     *
19000     * @param obj The actionslider object.
19001     * @return The positions with magnet property.
19002     */
19003    EAPI Elm_Actionslider_Pos  elm_actionslider_magnet_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19004
19005    /**
19006     * Set actionslider enabled position. To set multiple positions as enabled @c or
19007     * them together(e.g.: ELM_ACTIONSLIDER_LEFT | ELM_ACTIONSLIDER_RIGHT).
19008     *
19009     * @note All the positions are enabled by default.
19010     *
19011     * @param obj The actionslider object.
19012     * @param pos Bit mask indicating the enabled positions.
19013     */
19014    EAPI void                  elm_actionslider_enabled_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos) EINA_ARG_NONNULL(1);
19015
19016    /**
19017     * Get actionslider enabled position.
19018     *
19019     * @param obj The actionslider object.
19020     * @return The enabled positions.
19021     */
19022    EAPI Elm_Actionslider_Pos  elm_actionslider_enabled_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19023
19024    /**
19025     * Set the label used on the indicator.
19026     *
19027     * @param obj The actionslider object
19028     * @param label The label to be set on the indicator.
19029     * @deprecated use elm_object_text_set() instead.
19030     */
19031    EINA_DEPRECATED EAPI void                  elm_actionslider_indicator_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
19032
19033    /**
19034     * Get the label used on the indicator object.
19035     *
19036     * @param obj The actionslider object
19037     * @return The indicator label
19038     * @deprecated use elm_object_text_get() instead.
19039     */
19040    EINA_DEPRECATED EAPI const char           *elm_actionslider_indicator_label_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
19041
19042    /**
19043     * @}
19044     */
19045
19046    /**
19047     * @defgroup Genlist Genlist
19048     *
19049     * @image html img/widget/genlist/preview-00.png
19050     * @image latex img/widget/genlist/preview-00.eps
19051     * @image html img/genlist.png
19052     * @image latex img/genlist.eps
19053     *
19054     * This widget aims to have more expansive list than the simple list in
19055     * Elementary that could have more flexible items and allow many more entries
19056     * while still being fast and low on memory usage. At the same time it was
19057     * also made to be able to do tree structures. But the price to pay is more
19058     * complexity when it comes to usage. If all you want is a simple list with
19059     * icons and a single text, use the normal @ref List object.
19060     *
19061     * Genlist has a fairly large API, mostly because it's relatively complex,
19062     * trying to be both expansive, powerful and efficient. First we will begin
19063     * an overview on the theory behind genlist.
19064     *
19065     * @section Genlist_Item_Class Genlist item classes - creating items
19066     *
19067     * In order to have the ability to add and delete items on the fly, genlist
19068     * implements a class (callback) system where the application provides a
19069     * structure with information about that type of item (genlist may contain
19070     * multiple different items with different classes, states and styles).
19071     * Genlist will call the functions in this struct (methods) when an item is
19072     * "realized" (i.e., created dynamically, while the user is scrolling the
19073     * grid). All objects will simply be deleted when no longer needed with
19074     * evas_object_del(). The #Elm_Genlist_Item_Class structure contains the
19075     * following members:
19076     * - @c item_style - This is a constant string and simply defines the name
19077     *   of the item style. It @b must be specified and the default should be @c
19078     *   "default".
19079     *
19080     * - @c func - A struct with pointers to functions that will be called when
19081     *   an item is going to be actually created. All of them receive a @c data
19082     *   parameter that will point to the same data passed to
19083     *   elm_genlist_item_append() and related item creation functions, and a @c
19084     *   obj parameter that points to the genlist object itself.
19085     *
19086     * The function pointers inside @c func are @c text_get, @c content_get, @c
19087     * state_get and @c del. The 3 first functions also receive a @c part
19088     * parameter described below. A brief description of these functions follows:
19089     *
19090     * - @c text_get - The @c part parameter is the name string of one of the
19091     *   existing text parts in the Edje group implementing the item's theme.
19092     *   This function @b must return a strdup'()ed string, as the caller will
19093     *   free() it when done. See #Elm_Genlist_Item_Text_Get_Cb.
19094     * - @c content_get - The @c part parameter is the name string of one of the
19095     *   existing (content) swallow parts in the Edje group implementing the item's
19096     *   theme. It must return @c NULL, when no content is desired, or a valid
19097     *   object handle, otherwise.  The object will be deleted by the genlist on
19098     *   its deletion or when the item is "unrealized".  See
19099     *   #Elm_Genlist_Item_Content_Get_Cb.
19100     * - @c func.state_get - The @c part parameter is the name string of one of
19101     *   the state parts in the Edje group implementing the item's theme. Return
19102     *   @c EINA_FALSE for false/off or @c EINA_TRUE for true/on. Genlists will
19103     *   emit a signal to its theming Edje object with @c "elm,state,XXX,active"
19104     *   and @c "elm" as "emission" and "source" arguments, respectively, when
19105     *   the state is true (the default is false), where @c XXX is the name of
19106     *   the (state) part.  See #Elm_Genlist_Item_State_Get_Cb.
19107     * - @c func.del - This is intended for use when genlist items are deleted,
19108     *   so any data attached to the item (e.g. its data parameter on creation)
19109     *   can be deleted. See #Elm_Genlist_Item_Del_Cb.
19110     *
19111     * available item styles:
19112     * - default
19113     * - default_style - The text part is a textblock
19114     *
19115     * @image html img/widget/genlist/preview-04.png
19116     * @image latex img/widget/genlist/preview-04.eps
19117     *
19118     * - double_label
19119     *
19120     * @image html img/widget/genlist/preview-01.png
19121     * @image latex img/widget/genlist/preview-01.eps
19122     *
19123     * - icon_top_text_bottom
19124     *
19125     * @image html img/widget/genlist/preview-02.png
19126     * @image latex img/widget/genlist/preview-02.eps
19127     *
19128     * - group_index
19129     *
19130     * @image html img/widget/genlist/preview-03.png
19131     * @image latex img/widget/genlist/preview-03.eps
19132     *
19133     * @section Genlist_Items Structure of items
19134     *
19135     * An item in a genlist can have 0 or more texts (they can be regular
19136     * text or textblock Evas objects - that's up to the style to determine), 0
19137     * or more contents (which are simply objects swallowed into the genlist item's
19138     * theming Edje object) and 0 or more <b>boolean states</b>, which have the
19139     * behavior left to the user to define. The Edje part names for each of
19140     * these properties will be looked up, in the theme file for the genlist,
19141     * under the Edje (string) data items named @c "labels", @c "contents" and @c
19142     * "states", respectively. For each of those properties, if more than one
19143     * part is provided, they must have names listed separated by spaces in the
19144     * data fields. For the default genlist item theme, we have @b one text 
19145     * part (@c "elm.text"), @b two content parts (@c "elm.swalllow.icon" and @c
19146     * "elm.swallow.end") and @b no state parts.
19147     *
19148     * A genlist item may be at one of several styles. Elementary provides one
19149     * by default - "default", but this can be extended by system or application
19150     * custom themes/overlays/extensions (see @ref Theme "themes" for more
19151     * details).
19152     *
19153     * @section Genlist_Manipulation Editing and Navigating
19154     *
19155     * Items can be added by several calls. All of them return a @ref
19156     * Elm_Genlist_Item handle that is an internal member inside the genlist.
19157     * They all take a data parameter that is meant to be used for a handle to
19158     * the applications internal data (eg the struct with the original item
19159     * data). The parent parameter is the parent genlist item this belongs to if
19160     * it is a tree or an indexed group, and NULL if there is no parent. The
19161     * flags can be a bitmask of #ELM_GENLIST_ITEM_NONE,
19162     * #ELM_GENLIST_ITEM_SUBITEMS and #ELM_GENLIST_ITEM_GROUP. If
19163     * #ELM_GENLIST_ITEM_SUBITEMS is set then this item is displayed as an item
19164     * that is able to expand and have child items.  If ELM_GENLIST_ITEM_GROUP
19165     * is set then this item is group index item that is displayed at the top
19166     * until the next group comes. The func parameter is a convenience callback
19167     * that is called when the item is selected and the data parameter will be
19168     * the func_data parameter, obj be the genlist object and event_info will be
19169     * the genlist item.
19170     *
19171     * elm_genlist_item_append() adds an item to the end of the list, or if
19172     * there is a parent, to the end of all the child items of the parent.
19173     * elm_genlist_item_prepend() is the same but adds to the beginning of
19174     * the list or children list. elm_genlist_item_insert_before() inserts at
19175     * item before another item and elm_genlist_item_insert_after() inserts after
19176     * the indicated item.
19177     *
19178     * The application can clear the list with elm_genlist_clear() which deletes
19179     * all the items in the list and elm_genlist_item_del() will delete a specific
19180     * item. elm_genlist_item_subitems_clear() will clear all items that are
19181     * children of the indicated parent item.
19182     *
19183     * To help inspect list items you can jump to the item at the top of the list
19184     * with elm_genlist_first_item_get() which will return the item pointer, and
19185     * similarly elm_genlist_last_item_get() gets the item at the end of the list.
19186     * elm_genlist_item_next_get() and elm_genlist_item_prev_get() get the next
19187     * and previous items respectively relative to the indicated item. Using
19188     * these calls you can walk the entire item list/tree. Note that as a tree
19189     * the items are flattened in the list, so elm_genlist_item_parent_get() will
19190     * let you know which item is the parent (and thus know how to skip them if
19191     * wanted).
19192     *
19193     * @section Genlist_Muti_Selection Multi-selection
19194     *
19195     * If the application wants multiple items to be able to be selected,
19196     * elm_genlist_multi_select_set() can enable this. If the list is
19197     * single-selection only (the default), then elm_genlist_selected_item_get()
19198     * will return the selected item, if any, or NULL if none is selected. If the
19199     * list is multi-select then elm_genlist_selected_items_get() will return a
19200     * list (that is only valid as long as no items are modified (added, deleted,
19201     * selected or unselected)).
19202     *
19203     * @section Genlist_Usage_Hints Usage hints
19204     *
19205     * There are also convenience functions. elm_genlist_item_genlist_get() will
19206     * return the genlist object the item belongs to. elm_genlist_item_show()
19207     * will make the scroller scroll to show that specific item so its visible.
19208     * elm_genlist_item_data_get() returns the data pointer set by the item
19209     * creation functions.
19210     *
19211     * If an item changes (state of boolean changes, text or contents change),
19212     * then use elm_genlist_item_update() to have genlist update the item with
19213     * the new state. Genlist will re-realize the item thus call the functions
19214     * in the _Elm_Genlist_Item_Class for that item.
19215     *
19216     * To programmatically (un)select an item use elm_genlist_item_selected_set().
19217     * To get its selected state use elm_genlist_item_selected_get(). Similarly
19218     * to expand/contract an item and get its expanded state, use
19219     * elm_genlist_item_expanded_set() and elm_genlist_item_expanded_get(). And
19220     * again to make an item disabled (unable to be selected and appear
19221     * differently) use elm_genlist_item_disabled_set() to set this and
19222     * elm_genlist_item_disabled_get() to get the disabled state.
19223     *
19224     * In general to indicate how the genlist should expand items horizontally to
19225     * fill the list area, use elm_genlist_horizontal_set(). Valid modes are
19226     * ELM_LIST_LIMIT and ELM_LIST_SCROLL. The default is ELM_LIST_SCROLL. This
19227     * mode means that if items are too wide to fit, the scroller will scroll
19228     * horizontally. Otherwise items are expanded to fill the width of the
19229     * viewport of the scroller. If it is ELM_LIST_LIMIT, items will be expanded
19230     * to the viewport width and limited to that size. This can be combined with
19231     * a different style that uses edjes' ellipsis feature (cutting text off like
19232     * this: "tex...").
19233     *
19234     * Items will only call their selection func and callback when first becoming
19235     * selected. Any further clicks will do nothing, unless you enable always
19236     * select with elm_genlist_always_select_mode_set(). This means even if
19237     * selected, every click will make the selected callbacks be called.
19238     * elm_genlist_no_select_mode_set() will turn off the ability to select
19239     * items entirely and they will neither appear selected nor call selected
19240     * callback functions.
19241     *
19242     * Remember that you can create new styles and add your own theme augmentation
19243     * per application with elm_theme_extension_add(). If you absolutely must
19244     * have a specific style that overrides any theme the user or system sets up
19245     * you can use elm_theme_overlay_add() to add such a file.
19246     *
19247     * @section Genlist_Implementation Implementation
19248     *
19249     * Evas tracks every object you create. Every time it processes an event
19250     * (mouse move, down, up etc.) it needs to walk through objects and find out
19251     * what event that affects. Even worse every time it renders display updates,
19252     * in order to just calculate what to re-draw, it needs to walk through many
19253     * many many objects. Thus, the more objects you keep active, the more
19254     * overhead Evas has in just doing its work. It is advisable to keep your
19255     * active objects to the minimum working set you need. Also remember that
19256     * object creation and deletion carries an overhead, so there is a
19257     * middle-ground, which is not easily determined. But don't keep massive lists
19258     * of objects you can't see or use. Genlist does this with list objects. It
19259     * creates and destroys them dynamically as you scroll around. It groups them
19260     * into blocks so it can determine the visibility etc. of a whole block at
19261     * once as opposed to having to walk the whole list. This 2-level list allows
19262     * for very large numbers of items to be in the list (tests have used up to
19263     * 2,000,000 items). Also genlist employs a queue for adding items. As items
19264     * may be different sizes, every item added needs to be calculated as to its
19265     * size and thus this presents a lot of overhead on populating the list, this
19266     * genlist employs a queue. Any item added is queued and spooled off over
19267     * time, actually appearing some time later, so if your list has many members
19268     * you may find it takes a while for them to all appear, with your process
19269     * consuming a lot of CPU while it is busy spooling.
19270     *
19271     * Genlist also implements a tree structure, but it does so with callbacks to
19272     * the application, with the application filling in tree structures when
19273     * requested (allowing for efficient building of a very deep tree that could
19274     * even be used for file-management). See the above smart signal callbacks for
19275     * details.
19276     *
19277     * @section Genlist_Smart_Events Genlist smart events
19278     *
19279     * Signals that you can add callbacks for are:
19280     * - @c "activated" - The user has double-clicked or pressed
19281     *   (enter|return|spacebar) on an item. The @c event_info parameter is the
19282     *   item that was activated.
19283     * - @c "clicked,double" - The user has double-clicked an item.  The @c
19284     *   event_info parameter is the item that was double-clicked.
19285     * - @c "selected" - This is called when a user has made an item selected.
19286     *   The event_info parameter is the genlist item that was selected.
19287     * - @c "unselected" - This is called when a user has made an item
19288     *   unselected. The event_info parameter is the genlist item that was
19289     *   unselected.
19290     * - @c "expanded" - This is called when elm_genlist_item_expanded_set() is
19291     *   called and the item is now meant to be expanded. The event_info
19292     *   parameter is the genlist item that was indicated to expand.  It is the
19293     *   job of this callback to then fill in the child items.
19294     * - @c "contracted" - This is called when elm_genlist_item_expanded_set() is
19295     *   called and the item is now meant to be contracted. The event_info
19296     *   parameter is the genlist item that was indicated to contract. It is the
19297     *   job of this callback to then delete the child items.
19298     * - @c "expand,request" - This is called when a user has indicated they want
19299     *   to expand a tree branch item. The callback should decide if the item can
19300     *   expand (has any children) and then call elm_genlist_item_expanded_set()
19301     *   appropriately to set the state. The event_info parameter is the genlist
19302     *   item that was indicated to expand.
19303     * - @c "contract,request" - This is called when a user has indicated they
19304     *   want to contract a tree branch item. The callback should decide if the
19305     *   item can contract (has any children) and then call
19306     *   elm_genlist_item_expanded_set() appropriately to set the state. The
19307     *   event_info parameter is the genlist item that was indicated to contract.
19308     * - @c "realized" - This is called when the item in the list is created as a
19309     *   real evas object. event_info parameter is the genlist item that was
19310     *   created. The object may be deleted at any time, so it is up to the
19311     *   caller to not use the object pointer from elm_genlist_item_object_get()
19312     *   in a way where it may point to freed objects.
19313     * - @c "unrealized" - This is called just before an item is unrealized.
19314     *   After this call content objects provided will be deleted and the item
19315     *   object itself delete or be put into a floating cache.
19316     * - @c "drag,start,up" - This is called when the item in the list has been
19317     *   dragged (not scrolled) up.
19318     * - @c "drag,start,down" - This is called when the item in the list has been
19319     *   dragged (not scrolled) down.
19320     * - @c "drag,start,left" - This is called when the item in the list has been
19321     *   dragged (not scrolled) left.
19322     * - @c "drag,start,right" - This is called when the item in the list has
19323     *   been dragged (not scrolled) right.
19324     * - @c "drag,stop" - This is called when the item in the list has stopped
19325     *   being dragged.
19326     * - @c "drag" - This is called when the item in the list is being dragged.
19327     * - @c "longpressed" - This is called when the item is pressed for a certain
19328     *   amount of time. By default it's 1 second.
19329     * - @c "scroll,anim,start" - This is called when scrolling animation has
19330     *   started.
19331     * - @c "scroll,anim,stop" - This is called when scrolling animation has
19332     *   stopped.
19333     * - @c "scroll,drag,start" - This is called when dragging the content has
19334     *   started.
19335     * - @c "scroll,drag,stop" - This is called when dragging the content has
19336     *   stopped.
19337     * - @c "edge,top" - This is called when the genlist is scrolled until
19338     *   the top edge.
19339     * - @c "edge,bottom" - This is called when the genlist is scrolled
19340     *   until the bottom edge.
19341     * - @c "edge,left" - This is called when the genlist is scrolled
19342     *   until the left edge.
19343     * - @c "edge,right" - This is called when the genlist is scrolled
19344     *   until the right edge.
19345     * - @c "multi,swipe,left" - This is called when the genlist is multi-touch
19346     *   swiped left.
19347     * - @c "multi,swipe,right" - This is called when the genlist is multi-touch
19348     *   swiped right.
19349     * - @c "multi,swipe,up" - This is called when the genlist is multi-touch
19350     *   swiped up.
19351     * - @c "multi,swipe,down" - This is called when the genlist is multi-touch
19352     *   swiped down.
19353     * - @c "multi,pinch,out" - This is called when the genlist is multi-touch
19354     *   pinched out.  "- @c multi,pinch,in" - This is called when the genlist is
19355     *   multi-touch pinched in.
19356     * - @c "swipe" - This is called when the genlist is swiped.
19357     * - @c "moved" - This is called when a genlist item is moved.
19358     * - @c "language,changed" - This is called when the program's language is
19359     *   changed.
19360     *
19361     * @section Genlist_Examples Examples
19362     *
19363     * Here is a list of examples that use the genlist, trying to show some of
19364     * its capabilities:
19365     * - @ref genlist_example_01
19366     * - @ref genlist_example_02
19367     * - @ref genlist_example_03
19368     * - @ref genlist_example_04
19369     * - @ref genlist_example_05
19370     */
19371
19372    /**
19373     * @addtogroup Genlist
19374     * @{
19375     */
19376
19377    /**
19378     * @enum _Elm_Genlist_Item_Flags
19379     * @typedef Elm_Genlist_Item_Flags
19380     *
19381     * Defines if the item is of any special type (has subitems or it's the
19382     * index of a group), or is just a simple item.
19383     *
19384     * @ingroup Genlist
19385     */
19386    typedef enum _Elm_Genlist_Item_Flags
19387      {
19388         ELM_GENLIST_ITEM_NONE = 0, /**< simple item */
19389         ELM_GENLIST_ITEM_SUBITEMS = (1 << 0), /**< may expand and have child items */
19390         ELM_GENLIST_ITEM_GROUP = (1 << 1) /**< index of a group of items */
19391      } Elm_Genlist_Item_Flags;
19392    typedef enum _Elm_Genlist_Item_Field_Flags
19393      {
19394         ELM_GENLIST_ITEM_FIELD_ALL = 0,
19395         ELM_GENLIST_ITEM_FIELD_LABEL = (1 << 0),
19396         ELM_GENLIST_ITEM_FIELD_CONTENT = (1 << 1),
19397         ELM_GENLIST_ITEM_FIELD_STATE = (1 << 2)
19398      } Elm_Genlist_Item_Field_Flags;
19399    typedef struct _Elm_Genlist_Item_Class Elm_Genlist_Item_Class;  /**< Genlist item class definition structs */
19400    #define Elm_Genlist_Item_Class Elm_Gen_Item_Class
19401    typedef struct _Elm_Genlist_Item       Elm_Genlist_Item; /**< Item of Elm_Genlist. Sub-type of Elm_Widget_Item */
19402    #define Elm_Genlist_Item Elm_Gen_Item /**< Item of Elm_Genlist. Sub-type of Elm_Widget_Item */
19403    typedef struct _Elm_Genlist_Item_Class_Func Elm_Genlist_Item_Class_Func; /**< Class functions for genlist item class */
19404
19405    /**
19406     * Text fetching class function for Elm_Gen_Item_Class.
19407     * @param data The data passed in the item creation function
19408     * @param obj The base widget object
19409     * @param part The part name of the swallow
19410     * @return The allocated (NOT stringshared) string to set as the text
19411     */
19412    typedef char        *(*Elm_Genlist_Item_Text_Get_Cb) (void *data, Evas_Object *obj, const char *part);
19413
19414    /**
19415     * Content (swallowed object) fetching class function for Elm_Gen_Item_Class.
19416     * @param data The data passed in the item creation function
19417     * @param obj The base widget object
19418     * @param part The part name of the swallow
19419     * @return The content object to swallow
19420     */
19421    typedef Evas_Object *(*Elm_Genlist_Item_Content_Get_Cb)  (void *data, Evas_Object *obj, const char *part);
19422
19423    /**
19424     * State fetching class function for Elm_Gen_Item_Class.
19425     * @param data The data passed in the item creation function
19426     * @param obj The base widget object
19427     * @param part The part name of the swallow
19428     * @return The hell if I know
19429     */
19430    typedef Eina_Bool    (*Elm_Genlist_Item_State_Get_Cb) (void *data, Evas_Object *obj, const char *part);
19431
19432    /**
19433     * Deletion class function for Elm_Gen_Item_Class.
19434     * @param data The data passed in the item creation function
19435     * @param obj The base widget object
19436     */
19437    typedef void         (*Elm_Genlist_Item_Del_Cb)      (void *data, Evas_Object *obj);
19438
19439    /**
19440     * @struct _Elm_Genlist_Item_Class
19441     *
19442     * Genlist item class definition structs.
19443     *
19444     * This struct contains the style and fetching functions that will define the
19445     * contents of each item.
19446     *
19447     * @see @ref Genlist_Item_Class
19448     */
19449    struct _Elm_Genlist_Item_Class
19450      {
19451         const char                *item_style; /**< style of this class. */
19452         struct Elm_Genlist_Item_Class_Func
19453           {
19454              Elm_Genlist_Item_Text_Get_Cb    text_get; /**< Text fetching class function for genlist item classes.*/
19455              Elm_Genlist_Item_Content_Get_Cb content_get; /**< Content fetching class function for genlist item classes. */
19456              Elm_Genlist_Item_State_Get_Cb   state_get; /**< State fetching class function for genlist item classes. */
19457              Elm_Genlist_Item_Del_Cb         del; /**< Deletion class function for genlist item classes. */
19458           } func;
19459      };
19460    #define Elm_Genlist_Item_Class_Func Elm_Gen_Item_Class_Func
19461    /**
19462     * Add a new genlist widget to the given parent Elementary
19463     * (container) object
19464     *
19465     * @param parent The parent object
19466     * @return a new genlist widget handle or @c NULL, on errors
19467     *
19468     * This function inserts a new genlist widget on the canvas.
19469     *
19470     * @see elm_genlist_item_append()
19471     * @see elm_genlist_item_del()
19472     * @see elm_genlist_clear()
19473     *
19474     * @ingroup Genlist
19475     */
19476    EAPI Evas_Object      *elm_genlist_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
19477
19478    /**
19479     * Remove all items from a given genlist widget.
19480     *
19481     * @param obj The genlist object
19482     *
19483     * This removes (and deletes) all items in @p obj, leaving it empty.
19484     *
19485     * @see elm_genlist_item_del(), to remove just one item.
19486     *
19487     * @ingroup Genlist
19488     */
19489    EAPI void elm_genlist_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
19490
19491    /**
19492     * Enable or disable multi-selection in the genlist
19493     *
19494     * @param obj The genlist object
19495     * @param multi Multi-select enable/disable. Default is disabled.
19496     *
19497     * This enables (@c EINA_TRUE) or disables (@c EINA_FALSE) multi-selection in
19498     * the list. This allows more than 1 item to be selected. To retrieve the list
19499     * of selected items, use elm_genlist_selected_items_get().
19500     *
19501     * @see elm_genlist_selected_items_get()
19502     * @see elm_genlist_multi_select_get()
19503     *
19504     * @ingroup Genlist
19505     */
19506    EAPI void              elm_genlist_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
19507
19508    /**
19509     * Gets if multi-selection in genlist is enabled or disabled.
19510     *
19511     * @param obj The genlist object
19512     * @return Multi-select enabled/disabled
19513     * (@c EINA_TRUE = enabled/@c EINA_FALSE = disabled). Default is @c EINA_FALSE.
19514     *
19515     * @see elm_genlist_multi_select_set()
19516     *
19517     * @ingroup Genlist
19518     */
19519    EAPI Eina_Bool         elm_genlist_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19520
19521    /**
19522     * This sets the horizontal stretching mode.
19523     *
19524     * @param obj The genlist object
19525     * @param mode The mode to use (one of #ELM_LIST_SCROLL or #ELM_LIST_LIMIT).
19526     *
19527     * This sets the mode used for sizing items horizontally. Valid modes
19528     * are #ELM_LIST_LIMIT and #ELM_LIST_SCROLL. The default is
19529     * ELM_LIST_SCROLL. This mode means that if items are too wide to fit,
19530     * the scroller will scroll horizontally. Otherwise items are expanded
19531     * to fill the width of the viewport of the scroller. If it is
19532     * ELM_LIST_LIMIT, items will be expanded to the viewport width and
19533     * limited to that size.
19534     *
19535     * @see elm_genlist_horizontal_get()
19536     *
19537     * @ingroup Genlist
19538     */
19539    EAPI void              elm_genlist_horizontal_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
19540    EINA_DEPRECATED EAPI void              elm_genlist_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
19541
19542    /**
19543     * Gets the horizontal stretching mode.
19544     *
19545     * @param obj The genlist object
19546     * @return The mode to use
19547     * (#ELM_LIST_LIMIT, #ELM_LIST_SCROLL)
19548     *
19549     * @see elm_genlist_horizontal_set()
19550     *
19551     * @ingroup Genlist
19552     */
19553    EAPI Elm_List_Mode     elm_genlist_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19554    EINA_DEPRECATED EAPI Elm_List_Mode     elm_genlist_horizontal_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19555
19556    /**
19557     * Set the always select mode.
19558     *
19559     * @param obj The genlist object
19560     * @param always_select The always select mode (@c EINA_TRUE = on, @c
19561     * EINA_FALSE = off). Default is @c EINA_FALSE.
19562     *
19563     * Items will only call their selection func and callback when first
19564     * becoming selected. Any further clicks will do nothing, unless you
19565     * enable always select with elm_genlist_always_select_mode_set().
19566     * This means that, even if selected, every click will make the selected
19567     * callbacks be called.
19568     *
19569     * @see elm_genlist_always_select_mode_get()
19570     *
19571     * @ingroup Genlist
19572     */
19573    EAPI void              elm_genlist_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
19574
19575    /**
19576     * Get the always select mode.
19577     *
19578     * @param obj The genlist object
19579     * @return The always select mode
19580     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
19581     *
19582     * @see elm_genlist_always_select_mode_set()
19583     *
19584     * @ingroup Genlist
19585     */
19586    EAPI Eina_Bool         elm_genlist_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19587
19588    /**
19589     * Enable/disable the no select mode.
19590     *
19591     * @param obj The genlist object
19592     * @param no_select The no select mode
19593     * (EINA_TRUE = on, EINA_FALSE = off)
19594     *
19595     * This will turn off the ability to select items entirely and they
19596     * will neither appear selected nor call selected callback functions.
19597     *
19598     * @see elm_genlist_no_select_mode_get()
19599     *
19600     * @ingroup Genlist
19601     */
19602    EAPI void              elm_genlist_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
19603
19604    /**
19605     * Gets whether the no select mode is enabled.
19606     *
19607     * @param obj The genlist object
19608     * @return The no select mode
19609     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
19610     *
19611     * @see elm_genlist_no_select_mode_set()
19612     *
19613     * @ingroup Genlist
19614     */
19615    EAPI Eina_Bool         elm_genlist_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19616
19617    /**
19618     * Enable/disable compress mode.
19619     *
19620     * @param obj The genlist object
19621     * @param compress The compress mode
19622     * (@c EINA_TRUE = on, @c EINA_FALSE = off). Default is @c EINA_FALSE.
19623     *
19624     * This will enable the compress mode where items are "compressed"
19625     * horizontally to fit the genlist scrollable viewport width. This is
19626     * special for genlist.  Do not rely on
19627     * elm_genlist_horizontal_set() being set to @c ELM_LIST_COMPRESS to
19628     * work as genlist needs to handle it specially.
19629     *
19630     * @see elm_genlist_compress_mode_get()
19631     *
19632     * @ingroup Genlist
19633     */
19634    EAPI void              elm_genlist_compress_mode_set(Evas_Object *obj, Eina_Bool compress) EINA_ARG_NONNULL(1);
19635
19636    /**
19637     * Get whether the compress mode is enabled.
19638     *
19639     * @param obj The genlist object
19640     * @return The compress mode
19641     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
19642     *
19643     * @see elm_genlist_compress_mode_set()
19644     *
19645     * @ingroup Genlist
19646     */
19647    EAPI Eina_Bool         elm_genlist_compress_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19648
19649    /**
19650     * Enable/disable height-for-width mode.
19651     *
19652     * @param obj The genlist object
19653     * @param setting The height-for-width mode (@c EINA_TRUE = on,
19654     * @c EINA_FALSE = off). Default is @c EINA_FALSE.
19655     *
19656     * With height-for-width mode the item width will be fixed (restricted
19657     * to a minimum of) to the list width when calculating its size in
19658     * order to allow the height to be calculated based on it. This allows,
19659     * for instance, text block to wrap lines if the Edje part is
19660     * configured with "text.min: 0 1".
19661     *
19662     * @note This mode will make list resize slower as it will have to
19663     *       recalculate every item height again whenever the list width
19664     *       changes!
19665     *
19666     * @note When height-for-width mode is enabled, it also enables
19667     *       compress mode (see elm_genlist_compress_mode_set()) and
19668     *       disables homogeneous (see elm_genlist_homogeneous_set()).
19669     *
19670     * @ingroup Genlist
19671     */
19672    EAPI void              elm_genlist_height_for_width_mode_set(Evas_Object *obj, Eina_Bool height_for_width) EINA_ARG_NONNULL(1);
19673
19674    /**
19675     * Get whether the height-for-width mode is enabled.
19676     *
19677     * @param obj The genlist object
19678     * @return The height-for-width mode (@c EINA_TRUE = on, @c EINA_FALSE =
19679     * off)
19680     *
19681     * @ingroup Genlist
19682     */
19683    EAPI Eina_Bool         elm_genlist_height_for_width_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19684
19685    /**
19686     * Enable/disable horizontal and vertical bouncing effect.
19687     *
19688     * @param obj The genlist object
19689     * @param h_bounce Allow bounce horizontally (@c EINA_TRUE = on, @c
19690     * EINA_FALSE = off). Default is @c EINA_FALSE.
19691     * @param v_bounce Allow bounce vertically (@c EINA_TRUE = on, @c
19692     * EINA_FALSE = off). Default is @c EINA_TRUE.
19693     *
19694     * This will enable or disable the scroller bouncing effect for the
19695     * genlist. See elm_scroller_bounce_set() for details.
19696     *
19697     * @see elm_scroller_bounce_set()
19698     * @see elm_genlist_bounce_get()
19699     *
19700     * @ingroup Genlist
19701     */
19702    EAPI void              elm_genlist_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
19703
19704    /**
19705     * Get whether the horizontal and vertical bouncing effect is enabled.
19706     *
19707     * @param obj The genlist object
19708     * @param h_bounce Pointer to a bool to receive if the bounce horizontally
19709     * option is set.
19710     * @param v_bounce Pointer to a bool to receive if the bounce vertically
19711     * option is set.
19712     *
19713     * @see elm_genlist_bounce_set()
19714     *
19715     * @ingroup Genlist
19716     */
19717    EAPI void              elm_genlist_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
19718
19719    /**
19720     * Enable/disable homogeneous mode.
19721     *
19722     * @param obj The genlist object
19723     * @param homogeneous Assume the items within the genlist are of the
19724     * same height and width (EINA_TRUE = on, EINA_FALSE = off). Default is @c
19725     * EINA_FALSE.
19726     *
19727     * This will enable the homogeneous mode where items are of the same
19728     * height and width so that genlist may do the lazy-loading at its
19729     * maximum (which increases the performance for scrolling the list). This
19730     * implies 'compressed' mode.
19731     *
19732     * @see elm_genlist_compress_mode_set()
19733     * @see elm_genlist_homogeneous_get()
19734     *
19735     * @ingroup Genlist
19736     */
19737    EAPI void              elm_genlist_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
19738
19739    /**
19740     * Get whether the homogeneous mode is enabled.
19741     *
19742     * @param obj The genlist object
19743     * @return Assume the items within the genlist are of the same height
19744     * and width (EINA_TRUE = on, EINA_FALSE = off)
19745     *
19746     * @see elm_genlist_homogeneous_set()
19747     *
19748     * @ingroup Genlist
19749     */
19750    EAPI Eina_Bool         elm_genlist_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19751
19752    /**
19753     * Set the maximum number of items within an item block
19754     *
19755     * @param obj The genlist object
19756     * @param n   Maximum number of items within an item block. Default is 32.
19757     *
19758     * This will configure the block count to tune to the target with
19759     * particular performance matrix.
19760     *
19761     * A block of objects will be used to reduce the number of operations due to
19762     * many objects in the screen. It can determine the visibility, or if the
19763     * object has changed, it theme needs to be updated, etc. doing this kind of
19764     * calculation to the entire block, instead of per object.
19765     *
19766     * The default value for the block count is enough for most lists, so unless
19767     * you know you will have a lot of objects visible in the screen at the same
19768     * time, don't try to change this.
19769     *
19770     * @see elm_genlist_block_count_get()
19771     * @see @ref Genlist_Implementation
19772     *
19773     * @ingroup Genlist
19774     */
19775    EAPI void              elm_genlist_block_count_set(Evas_Object *obj, int n) EINA_ARG_NONNULL(1);
19776
19777    /**
19778     * Get the maximum number of items within an item block
19779     *
19780     * @param obj The genlist object
19781     * @return Maximum number of items within an item block
19782     *
19783     * @see elm_genlist_block_count_set()
19784     *
19785     * @ingroup Genlist
19786     */
19787    EAPI int               elm_genlist_block_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19788
19789    /**
19790     * Set the timeout in seconds for the longpress event.
19791     *
19792     * @param obj The genlist object
19793     * @param timeout timeout in seconds. Default is 1.
19794     *
19795     * This option will change how long it takes to send an event "longpressed"
19796     * after the mouse down signal is sent to the list. If this event occurs, no
19797     * "clicked" event will be sent.
19798     *
19799     * @see elm_genlist_longpress_timeout_set()
19800     *
19801     * @ingroup Genlist
19802     */
19803    EAPI void              elm_genlist_longpress_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
19804
19805    /**
19806     * Get the timeout in seconds for the longpress event.
19807     *
19808     * @param obj The genlist object
19809     * @return timeout in seconds
19810     *
19811     * @see elm_genlist_longpress_timeout_get()
19812     *
19813     * @ingroup Genlist
19814     */
19815    EAPI double            elm_genlist_longpress_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19816
19817    /**
19818     * Append a new item in a given genlist widget.
19819     *
19820     * @param obj The genlist object
19821     * @param itc The item class for the item
19822     * @param data The item data
19823     * @param parent The parent item, or NULL if none
19824     * @param flags Item flags
19825     * @param func Convenience function called when the item is selected
19826     * @param func_data Data passed to @p func above.
19827     * @return A handle to the item added or @c NULL if not possible
19828     *
19829     * This adds the given item to the end of the list or the end of
19830     * the children list if the @p parent is given.
19831     *
19832     * @see elm_genlist_item_prepend()
19833     * @see elm_genlist_item_insert_before()
19834     * @see elm_genlist_item_insert_after()
19835     * @see elm_genlist_item_del()
19836     *
19837     * @ingroup Genlist
19838     */
19839    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);
19840
19841    /**
19842     * Prepend a new item in a given genlist widget.
19843     *
19844     * @param obj The genlist object
19845     * @param itc The item class for the item
19846     * @param data The item data
19847     * @param parent The parent item, or NULL if none
19848     * @param flags Item flags
19849     * @param func Convenience function called when the item is selected
19850     * @param func_data Data passed to @p func above.
19851     * @return A handle to the item added or NULL if not possible
19852     *
19853     * This adds an item to the beginning of the list or beginning of the
19854     * children of the parent if given.
19855     *
19856     * @see elm_genlist_item_append()
19857     * @see elm_genlist_item_insert_before()
19858     * @see elm_genlist_item_insert_after()
19859     * @see elm_genlist_item_del()
19860     *
19861     * @ingroup Genlist
19862     */
19863    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);
19864
19865    /**
19866     * Insert an item before another in a genlist widget
19867     *
19868     * @param obj The genlist object
19869     * @param itc The item class for the item
19870     * @param data The item data
19871     * @param before The item to place this new one before.
19872     * @param flags Item flags
19873     * @param func Convenience function called when the item is selected
19874     * @param func_data Data passed to @p func above.
19875     * @return A handle to the item added or @c NULL if not possible
19876     *
19877     * This inserts an item before another in the list. It will be in the
19878     * same tree level or group as the item it is inserted before.
19879     *
19880     * @see elm_genlist_item_append()
19881     * @see elm_genlist_item_prepend()
19882     * @see elm_genlist_item_insert_after()
19883     * @see elm_genlist_item_del()
19884     *
19885     * @ingroup Genlist
19886     */
19887    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);
19888
19889    /**
19890     * Insert an item after another in a genlist widget
19891     *
19892     * @param obj The genlist object
19893     * @param itc The item class for the item
19894     * @param data The item data
19895     * @param after The item to place this new one after.
19896     * @param flags Item flags
19897     * @param func Convenience function called when the item is selected
19898     * @param func_data Data passed to @p func above.
19899     * @return A handle to the item added or @c NULL if not possible
19900     *
19901     * This inserts an item after another in the list. It will be in the
19902     * same tree level or group as the item it is inserted after.
19903     *
19904     * @see elm_genlist_item_append()
19905     * @see elm_genlist_item_prepend()
19906     * @see elm_genlist_item_insert_before()
19907     * @see elm_genlist_item_del()
19908     *
19909     * @ingroup Genlist
19910     */
19911    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);
19912
19913    /**
19914     * Insert a new item into the sorted genlist object
19915     *
19916     * @param obj The genlist object
19917     * @param itc The item class for the item
19918     * @param data The item data
19919     * @param parent The parent item, or NULL if none
19920     * @param flags Item flags
19921     * @param comp The function called for the sort
19922     * @param func Convenience function called when item selected
19923     * @param func_data Data passed to @p func above.
19924     * @return A handle to the item added or NULL if not possible
19925     *
19926     * @ingroup Genlist
19927     */
19928    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);
19929    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);
19930
19931    /* operations to retrieve existing items */
19932    /**
19933     * Get the selectd item in the genlist.
19934     *
19935     * @param obj The genlist object
19936     * @return The selected item, or NULL if none is selected.
19937     *
19938     * This gets the selected item in the list (if multi-selection is enabled, only
19939     * the item that was first selected in the list is returned - which is not very
19940     * useful, so see elm_genlist_selected_items_get() for when multi-selection is
19941     * used).
19942     *
19943     * If no item is selected, NULL is returned.
19944     *
19945     * @see elm_genlist_selected_items_get()
19946     *
19947     * @ingroup Genlist
19948     */
19949    EAPI Elm_Genlist_Item *elm_genlist_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19950
19951    /**
19952     * Get a list of selected items in the genlist.
19953     *
19954     * @param obj The genlist object
19955     * @return The list of selected items, or NULL if none are selected.
19956     *
19957     * It returns a list of the selected items. This list pointer is only valid so
19958     * long as the selection doesn't change (no items are selected or unselected, or
19959     * unselected implicitly by deletion). The list contains Elm_Genlist_Item
19960     * pointers. The order of the items in this list is the order which they were
19961     * selected, i.e. the first item in this list is the first item that was
19962     * selected, and so on.
19963     *
19964     * @note If not in multi-select mode, consider using function
19965     * elm_genlist_selected_item_get() instead.
19966     *
19967     * @see elm_genlist_multi_select_set()
19968     * @see elm_genlist_selected_item_get()
19969     *
19970     * @ingroup Genlist
19971     */
19972    EAPI const Eina_List  *elm_genlist_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19973
19974    /**
19975     * Get the mode item style of items in the genlist
19976     * @param obj The genlist object
19977     * @return The mode item style string, or NULL if none is specified
19978     *
19979     * This is a constant string and simply defines the name of the
19980     * style that will be used for mode animations. It can be
19981     * @c NULL if you don't plan to use Genlist mode. See
19982     * elm_genlist_item_mode_set() for more info.
19983     *
19984     * @ingroup Genlist
19985     */
19986    EAPI const char       *elm_genlist_mode_item_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19987
19988    /**
19989     * Set the mode item style of items in the genlist
19990     * @param obj The genlist object
19991     * @param style The mode item style string, or NULL if none is desired
19992     *
19993     * This is a constant string and simply defines the name of the
19994     * style that will be used for mode animations. It can be
19995     * @c NULL if you don't plan to use Genlist mode. See
19996     * elm_genlist_item_mode_set() for more info.
19997     *
19998     * @ingroup Genlist
19999     */
20000    EAPI void              elm_genlist_mode_item_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
20001
20002    /**
20003     * Get a list of realized items in genlist
20004     *
20005     * @param obj The genlist object
20006     * @return The list of realized items, nor NULL if none are realized.
20007     *
20008     * This returns a list of the realized items in the genlist. The list
20009     * contains Elm_Genlist_Item pointers. The list must be freed by the
20010     * caller when done with eina_list_free(). The item pointers in the
20011     * list are only valid so long as those items are not deleted or the
20012     * genlist is not deleted.
20013     *
20014     * @see elm_genlist_realized_items_update()
20015     *
20016     * @ingroup Genlist
20017     */
20018    EAPI Eina_List        *elm_genlist_realized_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20019
20020    /**
20021     * Get the item that is at the x, y canvas coords.
20022     *
20023     * @param obj The gelinst object.
20024     * @param x The input x coordinate
20025     * @param y The input y coordinate
20026     * @param posret The position relative to the item returned here
20027     * @return The item at the coordinates or NULL if none
20028     *
20029     * This returns the item at the given coordinates (which are canvas
20030     * relative, not object-relative). If an item is at that coordinate,
20031     * that item handle is returned, and if @p posret is not NULL, the
20032     * integer pointed to is set to a value of -1, 0 or 1, depending if
20033     * the coordinate is on the upper portion of that item (-1), on the
20034     * middle section (0) or on the lower part (1). If NULL is returned as
20035     * an item (no item found there), then posret may indicate -1 or 1
20036     * based if the coordinate is above or below all items respectively in
20037     * the genlist.
20038     *
20039     * @ingroup Genlist
20040     */
20041    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);
20042
20043    /**
20044     * Get the first item in the genlist
20045     *
20046     * This returns the first item in the list.
20047     *
20048     * @param obj The genlist object
20049     * @return The first item, or NULL if none
20050     *
20051     * @ingroup Genlist
20052     */
20053    EAPI Elm_Genlist_Item *elm_genlist_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20054
20055    /**
20056     * Get the last item in the genlist
20057     *
20058     * This returns the last item in the list.
20059     *
20060     * @return The last item, or NULL if none
20061     *
20062     * @ingroup Genlist
20063     */
20064    EAPI Elm_Genlist_Item *elm_genlist_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20065
20066    /**
20067     * Set the scrollbar policy
20068     *
20069     * @param obj The genlist object
20070     * @param policy_h Horizontal scrollbar policy.
20071     * @param policy_v Vertical scrollbar policy.
20072     *
20073     * This sets the scrollbar visibility policy for the given genlist
20074     * scroller. #ELM_SMART_SCROLLER_POLICY_AUTO means the scrollbar is
20075     * made visible if it is needed, and otherwise kept hidden.
20076     * #ELM_SMART_SCROLLER_POLICY_ON turns it on all the time, and
20077     * #ELM_SMART_SCROLLER_POLICY_OFF always keeps it off. This applies
20078     * respectively for the horizontal and vertical scrollbars. Default is
20079     * #ELM_SMART_SCROLLER_POLICY_AUTO
20080     *
20081     * @see elm_genlist_scroller_policy_get()
20082     *
20083     * @ingroup Genlist
20084     */
20085    EAPI void              elm_genlist_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
20086
20087    /**
20088     * Get the scrollbar policy
20089     *
20090     * @param obj The genlist object
20091     * @param policy_h Pointer to store the horizontal scrollbar policy.
20092     * @param policy_v Pointer to store the vertical scrollbar policy.
20093     *
20094     * @see elm_genlist_scroller_policy_set()
20095     *
20096     * @ingroup Genlist
20097     */
20098    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);
20099
20100    /**
20101     * Get the @b next item in a genlist widget's internal list of items,
20102     * given a handle to one of those items.
20103     *
20104     * @param item The genlist item to fetch next from
20105     * @return The item after @p item, or @c NULL if there's none (and
20106     * on errors)
20107     *
20108     * This returns the item placed after the @p item, on the container
20109     * genlist.
20110     *
20111     * @see elm_genlist_item_prev_get()
20112     *
20113     * @ingroup Genlist
20114     */
20115    EAPI Elm_Genlist_Item  *elm_genlist_item_next_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20116
20117    /**
20118     * Get the @b previous item in a genlist widget's internal list of items,
20119     * given a handle to one of those items.
20120     *
20121     * @param item The genlist item to fetch previous from
20122     * @return The item before @p item, or @c NULL if there's none (and
20123     * on errors)
20124     *
20125     * This returns the item placed before the @p item, on the container
20126     * genlist.
20127     *
20128     * @see elm_genlist_item_next_get()
20129     *
20130     * @ingroup Genlist
20131     */
20132    EAPI Elm_Genlist_Item  *elm_genlist_item_prev_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20133
20134    /**
20135     * Get the genlist object's handle which contains a given genlist
20136     * item
20137     *
20138     * @param item The item to fetch the container from
20139     * @return The genlist (parent) object
20140     *
20141     * This returns the genlist object itself that an item belongs to.
20142     *
20143     * @ingroup Genlist
20144     */
20145    EAPI Evas_Object       *elm_genlist_item_genlist_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20146
20147    /**
20148     * Get the parent item of the given item
20149     *
20150     * @param it The item
20151     * @return The parent of the item or @c NULL if it has no parent.
20152     *
20153     * This returns the item that was specified as parent of the item @p it on
20154     * elm_genlist_item_append() and insertion related functions.
20155     *
20156     * @ingroup Genlist
20157     */
20158    EAPI Elm_Genlist_Item  *elm_genlist_item_parent_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
20159
20160    /**
20161     * Remove all sub-items (children) of the given item
20162     *
20163     * @param it The item
20164     *
20165     * This removes all items that are children (and their descendants) of the
20166     * given item @p it.
20167     *
20168     * @see elm_genlist_clear()
20169     * @see elm_genlist_item_del()
20170     *
20171     * @ingroup Genlist
20172     */
20173    EAPI void               elm_genlist_item_subitems_clear(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20174
20175    /**
20176     * Set whether a given genlist item is selected or not
20177     *
20178     * @param it The item
20179     * @param selected Use @c EINA_TRUE, to make it selected, @c
20180     * EINA_FALSE to make it unselected
20181     *
20182     * This sets the selected state of an item. If multi selection is
20183     * not enabled on the containing genlist and @p selected is @c
20184     * EINA_TRUE, any other previously selected items will get
20185     * unselected in favor of this new one.
20186     *
20187     * @see elm_genlist_item_selected_get()
20188     *
20189     * @ingroup Genlist
20190     */
20191    EAPI void elm_genlist_item_selected_set(Elm_Genlist_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
20192
20193    /**
20194     * Get whether a given genlist item is selected or not
20195     *
20196     * @param it The item
20197     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
20198     *
20199     * @see elm_genlist_item_selected_set() for more details
20200     *
20201     * @ingroup Genlist
20202     */
20203    EAPI Eina_Bool elm_genlist_item_selected_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20204
20205    /**
20206     * Sets the expanded state of an item.
20207     *
20208     * @param it The item
20209     * @param expanded The expanded state (@c EINA_TRUE expanded, @c EINA_FALSE not expanded).
20210     *
20211     * This function flags the item of type #ELM_GENLIST_ITEM_SUBITEMS as
20212     * expanded or not.
20213     *
20214     * The theme will respond to this change visually, and a signal "expanded" or
20215     * "contracted" will be sent from the genlist with a pointer to the item that
20216     * has been expanded/contracted.
20217     *
20218     * Calling this function won't show or hide any child of this item (if it is
20219     * a parent). You must manually delete and create them on the callbacks fo
20220     * the "expanded" or "contracted" signals.
20221     *
20222     * @see elm_genlist_item_expanded_get()
20223     *
20224     * @ingroup Genlist
20225     */
20226    EAPI void               elm_genlist_item_expanded_set(Elm_Genlist_Item *item, Eina_Bool expanded) EINA_ARG_NONNULL(1);
20227
20228    /**
20229     * Get the expanded state of an item
20230     *
20231     * @param it The item
20232     * @return The expanded state
20233     *
20234     * This gets the expanded state of an item.
20235     *
20236     * @see elm_genlist_item_expanded_set()
20237     *
20238     * @ingroup Genlist
20239     */
20240    EAPI Eina_Bool          elm_genlist_item_expanded_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20241
20242    /**
20243     * Get the depth of expanded item
20244     *
20245     * @param it The genlist item object
20246     * @return The depth of expanded item
20247     *
20248     * @ingroup Genlist
20249     */
20250    EAPI int                elm_genlist_item_expanded_depth_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
20251
20252    /**
20253     * Set whether a given genlist item is disabled or not.
20254     *
20255     * @param it The item
20256     * @param disabled Use @c EINA_TRUE, true disable it, @c EINA_FALSE
20257     * to enable it back.
20258     *
20259     * A disabled item cannot be selected or unselected. It will also
20260     * change its appearance, to signal the user it's disabled.
20261     *
20262     * @see elm_genlist_item_disabled_get()
20263     *
20264     * @ingroup Genlist
20265     */
20266    EAPI void               elm_genlist_item_disabled_set(Elm_Genlist_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
20267
20268    /**
20269     * Get whether a given genlist item is disabled or not.
20270     *
20271     * @param it The item
20272     * @return @c EINA_TRUE, if it's disabled, @c EINA_FALSE otherwise
20273     * (and on errors).
20274     *
20275     * @see elm_genlist_item_disabled_set() for more details
20276     *
20277     * @ingroup Genlist
20278     */
20279    EAPI Eina_Bool          elm_genlist_item_disabled_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20280
20281    /**
20282     * Sets the display only state of an item.
20283     *
20284     * @param it The item
20285     * @param display_only @c EINA_TRUE if the item is display only, @c
20286     * EINA_FALSE otherwise.
20287     *
20288     * A display only item cannot be selected or unselected. It is for
20289     * display only and not selecting or otherwise clicking, dragging
20290     * etc. by the user, thus finger size rules will not be applied to
20291     * this item.
20292     *
20293     * It's good to set group index items to display only state.
20294     *
20295     * @see elm_genlist_item_display_only_get()
20296     *
20297     * @ingroup Genlist
20298     */
20299    EAPI void               elm_genlist_item_display_only_set(Elm_Genlist_Item *it, Eina_Bool display_only) EINA_ARG_NONNULL(1);
20300
20301    /**
20302     * Get the display only state of an item
20303     *
20304     * @param it The item
20305     * @return @c EINA_TRUE if the item is display only, @c
20306     * EINA_FALSE otherwise.
20307     *
20308     * @see elm_genlist_item_display_only_set()
20309     *
20310     * @ingroup Genlist
20311     */
20312    EAPI Eina_Bool          elm_genlist_item_display_only_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
20313
20314    /**
20315     * Show the portion of a genlist's internal list containing a given
20316     * item, immediately.
20317     *
20318     * @param it The item to display
20319     *
20320     * This causes genlist to jump to the given item @p it and show it (by
20321     * immediately scrolling to that position), if it is not fully visible.
20322     *
20323     * @see elm_genlist_item_bring_in()
20324     * @see elm_genlist_item_top_show()
20325     * @see elm_genlist_item_middle_show()
20326     *
20327     * @ingroup Genlist
20328     */
20329    EAPI void               elm_genlist_item_show(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20330
20331    /**
20332     * Animatedly bring in, to the visible are of a genlist, a given
20333     * item on it.
20334     *
20335     * @param it The item to display
20336     *
20337     * This causes genlist to jump to the given item @p it and show it (by
20338     * animatedly scrolling), if it is not fully visible. This may use animation
20339     * to do so and take a period of time
20340     *
20341     * @see elm_genlist_item_show()
20342     * @see elm_genlist_item_top_bring_in()
20343     * @see elm_genlist_item_middle_bring_in()
20344     *
20345     * @ingroup Genlist
20346     */
20347    EAPI void               elm_genlist_item_bring_in(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20348
20349    /**
20350     * Show the portion of a genlist's internal list containing a given
20351     * item, immediately.
20352     *
20353     * @param it The item to display
20354     *
20355     * This causes genlist to jump to the given item @p it and show it (by
20356     * immediately scrolling to that position), if it is not fully visible.
20357     *
20358     * The item will be positioned at the top of the genlist viewport.
20359     *
20360     * @see elm_genlist_item_show()
20361     * @see elm_genlist_item_top_bring_in()
20362     *
20363     * @ingroup Genlist
20364     */
20365    EAPI void               elm_genlist_item_top_show(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20366
20367    /**
20368     * Animatedly bring in, to the visible are of a genlist, a given
20369     * item on it.
20370     *
20371     * @param it The item
20372     *
20373     * This causes genlist to jump to the given item @p it and show it (by
20374     * animatedly scrolling), if it is not fully visible. This may use animation
20375     * to do so and take a period of time
20376     *
20377     * The item will be positioned at the top of the genlist viewport.
20378     *
20379     * @see elm_genlist_item_bring_in()
20380     * @see elm_genlist_item_top_show()
20381     *
20382     * @ingroup Genlist
20383     */
20384    EAPI void               elm_genlist_item_top_bring_in(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20385
20386    /**
20387     * Show the portion of a genlist's internal list containing a given
20388     * item, immediately.
20389     *
20390     * @param it The item to display
20391     *
20392     * This causes genlist to jump to the given item @p it and show it (by
20393     * immediately scrolling to that position), if it is not fully visible.
20394     *
20395     * The item will be positioned at the middle of the genlist viewport.
20396     *
20397     * @see elm_genlist_item_show()
20398     * @see elm_genlist_item_middle_bring_in()
20399     *
20400     * @ingroup Genlist
20401     */
20402    EAPI void               elm_genlist_item_middle_show(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
20403
20404    /**
20405     * Animatedly bring in, to the visible are of a genlist, a given
20406     * item on it.
20407     *
20408     * @param it The item
20409     *
20410     * This causes genlist to jump to the given item @p it and show it (by
20411     * animatedly scrolling), if it is not fully visible. This may use animation
20412     * to do so and take a period of time
20413     *
20414     * The item will be positioned at the middle of the genlist viewport.
20415     *
20416     * @see elm_genlist_item_bring_in()
20417     * @see elm_genlist_item_middle_show()
20418     *
20419     * @ingroup Genlist
20420     */
20421    EAPI void               elm_genlist_item_middle_bring_in(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
20422
20423    /**
20424     * Remove a genlist item from the its parent, deleting it.
20425     *
20426     * @param item The item to be removed.
20427     * @return @c EINA_TRUE on success or @c EINA_FALSE, otherwise.
20428     *
20429     * @see elm_genlist_clear(), to remove all items in a genlist at
20430     * once.
20431     *
20432     * @ingroup Genlist
20433     */
20434    EAPI void               elm_genlist_item_del(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20435
20436    /**
20437     * Return the data associated to a given genlist item
20438     *
20439     * @param item The genlist item.
20440     * @return the data associated to this item.
20441     *
20442     * This returns the @c data value passed on the
20443     * elm_genlist_item_append() and related item addition calls.
20444     *
20445     * @see elm_genlist_item_append()
20446     * @see elm_genlist_item_data_set()
20447     *
20448     * @ingroup Genlist
20449     */
20450    EAPI void              *elm_genlist_item_data_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20451
20452    /**
20453     * Set the data associated to a given genlist item
20454     *
20455     * @param item The genlist item
20456     * @param data The new data pointer to set on it
20457     *
20458     * This @b overrides the @c data value passed on the
20459     * elm_genlist_item_append() and related item addition calls. This
20460     * function @b won't call elm_genlist_item_update() automatically,
20461     * so you'd issue it afterwards if you want to hove the item
20462     * updated to reflect the that new data.
20463     *
20464     * @see elm_genlist_item_data_get()
20465     *
20466     * @ingroup Genlist
20467     */
20468    EAPI void               elm_genlist_item_data_set(Elm_Genlist_Item *it, const void *data) EINA_ARG_NONNULL(1);
20469
20470    /**
20471     * Tells genlist to "orphan" contents fetchs by the item class
20472     *
20473     * @param it The item
20474     *
20475     * This instructs genlist to release references to contents in the item,
20476     * meaning that they will no longer be managed by genlist and are
20477     * floating "orphans" that can be re-used elsewhere if the user wants
20478     * to.
20479     *
20480     * @ingroup Genlist
20481     */
20482    EAPI void               elm_genlist_item_contents_orphan(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
20483    EINA_DEPRECATED EAPI void               elm_genlist_item_icons_orphan(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
20484
20485    /**
20486     * Get the real Evas object created to implement the view of a
20487     * given genlist item
20488     *
20489     * @param item The genlist item.
20490     * @return the Evas object implementing this item's view.
20491     *
20492     * This returns the actual Evas object used to implement the
20493     * specified genlist item's view. This may be @c NULL, as it may
20494     * not have been created or may have been deleted, at any time, by
20495     * the genlist. <b>Do not modify this object</b> (move, resize,
20496     * show, hide, etc.), as the genlist is controlling it. This
20497     * function is for querying, emitting custom signals or hooking
20498     * lower level callbacks for events on that object. Do not delete
20499     * this object under any circumstances.
20500     *
20501     * @see elm_genlist_item_data_get()
20502     *
20503     * @ingroup Genlist
20504     */
20505    EAPI const Evas_Object *elm_genlist_item_object_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
20506
20507    /**
20508     * Update the contents of an item
20509     *
20510     * @param it The item
20511     *
20512     * This updates an item by calling all the item class functions again
20513     * to get the contents, texts and states. Use this when the original
20514     * item data has changed and the changes are desired to be reflected.
20515     *
20516     * Use elm_genlist_realized_items_update() to update all already realized
20517     * items.
20518     *
20519     * @see elm_genlist_realized_items_update()
20520     *
20521     * @ingroup Genlist
20522     */
20523    EAPI void               elm_genlist_item_update(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20524
20525    /**
20526     * Promote an item to the top of the list
20527     *
20528     * @param it The item
20529     *
20530     * @ingroup Genlist
20531     */
20532    EAPI void               elm_genlist_item_promote(Elm_Gen_Item *it) EINA_ARG_NONNULL(1);
20533
20534    /**
20535     * Demote an item to the end of the list
20536     *
20537     * @param it The item
20538     *
20539     * @ingroup Genlist
20540     */
20541    EAPI void               elm_genlist_item_demote(Elm_Gen_Item *it) EINA_ARG_NONNULL(1);
20542
20543    /**
20544     * Update the part of an item
20545     *
20546     * @param it The item
20547     * @param parts The name of item's part
20548     * @param itf The flags of item's part type
20549     *
20550     * This updates an item's part by calling item's fetching functions again
20551     * to get the contents, texts and states. Use this when the original
20552     * item data has changed and the changes are desired to be reflected.
20553     * Second parts argument is used for globbing to match '*', '?', and '.'
20554     * It can be used at updating multi fields.
20555     *
20556     * Use elm_genlist_realized_items_update() to update an item's all
20557     * property.
20558     *
20559     * @see elm_genlist_item_update()
20560     *
20561     * @ingroup Genlist
20562     */
20563    EAPI void               elm_genlist_item_fields_update(Elm_Genlist_Item *it, const char *parts, Elm_Genlist_Item_Field_Flags itf) EINA_ARG_NONNULL(1);
20564
20565    /**
20566     * Update the item class of an item
20567     *
20568     * @param it The item
20569     * @param itc The item class for the item
20570     *
20571     * This sets another class fo the item, changing the way that it is
20572     * displayed. After changing the item class, elm_genlist_item_update() is
20573     * called on the item @p it.
20574     *
20575     * @ingroup Genlist
20576     */
20577    EAPI void               elm_genlist_item_item_class_update(Elm_Genlist_Item *it, const Elm_Genlist_Item_Class *itc) EINA_ARG_NONNULL(1, 2);
20578    EAPI const Elm_Genlist_Item_Class *elm_genlist_item_item_class_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
20579
20580    /**
20581     * Set the text to be shown in a given genlist item's tooltips.
20582     *
20583     * @param item The genlist item
20584     * @param text The text to set in the content
20585     *
20586     * This call will setup the text to be used as tooltip to that item
20587     * (analogous to elm_object_tooltip_text_set(), but being item
20588     * tooltips with higher precedence than object tooltips). It can
20589     * have only one tooltip at a time, so any previous tooltip data
20590     * will get removed.
20591     *
20592     * In order to set a content or something else as a tooltip, look at
20593     * elm_genlist_item_tooltip_content_cb_set().
20594     *
20595     * @ingroup Genlist
20596     */
20597    EAPI void               elm_genlist_item_tooltip_text_set(Elm_Genlist_Item *item, const char *text) EINA_ARG_NONNULL(1);
20598
20599    /**
20600     * Set the content to be shown in a given genlist item's tooltips
20601     *
20602     * @param item The genlist item.
20603     * @param func The function returning the tooltip contents.
20604     * @param data What to provide to @a func as callback data/context.
20605     * @param del_cb Called when data is not needed anymore, either when
20606     *        another callback replaces @p func, the tooltip is unset with
20607     *        elm_genlist_item_tooltip_unset() or the owner @p item
20608     *        dies. This callback receives as its first parameter the
20609     *        given @p data, being @c event_info the item handle.
20610     *
20611     * This call will setup the tooltip's contents to @p item
20612     * (analogous to elm_object_tooltip_content_cb_set(), but being
20613     * item tooltips with higher precedence than object tooltips). It
20614     * can have only one tooltip at a time, so any previous tooltip
20615     * content will get removed. @p func (with @p data) will be called
20616     * every time Elementary needs to show the tooltip and it should
20617     * return a valid Evas object, which will be fully managed by the
20618     * tooltip system, getting deleted when the tooltip is gone.
20619     *
20620     * In order to set just a text as a tooltip, look at
20621     * elm_genlist_item_tooltip_text_set().
20622     *
20623     * @ingroup Genlist
20624     */
20625    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);
20626
20627    /**
20628     * Unset a tooltip from a given genlist item
20629     *
20630     * @param item genlist item to remove a previously set tooltip from.
20631     *
20632     * This call removes any tooltip set on @p item. The callback
20633     * provided as @c del_cb to
20634     * elm_genlist_item_tooltip_content_cb_set() will be called to
20635     * notify it is not used anymore (and have resources cleaned, if
20636     * need be).
20637     *
20638     * @see elm_genlist_item_tooltip_content_cb_set()
20639     *
20640     * @ingroup Genlist
20641     */
20642    EAPI void               elm_genlist_item_tooltip_unset(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20643
20644    /**
20645     * Set a different @b style for a given genlist item's tooltip.
20646     *
20647     * @param item genlist item with tooltip set
20648     * @param style the <b>theme style</b> to use on tooltips (e.g. @c
20649     * "default", @c "transparent", etc)
20650     *
20651     * Tooltips can have <b>alternate styles</b> to be displayed on,
20652     * which are defined by the theme set on Elementary. This function
20653     * works analogously as elm_object_tooltip_style_set(), but here
20654     * applied only to genlist item objects. The default style for
20655     * tooltips is @c "default".
20656     *
20657     * @note before you set a style you should define a tooltip with
20658     *       elm_genlist_item_tooltip_content_cb_set() or
20659     *       elm_genlist_item_tooltip_text_set()
20660     *
20661     * @see elm_genlist_item_tooltip_style_get()
20662     *
20663     * @ingroup Genlist
20664     */
20665    EAPI void               elm_genlist_item_tooltip_style_set(Elm_Genlist_Item *item, const char *style) EINA_ARG_NONNULL(1);
20666
20667    /**
20668     * Get the style set a given genlist item's tooltip.
20669     *
20670     * @param item genlist item with tooltip already set on.
20671     * @return style the theme style in use, which defaults to
20672     *         "default". If the object does not have a tooltip set,
20673     *         then @c NULL is returned.
20674     *
20675     * @see elm_genlist_item_tooltip_style_set() for more details
20676     *
20677     * @ingroup Genlist
20678     */
20679    EAPI const char        *elm_genlist_item_tooltip_style_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20680
20681    /**
20682     * @brief Disable size restrictions on an object's tooltip
20683     * @param item The tooltip's anchor object
20684     * @param disable If EINA_TRUE, size restrictions are disabled
20685     * @return EINA_FALSE on failure, EINA_TRUE on success
20686     *
20687     * This function allows a tooltip to expand beyond its parant window's canvas.
20688     * It will instead be limited only by the size of the display.
20689     */
20690    EAPI Eina_Bool          elm_genlist_item_tooltip_window_mode_set(Elm_Genlist_Item *item, Eina_Bool disable);
20691
20692    /**
20693     * @brief Retrieve size restriction state of an object's tooltip
20694     * @param item The tooltip's anchor object
20695     * @return If EINA_TRUE, size restrictions are disabled
20696     *
20697     * This function returns whether a tooltip is allowed to expand beyond
20698     * its parant window's canvas.
20699     * It will instead be limited only by the size of the display.
20700     */
20701    EAPI Eina_Bool          elm_genlist_item_tooltip_window_mode_get(const Elm_Genlist_Item *item);
20702
20703    /**
20704     * Set the type of mouse pointer/cursor decoration to be shown,
20705     * when the mouse pointer is over the given genlist widget item
20706     *
20707     * @param item genlist item to customize cursor on
20708     * @param cursor the cursor type's name
20709     *
20710     * This function works analogously as elm_object_cursor_set(), but
20711     * here the cursor's changing area is restricted to the item's
20712     * area, and not the whole widget's. Note that that item cursors
20713     * have precedence over widget cursors, so that a mouse over @p
20714     * item will always show cursor @p type.
20715     *
20716     * If this function is called twice for an object, a previously set
20717     * cursor will be unset on the second call.
20718     *
20719     * @see elm_object_cursor_set()
20720     * @see elm_genlist_item_cursor_get()
20721     * @see elm_genlist_item_cursor_unset()
20722     *
20723     * @ingroup Genlist
20724     */
20725    EAPI void               elm_genlist_item_cursor_set(Elm_Genlist_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
20726
20727    /**
20728     * Get the type of mouse pointer/cursor decoration set to be shown,
20729     * when the mouse pointer is over the given genlist widget item
20730     *
20731     * @param item genlist item with custom cursor set
20732     * @return the cursor type's name or @c NULL, if no custom cursors
20733     * were set to @p item (and on errors)
20734     *
20735     * @see elm_object_cursor_get()
20736     * @see elm_genlist_item_cursor_set() for more details
20737     * @see elm_genlist_item_cursor_unset()
20738     *
20739     * @ingroup Genlist
20740     */
20741    EAPI const char        *elm_genlist_item_cursor_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20742
20743    /**
20744     * Unset any custom mouse pointer/cursor decoration set to be
20745     * shown, when the mouse pointer is over the given genlist widget
20746     * item, thus making it show the @b default cursor again.
20747     *
20748     * @param item a genlist item
20749     *
20750     * Use this call to undo any custom settings on this item's cursor
20751     * decoration, bringing it back to defaults (no custom style set).
20752     *
20753     * @see elm_object_cursor_unset()
20754     * @see elm_genlist_item_cursor_set() for more details
20755     *
20756     * @ingroup Genlist
20757     */
20758    EAPI void               elm_genlist_item_cursor_unset(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20759
20760    /**
20761     * Set a different @b style for a given custom cursor set for a
20762     * genlist item.
20763     *
20764     * @param item genlist item with custom cursor set
20765     * @param style the <b>theme style</b> to use (e.g. @c "default",
20766     * @c "transparent", etc)
20767     *
20768     * This function only makes sense when one is using custom mouse
20769     * cursor decorations <b>defined in a theme file</b> , which can
20770     * have, given a cursor name/type, <b>alternate styles</b> on
20771     * it. It works analogously as elm_object_cursor_style_set(), but
20772     * here applied only to genlist item objects.
20773     *
20774     * @warning Before you set a cursor style you should have defined a
20775     *       custom cursor previously on the item, with
20776     *       elm_genlist_item_cursor_set()
20777     *
20778     * @see elm_genlist_item_cursor_engine_only_set()
20779     * @see elm_genlist_item_cursor_style_get()
20780     *
20781     * @ingroup Genlist
20782     */
20783    EAPI void               elm_genlist_item_cursor_style_set(Elm_Genlist_Item *item, const char *style) EINA_ARG_NONNULL(1);
20784
20785    /**
20786     * Get the current @b style set for a given genlist item's custom
20787     * cursor
20788     *
20789     * @param item genlist item with custom cursor set.
20790     * @return style the cursor style in use. If the object does not
20791     *         have a cursor set, then @c NULL is returned.
20792     *
20793     * @see elm_genlist_item_cursor_style_set() for more details
20794     *
20795     * @ingroup Genlist
20796     */
20797    EAPI const char        *elm_genlist_item_cursor_style_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20798
20799    /**
20800     * Set if the (custom) cursor for a given genlist item should be
20801     * searched in its theme, also, or should only rely on the
20802     * rendering engine.
20803     *
20804     * @param item item with custom (custom) cursor already set on
20805     * @param engine_only Use @c EINA_TRUE to have cursors looked for
20806     * only on those provided by the rendering engine, @c EINA_FALSE to
20807     * have them searched on the widget's theme, as well.
20808     *
20809     * @note This call is of use only if you've set a custom cursor
20810     * for genlist items, with elm_genlist_item_cursor_set().
20811     *
20812     * @note By default, cursors will only be looked for between those
20813     * provided by the rendering engine.
20814     *
20815     * @ingroup Genlist
20816     */
20817    EAPI void               elm_genlist_item_cursor_engine_only_set(Elm_Genlist_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
20818
20819    /**
20820     * Get if the (custom) cursor for a given genlist item is being
20821     * searched in its theme, also, or is only relying on the rendering
20822     * engine.
20823     *
20824     * @param item a genlist item
20825     * @return @c EINA_TRUE, if cursors are being looked for only on
20826     * those provided by the rendering engine, @c EINA_FALSE if they
20827     * are being searched on the widget's theme, as well.
20828     *
20829     * @see elm_genlist_item_cursor_engine_only_set(), for more details
20830     *
20831     * @ingroup Genlist
20832     */
20833    EAPI Eina_Bool          elm_genlist_item_cursor_engine_only_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
20834
20835    /**
20836     * Update the contents of all realized items.
20837     *
20838     * @param obj The genlist object.
20839     *
20840     * This updates all realized items by calling all the item class functions again
20841     * to get the contents, texts and states. Use this when the original
20842     * item data has changed and the changes are desired to be reflected.
20843     *
20844     * To update just one item, use elm_genlist_item_update().
20845     *
20846     * @see elm_genlist_realized_items_get()
20847     * @see elm_genlist_item_update()
20848     *
20849     * @ingroup Genlist
20850     */
20851    EAPI void               elm_genlist_realized_items_update(Evas_Object *obj) EINA_ARG_NONNULL(1);
20852
20853    /**
20854     * Activate a genlist mode on an item
20855     *
20856     * @param item The genlist item
20857     * @param mode Mode name
20858     * @param mode_set Boolean to define set or unset mode.
20859     *
20860     * A genlist mode is a different way of selecting an item. Once a mode is
20861     * activated on an item, any other selected item is immediately unselected.
20862     * This feature provides an easy way of implementing a new kind of animation
20863     * for selecting an item, without having to entirely rewrite the item style
20864     * theme. However, the elm_genlist_selected_* API can't be used to get what
20865     * item is activate for a mode.
20866     *
20867     * The current item style will still be used, but applying a genlist mode to
20868     * an item will select it using a different kind of animation.
20869     *
20870     * The current active item for a mode can be found by
20871     * elm_genlist_mode_item_get().
20872     *
20873     * The characteristics of genlist mode are:
20874     * - Only one mode can be active at any time, and for only one item.
20875     * - Genlist handles deactivating other items when one item is activated.
20876     * - A mode is defined in the genlist theme (edc), and more modes can easily
20877     *   be added.
20878     * - A mode style and the genlist item style are different things. They
20879     *   can be combined to provide a default style to the item, with some kind
20880     *   of animation for that item when the mode is activated.
20881     *
20882     * When a mode is activated on an item, a new view for that item is created.
20883     * The theme of this mode defines the animation that will be used to transit
20884     * the item from the old view to the new view. This second (new) view will be
20885     * active for that item while the mode is active on the item, and will be
20886     * destroyed after the mode is totally deactivated from that item.
20887     *
20888     * @see elm_genlist_mode_get()
20889     * @see elm_genlist_mode_item_get()
20890     *
20891     * @ingroup Genlist
20892     */
20893    EAPI void               elm_genlist_item_mode_set(Elm_Genlist_Item *it, const char *mode_type, Eina_Bool mode_set) EINA_ARG_NONNULL(1, 2);
20894
20895    /**
20896     * Get the last (or current) genlist mode used.
20897     *
20898     * @param obj The genlist object
20899     *
20900     * This function just returns the name of the last used genlist mode. It will
20901     * be the current mode if it's still active.
20902     *
20903     * @see elm_genlist_item_mode_set()
20904     * @see elm_genlist_mode_item_get()
20905     *
20906     * @ingroup Genlist
20907     */
20908    EAPI const char        *elm_genlist_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20909
20910    /**
20911     * Get active genlist mode item
20912     *
20913     * @param obj The genlist object
20914     * @return The active item for that current mode. Or @c NULL if no item is
20915     * activated with any mode.
20916     *
20917     * This function returns the item that was activated with a mode, by the
20918     * function elm_genlist_item_mode_set().
20919     *
20920     * @see elm_genlist_item_mode_set()
20921     * @see elm_genlist_mode_get()
20922     *
20923     * @ingroup Genlist
20924     */
20925    EAPI const Elm_Genlist_Item *elm_genlist_mode_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20926
20927    /**
20928     * Set reorder mode
20929     *
20930     * @param obj The genlist object
20931     * @param reorder_mode The reorder mode
20932     * (EINA_TRUE = on, EINA_FALSE = off)
20933     *
20934     * @ingroup Genlist
20935     */
20936    EAPI void               elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) EINA_ARG_NONNULL(1);
20937
20938    /**
20939     * Get the reorder mode
20940     *
20941     * @param obj The genlist object
20942     * @return The reorder mode
20943     * (EINA_TRUE = on, EINA_FALSE = off)
20944     *
20945     * @ingroup Genlist
20946     */
20947    EAPI Eina_Bool          elm_genlist_reorder_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20948
20949    /**
20950     * @}
20951     */
20952
20953    /**
20954     * @defgroup Check Check
20955     *
20956     * @image html img/widget/check/preview-00.png
20957     * @image latex img/widget/check/preview-00.eps
20958     * @image html img/widget/check/preview-01.png
20959     * @image latex img/widget/check/preview-01.eps
20960     * @image html img/widget/check/preview-02.png
20961     * @image latex img/widget/check/preview-02.eps
20962     *
20963     * @brief The check widget allows for toggling a value between true and
20964     * false.
20965     *
20966     * Check objects are a lot like radio objects in layout and functionality
20967     * except they do not work as a group, but independently and only toggle the
20968     * value of a boolean from false to true (0 or 1). elm_check_state_set() sets
20969     * the boolean state (1 for true, 0 for false), and elm_check_state_get()
20970     * returns the current state. For convenience, like the radio objects, you
20971     * can set a pointer to a boolean directly with elm_check_state_pointer_set()
20972     * for it to modify.
20973     *
20974     * Signals that you can add callbacks for are:
20975     * "changed" - This is called whenever the user changes the state of one of
20976     *             the check object(event_info is NULL).
20977     *
20978     * Default contents parts of the check widget that you can use for are:
20979     * @li "icon" - An icon of the check
20980     *
20981     * Default text parts of the check widget that you can use for are:
20982     * @li "elm.text" - Label of the check
20983     *
20984     * @ref tutorial_check should give you a firm grasp of how to use this widget
20985     * .
20986     * @{
20987     */
20988    /**
20989     * @brief Add a new Check object
20990     *
20991     * @param parent The parent object
20992     * @return The new object or NULL if it cannot be created
20993     */
20994    EAPI Evas_Object *elm_check_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
20995
20996    /**
20997     * @brief Set the text label of the check object
20998     *
20999     * @param obj The check object
21000     * @param label The text label string in UTF-8
21001     *
21002     * @deprecated use elm_object_text_set() instead.
21003     */
21004    EINA_DEPRECATED EAPI void         elm_check_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
21005
21006    /**
21007     * @brief Get the text label of the check object
21008     *
21009     * @param obj The check object
21010     * @return The text label string in UTF-8
21011     *
21012     * @deprecated use elm_object_text_get() instead.
21013     */
21014    EINA_DEPRECATED EAPI const char  *elm_check_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21015
21016    /**
21017     * @brief Set the icon object of the check object
21018     *
21019     * @param obj The check object
21020     * @param icon The icon object
21021     *
21022     * Once the icon object is set, a previously set one will be deleted.
21023     * If you want to keep that old content object, use the
21024     * elm_object_content_unset() function.
21025     *
21026     * @deprecated use elm_object_part_content_set() instead.
21027     *
21028     */
21029    EINA_DEPRECATED EAPI void         elm_check_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
21030
21031    /**
21032     * @brief Get the icon object of the check object
21033     *
21034     * @param obj The check object
21035     * @return The icon object
21036     *
21037     * @deprecated use elm_object_part_content_get() instead.
21038     *
21039     */
21040    EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21041
21042    /**
21043     * @brief Unset the icon used for the check object
21044     *
21045     * @param obj The check object
21046     * @return The icon object that was being used
21047     *
21048     * Unparent and return the icon object which was set for this widget.
21049     *
21050     * @deprecated use elm_object_part_content_unset() instead.
21051     *
21052     */
21053    EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
21054
21055    /**
21056     * @brief Set the on/off state of the check object
21057     *
21058     * @param obj The check object
21059     * @param state The state to use (1 == on, 0 == off)
21060     *
21061     * This sets the state of the check. If set
21062     * with elm_check_state_pointer_set() the state of that variable is also
21063     * changed. Calling this @b doesn't cause the "changed" signal to be emited.
21064     */
21065    EAPI void         elm_check_state_set(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
21066
21067    /**
21068     * @brief Get the state of the check object
21069     *
21070     * @param obj The check object
21071     * @return The boolean state
21072     */
21073    EAPI Eina_Bool    elm_check_state_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21074
21075    /**
21076     * @brief Set a convenience pointer to a boolean to change
21077     *
21078     * @param obj The check object
21079     * @param statep Pointer to the boolean to modify
21080     *
21081     * This sets a pointer to a boolean, that, in addition to the check objects
21082     * state will also be modified directly. To stop setting the object pointed
21083     * to simply use NULL as the @p statep parameter. If @p statep is not NULL,
21084     * then when this is called, the check objects state will also be modified to
21085     * reflect the value of the boolean @p statep points to, just like calling
21086     * elm_check_state_set().
21087     */
21088    EAPI void         elm_check_state_pointer_set(Evas_Object *obj, Eina_Bool *statep) EINA_ARG_NONNULL(1);
21089    EINA_DEPRECATED EAPI void         elm_check_states_labels_set(Evas_Object *obj, const char *ontext, const char *offtext) EINA_ARG_NONNULL(1,2,3);
21090    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);
21091
21092    /**
21093     * @}
21094     */
21095
21096    /**
21097     * @defgroup Radio Radio
21098     *
21099     * @image html img/widget/radio/preview-00.png
21100     * @image latex img/widget/radio/preview-00.eps
21101     *
21102     * @brief Radio is a widget that allows for 1 or more options to be displayed
21103     * and have the user choose only 1 of them.
21104     *
21105     * A radio object contains an indicator, an optional Label and an optional
21106     * icon object. While it's possible to have a group of only one radio they,
21107     * are normally used in groups of 2 or more. To add a radio to a group use
21108     * elm_radio_group_add(). The radio object(s) will select from one of a set
21109     * of integer values, so any value they are configuring needs to be mapped to
21110     * a set of integers. To configure what value that radio object represents,
21111     * use  elm_radio_state_value_set() to set the integer it represents. To set
21112     * the value the whole group(which one is currently selected) is to indicate
21113     * use elm_radio_value_set() on any group member, and to get the groups value
21114     * use elm_radio_value_get(). For convenience the radio objects are also able
21115     * to directly set an integer(int) to the value that is selected. To specify
21116     * the pointer to this integer to modify, use elm_radio_value_pointer_set().
21117     * The radio objects will modify this directly. That implies the pointer must
21118     * point to valid memory for as long as the radio objects exist.
21119     *
21120     * Signals that you can add callbacks for are:
21121     * @li changed - This is called whenever the user changes the state of one of
21122     * the radio objects within the group of radio objects that work together.
21123     *
21124     * Default contents parts of the radio widget that you can use for are:
21125     * @li "icon" - An icon of the radio
21126     *
21127     * @ref tutorial_radio show most of this API in action.
21128     * @{
21129     */
21130
21131    /**
21132     * @brief Add a new radio to the parent
21133     *
21134     * @param parent The parent object
21135     * @return The new object or NULL if it cannot be created
21136     */
21137    EAPI Evas_Object *elm_radio_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21138
21139    /**
21140     * @brief Set the text label of the radio object
21141     *
21142     * @param obj The radio object
21143     * @param label The text label string in UTF-8
21144     *
21145     * @deprecated use elm_object_text_set() instead.
21146     */
21147    EINA_DEPRECATED EAPI void         elm_radio_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
21148
21149    /**
21150     * @brief Get the text label of the radio object
21151     *
21152     * @param obj The radio object
21153     * @return The text label string in UTF-8
21154     *
21155     * @deprecated use elm_object_text_set() instead.
21156     */
21157    EINA_DEPRECATED EAPI const char  *elm_radio_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21158
21159    /**
21160     * @brief Set the icon object of the radio object
21161     *
21162     * @param obj The radio object
21163     * @param icon The icon object
21164     *
21165     * Once the icon object is set, a previously set one will be deleted. If you
21166     * want to keep that old content object, use the elm_radio_icon_unset()
21167     * function.
21168     *
21169     * @deprecated use elm_object_part_content_set() instead.
21170     *
21171     */
21172    EINA_DEPRECATED EAPI void         elm_radio_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
21173
21174    /**
21175     * @brief Get the icon object of the radio object
21176     *
21177     * @param obj The radio object
21178     * @return The icon object
21179     *
21180     * @see elm_radio_icon_set()
21181     *
21182     * @deprecated use elm_object_part_content_get() instead.
21183     *
21184     */
21185    EINA_DEPRECATED EAPI Evas_Object *elm_radio_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21186
21187    /**
21188     * @brief Unset the icon used for the radio object
21189     *
21190     * @param obj The radio object
21191     * @return The icon object that was being used
21192     *
21193     * Unparent and return the icon object which was set for this widget.
21194     *
21195     * @see elm_radio_icon_set()
21196     * @deprecated use elm_object_part_content_unset() instead.
21197     *
21198     */
21199    EINA_DEPRECATED EAPI Evas_Object *elm_radio_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
21200
21201    /**
21202     * @brief Add this radio to a group of other radio objects
21203     *
21204     * @param obj The radio object
21205     * @param group Any object whose group the @p obj is to join.
21206     *
21207     * Radio objects work in groups. Each member should have a different integer
21208     * value assigned. In order to have them work as a group, they need to know
21209     * about each other. This adds the given radio object to the group of which
21210     * the group object indicated is a member.
21211     */
21212    EAPI void         elm_radio_group_add(Evas_Object *obj, Evas_Object *group) EINA_ARG_NONNULL(1);
21213
21214    /**
21215     * @brief Set the integer value that this radio object represents
21216     *
21217     * @param obj The radio object
21218     * @param value The value to use if this radio object is selected
21219     *
21220     * This sets the value of the radio.
21221     */
21222    EAPI void         elm_radio_state_value_set(Evas_Object *obj, int value) EINA_ARG_NONNULL(1);
21223
21224    /**
21225     * @brief Get the integer value that this radio object represents
21226     *
21227     * @param obj The radio object
21228     * @return The value used if this radio object is selected
21229     *
21230     * This gets the value of the radio.
21231     *
21232     * @see elm_radio_value_set()
21233     */
21234    EAPI int          elm_radio_state_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21235
21236    /**
21237     * @brief Set the value of the radio.
21238     *
21239     * @param obj The radio object
21240     * @param value The value to use for the group
21241     *
21242     * This sets the value of the radio group and will also set the value if
21243     * pointed to, to the value supplied, but will not call any callbacks.
21244     */
21245    EAPI void         elm_radio_value_set(Evas_Object *obj, int value) EINA_ARG_NONNULL(1);
21246
21247    /**
21248     * @brief Get the state of the radio object
21249     *
21250     * @param obj The radio object
21251     * @return The integer state
21252     */
21253    EAPI int          elm_radio_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21254
21255    /**
21256     * @brief Set a convenience pointer to a integer to change
21257     *
21258     * @param obj The radio object
21259     * @param valuep Pointer to the integer to modify
21260     *
21261     * This sets a pointer to a integer, that, in addition to the radio objects
21262     * state will also be modified directly. To stop setting the object pointed
21263     * to simply use NULL as the @p valuep argument. If valuep is not NULL, then
21264     * when this is called, the radio objects state will also be modified to
21265     * reflect the value of the integer valuep points to, just like calling
21266     * elm_radio_value_set().
21267     */
21268    EAPI void         elm_radio_value_pointer_set(Evas_Object *obj, int *valuep) EINA_ARG_NONNULL(1);
21269
21270    /**
21271     * @}
21272     */
21273
21274    /**
21275     * @defgroup Pager Pager
21276     *
21277     * @image html img/widget/pager/preview-00.png
21278     * @image latex img/widget/pager/preview-00.eps
21279     *
21280     * @brief Widget that allows flipping between one or more ā€œpagesā€
21281     * of objects.
21282     *
21283     * The flipping between pages of objects is animated. All content
21284     * in the pager is kept in a stack, being the last content added
21285     * (visible one) on the top of that stack.
21286     *
21287     * Objects can be pushed or popped from the stack or deleted as
21288     * well. Pushes and pops will animate the widget accordingly to its
21289     * style (a pop will also delete the child object once the
21290     * animation is finished). Any object already in the pager can be
21291     * promoted to the top (from its current stacking position) through
21292     * the use of elm_pager_content_promote(). New objects are pushed
21293     * to the top with elm_pager_content_push(). When the top item is
21294     * no longer wanted, simply pop it with elm_pager_content_pop() and
21295     * it will also be deleted. If an object is no longer needed and is
21296     * not the top item, just delete it as normal. You can query which
21297     * objects are the top and bottom with
21298     * elm_pager_content_bottom_get() and elm_pager_content_top_get().
21299     *
21300     * Signals that you can add callbacks for are:
21301     * - @c "show,finished" - when a new page is actually shown on the top
21302     * - @c "hide,finished" - when a previous page is hidden
21303     *
21304     * Only after the first of that signals the child object is
21305     * guaranteed to be visible, as in @c evas_object_visible_get().
21306     *
21307     * This widget has the following styles available:
21308     * - @c "default"
21309     * - @c "fade"
21310     * - @c "fade_translucide"
21311     * - @c "fade_invisible"
21312     *
21313     * @note These styles affect only the flipping animations on the
21314     * default theme; the appearance when not animating is unaffected
21315     * by them.
21316     *
21317     * @ref tutorial_pager gives a good overview of the usage of the API.
21318     * @{
21319     */
21320
21321    /**
21322     * Add a new pager to the parent
21323     *
21324     * @param parent The parent object
21325     * @return The new object or NULL if it cannot be created
21326     *
21327     * @ingroup Pager
21328     */
21329    EAPI Evas_Object *elm_pager_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21330
21331    /**
21332     * @brief Push an object to the top of the pager stack (and show it).
21333     *
21334     * @param obj The pager object
21335     * @param content The object to push
21336     *
21337     * The object pushed becomes a child of the pager, it will be controlled and
21338     * deleted when the pager is deleted.
21339     *
21340     * @note If the content is already in the stack use
21341     * elm_pager_content_promote().
21342     * @warning Using this function on @p content already in the stack results in
21343     * undefined behavior.
21344     */
21345    EAPI void         elm_pager_content_push(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
21346
21347    /**
21348     * @brief Pop the object that is on top of the stack
21349     *
21350     * @param obj The pager object
21351     *
21352     * This pops the object that is on the top(visible) of the pager, makes it
21353     * disappear, then deletes the object. The object that was underneath it on
21354     * the stack will become visible.
21355     */
21356    EAPI void         elm_pager_content_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
21357
21358    /**
21359     * @brief Moves an object already in the pager stack to the top of the stack.
21360     *
21361     * @param obj The pager object
21362     * @param content The object to promote
21363     *
21364     * This will take the @p content and move it to the top of the stack as
21365     * if it had been pushed there.
21366     *
21367     * @note If the content isn't already in the stack use
21368     * elm_pager_content_push().
21369     * @warning Using this function on @p content not already in the stack
21370     * results in undefined behavior.
21371     */
21372    EAPI void         elm_pager_content_promote(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
21373
21374    /**
21375     * @brief Return the object at the bottom of the pager stack
21376     *
21377     * @param obj The pager object
21378     * @return The bottom object or NULL if none
21379     */
21380    EAPI Evas_Object *elm_pager_content_bottom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21381
21382    /**
21383     * @brief  Return the object at the top of the pager stack
21384     *
21385     * @param obj The pager object
21386     * @return The top object or NULL if none
21387     */
21388    EAPI Evas_Object *elm_pager_content_top_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21389
21390    /**
21391     * @}
21392     */
21393
21394    /**
21395     * @defgroup Slideshow Slideshow
21396     *
21397     * @image html img/widget/slideshow/preview-00.png
21398     * @image latex img/widget/slideshow/preview-00.eps
21399     *
21400     * This widget, as the name indicates, is a pre-made image
21401     * slideshow panel, with API functions acting on (child) image
21402     * items presentation. Between those actions, are:
21403     * - advance to next/previous image
21404     * - select the style of image transition animation
21405     * - set the exhibition time for each image
21406     * - start/stop the slideshow
21407     *
21408     * The transition animations are defined in the widget's theme,
21409     * consequently new animations can be added without having to
21410     * update the widget's code.
21411     *
21412     * @section Slideshow_Items Slideshow items
21413     *
21414     * For slideshow items, just like for @ref Genlist "genlist" ones,
21415     * the user defines a @b classes, specifying functions that will be
21416     * called on the item's creation and deletion times.
21417     *
21418     * The #Elm_Slideshow_Item_Class structure contains the following
21419     * members:
21420     *
21421     * - @c func.get - When an item is displayed, this function is
21422     *   called, and it's where one should create the item object, de
21423     *   facto. For example, the object can be a pure Evas image object
21424     *   or an Elementary @ref Photocam "photocam" widget. See
21425     *   #SlideshowItemGetFunc.
21426     * - @c func.del - When an item is no more displayed, this function
21427     *   is called, where the user must delete any data associated to
21428     *   the item. See #SlideshowItemDelFunc.
21429     *
21430     * @section Slideshow_Caching Slideshow caching
21431     *
21432     * The slideshow provides facilities to have items adjacent to the
21433     * one being displayed <b>already "realized"</b> (i.e. loaded) for
21434     * you, so that the system does not have to decode image data
21435     * anymore at the time it has to actually switch images on its
21436     * viewport. The user is able to set the numbers of items to be
21437     * cached @b before and @b after the current item, in the widget's
21438     * item list.
21439     *
21440     * Smart events one can add callbacks for are:
21441     *
21442     * - @c "changed" - when the slideshow switches its view to a new
21443     *   item. event_info parameter in callback contains the current visible item
21444     * - @c "transition,end" - when a slide transition ends. event_info parameter
21445     *   in callback contains the current visible item
21446     *
21447     * List of examples for the slideshow widget:
21448     * @li @ref slideshow_example
21449     */
21450
21451    /**
21452     * @addtogroup Slideshow
21453     * @{
21454     */
21455
21456    typedef struct _Elm_Slideshow_Item_Class Elm_Slideshow_Item_Class; /**< Slideshow item class definition struct */
21457    typedef struct _Elm_Slideshow_Item_Class_Func Elm_Slideshow_Item_Class_Func; /**< Class functions for slideshow item classes. */
21458    typedef Evas_Object *(*SlideshowItemGetFunc) (void *data, Evas_Object *obj); /**< Image fetching class function for slideshow item classes. */
21459    typedef void         (*SlideshowItemDelFunc) (void *data, Evas_Object *obj); /**< Deletion class function for slideshow item classes. */
21460
21461    /**
21462     * @struct _Elm_Slideshow_Item_Class
21463     *
21464     * Slideshow item class definition. See @ref Slideshow_Items for
21465     * field details.
21466     */
21467    struct _Elm_Slideshow_Item_Class
21468      {
21469         struct _Elm_Slideshow_Item_Class_Func
21470           {
21471              SlideshowItemGetFunc get;
21472              SlideshowItemDelFunc del;
21473           } func;
21474      }; /**< #Elm_Slideshow_Item_Class member definitions */
21475
21476    /**
21477     * Add a new slideshow widget to the given parent Elementary
21478     * (container) object
21479     *
21480     * @param parent The parent object
21481     * @return A new slideshow widget handle or @c NULL, on errors
21482     *
21483     * This function inserts a new slideshow widget on the canvas.
21484     *
21485     * @ingroup Slideshow
21486     */
21487    EAPI Evas_Object        *elm_slideshow_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21488
21489    /**
21490     * Add (append) a new item in a given slideshow widget.
21491     *
21492     * @param obj The slideshow object
21493     * @param itc The item class for the item
21494     * @param data The item's data
21495     * @return A handle to the item added or @c NULL, on errors
21496     *
21497     * Add a new item to @p obj's internal list of items, appending it.
21498     * The item's class must contain the function really fetching the
21499     * image object to show for this item, which could be an Evas image
21500     * object or an Elementary photo, for example. The @p data
21501     * parameter is going to be passed to both class functions of the
21502     * item.
21503     *
21504     * @see #Elm_Slideshow_Item_Class
21505     * @see elm_slideshow_item_sorted_insert()
21506     * @see elm_object_item_data_set()
21507     *
21508     * @ingroup Slideshow
21509     */
21510    EAPI Elm_Object_Item *elm_slideshow_item_add(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data) EINA_ARG_NONNULL(1);
21511
21512    /**
21513     * Insert a new item into the given slideshow widget, using the @p func
21514     * function to sort items (by item handles).
21515     *
21516     * @param obj The slideshow object
21517     * @param itc The item class for the item
21518     * @param data The item's data
21519     * @param func The comparing function to be used to sort slideshow
21520     * items <b>by #Elm_Slideshow_Item item handles</b>
21521     * @return Returns The slideshow item handle, on success, or
21522     * @c NULL, on errors
21523     *
21524     * Add a new item to @p obj's internal list of items, in a position
21525     * determined by the @p func comparing function. The item's class
21526     * must contain the function really fetching the image object to
21527     * show for this item, which could be an Evas image object or an
21528     * Elementary photo, for example. The @p data parameter is going to
21529     * be passed to both class functions of the item.
21530     *
21531     * @see #Elm_Slideshow_Item_Class
21532     * @see elm_slideshow_item_add()
21533     *
21534     * @ingroup Slideshow
21535     */
21536    EAPI Elm_Object_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);
21537
21538    /**
21539     * Display a given slideshow widget's item, programmatically.
21540     *
21541     * @param it The item to display on @p obj's viewport
21542     *
21543     * The change between the current item and @p item will use the
21544     * transition @p obj is set to use (@see
21545     * elm_slideshow_transition_set()).
21546     *
21547     * @ingroup Slideshow
21548     */
21549    EAPI void                elm_slideshow_show(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
21550
21551    /**
21552     * Slide to the @b next item, in a given slideshow widget
21553     *
21554     * @param obj The slideshow object
21555     *
21556     * The sliding animation @p obj is set to use will be the
21557     * transition effect used, after this call is issued.
21558     *
21559     * @note If the end of the slideshow's internal list of items is
21560     * reached, it'll wrap around to the list's beginning, again.
21561     *
21562     * @ingroup Slideshow
21563     */
21564    EAPI void                elm_slideshow_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
21565
21566    /**
21567     * Slide to the @b previous item, in a given slideshow widget
21568     *
21569     * @param obj The slideshow object
21570     *
21571     * The sliding animation @p obj is set to use will be the
21572     * transition effect used, after this call is issued.
21573     *
21574     * @note If the beginning of the slideshow's internal list of items
21575     * is reached, it'll wrap around to the list's end, again.
21576     *
21577     * @ingroup Slideshow
21578     */
21579    EAPI void                elm_slideshow_previous(Evas_Object *obj) EINA_ARG_NONNULL(1);
21580
21581    /**
21582     * Returns the list of sliding transition/effect names available, for a
21583     * given slideshow widget.
21584     *
21585     * @param obj The slideshow object
21586     * @return The list of transitions (list of @b stringshared strings
21587     * as data)
21588     *
21589     * The transitions, which come from @p obj's theme, must be an EDC
21590     * data item named @c "transitions" on the theme file, with (prefix)
21591     * names of EDC programs actually implementing them.
21592     *
21593     * The available transitions for slideshows on the default theme are:
21594     * - @c "fade" - the current item fades out, while the new one
21595     *   fades in to the slideshow's viewport.
21596     * - @c "black_fade" - the current item fades to black, and just
21597     *   then, the new item will fade in.
21598     * - @c "horizontal" - the current item slides horizontally, until
21599     *   it gets out of the slideshow's viewport, while the new item
21600     *   comes from the left to take its place.
21601     * - @c "vertical" - the current item slides vertically, until it
21602     *   gets out of the slideshow's viewport, while the new item comes
21603     *   from the bottom to take its place.
21604     * - @c "square" - the new item starts to appear from the middle of
21605     *   the current one, but with a tiny size, growing until its
21606     *   target (full) size and covering the old one.
21607     *
21608     * @warning The stringshared strings get no new references
21609     * exclusive to the user grabbing the list, here, so if you'd like
21610     * to use them out of this call's context, you'd better @c
21611     * eina_stringshare_ref() them.
21612     *
21613     * @see elm_slideshow_transition_set()
21614     *
21615     * @ingroup Slideshow
21616     */
21617    EAPI const Eina_List    *elm_slideshow_transitions_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21618
21619    /**
21620     * Set the current slide transition/effect in use for a given
21621     * slideshow widget
21622     *
21623     * @param obj The slideshow object
21624     * @param transition The new transition's name string
21625     *
21626     * If @p transition is implemented in @p obj's theme (i.e., is
21627     * contained in the list returned by
21628     * elm_slideshow_transitions_get()), this new sliding effect will
21629     * be used on the widget.
21630     *
21631     * @see elm_slideshow_transitions_get() for more details
21632     *
21633     * @ingroup Slideshow
21634     */
21635    EAPI void                elm_slideshow_transition_set(Evas_Object *obj, const char *transition) EINA_ARG_NONNULL(1);
21636
21637    /**
21638     * Get the current slide transition/effect in use for a given
21639     * slideshow widget
21640     *
21641     * @param obj The slideshow object
21642     * @return The current transition's name
21643     *
21644     * @see elm_slideshow_transition_set() for more details
21645     *
21646     * @ingroup Slideshow
21647     */
21648    EAPI const char         *elm_slideshow_transition_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21649
21650    /**
21651     * Set the interval between each image transition on a given
21652     * slideshow widget, <b>and start the slideshow, itself</b>
21653     *
21654     * @param obj The slideshow object
21655     * @param timeout The new displaying timeout for images
21656     *
21657     * After this call, the slideshow widget will start cycling its
21658     * view, sequentially and automatically, with the images of the
21659     * items it has. The time between each new image displayed is going
21660     * to be @p timeout, in @b seconds. If a different timeout was set
21661     * previously and an slideshow was in progress, it will continue
21662     * with the new time between transitions, after this call.
21663     *
21664     * @note A value less than or equal to 0 on @p timeout will disable
21665     * the widget's internal timer, thus halting any slideshow which
21666     * could be happening on @p obj.
21667     *
21668     * @see elm_slideshow_timeout_get()
21669     *
21670     * @ingroup Slideshow
21671     */
21672    EAPI void                elm_slideshow_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
21673
21674    /**
21675     * Get the interval set for image transitions on a given slideshow
21676     * widget.
21677     *
21678     * @param obj The slideshow object
21679     * @return Returns the timeout set on it
21680     *
21681     * @see elm_slideshow_timeout_set() for more details
21682     *
21683     * @ingroup Slideshow
21684     */
21685    EAPI double              elm_slideshow_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21686
21687    /**
21688     * Set if, after a slideshow is started, for a given slideshow
21689     * widget, its items should be displayed cyclically or not.
21690     *
21691     * @param obj The slideshow object
21692     * @param loop Use @c EINA_TRUE to make it cycle through items or
21693     * @c EINA_FALSE for it to stop at the end of @p obj's internal
21694     * list of items
21695     *
21696     * @note elm_slideshow_next() and elm_slideshow_previous() will @b
21697     * ignore what is set by this functions, i.e., they'll @b always
21698     * cycle through items. This affects only the "automatic"
21699     * slideshow, as set by elm_slideshow_timeout_set().
21700     *
21701     * @see elm_slideshow_loop_get()
21702     *
21703     * @ingroup Slideshow
21704     */
21705    EAPI void                elm_slideshow_loop_set(Evas_Object *obj, Eina_Bool loop) EINA_ARG_NONNULL(1);
21706
21707    /**
21708     * Get if, after a slideshow is started, for a given slideshow
21709     * widget, its items are to be displayed cyclically or not.
21710     *
21711     * @param obj The slideshow object
21712     * @return @c EINA_TRUE, if the items in @p obj will be cycled
21713     * through or @c EINA_FALSE, otherwise
21714     *
21715     * @see elm_slideshow_loop_set() for more details
21716     *
21717     * @ingroup Slideshow
21718     */
21719    EAPI Eina_Bool           elm_slideshow_loop_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21720
21721    /**
21722     * Remove all items from a given slideshow widget
21723     *
21724     * @param obj The slideshow object
21725     *
21726     * This removes (and deletes) all items in @p obj, leaving it
21727     * empty.
21728     *
21729     * @see elm_slideshow_item_del(), to remove just one item.
21730     *
21731     * @ingroup Slideshow
21732     */
21733    EAPI void                elm_slideshow_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
21734
21735    /**
21736     * Get the internal list of items in a given slideshow widget.
21737     *
21738     * @param obj The slideshow object
21739     * @return The list of items (#Elm_Object_Item as data) or
21740     * @c NULL on errors.
21741     *
21742     * This list is @b not to be modified in any way and must not be
21743     * freed. Use the list members with functions like
21744     * elm_slideshow_item_del(), elm_slideshow_item_data_get().
21745     *
21746     * @warning This list is only valid until @p obj object's internal
21747     * items list is changed. It should be fetched again with another
21748     * call to this function when changes happen.
21749     *
21750     * @ingroup Slideshow
21751     */
21752    EAPI const Eina_List    *elm_slideshow_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21753
21754    /**
21755     * Delete a given item from a slideshow widget.
21756     *
21757     * @param it The slideshow item
21758     *
21759     * @ingroup Slideshow
21760     */
21761    EAPI void                elm_slideshow_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
21762
21763    /**
21764     * Return the data associated with a given slideshow item
21765     *
21766     * @param it The slideshow item
21767     * @return Returns the data associated to this item
21768     *
21769     * @deprecated use elm_object_item_data_get() instead
21770     * @ingroup Slideshow
21771     */
21772    EINA_DEPRECATED EAPI void               *elm_slideshow_item_data_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
21773
21774    /**
21775     * Returns the currently displayed item, in a given slideshow widget
21776     *
21777     * @param obj The slideshow object
21778     * @return A handle to the item being displayed in @p obj or
21779     * @c NULL, if none is (and on errors)
21780     *
21781     * @ingroup Slideshow
21782     */
21783    EAPI Elm_Object_Item *elm_slideshow_item_current_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21784
21785    /**
21786     * Get the real Evas object created to implement the view of a
21787     * given slideshow item
21788     *
21789     * @param item The slideshow item.
21790     * @return the Evas object implementing this item's view.
21791     *
21792     * This returns the actual Evas object used to implement the
21793     * specified slideshow item's view. This may be @c NULL, as it may
21794     * not have been created or may have been deleted, at any time, by
21795     * the slideshow. <b>Do not modify this object</b> (move, resize,
21796     * show, hide, etc.), as the slideshow is controlling it. This
21797     * function is for querying, emitting custom signals or hooking
21798     * lower level callbacks for events on that object. Do not delete
21799     * this object under any circumstances.
21800     *
21801     * @see elm_slideshow_item_data_get()
21802     *
21803     * @ingroup Slideshow
21804     */
21805    EAPI Evas_Object*        elm_slideshow_item_object_get(const Elm_Object_Item* it) EINA_ARG_NONNULL(1);
21806
21807    /**
21808     * Get the the item, in a given slideshow widget, placed at
21809     * position @p nth, in its internal items list
21810     *
21811     * @param obj The slideshow object
21812     * @param nth The number of the item to grab a handle to (0 being
21813     * the first)
21814     * @return The item stored in @p obj at position @p nth or @c NULL,
21815     * if there's no item with that index (and on errors)
21816     *
21817     * @ingroup Slideshow
21818     */
21819    EAPI Elm_Object_Item *elm_slideshow_item_nth_get(const Evas_Object *obj, unsigned int nth) EINA_ARG_NONNULL(1);
21820
21821    /**
21822     * Set the current slide layout in use for a given slideshow widget
21823     *
21824     * @param obj The slideshow object
21825     * @param layout The new layout's name string
21826     *
21827     * If @p layout is implemented in @p obj's theme (i.e., is contained
21828     * in the list returned by elm_slideshow_layouts_get()), this new
21829     * images layout will be used on the widget.
21830     *
21831     * @see elm_slideshow_layouts_get() for more details
21832     *
21833     * @ingroup Slideshow
21834     */
21835    EAPI void                elm_slideshow_layout_set(Evas_Object *obj, const char *layout) EINA_ARG_NONNULL(1);
21836
21837    /**
21838     * Get the current slide layout in use for a given slideshow widget
21839     *
21840     * @param obj The slideshow object
21841     * @return The current layout's name
21842     *
21843     * @see elm_slideshow_layout_set() for more details
21844     *
21845     * @ingroup Slideshow
21846     */
21847    EAPI const char         *elm_slideshow_layout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21848
21849    /**
21850     * Returns the list of @b layout names available, for a given
21851     * slideshow widget.
21852     *
21853     * @param obj The slideshow object
21854     * @return The list of layouts (list of @b stringshared strings
21855     * as data)
21856     *
21857     * Slideshow layouts will change how the widget is to dispose each
21858     * image item in its viewport, with regard to cropping, scaling,
21859     * etc.
21860     *
21861     * The layouts, which come from @p obj's theme, must be an EDC
21862     * data item name @c "layouts" on the theme file, with (prefix)
21863     * names of EDC programs actually implementing them.
21864     *
21865     * The available layouts for slideshows on the default theme are:
21866     * - @c "fullscreen" - item images with original aspect, scaled to
21867     *   touch top and down slideshow borders or, if the image's heigh
21868     *   is not enough, left and right slideshow borders.
21869     * - @c "not_fullscreen" - the same behavior as the @c "fullscreen"
21870     *   one, but always leaving 10% of the slideshow's dimensions of
21871     *   distance between the item image's borders and the slideshow
21872     *   borders, for each axis.
21873     *
21874     * @warning The stringshared strings get no new references
21875     * exclusive to the user grabbing the list, here, so if you'd like
21876     * to use them out of this call's context, you'd better @c
21877     * eina_stringshare_ref() them.
21878     *
21879     * @see elm_slideshow_layout_set()
21880     *
21881     * @ingroup Slideshow
21882     */
21883    EAPI const Eina_List    *elm_slideshow_layouts_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21884
21885    /**
21886     * Set the number of items to cache, on a given slideshow widget,
21887     * <b>before the current item</b>
21888     *
21889     * @param obj The slideshow object
21890     * @param count Number of items to cache before the current one
21891     *
21892     * The default value for this property is @c 2. See
21893     * @ref Slideshow_Caching "slideshow caching" for more details.
21894     *
21895     * @see elm_slideshow_cache_before_get()
21896     *
21897     * @ingroup Slideshow
21898     */
21899    EAPI void                elm_slideshow_cache_before_set(Evas_Object *obj, int count) EINA_ARG_NONNULL(1);
21900
21901    /**
21902     * Retrieve the number of items to cache, on a given slideshow widget,
21903     * <b>before the current item</b>
21904     *
21905     * @param obj The slideshow object
21906     * @return The number of items set to be cached before the current one
21907     *
21908     * @see elm_slideshow_cache_before_set() for more details
21909     *
21910     * @ingroup Slideshow
21911     */
21912    EAPI int                 elm_slideshow_cache_before_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21913
21914    /**
21915     * Set the number of items to cache, on a given slideshow widget,
21916     * <b>after the current item</b>
21917     *
21918     * @param obj The slideshow object
21919     * @param count Number of items to cache after the current one
21920     *
21921     * The default value for this property is @c 2. See
21922     * @ref Slideshow_Caching "slideshow caching" for more details.
21923     *
21924     * @see elm_slideshow_cache_after_get()
21925     *
21926     * @ingroup Slideshow
21927     */
21928    EAPI void                elm_slideshow_cache_after_set(Evas_Object *obj, int count) EINA_ARG_NONNULL(1);
21929
21930    /**
21931     * Retrieve the number of items to cache, on a given slideshow widget,
21932     * <b>after the current item</b>
21933     *
21934     * @param obj The slideshow object
21935     * @return The number of items set to be cached after the current one
21936     *
21937     * @see elm_slideshow_cache_after_set() for more details
21938     *
21939     * @ingroup Slideshow
21940     */
21941    EAPI int                 elm_slideshow_cache_after_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21942
21943    /**
21944     * Get the number of items stored in a given slideshow widget
21945     *
21946     * @param obj The slideshow object
21947     * @return The number of items on @p obj, at the moment of this call
21948     *
21949     * @ingroup Slideshow
21950     */
21951    EAPI unsigned int        elm_slideshow_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21952
21953    /**
21954     * @}
21955     */
21956
21957    /**
21958     * @defgroup Fileselector File Selector
21959     *
21960     * @image html img/widget/fileselector/preview-00.png
21961     * @image latex img/widget/fileselector/preview-00.eps
21962     *
21963     * A file selector is a widget that allows a user to navigate
21964     * through a file system, reporting file selections back via its
21965     * API.
21966     *
21967     * It contains shortcut buttons for home directory (@c ~) and to
21968     * jump one directory upwards (..), as well as cancel/ok buttons to
21969     * confirm/cancel a given selection. After either one of those two
21970     * former actions, the file selector will issue its @c "done" smart
21971     * callback.
21972     *
21973     * There's a text entry on it, too, showing the name of the current
21974     * selection. There's the possibility of making it editable, so it
21975     * is useful on file saving dialogs on applications, where one
21976     * gives a file name to save contents to, in a given directory in
21977     * the system. This custom file name will be reported on the @c
21978     * "done" smart callback (explained in sequence).
21979     *
21980     * Finally, it has a view to display file system items into in two
21981     * possible forms:
21982     * - list
21983     * - grid
21984     *
21985     * If Elementary is built with support of the Ethumb thumbnailing
21986     * library, the second form of view will display preview thumbnails
21987     * of files which it supports.
21988     *
21989     * Smart callbacks one can register to:
21990     *
21991     * - @c "selected" - the user has clicked on a file (when not in
21992     *      folders-only mode) or directory (when in folders-only mode)
21993     * - @c "directory,open" - the list has been populated with new
21994     *      content (@c event_info is a pointer to the directory's
21995     *      path, a @b stringshared string)
21996     * - @c "done" - the user has clicked on the "ok" or "cancel"
21997     *      buttons (@c event_info is a pointer to the selection's
21998     *      path, a @b stringshared string)
21999     *
22000     * Here is an example on its usage:
22001     * @li @ref fileselector_example
22002     */
22003
22004    /**
22005     * @addtogroup Fileselector
22006     * @{
22007     */
22008
22009    /**
22010     * Defines how a file selector widget is to layout its contents
22011     * (file system entries).
22012     */
22013    typedef enum _Elm_Fileselector_Mode
22014      {
22015         ELM_FILESELECTOR_LIST = 0, /**< layout as a list */
22016         ELM_FILESELECTOR_GRID, /**< layout as a grid */
22017         ELM_FILESELECTOR_LAST /**< sentinel (helper) value, not used */
22018      } Elm_Fileselector_Mode;
22019
22020    /**
22021     * Add a new file selector widget to the given parent Elementary
22022     * (container) object
22023     *
22024     * @param parent The parent object
22025     * @return a new file selector widget handle or @c NULL, on errors
22026     *
22027     * This function inserts a new file selector widget on the canvas.
22028     *
22029     * @ingroup Fileselector
22030     */
22031    EAPI Evas_Object          *elm_fileselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
22032
22033    /**
22034     * Enable/disable the file name entry box where the user can type
22035     * in a name for a file, in a given file selector widget
22036     *
22037     * @param obj The file selector object
22038     * @param is_save @c EINA_TRUE to make the file selector a "saving
22039     * dialog", @c EINA_FALSE otherwise
22040     *
22041     * Having the entry editable is useful on file saving dialogs on
22042     * applications, where one gives a file name to save contents to,
22043     * in a given directory in the system. This custom file name will
22044     * be reported on the @c "done" smart callback.
22045     *
22046     * @see elm_fileselector_is_save_get()
22047     *
22048     * @ingroup Fileselector
22049     */
22050    EAPI void                  elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save) EINA_ARG_NONNULL(1);
22051
22052    /**
22053     * Get whether the given file selector is in "saving dialog" mode
22054     *
22055     * @param obj The file selector object
22056     * @return @c EINA_TRUE, if the file selector is in "saving dialog"
22057     * mode, @c EINA_FALSE otherwise (and on errors)
22058     *
22059     * @see elm_fileselector_is_save_set() for more details
22060     *
22061     * @ingroup Fileselector
22062     */
22063    EAPI Eina_Bool             elm_fileselector_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22064
22065    /**
22066     * Enable/disable folder-only view for a given file selector widget
22067     *
22068     * @param obj The file selector object
22069     * @param only @c EINA_TRUE to make @p obj only display
22070     * directories, @c EINA_FALSE to make files to be displayed in it
22071     * too
22072     *
22073     * If enabled, the widget's view will only display folder items,
22074     * naturally.
22075     *
22076     * @see elm_fileselector_folder_only_get()
22077     *
22078     * @ingroup Fileselector
22079     */
22080    EAPI void                  elm_fileselector_folder_only_set(Evas_Object *obj, Eina_Bool only) EINA_ARG_NONNULL(1);
22081
22082    /**
22083     * Get whether folder-only view is set for a given file selector
22084     * widget
22085     *
22086     * @param obj The file selector object
22087     * @return only @c EINA_TRUE if @p obj is only displaying
22088     * directories, @c EINA_FALSE if files are being displayed in it
22089     * too (and on errors)
22090     *
22091     * @see elm_fileselector_folder_only_get()
22092     *
22093     * @ingroup Fileselector
22094     */
22095    EAPI Eina_Bool             elm_fileselector_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22096
22097    /**
22098     * Enable/disable the "ok" and "cancel" buttons on a given file
22099     * selector widget
22100     *
22101     * @param obj The file selector object
22102     * @param only @c EINA_TRUE to show them, @c EINA_FALSE to hide.
22103     *
22104     * @note A file selector without those buttons will never emit the
22105     * @c "done" smart event, and is only usable if one is just hooking
22106     * to the other two events.
22107     *
22108     * @see elm_fileselector_buttons_ok_cancel_get()
22109     *
22110     * @ingroup Fileselector
22111     */
22112    EAPI void                  elm_fileselector_buttons_ok_cancel_set(Evas_Object *obj, Eina_Bool buttons) EINA_ARG_NONNULL(1);
22113
22114    /**
22115     * Get whether the "ok" and "cancel" buttons on a given file
22116     * selector widget are being shown.
22117     *
22118     * @param obj The file selector object
22119     * @return @c EINA_TRUE if they are being shown, @c EINA_FALSE
22120     * otherwise (and on errors)
22121     *
22122     * @see elm_fileselector_buttons_ok_cancel_set() for more details
22123     *
22124     * @ingroup Fileselector
22125     */
22126    EAPI Eina_Bool             elm_fileselector_buttons_ok_cancel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22127
22128    /**
22129     * Enable/disable a tree view in the given file selector widget,
22130     * <b>if it's in @c #ELM_FILESELECTOR_LIST mode</b>
22131     *
22132     * @param obj The file selector object
22133     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
22134     * disable
22135     *
22136     * In a tree view, arrows are created on the sides of directories,
22137     * allowing them to expand in place.
22138     *
22139     * @note If it's in other mode, the changes made by this function
22140     * will only be visible when one switches back to "list" mode.
22141     *
22142     * @see elm_fileselector_expandable_get()
22143     *
22144     * @ingroup Fileselector
22145     */
22146    EAPI void                  elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool expand) EINA_ARG_NONNULL(1);
22147
22148    /**
22149     * Get whether tree view is enabled for the given file selector
22150     * widget
22151     *
22152     * @param obj The file selector object
22153     * @return @c EINA_TRUE if @p obj is in tree view, @c EINA_FALSE
22154     * otherwise (and or errors)
22155     *
22156     * @see elm_fileselector_expandable_set() for more details
22157     *
22158     * @ingroup Fileselector
22159     */
22160    EAPI Eina_Bool             elm_fileselector_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22161
22162    /**
22163     * Set, programmatically, the @b directory that a given file
22164     * selector widget will display contents from
22165     *
22166     * @param obj The file selector object
22167     * @param path The path to display in @p obj
22168     *
22169     * This will change the @b directory that @p obj is displaying. It
22170     * will also clear the text entry area on the @p obj object, which
22171     * displays select files' names.
22172     *
22173     * @see elm_fileselector_path_get()
22174     *
22175     * @ingroup Fileselector
22176     */
22177    EAPI void                  elm_fileselector_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
22178
22179    /**
22180     * Get the parent directory's path that a given file selector
22181     * widget is displaying
22182     *
22183     * @param obj The file selector object
22184     * @return The (full) path of the directory the file selector is
22185     * displaying, a @b stringshared string
22186     *
22187     * @see elm_fileselector_path_set()
22188     *
22189     * @ingroup Fileselector
22190     */
22191    EAPI const char           *elm_fileselector_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22192
22193    /**
22194     * Set, programmatically, the currently selected file/directory in
22195     * the given file selector widget
22196     *
22197     * @param obj The file selector object
22198     * @param path The (full) path to a file or directory
22199     * @return @c EINA_TRUE on success, @c EINA_FALSE on failure. The
22200     * latter case occurs if the directory or file pointed to do not
22201     * exist.
22202     *
22203     * @see elm_fileselector_selected_get()
22204     *
22205     * @ingroup Fileselector
22206     */
22207    EAPI Eina_Bool             elm_fileselector_selected_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
22208
22209    /**
22210     * Get the currently selected item's (full) path, in the given file
22211     * selector widget
22212     *
22213     * @param obj The file selector object
22214     * @return The absolute path of the selected item, a @b
22215     * stringshared string
22216     *
22217     * @note Custom editions on @p obj object's text entry, if made,
22218     * will appear on the return string of this function, naturally.
22219     *
22220     * @see elm_fileselector_selected_set() for more details
22221     *
22222     * @ingroup Fileselector
22223     */
22224    EAPI const char           *elm_fileselector_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22225
22226    /**
22227     * Set the mode in which a given file selector widget will display
22228     * (layout) file system entries in its view
22229     *
22230     * @param obj The file selector object
22231     * @param mode The mode of the fileselector, being it one of
22232     * #ELM_FILESELECTOR_LIST (default) or #ELM_FILESELECTOR_GRID. The
22233     * first one, naturally, will display the files in a list. The
22234     * latter will make the widget to display its entries in a grid
22235     * form.
22236     *
22237     * @note By using elm_fileselector_expandable_set(), the user may
22238     * trigger a tree view for that list.
22239     *
22240     * @note If Elementary is built with support of the Ethumb
22241     * thumbnailing library, the second form of view will display
22242     * preview thumbnails of files which it supports. You must have
22243     * elm_need_ethumb() called in your Elementary for thumbnailing to
22244     * work, though.
22245     *
22246     * @see elm_fileselector_expandable_set().
22247     * @see elm_fileselector_mode_get().
22248     *
22249     * @ingroup Fileselector
22250     */
22251    EAPI void                  elm_fileselector_mode_set(Evas_Object *obj, Elm_Fileselector_Mode mode) EINA_ARG_NONNULL(1);
22252
22253    /**
22254     * Get the mode in which a given file selector widget is displaying
22255     * (layouting) file system entries in its view
22256     *
22257     * @param obj The fileselector object
22258     * @return The mode in which the fileselector is at
22259     *
22260     * @see elm_fileselector_mode_set() for more details
22261     *
22262     * @ingroup Fileselector
22263     */
22264    EAPI Elm_Fileselector_Mode elm_fileselector_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22265
22266    /**
22267     * @}
22268     */
22269
22270    /**
22271     * @defgroup Progressbar Progress bar
22272     *
22273     * The progress bar is a widget for visually representing the
22274     * progress status of a given job/task.
22275     *
22276     * A progress bar may be horizontal or vertical. It may display an
22277     * icon besides it, as well as primary and @b units labels. The
22278     * former is meant to label the widget as a whole, while the
22279     * latter, which is formatted with floating point values (and thus
22280     * accepts a <c>printf</c>-style format string, like <c>"%1.2f
22281     * units"</c>), is meant to label the widget's <b>progress
22282     * value</b>. Label, icon and unit strings/objects are @b optional
22283     * for progress bars.
22284     *
22285     * A progress bar may be @b inverted, in which state it gets its
22286     * values inverted, with high values being on the left or top and
22287     * low values on the right or bottom, as opposed to normally have
22288     * the low values on the former and high values on the latter,
22289     * respectively, for horizontal and vertical modes.
22290     *
22291     * The @b span of the progress, as set by
22292     * elm_progressbar_span_size_set(), is its length (horizontally or
22293     * vertically), unless one puts size hints on the widget to expand
22294     * on desired directions, by any container. That length will be
22295     * scaled by the object or applications scaling factor. At any
22296     * point code can query the progress bar for its value with
22297     * elm_progressbar_value_get().
22298     *
22299     * Available widget styles for progress bars:
22300     * - @c "default"
22301     * - @c "wheel" (simple style, no text, no progression, only
22302     *      "pulse" effect is available)
22303     *
22304     * Default contents parts of the progressbar widget that you can use for are:
22305     * @li "icon" - An icon of the progressbar
22306     *
22307     * Here is an example on its usage:
22308     * @li @ref progressbar_example
22309     */
22310
22311    /**
22312     * Add a new progress bar widget to the given parent Elementary
22313     * (container) object
22314     *
22315     * @param parent The parent object
22316     * @return a new progress bar widget handle or @c NULL, on errors
22317     *
22318     * This function inserts a new progress bar widget on the canvas.
22319     *
22320     * @ingroup Progressbar
22321     */
22322    EAPI Evas_Object *elm_progressbar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
22323
22324    /**
22325     * Set whether a given progress bar widget is at "pulsing mode" or
22326     * not.
22327     *
22328     * @param obj The progress bar object
22329     * @param pulse @c EINA_TRUE to put @p obj in pulsing mode,
22330     * @c EINA_FALSE to put it back to its default one
22331     *
22332     * By default, progress bars will display values from the low to
22333     * high value boundaries. There are, though, contexts in which the
22334     * state of progression of a given task is @b unknown.  For those,
22335     * one can set a progress bar widget to a "pulsing state", to give
22336     * the user an idea that some computation is being held, but
22337     * without exact progress values. In the default theme it will
22338     * animate its bar with the contents filling in constantly and back
22339     * to non-filled, in a loop. To start and stop this pulsing
22340     * animation, one has to explicitly call elm_progressbar_pulse().
22341     *
22342     * @see elm_progressbar_pulse_get()
22343     * @see elm_progressbar_pulse()
22344     *
22345     * @ingroup Progressbar
22346     */
22347    EAPI void         elm_progressbar_pulse_set(Evas_Object *obj, Eina_Bool pulse) EINA_ARG_NONNULL(1);
22348
22349    /**
22350     * Get whether a given progress bar widget is at "pulsing mode" or
22351     * not.
22352     *
22353     * @param obj The progress bar object
22354     * @return @c EINA_TRUE, if @p obj is in pulsing mode, @c EINA_FALSE
22355     * if it's in the default one (and on errors)
22356     *
22357     * @ingroup Progressbar
22358     */
22359    EAPI Eina_Bool    elm_progressbar_pulse_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22360
22361    /**
22362     * Start/stop a given progress bar "pulsing" animation, if its
22363     * under that mode
22364     *
22365     * @param obj The progress bar object
22366     * @param state @c EINA_TRUE, to @b start the pulsing animation,
22367     * @c EINA_FALSE to @b stop it
22368     *
22369     * @note This call won't do anything if @p obj is not under "pulsing mode".
22370     *
22371     * @see elm_progressbar_pulse_set() for more details.
22372     *
22373     * @ingroup Progressbar
22374     */
22375    EAPI void         elm_progressbar_pulse(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
22376
22377    /**
22378     * Set the progress value (in percentage) on a given progress bar
22379     * widget
22380     *
22381     * @param obj The progress bar object
22382     * @param val The progress value (@b must be between @c 0.0 and @c
22383     * 1.0)
22384     *
22385     * Use this call to set progress bar levels.
22386     *
22387     * @note If you passes a value out of the specified range for @p
22388     * val, it will be interpreted as the @b closest of the @b boundary
22389     * values in the range.
22390     *
22391     * @ingroup Progressbar
22392     */
22393    EAPI void         elm_progressbar_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
22394
22395    /**
22396     * Get the progress value (in percentage) on a given progress bar
22397     * widget
22398     *
22399     * @param obj The progress bar object
22400     * @return The value of the progressbar
22401     *
22402     * @see elm_progressbar_value_set() for more details
22403     *
22404     * @ingroup Progressbar
22405     */
22406    EAPI double       elm_progressbar_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22407
22408    /**
22409     * Set the label of a given progress bar widget
22410     *
22411     * @param obj The progress bar object
22412     * @param label The text label string, in UTF-8
22413     *
22414     * @ingroup Progressbar
22415     * @deprecated use elm_object_text_set() instead.
22416     */
22417    EINA_DEPRECATED EAPI void         elm_progressbar_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
22418
22419    /**
22420     * Get the label of a given progress bar widget
22421     *
22422     * @param obj The progressbar object
22423     * @return The text label string, in UTF-8
22424     *
22425     * @ingroup Progressbar
22426     * @deprecated use elm_object_text_set() instead.
22427     */
22428    EINA_DEPRECATED EAPI const char  *elm_progressbar_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22429
22430    /**
22431     * Set the icon object of a given progress bar widget
22432     *
22433     * @param obj The progress bar object
22434     * @param icon The icon object
22435     *
22436     * Use this call to decorate @p obj with an icon next to it.
22437     *
22438     * @note Once the icon object is set, a previously set one will be
22439     * deleted. If you want to keep that old content object, use the
22440     * elm_progressbar_icon_unset() function.
22441     *
22442     * @see elm_progressbar_icon_get()
22443     * @deprecated use elm_object_part_content_set() instead.
22444     *
22445     * @ingroup Progressbar
22446     */
22447    EINA_DEPRECATED EAPI void         elm_progressbar_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
22448
22449    /**
22450     * Retrieve the icon object set for a given progress bar widget
22451     *
22452     * @param obj The progress bar object
22453     * @return The icon object's handle, if @p obj had one set, or @c NULL,
22454     * otherwise (and on errors)
22455     *
22456     * @see elm_progressbar_icon_set() for more details
22457     * @deprecated use elm_object_part_content_get() instead.
22458     *
22459     * @ingroup Progressbar
22460     */
22461    EINA_DEPRECATED EAPI Evas_Object *elm_progressbar_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22462
22463    /**
22464     * Unset an icon set on a given progress bar widget
22465     *
22466     * @param obj The progress bar object
22467     * @return The icon object that was being used, if any was set, or
22468     * @c NULL, otherwise (and on errors)
22469     *
22470     * This call will unparent and return the icon object which was set
22471     * for this widget, previously, on success.
22472     *
22473     * @see elm_progressbar_icon_set() for more details
22474     * @deprecated use elm_object_part_content_unset() instead.
22475     *
22476     * @ingroup Progressbar
22477     */
22478    EINA_DEPRECATED EAPI Evas_Object *elm_progressbar_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
22479
22480    /**
22481     * Set the (exact) length of the bar region of a given progress bar
22482     * widget
22483     *
22484     * @param obj The progress bar object
22485     * @param size The length of the progress bar's bar region
22486     *
22487     * This sets the minimum width (when in horizontal mode) or height
22488     * (when in vertical mode) of the actual bar area of the progress
22489     * bar @p obj. This in turn affects the object's minimum size. Use
22490     * this when you're not setting other size hints expanding on the
22491     * given direction (like weight and alignment hints) and you would
22492     * like it to have a specific size.
22493     *
22494     * @note Icon, label and unit text around @p obj will require their
22495     * own space, which will make @p obj to require more the @p size,
22496     * actually.
22497     *
22498     * @see elm_progressbar_span_size_get()
22499     *
22500     * @ingroup Progressbar
22501     */
22502    EAPI void         elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size) EINA_ARG_NONNULL(1);
22503
22504    /**
22505     * Get the length set for the bar region of a given progress bar
22506     * widget
22507     *
22508     * @param obj The progress bar object
22509     * @return The length of the progress bar's bar region
22510     *
22511     * If that size was not set previously, with
22512     * elm_progressbar_span_size_set(), this call will return @c 0.
22513     *
22514     * @ingroup Progressbar
22515     */
22516    EAPI Evas_Coord   elm_progressbar_span_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22517
22518    /**
22519     * Set the format string for a given progress bar widget's units
22520     * label
22521     *
22522     * @param obj The progress bar object
22523     * @param format The format string for @p obj's units label
22524     *
22525     * If @c NULL is passed on @p format, it will make @p obj's units
22526     * area to be hidden completely. If not, it'll set the <b>format
22527     * string</b> for the units label's @b text. The units label is
22528     * provided a floating point value, so the units text is up display
22529     * at most one floating point falue. Note that the units label is
22530     * optional. Use a format string such as "%1.2f meters" for
22531     * example.
22532     *
22533     * @note The default format string for a progress bar is an integer
22534     * percentage, as in @c "%.0f %%".
22535     *
22536     * @see elm_progressbar_unit_format_get()
22537     *
22538     * @ingroup Progressbar
22539     */
22540    EAPI void         elm_progressbar_unit_format_set(Evas_Object *obj, const char *format) EINA_ARG_NONNULL(1);
22541
22542    /**
22543     * Retrieve the format string set for a given progress bar widget's
22544     * units label
22545     *
22546     * @param obj The progress bar object
22547     * @return The format set string for @p obj's units label or
22548     * @c NULL, if none was set (and on errors)
22549     *
22550     * @see elm_progressbar_unit_format_set() for more details
22551     *
22552     * @ingroup Progressbar
22553     */
22554    EAPI const char  *elm_progressbar_unit_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22555
22556    /**
22557     * Set the orientation of a given progress bar widget
22558     *
22559     * @param obj The progress bar object
22560     * @param horizontal Use @c EINA_TRUE to make @p obj to be
22561     * @b horizontal, @c EINA_FALSE to make it @b vertical
22562     *
22563     * Use this function to change how your progress bar is to be
22564     * disposed: vertically or horizontally.
22565     *
22566     * @see elm_progressbar_horizontal_get()
22567     *
22568     * @ingroup Progressbar
22569     */
22570    EAPI void         elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
22571
22572    /**
22573     * Retrieve the orientation of a given progress bar widget
22574     *
22575     * @param obj The progress bar object
22576     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
22577     * @c EINA_FALSE if it's @b vertical (and on errors)
22578     *
22579     * @see elm_progressbar_horizontal_set() for more details
22580     *
22581     * @ingroup Progressbar
22582     */
22583    EAPI Eina_Bool    elm_progressbar_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22584
22585    /**
22586     * Invert a given progress bar widget's displaying values order
22587     *
22588     * @param obj The progress bar object
22589     * @param inverted Use @c EINA_TRUE to make @p obj inverted,
22590     * @c EINA_FALSE to bring it back to default, non-inverted values.
22591     *
22592     * A progress bar may be @b inverted, in which state it gets its
22593     * values inverted, with high values being on the left or top and
22594     * low values on the right or bottom, as opposed to normally have
22595     * the low values on the former and high values on the latter,
22596     * respectively, for horizontal and vertical modes.
22597     *
22598     * @see elm_progressbar_inverted_get()
22599     *
22600     * @ingroup Progressbar
22601     */
22602    EAPI void         elm_progressbar_inverted_set(Evas_Object *obj, Eina_Bool inverted) EINA_ARG_NONNULL(1);
22603
22604    /**
22605     * Get whether a given progress bar widget's displaying values are
22606     * inverted or not
22607     *
22608     * @param obj The progress bar object
22609     * @return @c EINA_TRUE, if @p obj has inverted values,
22610     * @c EINA_FALSE otherwise (and on errors)
22611     *
22612     * @see elm_progressbar_inverted_set() for more details
22613     *
22614     * @ingroup Progressbar
22615     */
22616    EAPI Eina_Bool    elm_progressbar_inverted_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22617
22618    /**
22619     * @defgroup Separator Separator
22620     *
22621     * @brief Separator is a very thin object used to separate other objects.
22622     *
22623     * A separator can be vertical or horizontal.
22624     *
22625     * @ref tutorial_separator is a good example of how to use a separator.
22626     * @{
22627     */
22628    /**
22629     * @brief Add a separator object to @p parent
22630     *
22631     * @param parent The parent object
22632     *
22633     * @return The separator object, or NULL upon failure
22634     */
22635    EAPI Evas_Object *elm_separator_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
22636    /**
22637     * @brief Set the horizontal mode of a separator object
22638     *
22639     * @param obj The separator object
22640     * @param horizontal If true, the separator is horizontal
22641     */
22642    EAPI void         elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
22643    /**
22644     * @brief Get the horizontal mode of a separator object
22645     *
22646     * @param obj The separator object
22647     * @return If true, the separator is horizontal
22648     *
22649     * @see elm_separator_horizontal_set()
22650     */
22651    EAPI Eina_Bool    elm_separator_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22652    /**
22653     * @}
22654     */
22655
22656    /**
22657     * @defgroup Spinner Spinner
22658     * @ingroup Elementary
22659     *
22660     * @image html img/widget/spinner/preview-00.png
22661     * @image latex img/widget/spinner/preview-00.eps
22662     *
22663     * A spinner is a widget which allows the user to increase or decrease
22664     * numeric values using arrow buttons, or edit values directly, clicking
22665     * over it and typing the new value.
22666     *
22667     * By default the spinner will not wrap and has a label
22668     * of "%.0f" (just showing the integer value of the double).
22669     *
22670     * A spinner has a label that is formatted with floating
22671     * point values and thus accepts a printf-style format string, like
22672     * ā€œ%1.2f unitsā€.
22673     *
22674     * It also allows specific values to be replaced by pre-defined labels.
22675     *
22676     * Smart callbacks one can register to:
22677     *
22678     * - "changed" - Whenever the spinner value is changed.
22679     * - "delay,changed" - A short time after the value is changed by the user.
22680     *    This will be called only when the user stops dragging for a very short
22681     *    period or when they release their finger/mouse, so it avoids possibly
22682     *    expensive reactions to the value change.
22683     *
22684     * Available styles for it:
22685     * - @c "default";
22686     * - @c "vertical": up/down buttons at the right side and text left aligned.
22687     *
22688     * Here is an example on its usage:
22689     * @ref spinner_example
22690     */
22691
22692    /**
22693     * @addtogroup Spinner
22694     * @{
22695     */
22696
22697    /**
22698     * Add a new spinner widget to the given parent Elementary
22699     * (container) object.
22700     *
22701     * @param parent The parent object.
22702     * @return a new spinner widget handle or @c NULL, on errors.
22703     *
22704     * This function inserts a new spinner widget on the canvas.
22705     *
22706     * @ingroup Spinner
22707     *
22708     */
22709    EAPI Evas_Object *elm_spinner_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
22710
22711    /**
22712     * Set the format string of the displayed label.
22713     *
22714     * @param obj The spinner object.
22715     * @param fmt The format string for the label display.
22716     *
22717     * If @c NULL, this sets the format to "%.0f". If not it sets the format
22718     * string for the label text. The label text is provided a floating point
22719     * value, so the label text can display up to 1 floating point value.
22720     * Note that this is optional.
22721     *
22722     * Use a format string such as "%1.2f meters" for example, and it will
22723     * display values like: "3.14 meters" for a value equal to 3.14159.
22724     *
22725     * Default is "%0.f".
22726     *
22727     * @see elm_spinner_label_format_get()
22728     *
22729     * @ingroup Spinner
22730     */
22731    EAPI void         elm_spinner_label_format_set(Evas_Object *obj, const char *fmt) EINA_ARG_NONNULL(1);
22732
22733    /**
22734     * Get the label format of the spinner.
22735     *
22736     * @param obj The spinner object.
22737     * @return The text label format string in UTF-8.
22738     *
22739     * @see elm_spinner_label_format_set() for details.
22740     *
22741     * @ingroup Spinner
22742     */
22743    EAPI const char  *elm_spinner_label_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22744
22745    /**
22746     * Set the minimum and maximum values for the spinner.
22747     *
22748     * @param obj The spinner object.
22749     * @param min The minimum value.
22750     * @param max The maximum value.
22751     *
22752     * Define the allowed range of values to be selected by the user.
22753     *
22754     * If actual value is less than @p min, it will be updated to @p min. If it
22755     * is bigger then @p max, will be updated to @p max. Actual value can be
22756     * get with elm_spinner_value_get().
22757     *
22758     * By default, min is equal to 0, and max is equal to 100.
22759     *
22760     * @warning Maximum must be greater than minimum.
22761     *
22762     * @see elm_spinner_min_max_get()
22763     *
22764     * @ingroup Spinner
22765     */
22766    EAPI void         elm_spinner_min_max_set(Evas_Object *obj, double min, double max) EINA_ARG_NONNULL(1);
22767
22768    /**
22769     * Get the minimum and maximum values of the spinner.
22770     *
22771     * @param obj The spinner object.
22772     * @param min Pointer where to store the minimum value.
22773     * @param max Pointer where to store the maximum value.
22774     *
22775     * @note If only one value is needed, the other pointer can be passed
22776     * as @c NULL.
22777     *
22778     * @see elm_spinner_min_max_set() for details.
22779     *
22780     * @ingroup Spinner
22781     */
22782    EAPI void         elm_spinner_min_max_get(const Evas_Object *obj, double *min, double *max) EINA_ARG_NONNULL(1);
22783
22784    /**
22785     * Set the step used to increment or decrement the spinner value.
22786     *
22787     * @param obj The spinner object.
22788     * @param step The step value.
22789     *
22790     * This value will be incremented or decremented to the displayed value.
22791     * It will be incremented while the user keep right or top arrow pressed,
22792     * and will be decremented while the user keep left or bottom arrow pressed.
22793     *
22794     * The interval to increment / decrement can be set with
22795     * elm_spinner_interval_set().
22796     *
22797     * By default step value is equal to 1.
22798     *
22799     * @see elm_spinner_step_get()
22800     *
22801     * @ingroup Spinner
22802     */
22803    EAPI void         elm_spinner_step_set(Evas_Object *obj, double step) EINA_ARG_NONNULL(1);
22804
22805    /**
22806     * Get the step used to increment or decrement the spinner value.
22807     *
22808     * @param obj The spinner object.
22809     * @return The step value.
22810     *
22811     * @see elm_spinner_step_get() for more details.
22812     *
22813     * @ingroup Spinner
22814     */
22815    EAPI double       elm_spinner_step_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22816
22817    /**
22818     * Set the value the spinner displays.
22819     *
22820     * @param obj The spinner object.
22821     * @param val The value to be displayed.
22822     *
22823     * Value will be presented on the label following format specified with
22824     * elm_spinner_format_set().
22825     *
22826     * @warning The value must to be between min and max values. This values
22827     * are set by elm_spinner_min_max_set().
22828     *
22829     * @see elm_spinner_value_get().
22830     * @see elm_spinner_format_set().
22831     * @see elm_spinner_min_max_set().
22832     *
22833     * @ingroup Spinner
22834     */
22835    EAPI void         elm_spinner_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
22836
22837    /**
22838     * Get the value displayed by the spinner.
22839     *
22840     * @param obj The spinner object.
22841     * @return The value displayed.
22842     *
22843     * @see elm_spinner_value_set() for details.
22844     *
22845     * @ingroup Spinner
22846     */
22847    EAPI double       elm_spinner_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22848
22849    /**
22850     * Set whether the spinner should wrap when it reaches its
22851     * minimum or maximum value.
22852     *
22853     * @param obj The spinner object.
22854     * @param wrap @c EINA_TRUE to enable wrap or @c EINA_FALSE to
22855     * disable it.
22856     *
22857     * Disabled by default. If disabled, when the user tries to increment the
22858     * value,
22859     * but displayed value plus step value is bigger than maximum value,
22860     * the spinner
22861     * won't allow it. The same happens when the user tries to decrement it,
22862     * but the value less step is less than minimum value.
22863     *
22864     * When wrap is enabled, in such situations it will allow these changes,
22865     * but will get the value that would be less than minimum and subtracts
22866     * from maximum. Or add the value that would be more than maximum to
22867     * the minimum.
22868     *
22869     * E.g.:
22870     * @li min value = 10
22871     * @li max value = 50
22872     * @li step value = 20
22873     * @li displayed value = 20
22874     *
22875     * When the user decrement value (using left or bottom arrow), it will
22876     * displays @c 40, because max - (min - (displayed - step)) is
22877     * @c 50 - (@c 10 - (@c 20 - @c 20)) = @c 40.
22878     *
22879     * @see elm_spinner_wrap_get().
22880     *
22881     * @ingroup Spinner
22882     */
22883    EAPI void         elm_spinner_wrap_set(Evas_Object *obj, Eina_Bool wrap) EINA_ARG_NONNULL(1);
22884
22885    /**
22886     * Get whether the spinner should wrap when it reaches its
22887     * minimum or maximum value.
22888     *
22889     * @param obj The spinner object
22890     * @return @c EINA_TRUE means wrap is enabled. @c EINA_FALSE indicates
22891     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
22892     *
22893     * @see elm_spinner_wrap_set() for details.
22894     *
22895     * @ingroup Spinner
22896     */
22897    EAPI Eina_Bool    elm_spinner_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22898
22899    /**
22900     * Set whether the spinner can be directly edited by the user or not.
22901     *
22902     * @param obj The spinner object.
22903     * @param editable @c EINA_TRUE to allow users to edit it or @c EINA_FALSE to
22904     * don't allow users to edit it directly.
22905     *
22906     * Spinner objects can have edition @b disabled, in which state they will
22907     * be changed only by arrows.
22908     * Useful for contexts
22909     * where you don't want your users to interact with it writting the value.
22910     * Specially
22911     * when using special values, the user can see real value instead
22912     * of special label on edition.
22913     *
22914     * It's enabled by default.
22915     *
22916     * @see elm_spinner_editable_get()
22917     *
22918     * @ingroup Spinner
22919     */
22920    EAPI void         elm_spinner_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
22921
22922    /**
22923     * Get whether the spinner can be directly edited by the user or not.
22924     *
22925     * @param obj The spinner object.
22926     * @return @c EINA_TRUE means edition is enabled. @c EINA_FALSE indicates
22927     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
22928     *
22929     * @see elm_spinner_editable_set() for details.
22930     *
22931     * @ingroup Spinner
22932     */
22933    EAPI Eina_Bool    elm_spinner_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22934
22935    /**
22936     * Set a special string to display in the place of the numerical value.
22937     *
22938     * @param obj The spinner object.
22939     * @param value The value to be replaced.
22940     * @param label The label to be used.
22941     *
22942     * It's useful for cases when a user should select an item that is
22943     * better indicated by a label than a value. For example, weekdays or months.
22944     *
22945     * E.g.:
22946     * @code
22947     * sp = elm_spinner_add(win);
22948     * elm_spinner_min_max_set(sp, 1, 3);
22949     * elm_spinner_special_value_add(sp, 1, "January");
22950     * elm_spinner_special_value_add(sp, 2, "February");
22951     * elm_spinner_special_value_add(sp, 3, "March");
22952     * evas_object_show(sp);
22953     * @endcode
22954     *
22955     * @ingroup Spinner
22956     */
22957    EAPI void         elm_spinner_special_value_add(Evas_Object *obj, double value, const char *label) EINA_ARG_NONNULL(1);
22958
22959    /**
22960     * Set the interval on time updates for an user mouse button hold
22961     * on spinner widgets' arrows.
22962     *
22963     * @param obj The spinner object.
22964     * @param interval The (first) interval value in seconds.
22965     *
22966     * This interval value is @b decreased while the user holds the
22967     * mouse pointer either incrementing or decrementing spinner's value.
22968     *
22969     * This helps the user to get to a given value distant from the
22970     * current one easier/faster, as it will start to change quicker and
22971     * quicker on mouse button holds.
22972     *
22973     * The calculation for the next change interval value, starting from
22974     * the one set with this call, is the previous interval divided by
22975     * @c 1.05, so it decreases a little bit.
22976     *
22977     * The default starting interval value for automatic changes is
22978     * @c 0.85 seconds.
22979     *
22980     * @see elm_spinner_interval_get()
22981     *
22982     * @ingroup Spinner
22983     */
22984    EAPI void         elm_spinner_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
22985
22986    /**
22987     * Get the interval on time updates for an user mouse button hold
22988     * on spinner widgets' arrows.
22989     *
22990     * @param obj The spinner object.
22991     * @return The (first) interval value, in seconds, set on it.
22992     *
22993     * @see elm_spinner_interval_set() for more details.
22994     *
22995     * @ingroup Spinner
22996     */
22997    EAPI double       elm_spinner_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22998
22999    /**
23000     * @}
23001     */
23002
23003    /**
23004     * @defgroup Index Index
23005     *
23006     * @image html img/widget/index/preview-00.png
23007     * @image latex img/widget/index/preview-00.eps
23008     *
23009     * An index widget gives you an index for fast access to whichever
23010     * group of other UI items one might have. It's a list of text
23011     * items (usually letters, for alphabetically ordered access).
23012     *
23013     * Index widgets are by default hidden and just appear when the
23014     * user clicks over it's reserved area in the canvas. In its
23015     * default theme, it's an area one @ref Fingers "finger" wide on
23016     * the right side of the index widget's container.
23017     *
23018     * When items on the index are selected, smart callbacks get
23019     * called, so that its user can make other container objects to
23020     * show a given area or child object depending on the index item
23021     * selected. You'd probably be using an index together with @ref
23022     * List "lists", @ref Genlist "generic lists" or @ref Gengrid
23023     * "general grids".
23024     *
23025     * Smart events one  can add callbacks for are:
23026     * - @c "changed" - When the selected index item changes. @c
23027     *      event_info is the selected item's data pointer.
23028     * - @c "delay,changed" - When the selected index item changes, but
23029     *      after a small idling period. @c event_info is the selected
23030     *      item's data pointer.
23031     * - @c "selected" - When the user releases a mouse button and
23032     *      selects an item. @c event_info is the selected item's data
23033     *      pointer.
23034     * - @c "level,up" - when the user moves a finger from the first
23035     *      level to the second level
23036     * - @c "level,down" - when the user moves a finger from the second
23037     *      level to the first level
23038     *
23039     * The @c "delay,changed" event is so that it'll wait a small time
23040     * before actually reporting those events and, moreover, just the
23041     * last event happening on those time frames will actually be
23042     * reported.
23043     *
23044     * Here are some examples on its usage:
23045     * @li @ref index_example_01
23046     * @li @ref index_example_02
23047     */
23048
23049    /**
23050     * @addtogroup Index
23051     * @{
23052     */
23053
23054    typedef struct _Elm_Index_Item Elm_Index_Item; /**< Opaque handle for items of Elementary index widgets */
23055
23056    /**
23057     * Add a new index widget to the given parent Elementary
23058     * (container) object
23059     *
23060     * @param parent The parent object
23061     * @return a new index widget handle or @c NULL, on errors
23062     *
23063     * This function inserts a new index widget on the canvas.
23064     *
23065     * @ingroup Index
23066     */
23067    EAPI Evas_Object    *elm_index_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
23068
23069    /**
23070     * Set whether a given index widget is or not visible,
23071     * programatically.
23072     *
23073     * @param obj The index object
23074     * @param active @c EINA_TRUE to show it, @c EINA_FALSE to hide it
23075     *
23076     * Not to be confused with visible as in @c evas_object_show() --
23077     * visible with regard to the widget's auto hiding feature.
23078     *
23079     * @see elm_index_active_get()
23080     *
23081     * @ingroup Index
23082     */
23083    EAPI void            elm_index_active_set(Evas_Object *obj, Eina_Bool active) EINA_ARG_NONNULL(1);
23084
23085    /**
23086     * Get whether a given index widget is currently visible or not.
23087     *
23088     * @param obj The index object
23089     * @return @c EINA_TRUE, if it's shown, @c EINA_FALSE otherwise
23090     *
23091     * @see elm_index_active_set() for more details
23092     *
23093     * @ingroup Index
23094     */
23095    EAPI Eina_Bool       elm_index_active_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23096
23097    /**
23098     * Set the items level for a given index widget.
23099     *
23100     * @param obj The index object.
23101     * @param level @c 0 or @c 1, the currently implemented levels.
23102     *
23103     * @see elm_index_item_level_get()
23104     *
23105     * @ingroup Index
23106     */
23107    EAPI void            elm_index_item_level_set(Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
23108
23109    /**
23110     * Get the items level set for a given index widget.
23111     *
23112     * @param obj The index object.
23113     * @return @c 0 or @c 1, which are the levels @p obj might be at.
23114     *
23115     * @see elm_index_item_level_set() for more information
23116     *
23117     * @ingroup Index
23118     */
23119    EAPI int             elm_index_item_level_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23120
23121    /**
23122     * Returns the last selected item, for a given index widget.
23123     *
23124     * @param obj The index object.
23125     * @return The last item @b selected on @p obj (or @c NULL, on errors).
23126     *
23127     * @ingroup Index
23128     */
23129    EAPI Elm_Index_Item *elm_index_item_selected_get(const Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
23130
23131    /**
23132     * Append a new item on a given index widget.
23133     *
23134     * @param obj The index object.
23135     * @param letter Letter under which the item should be indexed
23136     * @param item The item data to set for the index's item
23137     *
23138     * Despite the most common usage of the @p letter argument is for
23139     * single char strings, one could use arbitrary strings as index
23140     * entries.
23141     *
23142     * @c item will be the pointer returned back on @c "changed", @c
23143     * "delay,changed" and @c "selected" smart events.
23144     *
23145     * @ingroup Index
23146     */
23147    EAPI void            elm_index_item_append(Evas_Object *obj, const char *letter, const void *item) EINA_ARG_NONNULL(1);
23148
23149    /**
23150     * Prepend a new item on a given index widget.
23151     *
23152     * @param obj The index object.
23153     * @param letter Letter under which the item should be indexed
23154     * @param item The item data to set for the index's item
23155     *
23156     * Despite the most common usage of the @p letter argument is for
23157     * single char strings, one could use arbitrary strings as index
23158     * entries.
23159     *
23160     * @c item will be the pointer returned back on @c "changed", @c
23161     * "delay,changed" and @c "selected" smart events.
23162     *
23163     * @ingroup Index
23164     */
23165    EAPI void            elm_index_item_prepend(Evas_Object *obj, const char *letter, const void *item) EINA_ARG_NONNULL(1);
23166
23167    /**
23168     * Append a new item, on a given index widget, <b>after the item
23169     * having @p relative as data</b>.
23170     *
23171     * @param obj The index object.
23172     * @param letter Letter under which the item should be indexed
23173     * @param item The item data to set for the index's item
23174     * @param relative The index item to be the predecessor of this new one
23175     *
23176     * Despite the most common usage of the @p letter argument is for
23177     * single char strings, one could use arbitrary strings as index
23178     * entries.
23179     *
23180     * @c item will be the pointer returned back on @c "changed", @c
23181     * "delay,changed" and @c "selected" smart events.
23182     *
23183     * @note If @p relative is @c NULL this function will behave as
23184     * elm_index_item_append().
23185     *
23186     * @ingroup Index
23187     */
23188    EAPI void            elm_index_item_append_relative(Evas_Object *obj, const char *letter, const void *item, const Elm_Index_Item *relative) EINA_ARG_NONNULL(1);
23189
23190    /**
23191     * Prepend a new item, on a given index widget, <b>after the item
23192     * having @p relative as data</b>.
23193     *
23194     * @param obj The index object.
23195     * @param letter Letter under which the item should be indexed
23196     * @param item The item data to set for the index's item
23197     * @param relative The index item to be the successor of this new one
23198     *
23199     * Despite the most common usage of the @p letter argument is for
23200     * single char strings, one could use arbitrary strings as index
23201     * entries.
23202     *
23203     * @c item will be the pointer returned back on @c "changed", @c
23204     * "delay,changed" and @c "selected" smart events.
23205     *
23206     * @note If @p relative is @c NULL this function will behave as
23207     * elm_index_item_prepend().
23208     *
23209     * @ingroup Index
23210     */
23211    EAPI void            elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *item, const Elm_Index_Item *relative) EINA_ARG_NONNULL(1);
23212
23213    /**
23214     * Insert a new item into the given index widget, using @p cmp_func
23215     * function to sort items (by item handles).
23216     *
23217     * @param obj The index object.
23218     * @param letter Letter under which the item should be indexed
23219     * @param item The item data to set for the index's item
23220     * @param cmp_func The comparing function to be used to sort index
23221     * items <b>by #Elm_Index_Item item handles</b>
23222     * @param cmp_data_func A @b fallback function to be called for the
23223     * sorting of index items <b>by item data</b>). It will be used
23224     * when @p cmp_func returns @c 0 (equality), which means an index
23225     * item with provided item data already exists. To decide which
23226     * data item should be pointed to by the index item in question, @p
23227     * cmp_data_func will be used. If @p cmp_data_func returns a
23228     * non-negative value, the previous index item data will be
23229     * replaced by the given @p item pointer. If the previous data need
23230     * to be freed, it should be done by the @p cmp_data_func function,
23231     * because all references to it will be lost. If this function is
23232     * not provided (@c NULL is given), index items will be @b
23233     * duplicated, if @p cmp_func returns @c 0.
23234     *
23235     * Despite the most common usage of the @p letter argument is for
23236     * single char strings, one could use arbitrary strings as index
23237     * entries.
23238     *
23239     * @c item will be the pointer returned back on @c "changed", @c
23240     * "delay,changed" and @c "selected" smart events.
23241     *
23242     * @ingroup Index
23243     */
23244    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);
23245
23246    /**
23247     * Remove an item from a given index widget, <b>to be referenced by
23248     * it's data value</b>.
23249     *
23250     * @param obj The index object
23251     * @param item The item to be removed from @p obj
23252     *
23253     * If a deletion callback is set, via elm_index_item_del_cb_set(),
23254     * that callback function will be called by this one.
23255     *
23256     * @ingroup Index
23257     */
23258    EAPI void            elm_index_item_del(Evas_Object *obj, Elm_Index_Item *item) EINA_ARG_NONNULL(1);
23259
23260    /**
23261     * Find a given index widget's item, <b>using item data</b>.
23262     *
23263     * @param obj The index object
23264     * @param item The item data pointed to by the desired index item
23265     * @return The index item handle, if found, or @c NULL otherwise
23266     *
23267     * @ingroup Index
23268     */
23269    EAPI Elm_Index_Item *elm_index_item_find(Evas_Object *obj, const void *item) EINA_ARG_NONNULL(1);
23270
23271    /**
23272     * Removes @b all items from a given index widget.
23273     *
23274     * @param obj The index object.
23275     *
23276     * If deletion callbacks are set, via elm_index_item_del_cb_set(),
23277     * that callback function will be called for each item in @p obj.
23278     *
23279     * @ingroup Index
23280     */
23281    EAPI void            elm_index_item_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
23282
23283    /**
23284     * Go to a given items level on a index widget
23285     *
23286     * @param obj The index object
23287     * @param level The index level (one of @c 0 or @c 1)
23288     *
23289     * @ingroup Index
23290     */
23291    EAPI void            elm_index_item_go(Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
23292
23293    /**
23294     * Return the data associated with a given index widget item
23295     *
23296     * @param it The index widget item handle
23297     * @return The data associated with @p it
23298     *
23299     * @see elm_index_item_data_set()
23300     *
23301     * @ingroup Index
23302     */
23303    EAPI void           *elm_index_item_data_get(const Elm_Index_Item *item) EINA_ARG_NONNULL(1);
23304
23305    /**
23306     * Set the data associated with a given index widget item
23307     *
23308     * @param it The index widget item handle
23309     * @param data The new data pointer to set to @p it
23310     *
23311     * This sets new item data on @p it.
23312     *
23313     * @warning The old data pointer won't be touched by this function, so
23314     * the user had better to free that old data himself/herself.
23315     *
23316     * @ingroup Index
23317     */
23318    EAPI void            elm_index_item_data_set(Elm_Index_Item *it, const void *data) EINA_ARG_NONNULL(1);
23319
23320    /**
23321     * Set the function to be called when a given index widget item is freed.
23322     *
23323     * @param it The item to set the callback on
23324     * @param func The function to call on the item's deletion
23325     *
23326     * When called, @p func will have both @c data and @c event_info
23327     * arguments with the @p it item's data value and, naturally, the
23328     * @c obj argument with a handle to the parent index widget.
23329     *
23330     * @ingroup Index
23331     */
23332    EAPI void            elm_index_item_del_cb_set(Elm_Index_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
23333
23334    /**
23335     * Get the letter (string) set on a given index widget item.
23336     *
23337     * @param it The index item handle
23338     * @return The letter string set on @p it
23339     *
23340     * @ingroup Index
23341     */
23342    EAPI const char     *elm_index_item_letter_get(const Elm_Index_Item *item) EINA_ARG_NONNULL(1);
23343
23344    /**
23345     * @}
23346     */
23347
23348    /**
23349     * @defgroup Photocam Photocam
23350     *
23351     * @image html img/widget/photocam/preview-00.png
23352     * @image latex img/widget/photocam/preview-00.eps
23353     *
23354     * This is a widget specifically for displaying high-resolution digital
23355     * camera photos giving speedy feedback (fast load), low memory footprint
23356     * and zooming and panning as well as fitting logic. It is entirely focused
23357     * on jpeg images, and takes advantage of properties of the jpeg format (via
23358     * evas loader features in the jpeg loader).
23359     *
23360     * Signals that you can add callbacks for are:
23361     * @li "clicked" - This is called when a user has clicked the photo without
23362     *                 dragging around.
23363     * @li "press" - This is called when a user has pressed down on the photo.
23364     * @li "longpressed" - This is called when a user has pressed down on the
23365     *                     photo for a long time without dragging around.
23366     * @li "clicked,double" - This is called when a user has double-clicked the
23367     *                        photo.
23368     * @li "load" - Photo load begins.
23369     * @li "loaded" - This is called when the image file load is complete for the
23370     *                first view (low resolution blurry version).
23371     * @li "load,detail" - Photo detailed data load begins.
23372     * @li "loaded,detail" - This is called when the image file load is complete
23373     *                      for the detailed image data (full resolution needed).
23374     * @li "zoom,start" - Zoom animation started.
23375     * @li "zoom,stop" - Zoom animation stopped.
23376     * @li "zoom,change" - Zoom changed when using an auto zoom mode.
23377     * @li "scroll" - the content has been scrolled (moved)
23378     * @li "scroll,anim,start" - scrolling animation has started
23379     * @li "scroll,anim,stop" - scrolling animation has stopped
23380     * @li "scroll,drag,start" - dragging the contents around has started
23381     * @li "scroll,drag,stop" - dragging the contents around has stopped
23382     *
23383     * @ref tutorial_photocam shows the API in action.
23384     * @{
23385     */
23386
23387    /**
23388     * @brief Types of zoom available.
23389     */
23390    typedef enum _Elm_Photocam_Zoom_Mode
23391      {
23392         ELM_PHOTOCAM_ZOOM_MODE_MANUAL = 0, /**< Zoom controlled normally by elm_photocam_zoom_set */
23393         ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT, /**< Zoom until photo fits in photocam */
23394         ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL, /**< Zoom until photo fills photocam */
23395         ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT_IN, /**< Unzoom until photo fits in photocam */
23396         ELM_PHOTOCAM_ZOOM_MODE_LAST
23397      } Elm_Photocam_Zoom_Mode;
23398
23399    /**
23400     * @brief Add a new Photocam object
23401     *
23402     * @param parent The parent object
23403     * @return The new object or NULL if it cannot be created
23404     */
23405    EAPI Evas_Object           *elm_photocam_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
23406
23407    /**
23408     * @brief Set the photo file to be shown
23409     *
23410     * @param obj The photocam object
23411     * @param file The photo file
23412     * @return The return error (see EVAS_LOAD_ERROR_NONE, EVAS_LOAD_ERROR_GENERIC etc.)
23413     *
23414     * This sets (and shows) the specified file (with a relative or absolute
23415     * path) and will return a load error (same error that
23416     * evas_object_image_load_error_get() will return). The image will change and
23417     * adjust its size at this point and begin a background load process for this
23418     * photo that at some time in the future will be displayed at the full
23419     * quality needed.
23420     */
23421    EAPI Evas_Load_Error        elm_photocam_file_set(Evas_Object *obj, const char *file) EINA_ARG_NONNULL(1);
23422
23423    /**
23424     * @brief Returns the path of the current image file
23425     *
23426     * @param obj The photocam object
23427     * @return Returns the path
23428     *
23429     * @see elm_photocam_file_set()
23430     */
23431    EAPI const char            *elm_photocam_file_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23432
23433    /**
23434     * @brief Set the zoom level of the photo
23435     *
23436     * @param obj The photocam object
23437     * @param zoom The zoom level to set
23438     *
23439     * This sets the zoom level. 1 will be 1:1 pixel for pixel. 2 will be 2:1
23440     * (that is 2x2 photo pixels will display as 1 on-screen pixel). 4:1 will be
23441     * 4x4 photo pixels as 1 screen pixel, and so on. The @p zoom parameter must
23442     * be greater than 0. It is usggested to stick to powers of 2. (1, 2, 4, 8,
23443     * 16, 32, etc.).
23444     */
23445    EAPI void                   elm_photocam_zoom_set(Evas_Object *obj, double zoom) EINA_ARG_NONNULL(1);
23446
23447    /**
23448     * @brief Get the zoom level of the photo
23449     *
23450     * @param obj The photocam object
23451     * @return The current zoom level
23452     *
23453     * This returns the current zoom level of the photocam object. Note that if
23454     * you set the fill mode to other than ELM_PHOTOCAM_ZOOM_MODE_MANUAL
23455     * (which is the default), the zoom level may be changed at any time by the
23456     * photocam object itself to account for photo size and photocam viewpoer
23457     * size.
23458     *
23459     * @see elm_photocam_zoom_set()
23460     * @see elm_photocam_zoom_mode_set()
23461     */
23462    EAPI double                 elm_photocam_zoom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23463
23464    /**
23465     * @brief Set the zoom mode
23466     *
23467     * @param obj The photocam object
23468     * @param mode The desired mode
23469     *
23470     * This sets the zoom mode to manual or one of several automatic levels.
23471     * Manual (ELM_PHOTOCAM_ZOOM_MODE_MANUAL) means that zoom is set manually by
23472     * elm_photocam_zoom_set() and will stay at that level until changed by code
23473     * or until zoom mode is changed. This is the default mode. The Automatic
23474     * modes will allow the photocam object to automatically adjust zoom mode
23475     * based on properties. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT) will adjust zoom so
23476     * the photo fits EXACTLY inside the scroll frame with no pixels outside this
23477     * area. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL will be similar but ensure no
23478     * pixels within the frame are left unfilled.
23479     */
23480    EAPI void                   elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode) EINA_ARG_NONNULL(1);
23481
23482    /**
23483     * @brief Get the zoom mode
23484     *
23485     * @param obj The photocam object
23486     * @return The current zoom mode
23487     *
23488     * This gets the current zoom mode of the photocam object.
23489     *
23490     * @see elm_photocam_zoom_mode_set()
23491     */
23492    EAPI Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23493
23494    /**
23495     * @brief Get the current image pixel width and height
23496     *
23497     * @param obj The photocam object
23498     * @param w A pointer to the width return
23499     * @param h A pointer to the height return
23500     *
23501     * This gets the current photo pixel width and height (for the original).
23502     * The size will be returned in the integers @p w and @p h that are pointed
23503     * to.
23504     */
23505    EAPI void                   elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
23506
23507    /**
23508     * @brief Get the area of the image that is currently shown
23509     *
23510     * @param obj
23511     * @param x A pointer to the X-coordinate of region
23512     * @param y A pointer to the Y-coordinate of region
23513     * @param w A pointer to the width
23514     * @param h A pointer to the height
23515     *
23516     * @see elm_photocam_image_region_show()
23517     * @see elm_photocam_image_region_bring_in()
23518     */
23519    EAPI void                   elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
23520
23521    /**
23522     * @brief Set the viewed portion of the image
23523     *
23524     * @param obj The photocam object
23525     * @param x X-coordinate of region in image original pixels
23526     * @param y Y-coordinate of region in image original pixels
23527     * @param w Width of region in image original pixels
23528     * @param h Height of region in image original pixels
23529     *
23530     * This shows the region of the image without using animation.
23531     */
23532    EAPI void                   elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
23533
23534    /**
23535     * @brief Bring in the viewed portion of the image
23536     *
23537     * @param obj The photocam object
23538     * @param x X-coordinate of region in image original pixels
23539     * @param y Y-coordinate of region in image original pixels
23540     * @param w Width of region in image original pixels
23541     * @param h Height of region in image original pixels
23542     *
23543     * This shows the region of the image using animation.
23544     */
23545    EAPI void                   elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
23546
23547    /**
23548     * @brief Set the paused state for photocam
23549     *
23550     * @param obj The photocam object
23551     * @param paused The pause state to set
23552     *
23553     * This sets the paused state to on(EINA_TRUE) or off (EINA_FALSE) for
23554     * photocam. The default is off. This will stop zooming using animation on
23555     * zoom levels changes and change instantly. This will stop any existing
23556     * animations that are running.
23557     */
23558    EAPI void                   elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
23559
23560    /**
23561     * @brief Get the paused state for photocam
23562     *
23563     * @param obj The photocam object
23564     * @return The current paused state
23565     *
23566     * This gets the current paused state for the photocam object.
23567     *
23568     * @see elm_photocam_paused_set()
23569     */
23570    EAPI Eina_Bool              elm_photocam_paused_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23571
23572    /**
23573     * @brief Get the internal low-res image used for photocam
23574     *
23575     * @param obj The photocam object
23576     * @return The internal image object handle, or NULL if none exists
23577     *
23578     * This gets the internal image object inside photocam. Do not modify it. It
23579     * is for inspection only, and hooking callbacks to. Nothing else. It may be
23580     * deleted at any time as well.
23581     */
23582    EAPI Evas_Object           *elm_photocam_internal_image_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23583
23584    /**
23585     * @brief Set the photocam scrolling bouncing.
23586     *
23587     * @param obj The photocam object
23588     * @param h_bounce bouncing for horizontal
23589     * @param v_bounce bouncing for vertical
23590     */
23591    EAPI void                   elm_photocam_bounce_set(Evas_Object *obj,  Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
23592
23593    /**
23594     * @brief Get the photocam scrolling bouncing.
23595     *
23596     * @param obj The photocam object
23597     * @param h_bounce bouncing for horizontal
23598     * @param v_bounce bouncing for vertical
23599     *
23600     * @see elm_photocam_bounce_set()
23601     */
23602    EAPI void                   elm_photocam_bounce_get(const Evas_Object *obj,  Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
23603
23604    /**
23605     * @}
23606     */
23607
23608    /**
23609     * @defgroup Map Map
23610     * @ingroup Elementary
23611     *
23612     * @image html img/widget/map/preview-00.png
23613     * @image latex img/widget/map/preview-00.eps
23614     *
23615     * This is a widget specifically for displaying a map. It uses basically
23616     * OpenStreetMap provider http://www.openstreetmap.org/,
23617     * but custom providers can be added.
23618     *
23619     * It supports some basic but yet nice features:
23620     * @li zoom and scroll
23621     * @li markers with content to be displayed when user clicks over it
23622     * @li group of markers
23623     * @li routes
23624     *
23625     * Smart callbacks one can listen to:
23626     *
23627     * - "clicked" - This is called when a user has clicked the map without
23628     *   dragging around.
23629     * - "press" - This is called when a user has pressed down on the map.
23630     * - "longpressed" - This is called when a user has pressed down on the map
23631     *   for a long time without dragging around.
23632     * - "clicked,double" - This is called when a user has double-clicked
23633     *   the map.
23634     * - "load,detail" - Map detailed data load begins.
23635     * - "loaded,detail" - This is called when all currently visible parts of
23636     *   the map are loaded.
23637     * - "zoom,start" - Zoom animation started.
23638     * - "zoom,stop" - Zoom animation stopped.
23639     * - "zoom,change" - Zoom changed when using an auto zoom mode.
23640     * - "scroll" - the content has been scrolled (moved).
23641     * - "scroll,anim,start" - scrolling animation has started.
23642     * - "scroll,anim,stop" - scrolling animation has stopped.
23643     * - "scroll,drag,start" - dragging the contents around has started.
23644     * - "scroll,drag,stop" - dragging the contents around has stopped.
23645     * - "downloaded" - This is called when all currently required map images
23646     *   are downloaded.
23647     * - "route,load" - This is called when route request begins.
23648     * - "route,loaded" - This is called when route request ends.
23649     * - "name,load" - This is called when name request begins.
23650     * - "name,loaded- This is called when name request ends.
23651     *
23652     * Available style for map widget:
23653     * - @c "default"
23654     *
23655     * Available style for markers:
23656     * - @c "radio"
23657     * - @c "radio2"
23658     * - @c "empty"
23659     *
23660     * Available style for marker bubble:
23661     * - @c "default"
23662     *
23663     * List of examples:
23664     * @li @ref map_example_01
23665     * @li @ref map_example_02
23666     * @li @ref map_example_03
23667     */
23668
23669    /**
23670     * @addtogroup Map
23671     * @{
23672     */
23673
23674    /**
23675     * @enum _Elm_Map_Zoom_Mode
23676     * @typedef Elm_Map_Zoom_Mode
23677     *
23678     * Set map's zoom behavior. It can be set to manual or automatic.
23679     *
23680     * Default value is #ELM_MAP_ZOOM_MODE_MANUAL.
23681     *
23682     * Values <b> don't </b> work as bitmask, only one can be choosen.
23683     *
23684     * @note Valid sizes are 2^zoom, consequently the map may be smaller
23685     * than the scroller view.
23686     *
23687     * @see elm_map_zoom_mode_set()
23688     * @see elm_map_zoom_mode_get()
23689     *
23690     * @ingroup Map
23691     */
23692    typedef enum _Elm_Map_Zoom_Mode
23693      {
23694         ELM_MAP_ZOOM_MODE_MANUAL, /**< Zoom controlled manually by elm_map_zoom_set(). It's set by default. */
23695         ELM_MAP_ZOOM_MODE_AUTO_FIT, /**< Zoom until map fits inside the scroll frame with no pixels outside this area. */
23696         ELM_MAP_ZOOM_MODE_AUTO_FILL, /**< Zoom until map fills scroll, ensuring no pixels are left unfilled. */
23697         ELM_MAP_ZOOM_MODE_LAST
23698      } Elm_Map_Zoom_Mode;
23699
23700    /**
23701     * @enum _Elm_Map_Route_Sources
23702     * @typedef Elm_Map_Route_Sources
23703     *
23704     * Set route service to be used. By default used source is
23705     * #ELM_MAP_ROUTE_SOURCE_YOURS.
23706     *
23707     * @see elm_map_route_source_set()
23708     * @see elm_map_route_source_get()
23709     *
23710     * @ingroup Map
23711     */
23712    typedef enum _Elm_Map_Route_Sources
23713      {
23714         ELM_MAP_ROUTE_SOURCE_YOURS, /**< Routing service http://www.yournavigation.org/ . Set by default.*/
23715         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. */
23716         ELM_MAP_ROUTE_SOURCE_ORS, /**< Open Route Service: http://www.openrouteservice.org/ . It's not working with Map yet. */
23717         ELM_MAP_ROUTE_SOURCE_LAST
23718      } Elm_Map_Route_Sources;
23719
23720    typedef enum _Elm_Map_Name_Sources
23721      {
23722         ELM_MAP_NAME_SOURCE_NOMINATIM,
23723         ELM_MAP_NAME_SOURCE_LAST
23724      } Elm_Map_Name_Sources;
23725
23726    /**
23727     * @enum _Elm_Map_Route_Type
23728     * @typedef Elm_Map_Route_Type
23729     *
23730     * Set type of transport used on route.
23731     *
23732     * @see elm_map_route_add()
23733     *
23734     * @ingroup Map
23735     */
23736    typedef enum _Elm_Map_Route_Type
23737      {
23738         ELM_MAP_ROUTE_TYPE_MOTOCAR, /**< Route should consider an automobile will be used. */
23739         ELM_MAP_ROUTE_TYPE_BICYCLE, /**< Route should consider a bicycle will be used by the user. */
23740         ELM_MAP_ROUTE_TYPE_FOOT, /**< Route should consider user will be walking. */
23741         ELM_MAP_ROUTE_TYPE_LAST
23742      } Elm_Map_Route_Type;
23743
23744    /**
23745     * @enum _Elm_Map_Route_Method
23746     * @typedef Elm_Map_Route_Method
23747     *
23748     * Set the routing method, what should be priorized, time or distance.
23749     *
23750     * @see elm_map_route_add()
23751     *
23752     * @ingroup Map
23753     */
23754    typedef enum _Elm_Map_Route_Method
23755      {
23756         ELM_MAP_ROUTE_METHOD_FASTEST, /**< Route should priorize time. */
23757         ELM_MAP_ROUTE_METHOD_SHORTEST, /**< Route should priorize distance. */
23758         ELM_MAP_ROUTE_METHOD_LAST
23759      } Elm_Map_Route_Method;
23760
23761    typedef enum _Elm_Map_Name_Method
23762      {
23763         ELM_MAP_NAME_METHOD_SEARCH,
23764         ELM_MAP_NAME_METHOD_REVERSE,
23765         ELM_MAP_NAME_METHOD_LAST
23766      } Elm_Map_Name_Method;
23767
23768    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(). */
23769    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(). */
23770    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(). */
23771    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(). */
23772    typedef struct _Elm_Map_Name            Elm_Map_Name; /**< A handle for specific coordinates. */
23773    typedef struct _Elm_Map_Track           Elm_Map_Track;
23774
23775    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. */
23776    typedef void         (*ElmMapMarkerDelFunc)      (Evas_Object *obj, Elm_Map_Marker *marker, void *data, Evas_Object *o); /**< Function to delete bubble content for marker classes. */
23777    typedef Evas_Object *(*ElmMapMarkerIconGetFunc)  (Evas_Object *obj, Elm_Map_Marker *marker, void *data); /**< Icon fetching class function for marker classes. */
23778    typedef Evas_Object *(*ElmMapGroupIconGetFunc)   (Evas_Object *obj, void *data); /**< Icon fetching class function for markers group classes. */
23779
23780    typedef char        *(*ElmMapModuleSourceFunc) (void);
23781    typedef int          (*ElmMapModuleZoomMinFunc) (void);
23782    typedef int          (*ElmMapModuleZoomMaxFunc) (void);
23783    typedef char        *(*ElmMapModuleUrlFunc) (Evas_Object *obj, int x, int y, int zoom);
23784    typedef int          (*ElmMapModuleRouteSourceFunc) (void);
23785    typedef char        *(*ElmMapModuleRouteUrlFunc) (Evas_Object *obj, char *type_name, int method, double flon, double flat, double tlon, double tlat);
23786    typedef char        *(*ElmMapModuleNameUrlFunc) (Evas_Object *obj, int method, char *name, double lon, double lat);
23787    typedef Eina_Bool    (*ElmMapModuleGeoIntoCoordFunc) (const Evas_Object *obj, int zoom, double lon, double lat, int size, int *x, int *y);
23788    typedef Eina_Bool    (*ElmMapModuleCoordIntoGeoFunc) (const Evas_Object *obj, int zoom, int x, int y, int size, double *lon, double *lat);
23789
23790    /**
23791     * Add a new map widget to the given parent Elementary (container) object.
23792     *
23793     * @param parent The parent object.
23794     * @return a new map widget handle or @c NULL, on errors.
23795     *
23796     * This function inserts a new map widget on the canvas.
23797     *
23798     * @ingroup Map
23799     */
23800    EAPI Evas_Object          *elm_map_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
23801
23802    /**
23803     * Set the zoom level of the map.
23804     *
23805     * @param obj The map object.
23806     * @param zoom The zoom level to set.
23807     *
23808     * This sets the zoom level.
23809     *
23810     * It will respect limits defined by elm_map_source_zoom_min_set() and
23811     * elm_map_source_zoom_max_set().
23812     *
23813     * By default these values are 0 (world map) and 18 (maximum zoom).
23814     *
23815     * This function should be used when zoom mode is set to
23816     * #ELM_MAP_ZOOM_MODE_MANUAL. This is the default mode, and can be set
23817     * with elm_map_zoom_mode_set().
23818     *
23819     * @see elm_map_zoom_mode_set().
23820     * @see elm_map_zoom_get().
23821     *
23822     * @ingroup Map
23823     */
23824    EAPI void                  elm_map_zoom_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
23825
23826    /**
23827     * Get the zoom level of the map.
23828     *
23829     * @param obj The map object.
23830     * @return The current zoom level.
23831     *
23832     * This returns the current zoom level of the map object.
23833     *
23834     * Note that if you set the fill mode to other than #ELM_MAP_ZOOM_MODE_MANUAL
23835     * (which is the default), the zoom level may be changed at any time by the
23836     * map object itself to account for map size and map viewport size.
23837     *
23838     * @see elm_map_zoom_set() for details.
23839     *
23840     * @ingroup Map
23841     */
23842    EAPI int                   elm_map_zoom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23843
23844    /**
23845     * Set the zoom mode used by the map object.
23846     *
23847     * @param obj The map object.
23848     * @param mode The zoom mode of the map, being it one of
23849     * #ELM_MAP_ZOOM_MODE_MANUAL (default), #ELM_MAP_ZOOM_MODE_AUTO_FIT,
23850     * or #ELM_MAP_ZOOM_MODE_AUTO_FILL.
23851     *
23852     * This sets the zoom mode to manual or one of the automatic levels.
23853     * Manual (#ELM_MAP_ZOOM_MODE_MANUAL) means that zoom is set manually by
23854     * elm_map_zoom_set() and will stay at that level until changed by code
23855     * or until zoom mode is changed. This is the default mode.
23856     *
23857     * The Automatic modes will allow the map object to automatically
23858     * adjust zoom mode based on properties. #ELM_MAP_ZOOM_MODE_AUTO_FIT will
23859     * adjust zoom so the map fits inside the scroll frame with no pixels
23860     * outside this area. #ELM_MAP_ZOOM_MODE_AUTO_FILL will be similar but
23861     * ensure no pixels within the frame are left unfilled. Do not forget that
23862     * the valid sizes are 2^zoom, consequently the map may be smaller than
23863     * the scroller view.
23864     *
23865     * @see elm_map_zoom_set()
23866     *
23867     * @ingroup Map
23868     */
23869    EAPI void                  elm_map_zoom_mode_set(Evas_Object *obj, Elm_Map_Zoom_Mode mode) EINA_ARG_NONNULL(1);
23870
23871    /**
23872     * Get the zoom mode used by the map object.
23873     *
23874     * @param obj The map object.
23875     * @return The zoom mode of the map, being it one of
23876     * #ELM_MAP_ZOOM_MODE_MANUAL (default), #ELM_MAP_ZOOM_MODE_AUTO_FIT,
23877     * or #ELM_MAP_ZOOM_MODE_AUTO_FILL.
23878     *
23879     * This function returns the current zoom mode used by the map object.
23880     *
23881     * @see elm_map_zoom_mode_set() for more details.
23882     *
23883     * @ingroup Map
23884     */
23885    EAPI Elm_Map_Zoom_Mode     elm_map_zoom_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23886
23887    /**
23888     * Get the current coordinates of the map.
23889     *
23890     * @param obj The map object.
23891     * @param lon Pointer where to store longitude.
23892     * @param lat Pointer where to store latitude.
23893     *
23894     * This gets the current center coordinates of the map object. It can be
23895     * set by elm_map_geo_region_bring_in() and elm_map_geo_region_show().
23896     *
23897     * @see elm_map_geo_region_bring_in()
23898     * @see elm_map_geo_region_show()
23899     *
23900     * @ingroup Map
23901     */
23902    EAPI void                  elm_map_geo_region_get(const Evas_Object *obj, double *lon, double *lat) EINA_ARG_NONNULL(1);
23903
23904    /**
23905     * Animatedly bring in given coordinates to the center of the map.
23906     *
23907     * @param obj The map object.
23908     * @param lon Longitude to center at.
23909     * @param lat Latitude to center at.
23910     *
23911     * This causes map to jump to the given @p lat and @p lon coordinates
23912     * and show it (by scrolling) in the center of the viewport, if it is not
23913     * already centered. This will use animation to do so and take a period
23914     * of time to complete.
23915     *
23916     * @see elm_map_geo_region_show() for a function to avoid animation.
23917     * @see elm_map_geo_region_get()
23918     *
23919     * @ingroup Map
23920     */
23921    EAPI void                  elm_map_geo_region_bring_in(Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
23922
23923    /**
23924     * Show the given coordinates at the center of the map, @b immediately.
23925     *
23926     * @param obj The map object.
23927     * @param lon Longitude to center at.
23928     * @param lat Latitude to center at.
23929     *
23930     * This causes map to @b redraw its viewport's contents to the
23931     * region contining the given @p lat and @p lon, that will be moved to the
23932     * center of the map.
23933     *
23934     * @see elm_map_geo_region_bring_in() for a function to move with animation.
23935     * @see elm_map_geo_region_get()
23936     *
23937     * @ingroup Map
23938     */
23939    EAPI void                  elm_map_geo_region_show(Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
23940
23941    /**
23942     * Pause or unpause the map.
23943     *
23944     * @param obj The map object.
23945     * @param paused Use @c EINA_TRUE to pause the map @p obj or @c EINA_FALSE
23946     * to unpause it.
23947     *
23948     * This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
23949     * for map.
23950     *
23951     * The default is off.
23952     *
23953     * This will stop zooming using animation, changing zoom levels will
23954     * change instantly. This will stop any existing animations that are running.
23955     *
23956     * @see elm_map_paused_get()
23957     *
23958     * @ingroup Map
23959     */
23960    EAPI void                  elm_map_paused_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
23961
23962    /**
23963     * Get a value whether map is paused or not.
23964     *
23965     * @param obj The map object.
23966     * @return @c EINA_TRUE means map is pause. @c EINA_FALSE indicates
23967     * it is not. If @p obj is @c NULL, @c EINA_FALSE is returned.
23968     *
23969     * This gets the current paused state for the map object.
23970     *
23971     * @see elm_map_paused_set() for details.
23972     *
23973     * @ingroup Map
23974     */
23975    EAPI Eina_Bool             elm_map_paused_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23976
23977    /**
23978     * Set to show markers during zoom level changes or not.
23979     *
23980     * @param obj The map object.
23981     * @param paused Use @c EINA_TRUE to @b not show markers or @c EINA_FALSE
23982     * to show them.
23983     *
23984     * This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
23985     * for map.
23986     *
23987     * The default is off.
23988     *
23989     * This will stop zooming using animation, changing zoom levels will
23990     * change instantly. This will stop any existing animations that are running.
23991     *
23992     * This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
23993     * for the markers.
23994     *
23995     * The default  is off.
23996     *
23997     * Enabling it will force the map to stop displaying the markers during
23998     * zoom level changes. Set to on if you have a large number of markers.
23999     *
24000     * @see elm_map_paused_markers_get()
24001     *
24002     * @ingroup Map
24003     */
24004    EAPI void                  elm_map_paused_markers_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
24005
24006    /**
24007     * Get a value whether markers will be displayed on zoom level changes or not
24008     *
24009     * @param obj The map object.
24010     * @return @c EINA_TRUE means map @b won't display markers or @c EINA_FALSE
24011     * indicates it will. If @p obj is @c NULL, @c EINA_FALSE is returned.
24012     *
24013     * This gets the current markers paused state for the map object.
24014     *
24015     * @see elm_map_paused_markers_set() for details.
24016     *
24017     * @ingroup Map
24018     */
24019    EAPI Eina_Bool             elm_map_paused_markers_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24020
24021    /**
24022     * Get the information of downloading status.
24023     *
24024     * @param obj The map object.
24025     * @param try_num Pointer where to store number of tiles being downloaded.
24026     * @param finish_num Pointer where to store number of tiles successfully
24027     * downloaded.
24028     *
24029     * This gets the current downloading status for the map object, the number
24030     * of tiles being downloaded and the number of tiles already downloaded.
24031     *
24032     * @ingroup Map
24033     */
24034    EAPI void                  elm_map_utils_downloading_status_get(const Evas_Object *obj, int *try_num, int *finish_num) EINA_ARG_NONNULL(1, 2, 3);
24035
24036    /**
24037     * Convert a pixel coordinate (x,y) into a geographic coordinate
24038     * (longitude, latitude).
24039     *
24040     * @param obj The map object.
24041     * @param x the coordinate.
24042     * @param y the coordinate.
24043     * @param size the size in pixels of the map.
24044     * The map is a square and generally his size is : pow(2.0, zoom)*256.
24045     * @param lon Pointer where to store the longitude that correspond to x.
24046     * @param lat Pointer where to store the latitude that correspond to y.
24047     *
24048     * @note Origin pixel point is the top left corner of the viewport.
24049     * Map zoom and size are taken on account.
24050     *
24051     * @see elm_map_utils_convert_geo_into_coord() if you need the inverse.
24052     *
24053     * @ingroup Map
24054     */
24055    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);
24056
24057    /**
24058     * Convert a geographic coordinate (longitude, latitude) into a pixel
24059     * coordinate (x, y).
24060     *
24061     * @param obj The map object.
24062     * @param lon the longitude.
24063     * @param lat the latitude.
24064     * @param size the size in pixels of the map. The map is a square
24065     * and generally his size is : pow(2.0, zoom)*256.
24066     * @param x Pointer where to store the horizontal pixel coordinate that
24067     * correspond to the longitude.
24068     * @param y Pointer where to store the vertical pixel coordinate that
24069     * correspond to the latitude.
24070     *
24071     * @note Origin pixel point is the top left corner of the viewport.
24072     * Map zoom and size are taken on account.
24073     *
24074     * @see elm_map_utils_convert_coord_into_geo() if you need the inverse.
24075     *
24076     * @ingroup Map
24077     */
24078    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);
24079
24080    /**
24081     * Convert a geographic coordinate (longitude, latitude) into a name
24082     * (address).
24083     *
24084     * @param obj The map object.
24085     * @param lon the longitude.
24086     * @param lat the latitude.
24087     * @return name A #Elm_Map_Name handle for this coordinate.
24088     *
24089     * To get the string for this address, elm_map_name_address_get()
24090     * should be used.
24091     *
24092     * @see elm_map_utils_convert_name_into_coord() if you need the inverse.
24093     *
24094     * @ingroup Map
24095     */
24096    EAPI Elm_Map_Name         *elm_map_utils_convert_coord_into_name(const Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
24097
24098    /**
24099     * Convert a name (address) into a geographic coordinate
24100     * (longitude, latitude).
24101     *
24102     * @param obj The map object.
24103     * @param name The address.
24104     * @return name A #Elm_Map_Name handle for this address.
24105     *
24106     * To get the longitude and latitude, elm_map_name_region_get()
24107     * should be used.
24108     *
24109     * @see elm_map_utils_convert_coord_into_name() if you need the inverse.
24110     *
24111     * @ingroup Map
24112     */
24113    EAPI Elm_Map_Name         *elm_map_utils_convert_name_into_coord(const Evas_Object *obj, char *address) EINA_ARG_NONNULL(1, 2);
24114
24115    /**
24116     * Convert a pixel coordinate into a rotated pixel coordinate.
24117     *
24118     * @param obj The map object.
24119     * @param x horizontal coordinate of the point to rotate.
24120     * @param y vertical coordinate of the point to rotate.
24121     * @param cx rotation's center horizontal position.
24122     * @param cy rotation's center vertical position.
24123     * @param degree amount of degrees from 0.0 to 360.0 to rotate arount Z axis.
24124     * @param xx Pointer where to store rotated x.
24125     * @param yy Pointer where to store rotated y.
24126     *
24127     * @ingroup Map
24128     */
24129    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);
24130
24131    /**
24132     * Add a new marker to the map object.
24133     *
24134     * @param obj The map object.
24135     * @param lon The longitude of the marker.
24136     * @param lat The latitude of the marker.
24137     * @param clas The class, to use when marker @b isn't grouped to others.
24138     * @param clas_group The class group, to use when marker is grouped to others
24139     * @param data The data passed to the callbacks.
24140     *
24141     * @return The created marker or @c NULL upon failure.
24142     *
24143     * A marker will be created and shown in a specific point of the map, defined
24144     * by @p lon and @p lat.
24145     *
24146     * It will be displayed using style defined by @p class when this marker
24147     * is displayed alone (not grouped). A new class can be created with
24148     * elm_map_marker_class_new().
24149     *
24150     * If the marker is grouped to other markers, it will be displayed with
24151     * style defined by @p class_group. Markers with the same group are grouped
24152     * if they are close. A new group class can be created with
24153     * elm_map_marker_group_class_new().
24154     *
24155     * Markers created with this method can be deleted with
24156     * elm_map_marker_remove().
24157     *
24158     * A marker can have associated content to be displayed by a bubble,
24159     * when a user click over it, as well as an icon. These objects will
24160     * be fetch using class' callback functions.
24161     *
24162     * @see elm_map_marker_class_new()
24163     * @see elm_map_marker_group_class_new()
24164     * @see elm_map_marker_remove()
24165     *
24166     * @ingroup Map
24167     */
24168    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);
24169
24170    /**
24171     * Set the maximum numbers of markers' content to be displayed in a group.
24172     *
24173     * @param obj The map object.
24174     * @param max The maximum numbers of items displayed in a bubble.
24175     *
24176     * A bubble will be displayed when the user clicks over the group,
24177     * and will place the content of markers that belong to this group
24178     * inside it.
24179     *
24180     * A group can have a long list of markers, consequently the creation
24181     * of the content of the bubble can be very slow.
24182     *
24183     * In order to avoid this, a maximum number of items is displayed
24184     * in a bubble.
24185     *
24186     * By default this number is 30.
24187     *
24188     * Marker with the same group class are grouped if they are close.
24189     *
24190     * @see elm_map_marker_add()
24191     *
24192     * @ingroup Map
24193     */
24194    EAPI void                  elm_map_max_marker_per_group_set(Evas_Object *obj, int max) EINA_ARG_NONNULL(1);
24195
24196    /**
24197     * Remove a marker from the map.
24198     *
24199     * @param marker The marker to remove.
24200     *
24201     * @see elm_map_marker_add()
24202     *
24203     * @ingroup Map
24204     */
24205    EAPI void                  elm_map_marker_remove(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
24206
24207    /**
24208     * Get the current coordinates of the marker.
24209     *
24210     * @param marker marker.
24211     * @param lat Pointer where to store the marker's latitude.
24212     * @param lon Pointer where to store the marker's longitude.
24213     *
24214     * These values are set when adding markers, with function
24215     * elm_map_marker_add().
24216     *
24217     * @see elm_map_marker_add()
24218     *
24219     * @ingroup Map
24220     */
24221    EAPI void                  elm_map_marker_region_get(const Elm_Map_Marker *marker, double *lon, double *lat) EINA_ARG_NONNULL(1);
24222
24223    /**
24224     * Animatedly bring in given marker to the center of the map.
24225     *
24226     * @param marker The marker to center at.
24227     *
24228     * This causes map to jump to the given @p marker's coordinates
24229     * and show it (by scrolling) in the center of the viewport, if it is not
24230     * already centered. This will use animation to do so and take a period
24231     * of time to complete.
24232     *
24233     * @see elm_map_marker_show() for a function to avoid animation.
24234     * @see elm_map_marker_region_get()
24235     *
24236     * @ingroup Map
24237     */
24238    EAPI void                  elm_map_marker_bring_in(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
24239
24240    /**
24241     * Show the given marker at the center of the map, @b immediately.
24242     *
24243     * @param marker The marker to center at.
24244     *
24245     * This causes map to @b redraw its viewport's contents to the
24246     * region contining the given @p marker's coordinates, that will be
24247     * moved to the center of the map.
24248     *
24249     * @see elm_map_marker_bring_in() for a function to move with animation.
24250     * @see elm_map_markers_list_show() if more than one marker need to be
24251     * displayed.
24252     * @see elm_map_marker_region_get()
24253     *
24254     * @ingroup Map
24255     */
24256    EAPI void                  elm_map_marker_show(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
24257
24258    /**
24259     * Move and zoom the map to display a list of markers.
24260     *
24261     * @param markers A list of #Elm_Map_Marker handles.
24262     *
24263     * The map will be centered on the center point of the markers in the list.
24264     * Then the map will be zoomed in order to fit the markers using the maximum
24265     * zoom which allows display of all the markers.
24266     *
24267     * @warning All the markers should belong to the same map object.
24268     *
24269     * @see elm_map_marker_show() to show a single marker.
24270     * @see elm_map_marker_bring_in()
24271     *
24272     * @ingroup Map
24273     */
24274    EAPI void                  elm_map_markers_list_show(Eina_List *markers) EINA_ARG_NONNULL(1);
24275
24276    /**
24277     * Get the Evas object returned by the ElmMapMarkerGetFunc callback
24278     *
24279     * @param marker The marker wich content should be returned.
24280     * @return Return the evas object if it exists, else @c NULL.
24281     *
24282     * To set callback function #ElmMapMarkerGetFunc for the marker class,
24283     * elm_map_marker_class_get_cb_set() should be used.
24284     *
24285     * This content is what will be inside the bubble that will be displayed
24286     * when an user clicks over the marker.
24287     *
24288     * This returns the actual Evas object used to be placed inside
24289     * the bubble. This may be @c NULL, as it may
24290     * not have been created or may have been deleted, at any time, by
24291     * the map. <b>Do not modify this object</b> (move, resize,
24292     * show, hide, etc.), as the map is controlling it. This
24293     * function is for querying, emitting custom signals or hooking
24294     * lower level callbacks for events on that object. Do not delete
24295     * this object under any circumstances.
24296     *
24297     * @ingroup Map
24298     */
24299    EAPI Evas_Object          *elm_map_marker_object_get(const Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
24300
24301    /**
24302     * Update the marker
24303     *
24304     * @param marker The marker to be updated.
24305     *
24306     * If a content is set to this marker, it will call function to delete it,
24307     * #ElmMapMarkerDelFunc, and then will fetch the content again with
24308     * #ElmMapMarkerGetFunc.
24309     *
24310     * These functions are set for the marker class with
24311     * elm_map_marker_class_get_cb_set() and elm_map_marker_class_del_cb_set().
24312     *
24313     * @ingroup Map
24314     */
24315    EAPI void                  elm_map_marker_update(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
24316
24317    /**
24318     * Close all the bubbles opened by the user.
24319     *
24320     * @param obj The map object.
24321     *
24322     * A bubble is displayed with a content fetched with #ElmMapMarkerGetFunc
24323     * when the user clicks on a marker.
24324     *
24325     * This functions is set for the marker class with
24326     * elm_map_marker_class_get_cb_set().
24327     *
24328     * @ingroup Map
24329     */
24330    EAPI void                  elm_map_bubbles_close(Evas_Object *obj) EINA_ARG_NONNULL(1);
24331
24332    /**
24333     * Create a new group class.
24334     *
24335     * @param obj The map object.
24336     * @return Returns the new group class.
24337     *
24338     * Each marker must be associated to a group class. Markers in the same
24339     * group are grouped if they are close.
24340     *
24341     * The group class defines the style of the marker when a marker is grouped
24342     * to others markers. When it is alone, another class will be used.
24343     *
24344     * A group class will need to be provided when creating a marker with
24345     * elm_map_marker_add().
24346     *
24347     * Some properties and functions can be set by class, as:
24348     * - style, with elm_map_group_class_style_set()
24349     * - data - to be associated to the group class. It can be set using
24350     *   elm_map_group_class_data_set().
24351     * - min zoom to display markers, set with
24352     *   elm_map_group_class_zoom_displayed_set().
24353     * - max zoom to group markers, set using
24354     *   elm_map_group_class_zoom_grouped_set().
24355     * - visibility - set if markers will be visible or not, set with
24356     *   elm_map_group_class_hide_set().
24357     * - #ElmMapGroupIconGetFunc - used to fetch icon for markers group classes.
24358     *   It can be set using elm_map_group_class_icon_cb_set().
24359     *
24360     * @see elm_map_marker_add()
24361     * @see elm_map_group_class_style_set()
24362     * @see elm_map_group_class_data_set()
24363     * @see elm_map_group_class_zoom_displayed_set()
24364     * @see elm_map_group_class_zoom_grouped_set()
24365     * @see elm_map_group_class_hide_set()
24366     * @see elm_map_group_class_icon_cb_set()
24367     *
24368     * @ingroup Map
24369     */
24370    EAPI Elm_Map_Group_Class  *elm_map_group_class_new(Evas_Object *obj) EINA_ARG_NONNULL(1);
24371
24372    /**
24373     * Set the marker's style of a group class.
24374     *
24375     * @param clas The group class.
24376     * @param style The style to be used by markers.
24377     *
24378     * Each marker must be associated to a group class, and will use the style
24379     * defined by such class when grouped to other markers.
24380     *
24381     * The following styles are provided by default theme:
24382     * @li @c radio - blue circle
24383     * @li @c radio2 - green circle
24384     * @li @c empty
24385     *
24386     * @see elm_map_group_class_new() for more details.
24387     * @see elm_map_marker_add()
24388     *
24389     * @ingroup Map
24390     */
24391    EAPI void                  elm_map_group_class_style_set(Elm_Map_Group_Class *clas, const char *style) EINA_ARG_NONNULL(1);
24392
24393    /**
24394     * Set the icon callback function of a group class.
24395     *
24396     * @param clas The group class.
24397     * @param icon_get The callback function that will return the icon.
24398     *
24399     * Each marker must be associated to a group class, and it can display a
24400     * custom icon. The function @p icon_get must return this icon.
24401     *
24402     * @see elm_map_group_class_new() for more details.
24403     * @see elm_map_marker_add()
24404     *
24405     * @ingroup Map
24406     */
24407    EAPI void                  elm_map_group_class_icon_cb_set(Elm_Map_Group_Class *clas, ElmMapGroupIconGetFunc icon_get) EINA_ARG_NONNULL(1);
24408
24409    /**
24410     * Set the data associated to the group class.
24411     *
24412     * @param clas The group class.
24413     * @param data The new user data.
24414     *
24415     * This data will be passed for callback functions, like icon get callback,
24416     * that can be set with elm_map_group_class_icon_cb_set().
24417     *
24418     * If a data was previously set, the object will lose the pointer for it,
24419     * so if needs to be freed, you must do it yourself.
24420     *
24421     * @see elm_map_group_class_new() for more details.
24422     * @see elm_map_group_class_icon_cb_set()
24423     * @see elm_map_marker_add()
24424     *
24425     * @ingroup Map
24426     */
24427    EAPI void                  elm_map_group_class_data_set(Elm_Map_Group_Class *clas, void *data) EINA_ARG_NONNULL(1);
24428
24429    /**
24430     * Set the minimum zoom from where the markers are displayed.
24431     *
24432     * @param clas The group class.
24433     * @param zoom The minimum zoom.
24434     *
24435     * Markers only will be displayed when the map is displayed at @p zoom
24436     * or bigger.
24437     *
24438     * @see elm_map_group_class_new() for more details.
24439     * @see elm_map_marker_add()
24440     *
24441     * @ingroup Map
24442     */
24443    EAPI void                  elm_map_group_class_zoom_displayed_set(Elm_Map_Group_Class *clas, int zoom) EINA_ARG_NONNULL(1);
24444
24445    /**
24446     * Set the zoom from where the markers are no more grouped.
24447     *
24448     * @param clas The group class.
24449     * @param zoom The maximum zoom.
24450     *
24451     * Markers only will be grouped when the map is displayed at
24452     * less than @p zoom.
24453     *
24454     * @see elm_map_group_class_new() for more details.
24455     * @see elm_map_marker_add()
24456     *
24457     * @ingroup Map
24458     */
24459    EAPI void                  elm_map_group_class_zoom_grouped_set(Elm_Map_Group_Class *clas, int zoom) EINA_ARG_NONNULL(1);
24460
24461    /**
24462     * Set if the markers associated to the group class @clas are hidden or not.
24463     *
24464     * @param clas The group class.
24465     * @param hide Use @c EINA_TRUE to hide markers or @c EINA_FALSE
24466     * to show them.
24467     *
24468     * If @p hide is @c EINA_TRUE the markers will be hidden, but default
24469     * is to show them.
24470     *
24471     * @ingroup Map
24472     */
24473    EAPI void                  elm_map_group_class_hide_set(Evas_Object *obj, Elm_Map_Group_Class *clas, Eina_Bool hide) EINA_ARG_NONNULL(1, 2);
24474
24475    /**
24476     * Create a new marker class.
24477     *
24478     * @param obj The map object.
24479     * @return Returns the new group class.
24480     *
24481     * Each marker must be associated to a class.
24482     *
24483     * The marker class defines the style of the marker when a marker is
24484     * displayed alone, i.e., not grouped to to others markers. When grouped
24485     * it will use group class style.
24486     *
24487     * A marker class will need to be provided when creating a marker with
24488     * elm_map_marker_add().
24489     *
24490     * Some properties and functions can be set by class, as:
24491     * - style, with elm_map_marker_class_style_set()
24492     * - #ElmMapMarkerIconGetFunc - used to fetch icon for markers classes.
24493     *   It can be set using elm_map_marker_class_icon_cb_set().
24494     * - #ElmMapMarkerGetFunc - used to fetch bubble content for marker classes.
24495     *   Set using elm_map_marker_class_get_cb_set().
24496     * - #ElmMapMarkerDelFunc - used to delete bubble content for marker classes.
24497     *   Set using elm_map_marker_class_del_cb_set().
24498     *
24499     * @see elm_map_marker_add()
24500     * @see elm_map_marker_class_style_set()
24501     * @see elm_map_marker_class_icon_cb_set()
24502     * @see elm_map_marker_class_get_cb_set()
24503     * @see elm_map_marker_class_del_cb_set()
24504     *
24505     * @ingroup Map
24506     */
24507    EAPI Elm_Map_Marker_Class *elm_map_marker_class_new(Evas_Object *obj) EINA_ARG_NONNULL(1);
24508
24509    /**
24510     * Set the marker's style of a marker class.
24511     *
24512     * @param clas The marker class.
24513     * @param style The style to be used by markers.
24514     *
24515     * Each marker must be associated to a marker class, and will use the style
24516     * defined by such class when alone, i.e., @b not grouped to other markers.
24517     *
24518     * The following styles are provided by default theme:
24519     * @li @c radio
24520     * @li @c radio2
24521     * @li @c empty
24522     *
24523     * @see elm_map_marker_class_new() for more details.
24524     * @see elm_map_marker_add()
24525     *
24526     * @ingroup Map
24527     */
24528    EAPI void                  elm_map_marker_class_style_set(Elm_Map_Marker_Class *clas, const char *style) EINA_ARG_NONNULL(1);
24529
24530    /**
24531     * Set the icon callback function of a marker class.
24532     *
24533     * @param clas The marker class.
24534     * @param icon_get The callback function that will return the icon.
24535     *
24536     * Each marker must be associated to a marker class, and it can display a
24537     * custom icon. The function @p icon_get must return this icon.
24538     *
24539     * @see elm_map_marker_class_new() for more details.
24540     * @see elm_map_marker_add()
24541     *
24542     * @ingroup Map
24543     */
24544    EAPI void                  elm_map_marker_class_icon_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerIconGetFunc icon_get) EINA_ARG_NONNULL(1);
24545
24546    /**
24547     * Set the bubble content callback function of a marker class.
24548     *
24549     * @param clas The marker class.
24550     * @param get The callback function that will return the content.
24551     *
24552     * Each marker must be associated to a marker class, and it can display a
24553     * a content on a bubble that opens when the user click over the marker.
24554     * The function @p get must return this content object.
24555     *
24556     * If this content will need to be deleted, elm_map_marker_class_del_cb_set()
24557     * can be used.
24558     *
24559     * @see elm_map_marker_class_new() for more details.
24560     * @see elm_map_marker_class_del_cb_set()
24561     * @see elm_map_marker_add()
24562     *
24563     * @ingroup Map
24564     */
24565    EAPI void                  elm_map_marker_class_get_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerGetFunc get) EINA_ARG_NONNULL(1);
24566
24567    /**
24568     * Set the callback function used to delete bubble content of a marker class.
24569     *
24570     * @param clas The marker class.
24571     * @param del The callback function that will delete the content.
24572     *
24573     * Each marker must be associated to a marker class, and it can display a
24574     * a content on a bubble that opens when the user click over the marker.
24575     * The function to return such content can be set with
24576     * elm_map_marker_class_get_cb_set().
24577     *
24578     * If this content must be freed, a callback function need to be
24579     * set for that task with this function.
24580     *
24581     * If this callback is defined it will have to delete (or not) the
24582     * object inside, but if the callback is not defined the object will be
24583     * destroyed with evas_object_del().
24584     *
24585     * @see elm_map_marker_class_new() for more details.
24586     * @see elm_map_marker_class_get_cb_set()
24587     * @see elm_map_marker_add()
24588     *
24589     * @ingroup Map
24590     */
24591    EAPI void                  elm_map_marker_class_del_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerDelFunc del) EINA_ARG_NONNULL(1);
24592
24593    /**
24594     * Get the list of available sources.
24595     *
24596     * @param obj The map object.
24597     * @return The source names list.
24598     *
24599     * It will provide a list with all available sources, that can be set as
24600     * current source with elm_map_source_name_set(), or get with
24601     * elm_map_source_name_get().
24602     *
24603     * Available sources:
24604     * @li "Mapnik"
24605     * @li "Osmarender"
24606     * @li "CycleMap"
24607     * @li "Maplint"
24608     *
24609     * @see elm_map_source_name_set() for more details.
24610     * @see elm_map_source_name_get()
24611     *
24612     * @ingroup Map
24613     */
24614    EAPI const char          **elm_map_source_names_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24615
24616    /**
24617     * Set the source of the map.
24618     *
24619     * @param obj The map object.
24620     * @param source The source to be used.
24621     *
24622     * Map widget retrieves images that composes the map from a web service.
24623     * This web service can be set with this method.
24624     *
24625     * A different service can return a different maps with different
24626     * information and it can use different zoom values.
24627     *
24628     * The @p source_name need to match one of the names provided by
24629     * elm_map_source_names_get().
24630     *
24631     * The current source can be get using elm_map_source_name_get().
24632     *
24633     * @see elm_map_source_names_get()
24634     * @see elm_map_source_name_get()
24635     *
24636     *
24637     * @ingroup Map
24638     */
24639    EAPI void                  elm_map_source_name_set(Evas_Object *obj, const char *source_name) EINA_ARG_NONNULL(1);
24640
24641    /**
24642     * Get the name of currently used source.
24643     *
24644     * @param obj The map object.
24645     * @return Returns the name of the source in use.
24646     *
24647     * @see elm_map_source_name_set() for more details.
24648     *
24649     * @ingroup Map
24650     */
24651    EAPI const char           *elm_map_source_name_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24652
24653    /**
24654     * Set the source of the route service to be used by the map.
24655     *
24656     * @param obj The map object.
24657     * @param source The route service to be used, being it one of
24658     * #ELM_MAP_ROUTE_SOURCE_YOURS (default), #ELM_MAP_ROUTE_SOURCE_MONAV,
24659     * and #ELM_MAP_ROUTE_SOURCE_ORS.
24660     *
24661     * Each one has its own algorithm, so the route retrieved may
24662     * differ depending on the source route. Now, only the default is working.
24663     *
24664     * #ELM_MAP_ROUTE_SOURCE_YOURS is the routing service provided at
24665     * http://www.yournavigation.org/.
24666     *
24667     * #ELM_MAP_ROUTE_SOURCE_MONAV, offers exact routing without heuristic
24668     * assumptions. Its routing core is based on Contraction Hierarchies.
24669     *
24670     * #ELM_MAP_ROUTE_SOURCE_ORS, is provided at http://www.openrouteservice.org/
24671     *
24672     * @see elm_map_route_source_get().
24673     *
24674     * @ingroup Map
24675     */
24676    EAPI void                  elm_map_route_source_set(Evas_Object *obj, Elm_Map_Route_Sources source) EINA_ARG_NONNULL(1);
24677
24678    /**
24679     * Get the current route source.
24680     *
24681     * @param obj The map object.
24682     * @return The source of the route service used by the map.
24683     *
24684     * @see elm_map_route_source_set() for details.
24685     *
24686     * @ingroup Map
24687     */
24688    EAPI Elm_Map_Route_Sources elm_map_route_source_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24689
24690    /**
24691     * Set the minimum zoom of the source.
24692     *
24693     * @param obj The map object.
24694     * @param zoom New minimum zoom value to be used.
24695     *
24696     * By default, it's 0.
24697     *
24698     * @ingroup Map
24699     */
24700    EAPI void                  elm_map_source_zoom_min_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
24701
24702    /**
24703     * Get the minimum zoom of the source.
24704     *
24705     * @param obj The map object.
24706     * @return Returns the minimum zoom of the source.
24707     *
24708     * @see elm_map_source_zoom_min_set() for details.
24709     *
24710     * @ingroup Map
24711     */
24712    EAPI int                   elm_map_source_zoom_min_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24713
24714    /**
24715     * Set the maximum zoom of the source.
24716     *
24717     * @param obj The map object.
24718     * @param zoom New maximum zoom value to be used.
24719     *
24720     * By default, it's 18.
24721     *
24722     * @ingroup Map
24723     */
24724    EAPI void                  elm_map_source_zoom_max_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
24725
24726    /**
24727     * Get the maximum zoom of the source.
24728     *
24729     * @param obj The map object.
24730     * @return Returns the maximum zoom of the source.
24731     *
24732     * @see elm_map_source_zoom_min_set() for details.
24733     *
24734     * @ingroup Map
24735     */
24736    EAPI int                   elm_map_source_zoom_max_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24737
24738    /**
24739     * Set the user agent used by the map object to access routing services.
24740     *
24741     * @param obj The map object.
24742     * @param user_agent The user agent to be used by the map.
24743     *
24744     * User agent is a client application implementing a network protocol used
24745     * in communications within a clientā€“server distributed computing system
24746     *
24747     * The @p user_agent identification string will transmitted in a header
24748     * field @c User-Agent.
24749     *
24750     * @see elm_map_user_agent_get()
24751     *
24752     * @ingroup Map
24753     */
24754    EAPI void                  elm_map_user_agent_set(Evas_Object *obj, const char *user_agent) EINA_ARG_NONNULL(1, 2);
24755
24756    /**
24757     * Get the user agent used by the map object.
24758     *
24759     * @param obj The map object.
24760     * @return The user agent identification string used by the map.
24761     *
24762     * @see elm_map_user_agent_set() for details.
24763     *
24764     * @ingroup Map
24765     */
24766    EAPI const char           *elm_map_user_agent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24767
24768    /**
24769     * Add a new route to the map object.
24770     *
24771     * @param obj The map object.
24772     * @param type The type of transport to be considered when tracing a route.
24773     * @param method The routing method, what should be priorized.
24774     * @param flon The start longitude.
24775     * @param flat The start latitude.
24776     * @param tlon The destination longitude.
24777     * @param tlat The destination latitude.
24778     *
24779     * @return The created route or @c NULL upon failure.
24780     *
24781     * A route will be traced by point on coordinates (@p flat, @p flon)
24782     * to point on coordinates (@p tlat, @p tlon), using the route service
24783     * set with elm_map_route_source_set().
24784     *
24785     * It will take @p type on consideration to define the route,
24786     * depending if the user will be walking or driving, the route may vary.
24787     * One of #ELM_MAP_ROUTE_TYPE_MOTOCAR, #ELM_MAP_ROUTE_TYPE_BICYCLE, or
24788     * #ELM_MAP_ROUTE_TYPE_FOOT need to be used.
24789     *
24790     * Another parameter is what the route should priorize, the minor distance
24791     * or the less time to be spend on the route. So @p method should be one
24792     * of #ELM_MAP_ROUTE_METHOD_SHORTEST or #ELM_MAP_ROUTE_METHOD_FASTEST.
24793     *
24794     * Routes created with this method can be deleted with
24795     * elm_map_route_remove(), colored with elm_map_route_color_set(),
24796     * and distance can be get with elm_map_route_distance_get().
24797     *
24798     * @see elm_map_route_remove()
24799     * @see elm_map_route_color_set()
24800     * @see elm_map_route_distance_get()
24801     * @see elm_map_route_source_set()
24802     *
24803     * @ingroup Map
24804     */
24805    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);
24806
24807    /**
24808     * Remove a route from the map.
24809     *
24810     * @param route The route to remove.
24811     *
24812     * @see elm_map_route_add()
24813     *
24814     * @ingroup Map
24815     */
24816    EAPI void                  elm_map_route_remove(Elm_Map_Route *route) EINA_ARG_NONNULL(1);
24817
24818    /**
24819     * Set the route color.
24820     *
24821     * @param route The route object.
24822     * @param r Red channel value, from 0 to 255.
24823     * @param g Green channel value, from 0 to 255.
24824     * @param b Blue channel value, from 0 to 255.
24825     * @param a Alpha channel value, from 0 to 255.
24826     *
24827     * It uses an additive color model, so each color channel represents
24828     * how much of each primary colors must to be used. 0 represents
24829     * ausence of this color, so if all of the three are set to 0,
24830     * the color will be black.
24831     *
24832     * These component values should be integers in the range 0 to 255,
24833     * (single 8-bit byte).
24834     *
24835     * This sets the color used for the route. By default, it is set to
24836     * solid red (r = 255, g = 0, b = 0, a = 255).
24837     *
24838     * For alpha channel, 0 represents completely transparent, and 255, opaque.
24839     *
24840     * @see elm_map_route_color_get()
24841     *
24842     * @ingroup Map
24843     */
24844    EAPI void                  elm_map_route_color_set(Elm_Map_Route *route, int r, int g , int b, int a) EINA_ARG_NONNULL(1);
24845
24846    /**
24847     * Get the route color.
24848     *
24849     * @param route The route object.
24850     * @param r Pointer where to store the red channel value.
24851     * @param g Pointer where to store the green channel value.
24852     * @param b Pointer where to store the blue channel value.
24853     * @param a Pointer where to store the alpha channel value.
24854     *
24855     * @see elm_map_route_color_set() for details.
24856     *
24857     * @ingroup Map
24858     */
24859    EAPI void                  elm_map_route_color_get(const Elm_Map_Route *route, int *r, int *g , int *b, int *a) EINA_ARG_NONNULL(1);
24860
24861    /**
24862     * Get the route distance in kilometers.
24863     *
24864     * @param route The route object.
24865     * @return The distance of route (unit : km).
24866     *
24867     * @ingroup Map
24868     */
24869    EAPI double                elm_map_route_distance_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
24870
24871    /**
24872     * Get the information of route nodes.
24873     *
24874     * @param route The route object.
24875     * @return Returns a string with the nodes of route.
24876     *
24877     * @ingroup Map
24878     */
24879    EAPI const char           *elm_map_route_node_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
24880
24881    /**
24882     * Get the information of route waypoint.
24883     *
24884     * @param route the route object.
24885     * @return Returns a string with information about waypoint of route.
24886     *
24887     * @ingroup Map
24888     */
24889    EAPI const char           *elm_map_route_waypoint_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
24890
24891    /**
24892     * Get the address of the name.
24893     *
24894     * @param name The name handle.
24895     * @return Returns the address string of @p name.
24896     *
24897     * This gets the coordinates of the @p name, created with one of the
24898     * conversion functions.
24899     *
24900     * @see elm_map_utils_convert_name_into_coord()
24901     * @see elm_map_utils_convert_coord_into_name()
24902     *
24903     * @ingroup Map
24904     */
24905    EAPI const char           *elm_map_name_address_get(const Elm_Map_Name *name) EINA_ARG_NONNULL(1);
24906
24907    /**
24908     * Get the current coordinates of the name.
24909     *
24910     * @param name The name handle.
24911     * @param lat Pointer where to store the latitude.
24912     * @param lon Pointer where to store The longitude.
24913     *
24914     * This gets the coordinates of the @p name, created with one of the
24915     * conversion functions.
24916     *
24917     * @see elm_map_utils_convert_name_into_coord()
24918     * @see elm_map_utils_convert_coord_into_name()
24919     *
24920     * @ingroup Map
24921     */
24922    EAPI void                  elm_map_name_region_get(const Elm_Map_Name *name, double *lon, double *lat) EINA_ARG_NONNULL(1);
24923
24924    /**
24925     * Remove a name from the map.
24926     *
24927     * @param name The name to remove.
24928     *
24929     * Basically the struct handled by @p name will be freed, so convertions
24930     * between address and coordinates will be lost.
24931     *
24932     * @see elm_map_utils_convert_name_into_coord()
24933     * @see elm_map_utils_convert_coord_into_name()
24934     *
24935     * @ingroup Map
24936     */
24937    EAPI void                  elm_map_name_remove(Elm_Map_Name *name) EINA_ARG_NONNULL(1);
24938
24939    /**
24940     * Rotate the map.
24941     *
24942     * @param obj The map object.
24943     * @param degree Angle from 0.0 to 360.0 to rotate arount Z axis.
24944     * @param cx Rotation's center horizontal position.
24945     * @param cy Rotation's center vertical position.
24946     *
24947     * @see elm_map_rotate_get()
24948     *
24949     * @ingroup Map
24950     */
24951    EAPI void                  elm_map_rotate_set(Evas_Object *obj, double degree, Evas_Coord cx, Evas_Coord cy) EINA_ARG_NONNULL(1);
24952
24953    /**
24954     * Get the rotate degree of the map
24955     *
24956     * @param obj The map object
24957     * @param degree Pointer where to store degrees from 0.0 to 360.0
24958     * to rotate arount Z axis.
24959     * @param cx Pointer where to store rotation's center horizontal position.
24960     * @param cy Pointer where to store rotation's center vertical position.
24961     *
24962     * @see elm_map_rotate_set() to set map rotation.
24963     *
24964     * @ingroup Map
24965     */
24966    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);
24967
24968    /**
24969     * Enable or disable mouse wheel to be used to zoom in / out the map.
24970     *
24971     * @param obj The map object.
24972     * @param disabled Use @c EINA_TRUE to disable mouse wheel or @c EINA_FALSE
24973     * to enable it.
24974     *
24975     * Mouse wheel can be used for the user to zoom in or zoom out the map.
24976     *
24977     * It's disabled by default.
24978     *
24979     * @see elm_map_wheel_disabled_get()
24980     *
24981     * @ingroup Map
24982     */
24983    EAPI void                  elm_map_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
24984
24985    /**
24986     * Get a value whether mouse wheel is enabled or not.
24987     *
24988     * @param obj The map object.
24989     * @return @c EINA_TRUE means map is disabled. @c EINA_FALSE indicates
24990     * it is enabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
24991     *
24992     * Mouse wheel can be used for the user to zoom in or zoom out the map.
24993     *
24994     * @see elm_map_wheel_disabled_set() for details.
24995     *
24996     * @ingroup Map
24997     */
24998    EAPI Eina_Bool             elm_map_wheel_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24999
25000 #ifdef ELM_EMAP
25001    /**
25002     * Add a track on the map
25003     *
25004     * @param obj The map object.
25005     * @param emap The emap route object.
25006     * @return The route object. This is an elm object of type Route.
25007     *
25008     * @see elm_route_add() for details.
25009     *
25010     * @ingroup Map
25011     */
25012    EAPI Evas_Object          *elm_map_track_add(Evas_Object *obj, EMap_Route *emap) EINA_ARG_NONNULL(1);
25013 #endif
25014
25015    /**
25016     * Remove a track from the map
25017     *
25018     * @param obj The map object.
25019     * @param route The track to remove.
25020     *
25021     * @ingroup Map
25022     */
25023    EAPI void                  elm_map_track_remove(Evas_Object *obj, Evas_Object *route) EINA_ARG_NONNULL(1);
25024
25025    /**
25026     * @}
25027     */
25028
25029    /* Route */
25030    EAPI Evas_Object *elm_route_add(Evas_Object *parent);
25031 #ifdef ELM_EMAP
25032    EAPI void elm_route_emap_set(Evas_Object *obj, EMap_Route *emap);
25033 #endif
25034    EAPI double elm_route_lon_min_get(Evas_Object *obj);
25035    EAPI double elm_route_lat_min_get(Evas_Object *obj);
25036    EAPI double elm_route_lon_max_get(Evas_Object *obj);
25037    EAPI double elm_route_lat_max_get(Evas_Object *obj);
25038
25039
25040    /**
25041     * @defgroup Panel Panel
25042     *
25043     * @image html img/widget/panel/preview-00.png
25044     * @image latex img/widget/panel/preview-00.eps
25045     *
25046     * @brief A panel is a type of animated container that contains subobjects.
25047     * It can be expanded or contracted by clicking the button on it's edge.
25048     *
25049     * Orientations are as follows:
25050     * @li ELM_PANEL_ORIENT_TOP
25051     * @li ELM_PANEL_ORIENT_LEFT
25052     * @li ELM_PANEL_ORIENT_RIGHT
25053     *
25054     * Default contents parts of the panel widget that you can use for are:
25055     * @li "default" - A content of the panel
25056     *
25057     * @ref tutorial_panel shows one way to use this widget.
25058     * @{
25059     */
25060    typedef enum _Elm_Panel_Orient
25061      {
25062         ELM_PANEL_ORIENT_TOP, /**< Panel (dis)appears from the top */
25063         ELM_PANEL_ORIENT_BOTTOM, /**< Not implemented */
25064         ELM_PANEL_ORIENT_LEFT, /**< Panel (dis)appears from the left */
25065         ELM_PANEL_ORIENT_RIGHT, /**< Panel (dis)appears from the right */
25066      } Elm_Panel_Orient;
25067
25068    /**
25069     * @brief Adds a panel object
25070     *
25071     * @param parent The parent object
25072     *
25073     * @return The panel object, or NULL on failure
25074     */
25075    EAPI Evas_Object          *elm_panel_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
25076
25077    /**
25078     * @brief Sets the orientation of the panel
25079     *
25080     * @param parent The parent object
25081     * @param orient The panel orientation. Can be one of the following:
25082     * @li ELM_PANEL_ORIENT_TOP
25083     * @li ELM_PANEL_ORIENT_LEFT
25084     * @li ELM_PANEL_ORIENT_RIGHT
25085     *
25086     * Sets from where the panel will (dis)appear.
25087     */
25088    EAPI void                  elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient) EINA_ARG_NONNULL(1);
25089
25090    /**
25091     * @brief Get the orientation of the panel.
25092     *
25093     * @param obj The panel object
25094     * @return The Elm_Panel_Orient, or ELM_PANEL_ORIENT_LEFT on failure.
25095     */
25096    EAPI Elm_Panel_Orient      elm_panel_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25097
25098    /**
25099     * @brief Set the content of the panel.
25100     *
25101     * @param obj The panel object
25102     * @param content The panel content
25103     *
25104     * Once the content object is set, a previously set one will be deleted.
25105     * If you want to keep that old content object, use the
25106     * elm_panel_content_unset() function.
25107     *
25108     * @deprecated use elm_object_content_set() instead
25109     *
25110     */
25111    EINA_DEPRECATED EAPI void                  elm_panel_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
25112
25113    /**
25114     * @brief Get the content of the panel.
25115     *
25116     * @param obj The panel object
25117     * @return The content that is being used
25118     *
25119     * Return the content object which is set for this widget.
25120     *
25121     * @see elm_panel_content_set()
25122     *
25123     * @deprecated use elm_object_content_get() instead
25124     *
25125     */
25126    EINA_DEPRECATED EAPI Evas_Object          *elm_panel_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25127
25128    /**
25129     * @brief Unset the content of the panel.
25130     *
25131     * @param obj The panel object
25132     * @return The content that was being used
25133     *
25134     * Unparent and return the content object which was set for this widget.
25135     *
25136     * @see elm_panel_content_set()
25137     *
25138     * @deprecated use elm_object_content_unset() instead
25139     *
25140     */
25141    EINA_DEPRECATED EAPI Evas_Object          *elm_panel_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
25142
25143    /**
25144     * @brief Set the state of the panel.
25145     *
25146     * @param obj The panel object
25147     * @param hidden If true, the panel will run the animation to contract
25148     */
25149    EAPI void                  elm_panel_hidden_set(Evas_Object *obj, Eina_Bool hidden) EINA_ARG_NONNULL(1);
25150
25151    /**
25152     * @brief Get the state of the panel.
25153     *
25154     * @param obj The panel object
25155     * @param hidden If true, the panel is in the "hide" state
25156     */
25157    EAPI Eina_Bool             elm_panel_hidden_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25158
25159    /**
25160     * @brief Toggle the hidden state of the panel from code
25161     *
25162     * @param obj The panel object
25163     */
25164    EAPI void                  elm_panel_toggle(Evas_Object *obj) EINA_ARG_NONNULL(1);
25165
25166    /**
25167     * @}
25168     */
25169
25170    /**
25171     * @defgroup Panes Panes
25172     * @ingroup Elementary
25173     *
25174     * @image html img/widget/panes/preview-00.png
25175     * @image latex img/widget/panes/preview-00.eps width=\textwidth
25176     *
25177     * @image html img/panes.png
25178     * @image latex img/panes.eps width=\textwidth
25179     *
25180     * The panes adds a dragable bar between two contents. When dragged
25181     * this bar will resize contents size.
25182     *
25183     * Panes can be displayed vertically or horizontally, and contents
25184     * size proportion can be customized (homogeneous by default).
25185     *
25186     * Smart callbacks one can listen to:
25187     * - "press" - The panes has been pressed (button wasn't released yet).
25188     * - "unpressed" - The panes was released after being pressed.
25189     * - "clicked" - The panes has been clicked>
25190     * - "clicked,double" - The panes has been double clicked
25191     *
25192     * Available styles for it:
25193     * - @c "default"
25194     *
25195     * Default contents parts of the panes widget that you can use for are:
25196     * @li "left" - A leftside content of the panes
25197     * @li "right" - A rightside content of the panes
25198     *
25199     * If panes is displayed vertically, left content will be displayed at
25200     * top.
25201     *
25202     * Here is an example on its usage:
25203     * @li @ref panes_example
25204     */
25205
25206    /**
25207     * @addtogroup Panes
25208     * @{
25209     */
25210
25211    /**
25212     * Add a new panes widget to the given parent Elementary
25213     * (container) object.
25214     *
25215     * @param parent The parent object.
25216     * @return a new panes widget handle or @c NULL, on errors.
25217     *
25218     * This function inserts a new panes widget on the canvas.
25219     *
25220     * @ingroup Panes
25221     */
25222    EAPI Evas_Object          *elm_panes_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
25223
25224    /**
25225     * Set the left content of the panes widget.
25226     *
25227     * @param obj The panes object.
25228     * @param content The new left content object.
25229     *
25230     * Once the content object is set, a previously set one will be deleted.
25231     * If you want to keep that old content object, use the
25232     * elm_panes_content_left_unset() function.
25233     *
25234     * If panes is displayed vertically, left content will be displayed at
25235     * top.
25236     *
25237     * @see elm_panes_content_left_get()
25238     * @see elm_panes_content_right_set() to set content on the other side.
25239     *
25240     * @deprecated use elm_object_part_content_set() instead
25241     *
25242     * @ingroup Panes
25243     */
25244    EINA_DEPRECATED EAPI void                  elm_panes_content_left_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
25245
25246    /**
25247     * Set the right content of the panes widget.
25248     *
25249     * @param obj The panes object.
25250     * @param content The new right content object.
25251     *
25252     * Once the content object is set, a previously set one will be deleted.
25253     * If you want to keep that old content object, use the
25254     * elm_panes_content_right_unset() function.
25255     *
25256     * If panes is displayed vertically, left content will be displayed at
25257     * bottom.
25258     *
25259     * @see elm_panes_content_right_get()
25260     * @see elm_panes_content_left_set() to set content on the other side.
25261     *
25262     * @deprecated use elm_object_part_content_set() instead
25263     *
25264     * @ingroup Panes
25265     */
25266    EINA_DEPRECATED EAPI void                  elm_panes_content_right_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
25267
25268    /**
25269     * Get the left content of the panes.
25270     *
25271     * @param obj The panes object.
25272     * @return The left content object that is being used.
25273     *
25274     * Return the left content object which is set for this widget.
25275     *
25276     * @see elm_panes_content_left_set() for details.
25277     *
25278     * @deprecated use elm_object_part_content_get() instead
25279     *
25280     * @ingroup Panes
25281     */
25282    EINA_DEPRECATED EAPI Evas_Object          *elm_panes_content_left_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25283
25284    /**
25285     * Get the right content of the panes.
25286     *
25287     * @param obj The panes object
25288     * @return The right content object that is being used
25289     *
25290     * Return the right content object which is set for this widget.
25291     *
25292     * @see elm_panes_content_right_set() for details.
25293     *
25294     * @deprecated use elm_object_part_content_get() instead
25295     *
25296     * @ingroup Panes
25297     */
25298    EINA_DEPRECATED EAPI Evas_Object          *elm_panes_content_right_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25299
25300    /**
25301     * Unset the left content used for the panes.
25302     *
25303     * @param obj The panes object.
25304     * @return The left content object that was being used.
25305     *
25306     * Unparent and return the left content object which was set for this widget.
25307     *
25308     * @see elm_panes_content_left_set() for details.
25309     * @see elm_panes_content_left_get().
25310     *
25311     * @deprecated use elm_object_part_content_unset() instead
25312     *
25313     * @ingroup Panes
25314     */
25315    EINA_DEPRECATED EAPI Evas_Object          *elm_panes_content_left_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
25316
25317    /**
25318     * Unset the right content used for the panes.
25319     *
25320     * @param obj The panes object.
25321     * @return The right content object that was being used.
25322     *
25323     * Unparent and return the right content object which was set for this
25324     * widget.
25325     *
25326     * @see elm_panes_content_right_set() for details.
25327     * @see elm_panes_content_right_get().
25328     *
25329     * @deprecated use elm_object_part_content_unset() instead
25330     *
25331     * @ingroup Panes
25332     */
25333    EINA_DEPRECATED EAPI Evas_Object          *elm_panes_content_right_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
25334
25335    /**
25336     * Get the size proportion of panes widget's left side.
25337     *
25338     * @param obj The panes object.
25339     * @return float value between 0.0 and 1.0 representing size proportion
25340     * of left side.
25341     *
25342     * @see elm_panes_content_left_size_set() for more details.
25343     *
25344     * @ingroup Panes
25345     */
25346    EAPI double                elm_panes_content_left_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25347
25348    /**
25349     * Set the size proportion of panes widget's left side.
25350     *
25351     * @param obj The panes object.
25352     * @param size Value between 0.0 and 1.0 representing size proportion
25353     * of left side.
25354     *
25355     * By default it's homogeneous, i.e., both sides have the same size.
25356     *
25357     * If something different is required, it can be set with this function.
25358     * For example, if the left content should be displayed over
25359     * 75% of the panes size, @p size should be passed as @c 0.75.
25360     * This way, right content will be resized to 25% of panes size.
25361     *
25362     * If displayed vertically, left content is displayed at top, and
25363     * right content at bottom.
25364     *
25365     * @note This proportion will change when user drags the panes bar.
25366     *
25367     * @see elm_panes_content_left_size_get()
25368     *
25369     * @ingroup Panes
25370     */
25371    EAPI void                  elm_panes_content_left_size_set(Evas_Object *obj, double size) EINA_ARG_NONNULL(1);
25372
25373   /**
25374    * Set the orientation of a given panes widget.
25375    *
25376    * @param obj The panes object.
25377    * @param horizontal Use @c EINA_TRUE to make @p obj to be
25378    * @b horizontal, @c EINA_FALSE to make it @b vertical.
25379    *
25380    * Use this function to change how your panes is to be
25381    * disposed: vertically or horizontally.
25382    *
25383    * By default it's displayed horizontally.
25384    *
25385    * @see elm_panes_horizontal_get()
25386    *
25387    * @ingroup Panes
25388    */
25389    EAPI void                  elm_panes_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
25390
25391    /**
25392     * Retrieve the orientation of a given panes widget.
25393     *
25394     * @param obj The panes object.
25395     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
25396     * @c EINA_FALSE if it's @b vertical (and on errors).
25397     *
25398     * @see elm_panes_horizontal_set() for more details.
25399     *
25400     * @ingroup Panes
25401     */
25402    EAPI Eina_Bool             elm_panes_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25403    EAPI void                  elm_panes_fixed_set(Evas_Object *obj, Eina_Bool fixed) EINA_ARG_NONNULL(1);
25404    EAPI Eina_Bool             elm_panes_fixed_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25405
25406    /**
25407     * @}
25408     */
25409
25410    /**
25411     * @defgroup Flip Flip
25412     *
25413     * @image html img/widget/flip/preview-00.png
25414     * @image latex img/widget/flip/preview-00.eps
25415     *
25416     * This widget holds 2 content objects(Evas_Object): one on the front and one
25417     * on the back. It allows you to flip from front to back and vice-versa using
25418     * various animations.
25419     *
25420     * If either the front or back contents are not set the flip will treat that
25421     * as transparent. So if you wore to set the front content but not the back,
25422     * and then call elm_flip_go() you would see whatever is below the flip.
25423     *
25424     * For a list of supported animations see elm_flip_go().
25425     *
25426     * Signals that you can add callbacks for are:
25427     * "animate,begin" - when a flip animation was started
25428     * "animate,done" - when a flip animation is finished
25429     *
25430     * @ref tutorial_flip show how to use most of the API.
25431     *
25432     * @{
25433     */
25434    typedef enum _Elm_Flip_Mode
25435      {
25436         ELM_FLIP_ROTATE_Y_CENTER_AXIS,
25437         ELM_FLIP_ROTATE_X_CENTER_AXIS,
25438         ELM_FLIP_ROTATE_XZ_CENTER_AXIS,
25439         ELM_FLIP_ROTATE_YZ_CENTER_AXIS,
25440         ELM_FLIP_CUBE_LEFT,
25441         ELM_FLIP_CUBE_RIGHT,
25442         ELM_FLIP_CUBE_UP,
25443         ELM_FLIP_CUBE_DOWN,
25444         ELM_FLIP_PAGE_LEFT,
25445         ELM_FLIP_PAGE_RIGHT,
25446         ELM_FLIP_PAGE_UP,
25447         ELM_FLIP_PAGE_DOWN
25448      } Elm_Flip_Mode;
25449    typedef enum _Elm_Flip_Interaction
25450      {
25451         ELM_FLIP_INTERACTION_NONE,
25452         ELM_FLIP_INTERACTION_ROTATE,
25453         ELM_FLIP_INTERACTION_CUBE,
25454         ELM_FLIP_INTERACTION_PAGE
25455      } Elm_Flip_Interaction;
25456    typedef enum _Elm_Flip_Direction
25457      {
25458         ELM_FLIP_DIRECTION_UP, /**< Allows interaction with the top of the widget */
25459         ELM_FLIP_DIRECTION_DOWN, /**< Allows interaction with the bottom of the widget */
25460         ELM_FLIP_DIRECTION_LEFT, /**< Allows interaction with the left portion of the widget */
25461         ELM_FLIP_DIRECTION_RIGHT /**< Allows interaction with the right portion of the widget */
25462      } Elm_Flip_Direction;
25463
25464    /**
25465     * @brief Add a new flip to the parent
25466     *
25467     * @param parent The parent object
25468     * @return The new object or NULL if it cannot be created
25469     */
25470    EAPI Evas_Object *elm_flip_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
25471
25472    /**
25473     * @brief Set the front content of the flip widget.
25474     *
25475     * @param obj The flip object
25476     * @param content The new front content object
25477     *
25478     * Once the content object is set, a previously set one will be deleted.
25479     * If you want to keep that old content object, use the
25480     * elm_flip_content_front_unset() function.
25481     */
25482    EAPI void         elm_flip_content_front_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
25483
25484    /**
25485     * @brief Set the back content of the flip widget.
25486     *
25487     * @param obj The flip object
25488     * @param content The new back content object
25489     *
25490     * Once the content object is set, a previously set one will be deleted.
25491     * If you want to keep that old content object, use the
25492     * elm_flip_content_back_unset() function.
25493     */
25494    EAPI void         elm_flip_content_back_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
25495
25496    /**
25497     * @brief Get the front content used for the flip
25498     *
25499     * @param obj The flip object
25500     * @return The front content object that is being used
25501     *
25502     * Return the front content object which is set for this widget.
25503     */
25504    EAPI Evas_Object *elm_flip_content_front_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25505
25506    /**
25507     * @brief Get the back content used for the flip
25508     *
25509     * @param obj The flip object
25510     * @return The back content object that is being used
25511     *
25512     * Return the back content object which is set for this widget.
25513     */
25514    EAPI Evas_Object *elm_flip_content_back_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25515
25516    /**
25517     * @brief Unset the front content used for the flip
25518     *
25519     * @param obj The flip object
25520     * @return The front content object that was being used
25521     *
25522     * Unparent and return the front content object which was set for this widget.
25523     */
25524    EAPI Evas_Object *elm_flip_content_front_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
25525
25526    /**
25527     * @brief Unset the back content used for the flip
25528     *
25529     * @param obj The flip object
25530     * @return The back content object that was being used
25531     *
25532     * Unparent and return the back content object which was set for this widget.
25533     */
25534    EAPI Evas_Object *elm_flip_content_back_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
25535
25536    /**
25537     * @brief Get flip front visibility state
25538     *
25539     * @param obj The flip objct
25540     * @return EINA_TRUE if front front is showing, EINA_FALSE if the back is
25541     * showing.
25542     */
25543    EAPI Eina_Bool    elm_flip_front_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25544
25545    /**
25546     * @brief Set flip perspective
25547     *
25548     * @param obj The flip object
25549     * @param foc The coordinate to set the focus on
25550     * @param x The X coordinate
25551     * @param y The Y coordinate
25552     *
25553     * @warning This function currently does nothing.
25554     */
25555    EAPI void         elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1);
25556
25557    /**
25558     * @brief Runs the flip animation
25559     *
25560     * @param obj The flip object
25561     * @param mode The mode type
25562     *
25563     * Flips the front and back contents using the @p mode animation. This
25564     * efectively hides the currently visible content and shows the hidden one.
25565     *
25566     * There a number of possible animations to use for the flipping:
25567     * @li ELM_FLIP_ROTATE_X_CENTER_AXIS - Rotate the currently visible content
25568     * around a horizontal axis in the middle of its height, the other content
25569     * is shown as the other side of the flip.
25570     * @li ELM_FLIP_ROTATE_Y_CENTER_AXIS - Rotate the currently visible content
25571     * around a vertical axis in the middle of its width, the other content is
25572     * shown as the other side of the flip.
25573     * @li ELM_FLIP_ROTATE_XZ_CENTER_AXIS - Rotate the currently visible content
25574     * around a diagonal axis in the middle of its width, the other content is
25575     * shown as the other side of the flip.
25576     * @li ELM_FLIP_ROTATE_YZ_CENTER_AXIS - Rotate the currently visible content
25577     * around a diagonal axis in the middle of its height, the other content is
25578     * shown as the other side of the flip.
25579     * @li ELM_FLIP_CUBE_LEFT - Rotate the currently visible content to the left
25580     * as if the flip was a cube, the other content is show as the right face of
25581     * the cube.
25582     * @li ELM_FLIP_CUBE_RIGHT - Rotate the currently visible content to the
25583     * right as if the flip was a cube, the other content is show as the left
25584     * face of the cube.
25585     * @li ELM_FLIP_CUBE_UP - Rotate the currently visible content up as if the
25586     * flip was a cube, the other content is show as the bottom face of the cube.
25587     * @li ELM_FLIP_CUBE_DOWN - Rotate the currently visible content down as if
25588     * the flip was a cube, the other content is show as the upper face of the
25589     * cube.
25590     * @li ELM_FLIP_PAGE_LEFT - Move the currently visible content to the left as
25591     * if the flip was a book, the other content is shown as the page below that.
25592     * @li ELM_FLIP_PAGE_RIGHT - Move the currently visible content to the right
25593     * as if the flip was a book, the other content is shown as the page below
25594     * that.
25595     * @li ELM_FLIP_PAGE_UP - Move the currently visible content up as if the
25596     * flip was a book, the other content is shown as the page below that.
25597     * @li ELM_FLIP_PAGE_DOWN - Move the currently visible content down as if the
25598     * flip was a book, the other content is shown as the page below that.
25599     *
25600     * @image html elm_flip.png
25601     * @image latex elm_flip.eps width=\textwidth
25602     */
25603    EAPI void         elm_flip_go(Evas_Object *obj, Elm_Flip_Mode mode) EINA_ARG_NONNULL(1);
25604
25605    /**
25606     * @brief Set the interactive flip mode
25607     *
25608     * @param obj The flip object
25609     * @param mode The interactive flip mode to use
25610     *
25611     * This sets if the flip should be interactive (allow user to click and
25612     * drag a side of the flip to reveal the back page and cause it to flip).
25613     * By default a flip is not interactive. You may also need to set which
25614     * sides of the flip are "active" for flipping and how much space they use
25615     * (a minimum of a finger size) with elm_flip_interacton_direction_enabled_set()
25616     * and elm_flip_interacton_direction_hitsize_set()
25617     *
25618     * The four avilable mode of interaction are:
25619     * @li ELM_FLIP_INTERACTION_NONE - No interaction is allowed
25620     * @li ELM_FLIP_INTERACTION_ROTATE - Interaction will cause rotate animation
25621     * @li ELM_FLIP_INTERACTION_CUBE - Interaction will cause cube animation
25622     * @li ELM_FLIP_INTERACTION_PAGE - Interaction will cause page animation
25623     *
25624     * @note ELM_FLIP_INTERACTION_ROTATE won't cause
25625     * ELM_FLIP_ROTATE_XZ_CENTER_AXIS or ELM_FLIP_ROTATE_YZ_CENTER_AXIS to
25626     * happen, those can only be acheived with elm_flip_go();
25627     */
25628    EAPI void         elm_flip_interaction_set(Evas_Object *obj, Elm_Flip_Interaction mode);
25629
25630    /**
25631     * @brief Get the interactive flip mode
25632     *
25633     * @param obj The flip object
25634     * @return The interactive flip mode
25635     *
25636     * Returns the interactive flip mode set by elm_flip_interaction_set()
25637     */
25638    EAPI Elm_Flip_Interaction elm_flip_interaction_get(const Evas_Object *obj);
25639
25640    /**
25641     * @brief Set which directions of the flip respond to interactive flip
25642     *
25643     * @param obj The flip object
25644     * @param dir The direction to change
25645     * @param enabled If that direction is enabled or not
25646     *
25647     * By default all directions are disabled, so you may want to enable the
25648     * desired directions for flipping if you need interactive flipping. You must
25649     * call this function once for each direction that should be enabled.
25650     *
25651     * @see elm_flip_interaction_set()
25652     */
25653    EAPI void         elm_flip_interacton_direction_enabled_set(Evas_Object *obj, Elm_Flip_Direction dir, Eina_Bool enabled);
25654
25655    /**
25656     * @brief Get the enabled state of that flip direction
25657     *
25658     * @param obj The flip object
25659     * @param dir The direction to check
25660     * @return If that direction is enabled or not
25661     *
25662     * Gets the enabled state set by elm_flip_interacton_direction_enabled_set()
25663     *
25664     * @see elm_flip_interaction_set()
25665     */
25666    EAPI Eina_Bool    elm_flip_interacton_direction_enabled_get(Evas_Object *obj, Elm_Flip_Direction dir);
25667
25668    /**
25669     * @brief Set the amount of the flip that is sensitive to interactive flip
25670     *
25671     * @param obj The flip object
25672     * @param dir The direction to modify
25673     * @param hitsize The amount of that dimension (0.0 to 1.0) to use
25674     *
25675     * Set the amount of the flip that is sensitive to interactive flip, with 0
25676     * representing no area in the flip and 1 representing the entire flip. There
25677     * is however a consideration to be made in that the area will never be
25678     * smaller than the finger size set(as set in your Elementary configuration).
25679     *
25680     * @see elm_flip_interaction_set()
25681     */
25682    EAPI void         elm_flip_interacton_direction_hitsize_set(Evas_Object *obj, Elm_Flip_Direction dir, double hitsize);
25683
25684    /**
25685     * @brief Get the amount of the flip that is sensitive to interactive flip
25686     *
25687     * @param obj The flip object
25688     * @param dir The direction to check
25689     * @return The size set for that direction
25690     *
25691     * Returns the amount os sensitive area set by
25692     * elm_flip_interacton_direction_hitsize_set().
25693     */
25694    EAPI double       elm_flip_interacton_direction_hitsize_get(Evas_Object *obj, Elm_Flip_Direction dir);
25695
25696    /**
25697     * @}
25698     */
25699
25700    /* scrolledentry */
25701    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
25702    EINA_DEPRECATED EAPI void         elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line) EINA_ARG_NONNULL(1);
25703    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_single_line_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25704    EINA_DEPRECATED EAPI void         elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password) EINA_ARG_NONNULL(1);
25705    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_password_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25706    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
25707    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_entry_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25708    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_append(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
25709    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_is_empty(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25710    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_selection_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25711    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
25712    EINA_DEPRECATED EAPI void         elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
25713    EINA_DEPRECATED EAPI void         elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
25714    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25715    EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_none(Evas_Object *obj) EINA_ARG_NONNULL(1);
25716    EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
25717    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
25718    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
25719    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_up(Evas_Object *obj) EINA_ARG_NONNULL(1);
25720    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_down(Evas_Object *obj) EINA_ARG_NONNULL(1);
25721    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
25722    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
25723    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
25724    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
25725    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
25726    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
25727    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25728    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25729    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25730    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_pos_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
25731    EINA_DEPRECATED EAPI int          elm_scrolled_entry_cursor_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25732    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_cut(Evas_Object *obj) EINA_ARG_NONNULL(1);
25733    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_copy(Evas_Object *obj) EINA_ARG_NONNULL(1);
25734    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_paste(Evas_Object *obj) EINA_ARG_NONNULL(1);
25735    EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
25736    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);
25737    EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
25738    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25739    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);
25740    EINA_DEPRECATED EAPI void         elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
25741    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);
25742    EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1, 2);
25743    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25744    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
25745    EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
25746    EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_set(Evas_Object *obj, Evas_Object *end) EINA_ARG_NONNULL(1, 2);
25747    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25748    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
25749    EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
25750    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);
25751    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);
25752    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);
25753    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);
25754    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);
25755    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);
25756    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format) EINA_ARG_NONNULL(1);
25757    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format) EINA_ARG_NONNULL(1);
25758    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_save(Evas_Object *obj) EINA_ARG_NONNULL(1);
25759    EINA_DEPRECATED EAPI void         elm_scrolled_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave) EINA_ARG_NONNULL(1);
25760    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_autosave_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25761    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly) EINA_ARG_NONNULL(1);
25762    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cnp_textonly_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
25763
25764    /**
25765     * @defgroup Conformant Conformant
25766     * @ingroup Elementary
25767     *
25768     * @image html img/widget/conformant/preview-00.png
25769     * @image latex img/widget/conformant/preview-00.eps width=\textwidth
25770     *
25771     * @image html img/conformant.png
25772     * @image latex img/conformant.eps width=\textwidth
25773     *
25774     * The aim is to provide a widget that can be used in elementary apps to
25775     * account for space taken up by the indicator, virtual keypad & softkey
25776     * windows when running the illume2 module of E17.
25777     *
25778     * So conformant content will be sized and positioned considering the
25779     * space required for such stuff, and when they popup, as a keyboard
25780     * shows when an entry is selected, conformant content won't change.
25781     *
25782     * Available styles for it:
25783     * - @c "default"
25784     *
25785     * Default contents parts of the conformant widget that you can use for are:
25786     * @li "default" - A content of the conformant
25787     *
25788     * See how to use this widget in this example:
25789     * @ref conformant_example
25790     */
25791
25792    /**
25793     * @addtogroup Conformant
25794     * @{
25795     */
25796
25797    /**
25798     * Add a new conformant widget to the given parent Elementary
25799     * (container) object.
25800     *
25801     * @param parent The parent object.
25802     * @return A new conformant widget handle or @c NULL, on errors.
25803     *
25804     * This function inserts a new conformant widget on the canvas.
25805     *
25806     * @ingroup Conformant
25807     */
25808    EAPI Evas_Object *elm_conformant_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
25809
25810    /**
25811     * Set the content of the conformant widget.
25812     *
25813     * @param obj The conformant object.
25814     * @param content The content to be displayed by the conformant.
25815     *
25816     * Content will be sized and positioned considering the space required
25817     * to display a virtual keyboard. So it won't fill all the conformant
25818     * size. This way is possible to be sure that content won't resize
25819     * or be re-positioned after the keyboard is displayed.
25820     *
25821     * Once the content object is set, a previously set one will be deleted.
25822     * If you want to keep that old content object, use the
25823     * elm_object_content_unset() function.
25824     *
25825     * @see elm_object_content_unset()
25826     * @see elm_object_content_get()
25827     *
25828     * @deprecated use elm_object_content_set() instead
25829     *
25830     * @ingroup Conformant
25831     */
25832    EINA_DEPRECATED EAPI void         elm_conformant_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
25833
25834    /**
25835     * Get the content of the conformant widget.
25836     *
25837     * @param obj The conformant object.
25838     * @return The content that is being used.
25839     *
25840     * Return the content object which is set for this widget.
25841     * It won't be unparent from conformant. For that, use
25842     * elm_object_content_unset().
25843     *
25844     * @see elm_object_content_set().
25845     * @see elm_object_content_unset()
25846     *
25847     * @deprecated use elm_object_content_get() instead
25848     *
25849     * @ingroup Conformant
25850     */
25851    EINA_DEPRECATED EAPI Evas_Object *elm_conformant_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25852
25853    /**
25854     * Unset the content of the conformant widget.
25855     *
25856     * @param obj The conformant object.
25857     * @return The content that was being used.
25858     *
25859     * Unparent and return the content object which was set for this widget.
25860     *
25861     * @see elm_object_content_set().
25862     *
25863     * @deprecated use elm_object_content_unset() instead
25864     *
25865     * @ingroup Conformant
25866     */
25867    EINA_DEPRECATED EAPI Evas_Object *elm_conformant_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
25868
25869    /**
25870     * Returns the Evas_Object that represents the content area.
25871     *
25872     * @param obj The conformant object.
25873     * @return The content area of the widget.
25874     *
25875     * @ingroup Conformant
25876     */
25877    EAPI Evas_Object *elm_conformant_content_area_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25878
25879    /**
25880     * @}
25881     */
25882
25883    /**
25884     * @defgroup Mapbuf Mapbuf
25885     * @ingroup Elementary
25886     *
25887     * @image html img/widget/mapbuf/preview-00.png
25888     * @image latex img/widget/mapbuf/preview-00.eps width=\textwidth
25889     *
25890     * This holds one content object and uses an Evas Map of transformation
25891     * points to be later used with this content. So the content will be
25892     * moved, resized, etc as a single image. So it will improve performance
25893     * when you have a complex interafce, with a lot of elements, and will
25894     * need to resize or move it frequently (the content object and its
25895     * children).
25896     *
25897     * Default contents parts of the mapbuf widget that you can use for are:
25898     * @li "default" - A content of the mapbuf
25899     *
25900     * To enable map, elm_mapbuf_enabled_set() should be used.
25901     *
25902     * See how to use this widget in this example:
25903     * @ref mapbuf_example
25904     */
25905
25906    /**
25907     * @addtogroup Mapbuf
25908     * @{
25909     */
25910
25911    /**
25912     * Add a new mapbuf widget to the given parent Elementary
25913     * (container) object.
25914     *
25915     * @param parent The parent object.
25916     * @return A new mapbuf widget handle or @c NULL, on errors.
25917     *
25918     * This function inserts a new mapbuf widget on the canvas.
25919     *
25920     * @ingroup Mapbuf
25921     */
25922    EAPI Evas_Object *elm_mapbuf_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
25923
25924    /**
25925     * Set the content of the mapbuf.
25926     *
25927     * @param obj The mapbuf object.
25928     * @param content The content that will be filled in this mapbuf object.
25929     *
25930     * Once the content object is set, a previously set one will be deleted.
25931     * If you want to keep that old content object, use the
25932     * elm_mapbuf_content_unset() function.
25933     *
25934     * To enable map, elm_mapbuf_enabled_set() should be used.
25935     *
25936     * @deprecated use elm_object_content_set() instead
25937     *
25938     * @ingroup Mapbuf
25939     */
25940    EINA_DEPRECATED EAPI void         elm_mapbuf_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
25941
25942    /**
25943     * Get the content of the mapbuf.
25944     *
25945     * @param obj The mapbuf object.
25946     * @return The content that is being used.
25947     *
25948     * Return the content object which is set for this widget.
25949     *
25950     * @see elm_mapbuf_content_set() for details.
25951     *
25952     * @deprecated use elm_object_content_get() instead
25953     *
25954     * @ingroup Mapbuf
25955     */
25956    EINA_DEPRECATED EAPI Evas_Object *elm_mapbuf_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25957
25958    /**
25959     * Unset the content of the mapbuf.
25960     *
25961     * @param obj The mapbuf object.
25962     * @return The content that was being used.
25963     *
25964     * Unparent and return the content object which was set for this widget.
25965     *
25966     * @see elm_mapbuf_content_set() for details.
25967     *
25968     * @deprecated use elm_object_content_unset() instead
25969     *
25970     * @ingroup Mapbuf
25971     */
25972    EINA_DEPRECATED EAPI Evas_Object *elm_mapbuf_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
25973
25974    /**
25975     * Enable or disable the map.
25976     *
25977     * @param obj The mapbuf object.
25978     * @param enabled @c EINA_TRUE to enable map or @c EINA_FALSE to disable it.
25979     *
25980     * This enables the map that is set or disables it. On enable, the object
25981     * geometry will be saved, and the new geometry will change (position and
25982     * size) to reflect the map geometry set.
25983     *
25984     * Also, when enabled, alpha and smooth states will be used, so if the
25985     * content isn't solid, alpha should be enabled, for example, otherwise
25986     * a black retangle will fill the content.
25987     *
25988     * When disabled, the stored map will be freed and geometry prior to
25989     * enabling the map will be restored.
25990     *
25991     * It's disabled by default.
25992     *
25993     * @see elm_mapbuf_alpha_set()
25994     * @see elm_mapbuf_smooth_set()
25995     *
25996     * @ingroup Mapbuf
25997     */
25998    EAPI void         elm_mapbuf_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
25999
26000    /**
26001     * Get a value whether map is enabled or not.
26002     *
26003     * @param obj The mapbuf object.
26004     * @return @c EINA_TRUE means map is enabled. @c EINA_FALSE indicates
26005     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
26006     *
26007     * @see elm_mapbuf_enabled_set() for details.
26008     *
26009     * @ingroup Mapbuf
26010     */
26011    EAPI Eina_Bool    elm_mapbuf_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26012
26013    /**
26014     * Enable or disable smooth map rendering.
26015     *
26016     * @param obj The mapbuf object.
26017     * @param smooth @c EINA_TRUE to enable smooth map rendering or @c EINA_FALSE
26018     * to disable it.
26019     *
26020     * This sets smoothing for map rendering. If the object is a type that has
26021     * its own smoothing settings, then both the smooth settings for this object
26022     * and the map must be turned off.
26023     *
26024     * By default smooth maps are enabled.
26025     *
26026     * @ingroup Mapbuf
26027     */
26028    EAPI void         elm_mapbuf_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
26029
26030    /**
26031     * Get a value whether smooth map rendering is enabled or not.
26032     *
26033     * @param obj The mapbuf object.
26034     * @return @c EINA_TRUE means smooth map rendering is enabled. @c EINA_FALSE
26035     * indicates it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
26036     *
26037     * @see elm_mapbuf_smooth_set() for details.
26038     *
26039     * @ingroup Mapbuf
26040     */
26041    EAPI Eina_Bool    elm_mapbuf_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26042
26043    /**
26044     * Set or unset alpha flag for map rendering.
26045     *
26046     * @param obj The mapbuf object.
26047     * @param alpha @c EINA_TRUE to enable alpha blending or @c EINA_FALSE
26048     * to disable it.
26049     *
26050     * This sets alpha flag for map rendering. If the object is a type that has
26051     * its own alpha settings, then this will take precedence. Only image objects
26052     * have this currently. It stops alpha blending of the map area, and is
26053     * useful if you know the object and/or all sub-objects is 100% solid.
26054     *
26055     * Alpha is enabled by default.
26056     *
26057     * @ingroup Mapbuf
26058     */
26059    EAPI void         elm_mapbuf_alpha_set(Evas_Object *obj, Eina_Bool alpha) EINA_ARG_NONNULL(1);
26060
26061    /**
26062     * Get a value whether alpha blending is enabled or not.
26063     *
26064     * @param obj The mapbuf object.
26065     * @return @c EINA_TRUE means alpha blending is enabled. @c EINA_FALSE
26066     * indicates it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
26067     *
26068     * @see elm_mapbuf_alpha_set() for details.
26069     *
26070     * @ingroup Mapbuf
26071     */
26072    EAPI Eina_Bool    elm_mapbuf_alpha_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26073
26074    /**
26075     * @}
26076     */
26077
26078    /**
26079     * @defgroup Flipselector Flip Selector
26080     *
26081     * @image html img/widget/flipselector/preview-00.png
26082     * @image latex img/widget/flipselector/preview-00.eps
26083     *
26084     * A flip selector is a widget to show a set of @b text items, one
26085     * at a time, with the same sheet switching style as the @ref Clock
26086     * "clock" widget, when one changes the current displaying sheet
26087     * (thus, the "flip" in the name).
26088     *
26089     * User clicks to flip sheets which are @b held for some time will
26090     * make the flip selector to flip continuosly and automatically for
26091     * the user. The interval between flips will keep growing in time,
26092     * so that it helps the user to reach an item which is distant from
26093     * the current selection.
26094     *
26095     * Smart callbacks one can register to:
26096     * - @c "selected" - when the widget's selected text item is changed
26097     * - @c "overflowed" - when the widget's current selection is changed
26098     *   from the first item in its list to the last
26099     * - @c "underflowed" - when the widget's current selection is changed
26100     *   from the last item in its list to the first
26101     *
26102     * Available styles for it:
26103     * - @c "default"
26104     *
26105          * To set/get the label of the flipselector item, you can use
26106          * elm_object_item_text_set/get APIs.
26107          * Once the text is set, a previously set one will be deleted.
26108          *
26109     * Here is an example on its usage:
26110     * @li @ref flipselector_example
26111     */
26112
26113    /**
26114     * @addtogroup Flipselector
26115     * @{
26116     */
26117
26118    /**
26119     * Add a new flip selector widget to the given parent Elementary
26120     * (container) widget
26121     *
26122     * @param parent The parent object
26123     * @return a new flip selector widget handle or @c NULL, on errors
26124     *
26125     * This function inserts a new flip selector widget on the canvas.
26126     *
26127     * @ingroup Flipselector
26128     */
26129    EAPI Evas_Object               *elm_flipselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
26130
26131    /**
26132     * Programmatically select the next item of a flip selector widget
26133     *
26134     * @param obj The flipselector object
26135     *
26136     * @note The selection will be animated. Also, if it reaches the
26137     * end of its list of member items, it will continue with the first
26138     * one onwards.
26139     *
26140     * @ingroup Flipselector
26141     */
26142    EAPI void                       elm_flipselector_flip_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
26143
26144    /**
26145     * Programmatically select the previous item of a flip selector
26146     * widget
26147     *
26148     * @param obj The flipselector object
26149     *
26150     * @note The selection will be animated.  Also, if it reaches the
26151     * beginning of its list of member items, it will continue with the
26152     * last one backwards.
26153     *
26154     * @ingroup Flipselector
26155     */
26156    EAPI void                       elm_flipselector_flip_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
26157
26158    /**
26159     * Append a (text) item to a flip selector widget
26160     *
26161     * @param obj The flipselector object
26162     * @param label The (text) label of the new item
26163     * @param func Convenience callback function to take place when
26164     * item is selected
26165     * @param data Data passed to @p func, above
26166     * @return A handle to the item added or @c NULL, on errors
26167     *
26168     * The widget's list of labels to show will be appended with the
26169     * given value. If the user wishes so, a callback function pointer
26170     * can be passed, which will get called when this same item is
26171     * selected.
26172     *
26173     * @note The current selection @b won't be modified by appending an
26174     * element to the list.
26175     *
26176     * @note The maximum length of the text label is going to be
26177     * determined <b>by the widget's theme</b>. Strings larger than
26178     * that value are going to be @b truncated.
26179     *
26180     * @ingroup Flipselector
26181     */
26182    EAPI Elm_Object_Item     *elm_flipselector_item_append(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data) EINA_ARG_NONNULL(1);
26183
26184    /**
26185     * Prepend a (text) item to a flip selector widget
26186     *
26187     * @param obj The flipselector object
26188     * @param label The (text) label of the new item
26189     * @param func Convenience callback function to take place when
26190     * item is selected
26191     * @param data Data passed to @p func, above
26192     * @return A handle to the item added or @c NULL, on errors
26193     *
26194     * The widget's list of labels to show will be prepended with the
26195     * given value. If the user wishes so, a callback function pointer
26196     * can be passed, which will get called when this same item is
26197     * selected.
26198     *
26199     * @note The current selection @b won't be modified by prepending
26200     * an element to the list.
26201     *
26202     * @note The maximum length of the text label is going to be
26203     * determined <b>by the widget's theme</b>. Strings larger than
26204     * that value are going to be @b truncated.
26205     *
26206     * @ingroup Flipselector
26207     */
26208    EAPI Elm_Object_Item     *elm_flipselector_item_prepend(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data) EINA_ARG_NONNULL(1);
26209
26210    /**
26211     * Get the internal list of items in a given flip selector widget.
26212     *
26213     * @param obj The flipselector object
26214     * @return The list of items (#Elm_Object_Item as data) or
26215     * @c NULL on errors.
26216     *
26217     * This list is @b not to be modified in any way and must not be
26218     * freed. Use the list members with functions like
26219     * elm_object_item_text_set(),
26220     * elm_object_item_text_get(),
26221     * elm_flipselector_item_del(),
26222     * elm_flipselector_item_selected_get(),
26223     * elm_flipselector_item_selected_set().
26224     *
26225     * @warning This list is only valid until @p obj object's internal
26226     * items list is changed. It should be fetched again with another
26227     * call to this function when changes happen.
26228     *
26229     * @ingroup Flipselector
26230     */
26231    EAPI const Eina_List           *elm_flipselector_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26232
26233    /**
26234     * Get the first item in the given flip selector widget's list of
26235     * items.
26236     *
26237     * @param obj The flipselector object
26238     * @return The first item or @c NULL, if it has no items (and on
26239     * errors)
26240     *
26241     * @see elm_flipselector_item_append()
26242     * @see elm_flipselector_last_item_get()
26243     *
26244     * @ingroup Flipselector
26245     */
26246    EAPI Elm_Object_Item     *elm_flipselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26247
26248    /**
26249     * Get the last item in the given flip selector widget's list of
26250     * items.
26251     *
26252     * @param obj The flipselector object
26253     * @return The last item or @c NULL, if it has no items (and on
26254     * errors)
26255     *
26256     * @see elm_flipselector_item_prepend()
26257     * @see elm_flipselector_first_item_get()
26258     *
26259     * @ingroup Flipselector
26260     */
26261    EAPI Elm_Object_Item     *elm_flipselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26262
26263    /**
26264     * Get the currently selected item in a flip selector widget.
26265     *
26266     * @param obj The flipselector object
26267     * @return The selected item or @c NULL, if the widget has no items
26268     * (and on erros)
26269     *
26270     * @ingroup Flipselector
26271     */
26272    EAPI Elm_Object_Item     *elm_flipselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26273
26274    /**
26275     * Set whether a given flip selector widget's item should be the
26276     * currently selected one.
26277     *
26278     * @param it The flip selector item
26279     * @param selected @c EINA_TRUE to select it, @c EINA_FALSE to unselect.
26280     *
26281     * This sets whether @p item is or not the selected (thus, under
26282     * display) one. If @p item is different than one under display,
26283     * the latter will be unselected. If the @p item is set to be
26284     * unselected, on the other hand, the @b first item in the widget's
26285     * internal members list will be the new selected one.
26286     *
26287     * @see elm_flipselector_item_selected_get()
26288     *
26289     * @ingroup Flipselector
26290     */
26291    EAPI void                       elm_flipselector_item_selected_set(Elm_Object_Item *it, Eina_Bool selected) EINA_ARG_NONNULL(1);
26292
26293    /**
26294     * Get whether a given flip selector widget's item is the currently
26295     * selected one.
26296     *
26297     * @param it The flip selector item
26298     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
26299     * (or on errors).
26300     *
26301     * @see elm_flipselector_item_selected_set()
26302     *
26303     * @ingroup Flipselector
26304     */
26305    EAPI Eina_Bool                  elm_flipselector_item_selected_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26306
26307    /**
26308     * Delete a given item from a flip selector widget.
26309     *
26310     * @param it The item to delete
26311     *
26312     * @ingroup Flipselector
26313     */
26314    EAPI void                       elm_flipselector_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26315
26316    /**
26317     * Get the label of a given flip selector widget's item.
26318     *
26319     * @param it The item to get label from
26320     * @return The text label of @p item or @c NULL, on errors
26321     *
26322     * @see elm_object_item_text_set()
26323     *
26324     * @deprecated see elm_object_item_text_get() instead
26325     * @ingroup Flipselector
26326     */
26327    EINA_DEPRECATED EAPI const char                *elm_flipselector_item_label_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26328
26329    /**
26330     * Set the label of a given flip selector widget's item.
26331     *
26332     * @param it The item to set label on
26333     * @param label The text label string, in UTF-8 encoding
26334     *
26335     * @see elm_object_item_text_get()
26336     *
26337          * @deprecated see elm_object_item_text_set() instead
26338     * @ingroup Flipselector
26339     */
26340    EINA_DEPRECATED EAPI void                       elm_flipselector_item_label_set(Elm_Object_Item *it, const char *label) EINA_ARG_NONNULL(1);
26341
26342    /**
26343     * Gets the item before @p item in a flip selector widget's
26344     * internal list of items.
26345     *
26346     * @param it The item to fetch previous from
26347     * @return The item before the @p item, in its parent's list. If
26348     *         there is no previous item for @p item or there's an
26349     *         error, @c NULL is returned.
26350     *
26351     * @see elm_flipselector_item_next_get()
26352     *
26353     * @ingroup Flipselector
26354     */
26355    EAPI Elm_Object_Item     *elm_flipselector_item_prev_get(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26356
26357    /**
26358     * Gets the item after @p item in a flip selector widget's
26359     * internal list of items.
26360     *
26361     * @param it The item to fetch next from
26362     * @return The item after the @p item, in its parent's list. If
26363     *         there is no next item for @p item or there's an
26364     *         error, @c NULL is returned.
26365     *
26366     * @see elm_flipselector_item_next_get()
26367     *
26368     * @ingroup Flipselector
26369     */
26370    EAPI Elm_Object_Item     *elm_flipselector_item_next_get(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26371
26372    /**
26373     * Set the interval on time updates for an user mouse button hold
26374     * on a flip selector widget.
26375     *
26376     * @param obj The flip selector object
26377     * @param interval The (first) interval value in seconds
26378     *
26379     * This interval value is @b decreased while the user holds the
26380     * mouse pointer either flipping up or flipping doww a given flip
26381     * selector.
26382     *
26383     * This helps the user to get to a given item distant from the
26384     * current one easier/faster, as it will start to flip quicker and
26385     * quicker on mouse button holds.
26386     *
26387     * The calculation for the next flip interval value, starting from
26388     * the one set with this call, is the previous interval divided by
26389     * 1.05, so it decreases a little bit.
26390     *
26391     * The default starting interval value for automatic flips is
26392     * @b 0.85 seconds.
26393     *
26394     * @see elm_flipselector_interval_get()
26395     *
26396     * @ingroup Flipselector
26397     */
26398    EAPI void                       elm_flipselector_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
26399
26400    /**
26401     * Get the interval on time updates for an user mouse button hold
26402     * on a flip selector widget.
26403     *
26404     * @param obj The flip selector object
26405     * @return The (first) interval value, in seconds, set on it
26406     *
26407     * @see elm_flipselector_interval_set() for more details
26408     *
26409     * @ingroup Flipselector
26410     */
26411    EAPI double                     elm_flipselector_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26412    /**
26413     * @}
26414     */
26415
26416    /**
26417     * @addtogroup Calendar
26418     * @{
26419     */
26420
26421    /**
26422     * @enum _Elm_Calendar_Mark_Repeat
26423     * @typedef Elm_Calendar_Mark_Repeat
26424     *
26425     * Event periodicity, used to define if a mark should be repeated
26426     * @b beyond event's day. It's set when a mark is added.
26427     *
26428     * So, for a mark added to 13th May with periodicity set to WEEKLY,
26429     * there will be marks every week after this date. Marks will be displayed
26430     * at 13th, 20th, 27th, 3rd June ...
26431     *
26432     * Values don't work as bitmask, only one can be choosen.
26433     *
26434     * @see elm_calendar_mark_add()
26435     *
26436     * @ingroup Calendar
26437     */
26438    typedef enum _Elm_Calendar_Mark_Repeat
26439      {
26440         ELM_CALENDAR_UNIQUE, /**< Default value. Marks will be displayed only on event day. */
26441         ELM_CALENDAR_DAILY, /**< Marks will be displayed everyday after event day (inclusive). */
26442         ELM_CALENDAR_WEEKLY, /**< Marks will be displayed every week after event day (inclusive) - i.e. each seven days. */
26443         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*/
26444         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. */
26445      } Elm_Calendar_Mark_Repeat;
26446
26447    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(). */
26448
26449    /**
26450     * Add a new calendar widget to the given parent Elementary
26451     * (container) object.
26452     *
26453     * @param parent The parent object.
26454     * @return a new calendar widget handle or @c NULL, on errors.
26455     *
26456     * This function inserts a new calendar widget on the canvas.
26457     *
26458     * @ref calendar_example_01
26459     *
26460     * @ingroup Calendar
26461     */
26462    EAPI Evas_Object       *elm_calendar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
26463
26464    /**
26465     * Get weekdays names displayed by the calendar.
26466     *
26467     * @param obj The calendar object.
26468     * @return Array of seven strings to be used as weekday names.
26469     *
26470     * By default, weekdays abbreviations get from system are displayed:
26471     * E.g. for an en_US locale: "Sun, Mon, Tue, Wed, Thu, Fri, Sat"
26472     * The first string is related to Sunday, the second to Monday...
26473     *
26474     * @see elm_calendar_weekdays_name_set()
26475     *
26476     * @ref calendar_example_05
26477     *
26478     * @ingroup Calendar
26479     */
26480    EAPI const char       **elm_calendar_weekdays_names_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26481
26482    /**
26483     * Set weekdays names to be displayed by the calendar.
26484     *
26485     * @param obj The calendar object.
26486     * @param weekdays Array of seven strings to be used as weekday names.
26487     * @warning It must have 7 elements, or it will access invalid memory.
26488     * @warning The strings must be NULL terminated ('@\0').
26489     *
26490     * By default, weekdays abbreviations get from system are displayed:
26491     * E.g. for an en_US locale: "Sun, Mon, Tue, Wed, Thu, Fri, Sat"
26492     *
26493     * The first string should be related to Sunday, the second to Monday...
26494     *
26495     * The usage should be like this:
26496     * @code
26497     *   const char *weekdays[] =
26498     *   {
26499     *      "Sunday", "Monday", "Tuesday", "Wednesday",
26500     *      "Thursday", "Friday", "Saturday"
26501     *   };
26502     *   elm_calendar_weekdays_names_set(calendar, weekdays);
26503     * @endcode
26504     *
26505     * @see elm_calendar_weekdays_name_get()
26506     *
26507     * @ref calendar_example_02
26508     *
26509     * @ingroup Calendar
26510     */
26511    EAPI void               elm_calendar_weekdays_names_set(Evas_Object *obj, const char *weekdays[]) EINA_ARG_NONNULL(1, 2);
26512
26513    /**
26514     * Set the minimum and maximum values for the year
26515     *
26516     * @param obj The calendar object
26517     * @param min The minimum year, greater than 1901;
26518     * @param max The maximum year;
26519     *
26520     * Maximum must be greater than minimum, except if you don't wan't to set
26521     * maximum year.
26522     * Default values are 1902 and -1.
26523     *
26524     * If the maximum year is a negative value, it will be limited depending
26525     * on the platform architecture (year 2037 for 32 bits);
26526     *
26527     * @see elm_calendar_min_max_year_get()
26528     *
26529     * @ref calendar_example_03
26530     *
26531     * @ingroup Calendar
26532     */
26533    EAPI void               elm_calendar_min_max_year_set(Evas_Object *obj, int min, int max) EINA_ARG_NONNULL(1);
26534
26535    /**
26536     * Get the minimum and maximum values for the year
26537     *
26538     * @param obj The calendar object.
26539     * @param min The minimum year.
26540     * @param max The maximum year.
26541     *
26542     * Default values are 1902 and -1.
26543     *
26544     * @see elm_calendar_min_max_year_get() for more details.
26545     *
26546     * @ref calendar_example_05
26547     *
26548     * @ingroup Calendar
26549     */
26550    EAPI void               elm_calendar_min_max_year_get(const Evas_Object *obj, int *min, int *max) EINA_ARG_NONNULL(1);
26551
26552    /**
26553     * Enable or disable day selection
26554     *
26555     * @param obj The calendar object.
26556     * @param enabled @c EINA_TRUE to enable selection or @c EINA_FALSE to
26557     * disable it.
26558     *
26559     * Enabled by default. If disabled, the user still can select months,
26560     * but not days. Selected days are highlighted on calendar.
26561     * It should be used if you won't need such selection for the widget usage.
26562     *
26563     * When a day is selected, or month is changed, smart callbacks for
26564     * signal "changed" will be called.
26565     *
26566     * @see elm_calendar_day_selection_enable_get()
26567     *
26568     * @ref calendar_example_04
26569     *
26570     * @ingroup Calendar
26571     */
26572    EAPI void               elm_calendar_day_selection_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
26573
26574    /**
26575     * Get a value whether day selection is enabled or not.
26576     *
26577     * @see elm_calendar_day_selection_enable_set() for details.
26578     *
26579     * @param obj The calendar object.
26580     * @return EINA_TRUE means day selection is enabled. EINA_FALSE indicates
26581     * it's disabled. If @p obj is NULL, EINA_FALSE is returned.
26582     *
26583     * @ref calendar_example_05
26584     *
26585     * @ingroup Calendar
26586     */
26587    EAPI Eina_Bool          elm_calendar_day_selection_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26588
26589
26590    /**
26591     * Set selected date to be highlighted on calendar.
26592     *
26593     * @param obj The calendar object.
26594     * @param selected_time A @b tm struct to represent the selected date.
26595     *
26596     * Set the selected date, changing the displayed month if needed.
26597     * Selected date changes when the user goes to next/previous month or
26598     * select a day pressing over it on calendar.
26599     *
26600     * @see elm_calendar_selected_time_get()
26601     *
26602     * @ref calendar_example_04
26603     *
26604     * @ingroup Calendar
26605     */
26606    EAPI void               elm_calendar_selected_time_set(Evas_Object *obj, struct tm *selected_time) EINA_ARG_NONNULL(1);
26607
26608    /**
26609     * Get selected date.
26610     *
26611     * @param obj The calendar object
26612     * @param selected_time A @b tm struct to point to selected date
26613     * @return EINA_FALSE means an error ocurred and returned time shouldn't
26614     * be considered.
26615     *
26616     * Get date selected by the user or set by function
26617     * elm_calendar_selected_time_set().
26618     * Selected date changes when the user goes to next/previous month or
26619     * select a day pressing over it on calendar.
26620     *
26621     * @see elm_calendar_selected_time_get()
26622     *
26623     * @ref calendar_example_05
26624     *
26625     * @ingroup Calendar
26626     */
26627    EAPI Eina_Bool          elm_calendar_selected_time_get(const Evas_Object *obj, struct tm *selected_time) EINA_ARG_NONNULL(1, 2);
26628
26629    /**
26630     * Set a function to format the string that will be used to display
26631     * month and year;
26632     *
26633     * @param obj The calendar object
26634     * @param format_function Function to set the month-year string given
26635     * the selected date
26636     *
26637     * By default it uses strftime with "%B %Y" format string.
26638     * It should allocate the memory that will be used by the string,
26639     * that will be freed by the widget after usage.
26640     * A pointer to the string and a pointer to the time struct will be provided.
26641     *
26642     * Example:
26643     * @code
26644     * static char *
26645     * _format_month_year(struct tm *selected_time)
26646     * {
26647     *    char buf[32];
26648     *    if (!strftime(buf, sizeof(buf), "%B %Y", selected_time)) return NULL;
26649     *    return strdup(buf);
26650     * }
26651     *
26652     * elm_calendar_format_function_set(calendar, _format_month_year);
26653     * @endcode
26654     *
26655     * @ref calendar_example_02
26656     *
26657     * @ingroup Calendar
26658     */
26659    EAPI void               elm_calendar_format_function_set(Evas_Object *obj, char * (*format_function) (struct tm *stime)) EINA_ARG_NONNULL(1);
26660
26661    /**
26662     * Add a new mark to the calendar
26663     *
26664     * @param obj The calendar object
26665     * @param mark_type A string used to define the type of mark. It will be
26666     * emitted to the theme, that should display a related modification on these
26667     * days representation.
26668     * @param mark_time A time struct to represent the date of inclusion of the
26669     * mark. For marks that repeats it will just be displayed after the inclusion
26670     * date in the calendar.
26671     * @param repeat Repeat the event following this periodicity. Can be a unique
26672     * mark (that don't repeat), daily, weekly, monthly or annually.
26673     * @return The created mark or @p NULL upon failure.
26674     *
26675     * Add a mark that will be drawn in the calendar respecting the insertion
26676     * time and periodicity. It will emit the type as signal to the widget theme.
26677     * Default theme supports "holiday" and "checked", but it can be extended.
26678     *
26679     * It won't immediately update the calendar, drawing the marks.
26680     * For this, call elm_calendar_marks_draw(). However, when user selects
26681     * next or previous month calendar forces marks drawn.
26682     *
26683     * Marks created with this method can be deleted with
26684     * elm_calendar_mark_del().
26685     *
26686     * Example
26687     * @code
26688     * struct tm selected_time;
26689     * time_t current_time;
26690     *
26691     * current_time = time(NULL) + 5 * 84600;
26692     * localtime_r(&current_time, &selected_time);
26693     * elm_calendar_mark_add(cal, "holiday", selected_time,
26694     *     ELM_CALENDAR_ANNUALLY);
26695     *
26696     * current_time = time(NULL) + 1 * 84600;
26697     * localtime_r(&current_time, &selected_time);
26698     * elm_calendar_mark_add(cal, "checked", selected_time, ELM_CALENDAR_UNIQUE);
26699     *
26700     * elm_calendar_marks_draw(cal);
26701     * @endcode
26702     *
26703     * @see elm_calendar_marks_draw()
26704     * @see elm_calendar_mark_del()
26705     *
26706     * @ref calendar_example_06
26707     *
26708     * @ingroup Calendar
26709     */
26710    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);
26711
26712    /**
26713     * Delete mark from the calendar.
26714     *
26715     * @param mark The mark to be deleted.
26716     *
26717     * If deleting all calendar marks is required, elm_calendar_marks_clear()
26718     * should be used instead of getting marks list and deleting each one.
26719     *
26720     * @see elm_calendar_mark_add()
26721     *
26722     * @ref calendar_example_06
26723     *
26724     * @ingroup Calendar
26725     */
26726    EAPI void               elm_calendar_mark_del(Elm_Calendar_Mark *mark) EINA_ARG_NONNULL(1);
26727
26728    /**
26729     * Remove all calendar's marks
26730     *
26731     * @param obj The calendar object.
26732     *
26733     * @see elm_calendar_mark_add()
26734     * @see elm_calendar_mark_del()
26735     *
26736     * @ingroup Calendar
26737     */
26738    EAPI void               elm_calendar_marks_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
26739
26740    /**
26741     * Get a list of all the calendar marks.
26742     *
26743     * @param obj The calendar object.
26744     * @return An @c Eina_List of calendar marks objects, or @c NULL on failure.
26745     *
26746     * @see elm_calendar_mark_add()
26747     * @see elm_calendar_mark_del()
26748     * @see elm_calendar_marks_clear()
26749     *
26750     * @ingroup Calendar
26751     */
26752    EAPI const Eina_List   *elm_calendar_marks_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26753
26754    /**
26755     * Draw calendar marks.
26756     *
26757     * @param obj The calendar object.
26758     *
26759     * Should be used after adding, removing or clearing marks.
26760     * It will go through the entire marks list updating the calendar.
26761     * If lots of marks will be added, add all the marks and then call
26762     * this function.
26763     *
26764     * When the month is changed, i.e. user selects next or previous month,
26765     * marks will be drawed.
26766     *
26767     * @see elm_calendar_mark_add()
26768     * @see elm_calendar_mark_del()
26769     * @see elm_calendar_marks_clear()
26770     *
26771     * @ref calendar_example_06
26772     *
26773     * @ingroup Calendar
26774     */
26775    EAPI void               elm_calendar_marks_draw(Evas_Object *obj) EINA_ARG_NONNULL(1);
26776
26777    /**
26778     * Set a day text color to the same that represents Saturdays.
26779     *
26780     * @param obj The calendar object.
26781     * @param pos The text position. Position is the cell counter, from left
26782     * to right, up to down. It starts on 0 and ends on 41.
26783     *
26784     * @deprecated use elm_calendar_mark_add() instead like:
26785     *
26786     * @code
26787     * struct tm t = { 0, 0, 12, 6, 0, 0, 6, 6, -1 };
26788     * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
26789     * @endcode
26790     *
26791     * @see elm_calendar_mark_add()
26792     *
26793     * @ingroup Calendar
26794     */
26795    EINA_DEPRECATED EAPI void               elm_calendar_text_saturday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
26796
26797    /**
26798     * Set a day text color to the same that represents Sundays.
26799     *
26800     * @param obj The calendar object.
26801     * @param pos The text position. Position is the cell counter, from left
26802     * to right, up to down. It starts on 0 and ends on 41.
26803
26804     * @deprecated use elm_calendar_mark_add() instead like:
26805     *
26806     * @code
26807     * struct tm t = { 0, 0, 12, 7, 0, 0, 0, 0, -1 };
26808     * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
26809     * @endcode
26810     *
26811     * @see elm_calendar_mark_add()
26812     *
26813     * @ingroup Calendar
26814     */
26815    EINA_DEPRECATED EAPI void               elm_calendar_text_sunday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
26816
26817    /**
26818     * Set a day text color to the same that represents Weekdays.
26819     *
26820     * @param obj The calendar object
26821     * @param pos The text position. Position is the cell counter, from left
26822     * to right, up to down. It starts on 0 and ends on 41.
26823     *
26824     * @deprecated use elm_calendar_mark_add() instead like:
26825     *
26826     * @code
26827     * struct tm t = { 0, 0, 12, 1, 0, 0, 0, 0, -1 };
26828     *
26829     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // monday
26830     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
26831     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // tuesday
26832     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
26833     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // wednesday
26834     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
26835     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // thursday
26836     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
26837     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // friday
26838     * @endcode
26839     *
26840     * @see elm_calendar_mark_add()
26841     *
26842     * @ingroup Calendar
26843     */
26844    EINA_DEPRECATED EAPI void               elm_calendar_text_weekday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
26845
26846    /**
26847     * Set the interval on time updates for an user mouse button hold
26848     * on calendar widgets' month selection.
26849     *
26850     * @param obj The calendar object
26851     * @param interval The (first) interval value in seconds
26852     *
26853     * This interval value is @b decreased while the user holds the
26854     * mouse pointer either selecting next or previous month.
26855     *
26856     * This helps the user to get to a given month distant from the
26857     * current one easier/faster, as it will start to change quicker and
26858     * quicker on mouse button holds.
26859     *
26860     * The calculation for the next change interval value, starting from
26861     * the one set with this call, is the previous interval divided by
26862     * 1.05, so it decreases a little bit.
26863     *
26864     * The default starting interval value for automatic changes is
26865     * @b 0.85 seconds.
26866     *
26867     * @see elm_calendar_interval_get()
26868     *
26869     * @ingroup Calendar
26870     */
26871    EAPI void               elm_calendar_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
26872
26873    /**
26874     * Get the interval on time updates for an user mouse button hold
26875     * on calendar widgets' month selection.
26876     *
26877     * @param obj The calendar object
26878     * @return The (first) interval value, in seconds, set on it
26879     *
26880     * @see elm_calendar_interval_set() for more details
26881     *
26882     * @ingroup Calendar
26883     */
26884    EAPI double             elm_calendar_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26885
26886    /**
26887     * @}
26888     */
26889
26890    /**
26891     * @defgroup Diskselector Diskselector
26892     * @ingroup Elementary
26893     *
26894     * @image html img/widget/diskselector/preview-00.png
26895     * @image latex img/widget/diskselector/preview-00.eps
26896     *
26897     * A diskselector is a kind of list widget. It scrolls horizontally,
26898     * and can contain label and icon objects. Three items are displayed
26899     * with the selected one in the middle.
26900     *
26901     * It can act like a circular list with round mode and labels can be
26902     * reduced for a defined length for side items.
26903     *
26904     * Smart callbacks one can listen to:
26905     * - "selected" - when item is selected, i.e. scroller stops.
26906     *
26907     * Available styles for it:
26908     * - @c "default"
26909     *
26910     * List of examples:
26911     * @li @ref diskselector_example_01
26912     * @li @ref diskselector_example_02
26913     */
26914
26915    /**
26916     * @addtogroup Diskselector
26917     * @{
26918     */
26919
26920    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(). */
26921
26922    /**
26923     * Add a new diskselector widget to the given parent Elementary
26924     * (container) object.
26925     *
26926     * @param parent The parent object.
26927     * @return a new diskselector widget handle or @c NULL, on errors.
26928     *
26929     * This function inserts a new diskselector widget on the canvas.
26930     *
26931     * @ingroup Diskselector
26932     */
26933    EAPI Evas_Object           *elm_diskselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
26934
26935    /**
26936     * Enable or disable round mode.
26937     *
26938     * @param obj The diskselector object.
26939     * @param round @c EINA_TRUE to enable round mode or @c EINA_FALSE to
26940     * disable it.
26941     *
26942     * Disabled by default. If round mode is enabled the items list will
26943     * work like a circle list, so when the user reaches the last item,
26944     * the first one will popup.
26945     *
26946     * @see elm_diskselector_round_get()
26947     *
26948     * @ingroup Diskselector
26949     */
26950    EAPI void                   elm_diskselector_round_set(Evas_Object *obj, Eina_Bool round) EINA_ARG_NONNULL(1);
26951
26952    /**
26953     * Get a value whether round mode is enabled or not.
26954     *
26955     * @see elm_diskselector_round_set() for details.
26956     *
26957     * @param obj The diskselector object.
26958     * @return @c EINA_TRUE means round mode is enabled. @c EINA_FALSE indicates
26959     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
26960     *
26961     * @ingroup Diskselector
26962     */
26963    EAPI Eina_Bool              elm_diskselector_round_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26964
26965    /**
26966     * Get the side labels max length.
26967     *
26968     * @deprecated use elm_diskselector_side_label_length_get() instead:
26969     *
26970     * @param obj The diskselector object.
26971     * @return The max length defined for side labels, or 0 if not a valid
26972     * diskselector.
26973     *
26974     * @ingroup Diskselector
26975     */
26976    EINA_DEPRECATED EAPI int    elm_diskselector_side_label_lenght_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26977
26978    /**
26979     * Set the side labels max length.
26980     *
26981     * @deprecated use elm_diskselector_side_label_length_set() instead:
26982     *
26983     * @param obj The diskselector object.
26984     * @param len The max length defined for side labels.
26985     *
26986     * @ingroup Diskselector
26987     */
26988    EINA_DEPRECATED EAPI void   elm_diskselector_side_label_lenght_set(Evas_Object *obj, int len) EINA_ARG_NONNULL(1);
26989
26990    /**
26991     * Get the side labels max length.
26992     *
26993     * @see elm_diskselector_side_label_length_set() for details.
26994     *
26995     * @param obj The diskselector object.
26996     * @return The max length defined for side labels, or 0 if not a valid
26997     * diskselector.
26998     *
26999     * @ingroup Diskselector
27000     */
27001    EAPI int                    elm_diskselector_side_label_length_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
27002
27003    /**
27004     * Set the side labels max length.
27005     *
27006     * @param obj The diskselector object.
27007     * @param len The max length defined for side labels.
27008     *
27009     * Length is the number of characters of items' label that will be
27010     * visible when it's set on side positions. It will just crop
27011     * the string after defined size. E.g.:
27012     *
27013     * An item with label "January" would be displayed on side position as
27014     * "Jan" if max length is set to 3, or "Janu", if this property
27015     * is set to 4.
27016     *
27017     * When it's selected, the entire label will be displayed, except for
27018     * width restrictions. In this case label will be cropped and "..."
27019     * will be concatenated.
27020     *
27021     * Default side label max length is 3.
27022     *
27023     * This property will be applyed over all items, included before or
27024     * later this function call.
27025     *
27026     * @ingroup Diskselector
27027     */
27028    EAPI void                   elm_diskselector_side_label_length_set(Evas_Object *obj, int len) EINA_ARG_NONNULL(1);
27029
27030    /**
27031     * Set the number of items to be displayed.
27032     *
27033     * @param obj The diskselector object.
27034     * @param num The number of items the diskselector will display.
27035     *
27036     * Default value is 3, and also it's the minimun. If @p num is less
27037     * than 3, it will be set to 3.
27038     *
27039     * Also, it can be set on theme, using data item @c display_item_num
27040     * on group "elm/diskselector/item/X", where X is style set.
27041     * E.g.:
27042     *
27043     * group { name: "elm/diskselector/item/X";
27044     * data {
27045     *     item: "display_item_num" "5";
27046     *     }
27047     *
27048     * @ingroup Diskselector
27049     */
27050    EAPI void                   elm_diskselector_display_item_num_set(Evas_Object *obj, int num) EINA_ARG_NONNULL(1);
27051
27052    /**
27053     * Get the number of items in the diskselector object.
27054     *
27055     * @param obj The diskselector object.
27056     *
27057     * @ingroup Diskselector
27058     */
27059    EAPI int                   elm_diskselector_display_item_num_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
27060
27061    /**
27062     * Set bouncing behaviour when the scrolled content reaches an edge.
27063     *
27064     * Tell the internal scroller object whether it should bounce or not
27065     * when it reaches the respective edges for each axis.
27066     *
27067     * @param obj The diskselector object.
27068     * @param h_bounce Whether to bounce or not in the horizontal axis.
27069     * @param v_bounce Whether to bounce or not in the vertical axis.
27070     *
27071     * @see elm_scroller_bounce_set()
27072     *
27073     * @ingroup Diskselector
27074     */
27075    EAPI void                   elm_diskselector_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
27076
27077    /**
27078     * Get the bouncing behaviour of the internal scroller.
27079     *
27080     * Get whether the internal scroller should bounce when the edge of each
27081     * axis is reached scrolling.
27082     *
27083     * @param obj The diskselector object.
27084     * @param h_bounce Pointer where to store the bounce state of the horizontal
27085     * axis.
27086     * @param v_bounce Pointer where to store the bounce state of the vertical
27087     * axis.
27088     *
27089     * @see elm_scroller_bounce_get()
27090     * @see elm_diskselector_bounce_set()
27091     *
27092     * @ingroup Diskselector
27093     */
27094    EAPI void                   elm_diskselector_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
27095
27096    /**
27097     * Get the scrollbar policy.
27098     *
27099     * @see elm_diskselector_scroller_policy_get() for details.
27100     *
27101     * @param obj The diskselector object.
27102     * @param policy_h Pointer where to store horizontal scrollbar policy.
27103     * @param policy_v Pointer where to store vertical scrollbar policy.
27104     *
27105     * @ingroup Diskselector
27106     */
27107    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);
27108
27109    /**
27110     * Set the scrollbar policy.
27111     *
27112     * @param obj The diskselector object.
27113     * @param policy_h Horizontal scrollbar policy.
27114     * @param policy_v Vertical scrollbar policy.
27115     *
27116     * This sets the scrollbar visibility policy for the given scroller.
27117     * #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it
27118     * is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns
27119     * it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off.
27120     * This applies respectively for the horizontal and vertical scrollbars.
27121     *
27122     * The both are disabled by default, i.e., are set to
27123     * #ELM_SCROLLER_POLICY_OFF.
27124     *
27125     * @ingroup Diskselector
27126     */
27127    EAPI void                   elm_diskselector_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
27128
27129    /**
27130     * Remove all diskselector's items.
27131     *
27132     * @param obj The diskselector object.
27133     *
27134     * @see elm_diskselector_item_del()
27135     * @see elm_diskselector_item_append()
27136     *
27137     * @ingroup Diskselector
27138     */
27139    EAPI void                   elm_diskselector_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
27140
27141    /**
27142     * Get a list of all the diskselector items.
27143     *
27144     * @param obj The diskselector object.
27145     * @return An @c Eina_List of diskselector items, #Elm_Diskselector_Item,
27146     * or @c NULL on failure.
27147     *
27148     * @see elm_diskselector_item_append()
27149     * @see elm_diskselector_item_del()
27150     * @see elm_diskselector_clear()
27151     *
27152     * @ingroup Diskselector
27153     */
27154    EAPI const Eina_List       *elm_diskselector_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
27155
27156    /**
27157     * Appends a new item to the diskselector object.
27158     *
27159     * @param obj The diskselector object.
27160     * @param label The label of the diskselector item.
27161     * @param icon The icon object to use at left side of the item. An
27162     * icon can be any Evas object, but usually it is an icon created
27163     * with elm_icon_add().
27164     * @param func The function to call when the item is selected.
27165     * @param data The data to associate with the item for related callbacks.
27166     *
27167     * @return The created item or @c NULL upon failure.
27168     *
27169     * A new item will be created and appended to the diskselector, i.e., will
27170     * be set as last item. Also, if there is no selected item, it will
27171     * be selected. This will always happens for the first appended item.
27172     *
27173     * If no icon is set, label will be centered on item position, otherwise
27174     * the icon will be placed at left of the label, that will be shifted
27175     * to the right.
27176     *
27177     * Items created with this method can be deleted with
27178     * elm_diskselector_item_del().
27179     *
27180     * Associated @p data can be properly freed when item is deleted if a
27181     * callback function is set with elm_diskselector_item_del_cb_set().
27182     *
27183     * If a function is passed as argument, it will be called everytime this item
27184     * is selected, i.e., the user stops the diskselector with this
27185     * item on center position. If such function isn't needed, just passing
27186     * @c NULL as @p func is enough. The same should be done for @p data.
27187     *
27188     * Simple example (with no function callback or data associated):
27189     * @code
27190     * disk = elm_diskselector_add(win);
27191     * ic = elm_icon_add(win);
27192     * elm_icon_file_set(ic, "path/to/image", NULL);
27193     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
27194     * elm_diskselector_item_append(disk, "label", ic, NULL, NULL);
27195     * @endcode
27196     *
27197     * @see elm_diskselector_item_del()
27198     * @see elm_diskselector_item_del_cb_set()
27199     * @see elm_diskselector_clear()
27200     * @see elm_icon_add()
27201     *
27202     * @ingroup Diskselector
27203     */
27204    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);
27205
27206
27207    /**
27208     * Delete them item from the diskselector.
27209     *
27210     * @param it The item of diskselector to be deleted.
27211     *
27212     * If deleting all diskselector items is required, elm_diskselector_clear()
27213     * should be used instead of getting items list and deleting each one.
27214     *
27215     * @see elm_diskselector_clear()
27216     * @see elm_diskselector_item_append()
27217     * @see elm_diskselector_item_del_cb_set()
27218     *
27219     * @ingroup Diskselector
27220     */
27221    EAPI void                   elm_diskselector_item_del(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
27222
27223    /**
27224     * Set the function called when a diskselector item is freed.
27225     *
27226     * @param it The item to set the callback on
27227     * @param func The function called
27228     *
27229     * If there is a @p func, then it will be called prior item's memory release.
27230     * That will be called with the following arguments:
27231     * @li item's data;
27232     * @li item's Evas object;
27233     * @li item itself;
27234     *
27235     * This way, a data associated to a diskselector item could be properly
27236     * freed.
27237     *
27238     * @ingroup Diskselector
27239     */
27240    EAPI void                   elm_diskselector_item_del_cb_set(Elm_Diskselector_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
27241
27242    /**
27243     * Get the data associated to the item.
27244     *
27245     * @param it The diskselector item
27246     * @return The data associated to @p it
27247     *
27248     * The return value is a pointer to data associated to @p item when it was
27249     * created, with function elm_diskselector_item_append(). If no data
27250     * was passed as argument, it will return @c NULL.
27251     *
27252     * @see elm_diskselector_item_append()
27253     *
27254     * @ingroup Diskselector
27255     */
27256    EAPI void                  *elm_diskselector_item_data_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
27257
27258    /**
27259     * Set the icon associated to the item.
27260     *
27261     * @param it The diskselector item
27262     * @param icon The icon object to associate with @p it
27263     *
27264     * The icon object to use at left side of the item. An
27265     * icon can be any Evas object, but usually it is an icon created
27266     * with elm_icon_add().
27267     *
27268     * Once the icon object is set, a previously set one will be deleted.
27269     * @warning Setting the same icon for two items will cause the icon to
27270     * dissapear from the first item.
27271     *
27272     * If an icon was passed as argument on item creation, with function
27273     * elm_diskselector_item_append(), it will be already
27274     * associated to the item.
27275     *
27276     * @see elm_diskselector_item_append()
27277     * @see elm_diskselector_item_icon_get()
27278     *
27279     * @ingroup Diskselector
27280     */
27281    EAPI void                   elm_diskselector_item_icon_set(Elm_Diskselector_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
27282
27283    /**
27284     * Get the icon associated to the item.
27285     *
27286     * @param it The diskselector item
27287     * @return The icon associated to @p it
27288     *
27289     * The return value is a pointer to the icon associated to @p item when it was
27290     * created, with function elm_diskselector_item_append(), or later
27291     * with function elm_diskselector_item_icon_set. If no icon
27292     * was passed as argument, it will return @c NULL.
27293     *
27294     * @see elm_diskselector_item_append()
27295     * @see elm_diskselector_item_icon_set()
27296     *
27297     * @ingroup Diskselector
27298     */
27299    EAPI Evas_Object           *elm_diskselector_item_icon_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
27300
27301    /**
27302     * Set the label of item.
27303     *
27304     * @param it The item of diskselector.
27305     * @param label The label of item.
27306     *
27307     * The label to be displayed by the item.
27308     *
27309     * If no icon is set, label will be centered on item position, otherwise
27310     * the icon will be placed at left of the label, that will be shifted
27311     * to the right.
27312     *
27313     * An item with label "January" would be displayed on side position as
27314     * "Jan" if max length is set to 3 with function
27315     * elm_diskselector_side_label_lenght_set(), or "Janu", if this property
27316     * is set to 4.
27317     *
27318     * When this @p item is selected, the entire label will be displayed,
27319     * except for width restrictions.
27320     * In this case label will be cropped and "..." will be concatenated,
27321     * but only for display purposes. It will keep the entire string, so
27322     * if diskselector is resized the remaining characters will be displayed.
27323     *
27324     * If a label was passed as argument on item creation, with function
27325     * elm_diskselector_item_append(), it will be already
27326     * displayed by the item.
27327     *
27328     * @see elm_diskselector_side_label_lenght_set()
27329     * @see elm_diskselector_item_label_get()
27330     * @see elm_diskselector_item_append()
27331     *
27332     * @ingroup Diskselector
27333     */
27334    EAPI void                   elm_diskselector_item_label_set(Elm_Diskselector_Item *item, const char *label) EINA_ARG_NONNULL(1);
27335
27336    /**
27337     * Get the label of item.
27338     *
27339     * @param it The item of diskselector.
27340     * @return The label of item.
27341     *
27342     * The return value is a pointer to the label associated to @p item when it was
27343     * created, with function elm_diskselector_item_append(), or later
27344     * with function elm_diskselector_item_label_set. If no label
27345     * was passed as argument, it will return @c NULL.
27346     *
27347     * @see elm_diskselector_item_label_set() for more details.
27348     * @see elm_diskselector_item_append()
27349     *
27350     * @ingroup Diskselector
27351     */
27352    EAPI const char            *elm_diskselector_item_label_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
27353
27354    /**
27355     * Get the selected item.
27356     *
27357     * @param obj The diskselector object.
27358     * @return The selected diskselector item.
27359     *
27360     * The selected item can be unselected with function
27361     * elm_diskselector_item_selected_set(), and the first item of
27362     * diskselector will be selected.
27363     *
27364     * The selected item always will be centered on diskselector, with
27365     * full label displayed, i.e., max lenght set to side labels won't
27366     * apply on the selected item. More details on
27367     * elm_diskselector_side_label_length_set().
27368     *
27369     * @ingroup Diskselector
27370     */
27371    EAPI Elm_Diskselector_Item *elm_diskselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
27372
27373    /**
27374     * Set the selected state of an item.
27375     *
27376     * @param it The diskselector item
27377     * @param selected The selected state
27378     *
27379     * This sets the selected state of the given item @p it.
27380     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
27381     *
27382     * If a new item is selected the previosly selected will be unselected.
27383     * Previoulsy selected item can be get with function
27384     * elm_diskselector_selected_item_get().
27385     *
27386     * If the item @p it is unselected, the first item of diskselector will
27387     * be selected.
27388     *
27389     * Selected items will be visible on center position of diskselector.
27390     * So if it was on another position before selected, or was invisible,
27391     * diskselector will animate items until the selected item reaches center
27392     * position.
27393     *
27394     * @see elm_diskselector_item_selected_get()
27395     * @see elm_diskselector_selected_item_get()
27396     *
27397     * @ingroup Diskselector
27398     */
27399    EAPI void                   elm_diskselector_item_selected_set(Elm_Diskselector_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
27400
27401    /*
27402     * Get whether the @p item is selected or not.
27403     *
27404     * @param it The diskselector item.
27405     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
27406     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
27407     *
27408     * @see elm_diskselector_selected_item_set() for details.
27409     * @see elm_diskselector_item_selected_get()
27410     *
27411     * @ingroup Diskselector
27412     */
27413    EAPI Eina_Bool              elm_diskselector_item_selected_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
27414
27415    /**
27416     * Get the first item of the diskselector.
27417     *
27418     * @param obj The diskselector object.
27419     * @return The first item, or @c NULL if none.
27420     *
27421     * The list of items follows append order. So it will return the first
27422     * item appended to the widget that wasn't deleted.
27423     *
27424     * @see elm_diskselector_item_append()
27425     * @see elm_diskselector_items_get()
27426     *
27427     * @ingroup Diskselector
27428     */
27429    EAPI Elm_Diskselector_Item *elm_diskselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
27430
27431    /**
27432     * Get the last item of the diskselector.
27433     *
27434     * @param obj The diskselector object.
27435     * @return The last item, or @c NULL if none.
27436     *
27437     * The list of items follows append order. So it will return last first
27438     * item appended to the widget that wasn't deleted.
27439     *
27440     * @see elm_diskselector_item_append()
27441     * @see elm_diskselector_items_get()
27442     *
27443     * @ingroup Diskselector
27444     */
27445    EAPI Elm_Diskselector_Item *elm_diskselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
27446
27447    /**
27448     * Get the item before @p item in diskselector.
27449     *
27450     * @param it The diskselector item.
27451     * @return The item before @p item, or @c NULL if none or on failure.
27452     *
27453     * The list of items follows append order. So it will return item appended
27454     * just before @p item and that wasn't deleted.
27455     *
27456     * If it is the first item, @c NULL will be returned.
27457     * First item can be get by elm_diskselector_first_item_get().
27458     *
27459     * @see elm_diskselector_item_append()
27460     * @see elm_diskselector_items_get()
27461     *
27462     * @ingroup Diskselector
27463     */
27464    EAPI Elm_Diskselector_Item *elm_diskselector_item_prev_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
27465
27466    /**
27467     * Get the item after @p item in diskselector.
27468     *
27469     * @param it The diskselector item.
27470     * @return The item after @p item, or @c NULL if none or on failure.
27471     *
27472     * The list of items follows append order. So it will return item appended
27473     * just after @p item and that wasn't deleted.
27474     *
27475     * If it is the last item, @c NULL will be returned.
27476     * Last item can be get by elm_diskselector_last_item_get().
27477     *
27478     * @see elm_diskselector_item_append()
27479     * @see elm_diskselector_items_get()
27480     *
27481     * @ingroup Diskselector
27482     */
27483    EAPI Elm_Diskselector_Item *elm_diskselector_item_next_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
27484
27485    /**
27486     * Set the text to be shown in the diskselector item.
27487     *
27488     * @param item Target item
27489     * @param text The text to set in the content
27490     *
27491     * Setup the text as tooltip to object. The item can have only one tooltip,
27492     * so any previous tooltip data is removed.
27493     *
27494     * @see elm_object_tooltip_text_set() for more details.
27495     *
27496     * @ingroup Diskselector
27497     */
27498    EAPI void                   elm_diskselector_item_tooltip_text_set(Elm_Diskselector_Item *item, const char *text) EINA_ARG_NONNULL(1);
27499
27500    /**
27501     * Set the content to be shown in the tooltip item.
27502     *
27503     * Setup the tooltip to item. The item can have only one tooltip,
27504     * so any previous tooltip data is removed. @p func(with @p data) will
27505     * be called every time that need show the tooltip and it should
27506     * return a valid Evas_Object. This object is then managed fully by
27507     * tooltip system and is deleted when the tooltip is gone.
27508     *
27509     * @param item the diskselector item being attached a tooltip.
27510     * @param func the function used to create the tooltip contents.
27511     * @param data what to provide to @a func as callback data/context.
27512     * @param del_cb called when data is not needed anymore, either when
27513     *        another callback replaces @p func, the tooltip is unset with
27514     *        elm_diskselector_item_tooltip_unset() or the owner @a item
27515     *        dies. This callback receives as the first parameter the
27516     *        given @a data, and @c event_info is the item.
27517     *
27518     * @see elm_object_tooltip_content_cb_set() for more details.
27519     *
27520     * @ingroup Diskselector
27521     */
27522    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);
27523
27524    /**
27525     * Unset tooltip from item.
27526     *
27527     * @param item diskselector item to remove previously set tooltip.
27528     *
27529     * Remove tooltip from item. The callback provided as del_cb to
27530     * elm_diskselector_item_tooltip_content_cb_set() will be called to notify
27531     * it is not used anymore.
27532     *
27533     * @see elm_object_tooltip_unset() for more details.
27534     * @see elm_diskselector_item_tooltip_content_cb_set()
27535     *
27536     * @ingroup Diskselector
27537     */
27538    EAPI void                   elm_diskselector_item_tooltip_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
27539
27540    /**
27541     * Sets a different style for this item tooltip.
27542     *
27543     * @note before you set a style you should define a tooltip with
27544     *       elm_diskselector_item_tooltip_content_cb_set() or
27545     *       elm_diskselector_item_tooltip_text_set()
27546     *
27547     * @param item diskselector item with tooltip already set.
27548     * @param style the theme style to use (default, transparent, ...)
27549     *
27550     * @see elm_object_tooltip_style_set() for more details.
27551     *
27552     * @ingroup Diskselector
27553     */
27554    EAPI void                   elm_diskselector_item_tooltip_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
27555
27556    /**
27557     * Get the style for this item tooltip.
27558     *
27559     * @param item diskselector item with tooltip already set.
27560     * @return style the theme style in use, defaults to "default". If the
27561     *         object does not have a tooltip set, then NULL is returned.
27562     *
27563     * @see elm_object_tooltip_style_get() for more details.
27564     * @see elm_diskselector_item_tooltip_style_set()
27565     *
27566     * @ingroup Diskselector
27567     */
27568    EAPI const char            *elm_diskselector_item_tooltip_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
27569
27570    /**
27571     * Set the cursor to be shown when mouse is over the diskselector item
27572     *
27573     * @param item Target item
27574     * @param cursor the cursor name to be used.
27575     *
27576     * @see elm_object_cursor_set() for more details.
27577     *
27578     * @ingroup Diskselector
27579     */
27580    EAPI void                   elm_diskselector_item_cursor_set(Elm_Diskselector_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
27581
27582    /**
27583     * Get the cursor to be shown when mouse is over the diskselector item
27584     *
27585     * @param item diskselector item with cursor already set.
27586     * @return the cursor name.
27587     *
27588     * @see elm_object_cursor_get() for more details.
27589     * @see elm_diskselector_cursor_set()
27590     *
27591     * @ingroup Diskselector
27592     */
27593    EAPI const char            *elm_diskselector_item_cursor_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
27594
27595    /**
27596     * Unset the cursor to be shown when mouse is over the diskselector item
27597     *
27598     * @param item Target item
27599     *
27600     * @see elm_object_cursor_unset() for more details.
27601     * @see elm_diskselector_cursor_set()
27602     *
27603     * @ingroup Diskselector
27604     */
27605    EAPI void                   elm_diskselector_item_cursor_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
27606
27607    /**
27608     * Sets a different style for this item cursor.
27609     *
27610     * @note before you set a style you should define a cursor with
27611     *       elm_diskselector_item_cursor_set()
27612     *
27613     * @param item diskselector item with cursor already set.
27614     * @param style the theme style to use (default, transparent, ...)
27615     *
27616     * @see elm_object_cursor_style_set() for more details.
27617     *
27618     * @ingroup Diskselector
27619     */
27620    EAPI void                   elm_diskselector_item_cursor_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
27621
27622    /**
27623     * Get the style for this item cursor.
27624     *
27625     * @param item diskselector item with cursor already set.
27626     * @return style the theme style in use, defaults to "default". If the
27627     *         object does not have a cursor set, then @c NULL is returned.
27628     *
27629     * @see elm_object_cursor_style_get() for more details.
27630     * @see elm_diskselector_item_cursor_style_set()
27631     *
27632     * @ingroup Diskselector
27633     */
27634    EAPI const char            *elm_diskselector_item_cursor_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
27635
27636
27637    /**
27638     * Set if the cursor set should be searched on the theme or should use
27639     * the provided by the engine, only.
27640     *
27641     * @note before you set if should look on theme you should define a cursor
27642     * with elm_diskselector_item_cursor_set().
27643     * By default it will only look for cursors provided by the engine.
27644     *
27645     * @param item widget item with cursor already set.
27646     * @param engine_only boolean to define if cursors set with
27647     * elm_diskselector_item_cursor_set() should be searched only
27648     * between cursors provided by the engine or searched on widget's
27649     * theme as well.
27650     *
27651     * @see elm_object_cursor_engine_only_set() for more details.
27652     *
27653     * @ingroup Diskselector
27654     */
27655    EAPI void                   elm_diskselector_item_cursor_engine_only_set(Elm_Diskselector_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
27656
27657    /**
27658     * Get the cursor engine only usage for this item cursor.
27659     *
27660     * @param item widget item with cursor already set.
27661     * @return engine_only boolean to define it cursors should be looked only
27662     * between the provided by the engine or searched on widget's theme as well.
27663     * If the item does not have a cursor set, then @c EINA_FALSE is returned.
27664     *
27665     * @see elm_object_cursor_engine_only_get() for more details.
27666     * @see elm_diskselector_item_cursor_engine_only_set()
27667     *
27668     * @ingroup Diskselector
27669     */
27670    EAPI Eina_Bool              elm_diskselector_item_cursor_engine_only_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
27671
27672    /**
27673     * @}
27674     */
27675
27676    /**
27677     * @defgroup Colorselector Colorselector
27678     *
27679     * @{
27680     *
27681     * @image html img/widget/colorselector/preview-00.png
27682     * @image latex img/widget/colorselector/preview-00.eps
27683     *
27684     * @brief Widget for user to select a color.
27685     *
27686     * Signals that you can add callbacks for are:
27687     * "changed" - When the color value changes(event_info is NULL).
27688     *
27689     * See @ref tutorial_colorselector.
27690     */
27691    /**
27692     * @brief Add a new colorselector to the parent
27693     *
27694     * @param parent The parent object
27695     * @return The new object or NULL if it cannot be created
27696     *
27697     * @ingroup Colorselector
27698     */
27699    EAPI Evas_Object *elm_colorselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
27700    /**
27701     * Set a color for the colorselector
27702     *
27703     * @param obj   Colorselector object
27704     * @param r     r-value of color
27705     * @param g     g-value of color
27706     * @param b     b-value of color
27707     * @param a     a-value of color
27708     *
27709     * @ingroup Colorselector
27710     */
27711    EAPI void         elm_colorselector_color_set(Evas_Object *obj, int r, int g , int b, int a) EINA_ARG_NONNULL(1);
27712    /**
27713     * Get a color from the colorselector
27714     *
27715     * @param obj   Colorselector object
27716     * @param r     integer pointer for r-value of color
27717     * @param g     integer pointer for g-value of color
27718     * @param b     integer pointer for b-value of color
27719     * @param a     integer pointer for a-value of color
27720     *
27721     * @ingroup Colorselector
27722     */
27723    EAPI void         elm_colorselector_color_get(const Evas_Object *obj, int *r, int *g , int *b, int *a) EINA_ARG_NONNULL(1);
27724    /**
27725     * @}
27726     */
27727
27728    /**
27729     * @defgroup Ctxpopup Ctxpopup
27730     *
27731     * @image html img/widget/ctxpopup/preview-00.png
27732     * @image latex img/widget/ctxpopup/preview-00.eps
27733     *
27734     * @brief Context popup widet.
27735     *
27736     * A ctxpopup is a widget that, when shown, pops up a list of items.
27737     * It automatically chooses an area inside its parent object's view
27738     * (set via elm_ctxpopup_add() and elm_ctxpopup_hover_parent_set()) to
27739     * optimally fit into it. In the default theme, it will also point an
27740     * arrow to it's top left position at the time one shows it. Ctxpopup
27741     * items have a label and/or an icon. It is intended for a small
27742     * number of items (hence the use of list, not genlist).
27743     *
27744     * @note Ctxpopup is a especialization of @ref Hover.
27745     *
27746     * Signals that you can add callbacks for are:
27747     * "dismissed" - the ctxpopup was dismissed
27748     *
27749     * Default contents parts of the ctxpopup widget that you can use for are:
27750     * @li "default" - A content of the ctxpopup
27751     *
27752     * Default contents parts of the naviframe items that you can use for are:
27753     * @li "icon" - An icon in the title area
27754     *
27755     * Default text parts of the naviframe items that you can use for are:
27756     * @li "default" - Title label in the title area
27757     *
27758     * @ref tutorial_ctxpopup shows the usage of a good deal of the API.
27759     * @{
27760     */
27761
27762    /**
27763     * @addtogroup Ctxpopup
27764     * @{
27765     */
27766
27767    typedef enum _Elm_Ctxpopup_Direction
27768      {
27769         ELM_CTXPOPUP_DIRECTION_DOWN, /**< ctxpopup show appear below clicked
27770                                           area */
27771         ELM_CTXPOPUP_DIRECTION_RIGHT, /**< ctxpopup show appear to the right of
27772                                            the clicked area */
27773         ELM_CTXPOPUP_DIRECTION_LEFT, /**< ctxpopup show appear to the left of
27774                                           the clicked area */
27775         ELM_CTXPOPUP_DIRECTION_UP, /**< ctxpopup show appear above the clicked
27776                                         area */
27777         ELM_CTXPOPUP_DIRECTION_UNKNOWN, /**< ctxpopup does not determine it's direction yet*/
27778      } Elm_Ctxpopup_Direction;
27779
27780    /**
27781     * @brief Add a new Ctxpopup object to the parent.
27782     *
27783     * @param parent Parent object
27784     * @return New object or @c NULL, if it cannot be created
27785     *
27786     * @ingroup Ctxpopup
27787     */
27788    EAPI Evas_Object  *elm_ctxpopup_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
27789
27790    /**
27791     * @brief Set the Ctxpopup's parent
27792     *
27793     * @param obj The ctxpopup object
27794     * @param area The parent to use
27795     *
27796     * Set the parent object.
27797     *
27798     * @note elm_ctxpopup_add() will automatically call this function
27799     * with its @c parent argument.
27800     *
27801     * @see elm_ctxpopup_add()
27802     * @see elm_hover_parent_set()
27803     *
27804     * @ingroup Ctxpopup
27805     */
27806    EAPI void          elm_ctxpopup_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1, 2);
27807
27808    /**
27809     * @brief Get the Ctxpopup's parent
27810     *
27811     * @param obj The ctxpopup object
27812     *
27813     * @see elm_ctxpopup_hover_parent_set() for more information
27814     *
27815     * @ingroup Ctxpopup
27816     */
27817    EAPI Evas_Object  *elm_ctxpopup_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
27818
27819    /**
27820     * @brief Clear all items in the given ctxpopup object.
27821     *
27822     * @param obj Ctxpopup object
27823     *
27824     * @ingroup Ctxpopup
27825     */
27826    EAPI void          elm_ctxpopup_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
27827
27828    /**
27829     * @brief Change the ctxpopup's orientation to horizontal or vertical.
27830     *
27831     * @param obj Ctxpopup object
27832     * @param horizontal @c EINA_TRUE for horizontal mode, @c EINA_FALSE for vertical
27833     *
27834     * @ingroup Ctxpopup
27835     */
27836    EAPI void          elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
27837
27838    /**
27839     * @brief Get the value of current ctxpopup object's orientation.
27840     *
27841     * @param obj Ctxpopup object
27842     * @return @c EINA_TRUE for horizontal mode, @c EINA_FALSE for vertical mode (or errors)
27843     *
27844     * @see elm_ctxpopup_horizontal_set()
27845     *
27846     * @ingroup Ctxpopup
27847     */
27848    EAPI Eina_Bool     elm_ctxpopup_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
27849
27850    /**
27851     * @brief Add a new item to a ctxpopup object.
27852     *
27853     * @param obj Ctxpopup object
27854     * @param icon Icon to be set on new item
27855     * @param label The Label of the new item
27856     * @param func Convenience function called when item selected
27857     * @param data Data passed to @p func
27858     * @return A handle to the item added or @c NULL, on errors
27859     *
27860     * @warning Ctxpopup can't hold both an item list and a content at the same
27861     * time. When an item is added, any previous content will be removed.
27862     *
27863     * @see elm_ctxpopup_content_set()
27864     *
27865     * @ingroup Ctxpopup
27866     */
27867    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);
27868
27869    /**
27870     * @brief Delete the given item in a ctxpopup object.
27871     *
27872     * @param it Ctxpopup item to be deleted
27873     *
27874     * @see elm_ctxpopup_item_append()
27875     *
27876     * @ingroup Ctxpopup
27877     */
27878    EAPI void          elm_ctxpopup_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
27879
27880    /**
27881     * @brief Set the ctxpopup item's state as disabled or enabled.
27882     *
27883     * @param it Ctxpopup item to be enabled/disabled
27884     * @param disabled @c EINA_TRUE to disable it, @c EINA_FALSE to enable it
27885     *
27886     * When disabled the item is greyed out to indicate it's state.
27887     * @deprecated use elm_object_item_disabled_set() instead
27888     *
27889     * @ingroup Ctxpopup
27890     */
27891    EINA_DEPRECATED EAPI void          elm_ctxpopup_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
27892
27893    /**
27894     * @brief Get the ctxpopup item's disabled/enabled state.
27895     *
27896     * @param it Ctxpopup item to be enabled/disabled
27897     * @return disabled @c EINA_TRUE, if disabled, @c EINA_FALSE otherwise
27898     *
27899     * @see elm_ctxpopup_item_disabled_set()
27900     * @deprecated use elm_object_item_disabled_get() instead
27901     *
27902     * @ingroup Ctxpopup
27903     */
27904    EAPI Eina_Bool     elm_ctxpopup_item_disabled_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
27905
27906    /**
27907     * @brief Get the icon object for the given ctxpopup item.
27908     *
27909     * @param it Ctxpopup item
27910     * @return icon object or @c NULL, if the item does not have icon or an error
27911     * occurred
27912     *
27913     * @see elm_ctxpopup_item_append()
27914     * @see elm_ctxpopup_item_icon_set()
27915     *
27916     * @deprecated use elm_object_item_part_content_get() instead
27917     *
27918     * @ingroup Ctxpopup
27919     */
27920    EINA_DEPRECATED EAPI Evas_Object  *elm_ctxpopup_item_icon_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
27921
27922    /**
27923     * @brief Sets the side icon associated with the ctxpopup item
27924     *
27925     * @param it Ctxpopup item
27926     * @param icon Icon object to be set
27927     *
27928     * Once the icon object is set, a previously set one will be deleted.
27929     * @warning Setting the same icon for two items will cause the icon to
27930     * dissapear from the first item.
27931     *
27932     * @see elm_ctxpopup_item_append()
27933     *
27934     * @deprecated use elm_object_item_part_content_set() instead
27935     *
27936     * @ingroup Ctxpopup
27937     */
27938    EINA_DEPRECATED EAPI void          elm_ctxpopup_item_icon_set(Elm_Object_Item *it, Evas_Object *icon) EINA_ARG_NONNULL(1);
27939
27940    /**
27941     * @brief Get the label for the given ctxpopup item.
27942     *
27943     * @param it Ctxpopup item
27944     * @return label string or @c NULL, if the item does not have label or an
27945     * error occured
27946     *
27947     * @see elm_ctxpopup_item_append()
27948     * @see elm_ctxpopup_item_label_set()
27949     *
27950     * @deprecated use elm_object_item_text_get() instead
27951     *
27952     * @ingroup Ctxpopup
27953     */
27954    EINA_DEPRECATED EAPI const char   *elm_ctxpopup_item_label_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
27955
27956    /**
27957     * @brief (Re)set the label on the given ctxpopup item.
27958     *
27959     * @param it Ctxpopup item
27960     * @param label String to set as label
27961     *
27962     * @deprecated use elm_object_item_text_set() instead
27963     *
27964     * @ingroup Ctxpopup
27965     */
27966    EINA_DEPRECATED EAPI void          elm_ctxpopup_item_label_set(Elm_Object_Item *it, const char *label) EINA_ARG_NONNULL(1);
27967
27968    /**
27969     * @brief Set an elm widget as the content of the ctxpopup.
27970     *
27971     * @param obj Ctxpopup object
27972     * @param content Content to be swallowed
27973     *
27974     * If the content object is already set, a previous one will bedeleted. If
27975     * you want to keep that old content object, use the
27976     * elm_ctxpopup_content_unset() function.
27977     *
27978     * @warning Ctxpopup can't hold both a item list and a content at the same
27979     * time. When a content is set, any previous items will be removed.
27980     *
27981     * @deprecated use elm_object_content_set() instead
27982     *
27983     * @ingroup Ctxpopup
27984     */
27985    EINA_DEPRECATED EAPI void          elm_ctxpopup_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1, 2);
27986
27987    /**
27988     * @brief Unset the ctxpopup content
27989     *
27990     * @param obj Ctxpopup object
27991     * @return The content that was being used
27992     *
27993     * Unparent and return the content object which was set for this widget.
27994     *
27995     * @deprecated use elm_object_content_unset()
27996     *
27997     * @see elm_ctxpopup_content_set()
27998     *
27999     * @deprecated use elm_object_content_unset() instead
28000     *
28001     * @ingroup Ctxpopup
28002     */
28003    EINA_DEPRECATED EAPI Evas_Object  *elm_ctxpopup_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
28004
28005    /**
28006     * @brief Set the direction priority of a ctxpopup.
28007     *
28008     * @param obj Ctxpopup object
28009     * @param first 1st priority of direction
28010     * @param second 2nd priority of direction
28011     * @param third 3th priority of direction
28012     * @param fourth 4th priority of direction
28013     *
28014     * This functions gives a chance to user to set the priority of ctxpopup
28015     * showing direction. This doesn't guarantee the ctxpopup will appear in the
28016     * requested direction.
28017     *
28018     * @see Elm_Ctxpopup_Direction
28019     *
28020     * @ingroup Ctxpopup
28021     */
28022    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);
28023
28024    /**
28025     * @brief Get the direction priority of a ctxpopup.
28026     *
28027     * @param obj Ctxpopup object
28028     * @param first 1st priority of direction to be returned
28029     * @param second 2nd priority of direction to be returned
28030     * @param third 3th priority of direction to be returned
28031     * @param fourth 4th priority of direction to be returned
28032     *
28033     * @see elm_ctxpopup_direction_priority_set() for more information.
28034     *
28035     * @ingroup Ctxpopup
28036     */
28037    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);
28038
28039    /**
28040     * @brief Get the current direction of a ctxpopup.
28041     *
28042     * @param obj Ctxpopup object
28043     * @return current direction of a ctxpopup
28044     *
28045     * @warning Once the ctxpopup showed up, the direction would be determined
28046     *
28047     * @ingroup Ctxpopup
28048     */
28049    EAPI Elm_Ctxpopup_Direction elm_ctxpopup_direction_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28050
28051    /**
28052     * @}
28053     */
28054
28055    /* transit */
28056    /**
28057     *
28058     * @defgroup Transit Transit
28059     * @ingroup Elementary
28060     *
28061     * Transit is designed to apply various animated transition effects to @c
28062     * Evas_Object, such like translation, rotation, etc. For using these
28063     * effects, create an @ref Elm_Transit and add the desired transition effects.
28064     *
28065     * Once the effects are added into transit, they will be automatically
28066     * managed (their callback will be called until the duration is ended, and
28067     * they will be deleted on completion).
28068     *
28069     * Example:
28070     * @code
28071     * Elm_Transit *trans = elm_transit_add();
28072     * elm_transit_object_add(trans, obj);
28073     * elm_transit_effect_translation_add(trans, 0, 0, 280, 280
28074     * elm_transit_duration_set(transit, 1);
28075     * elm_transit_auto_reverse_set(transit, EINA_TRUE);
28076     * elm_transit_tween_mode_set(transit, ELM_TRANSIT_TWEEN_MODE_DECELERATE);
28077     * elm_transit_repeat_times_set(transit, 3);
28078     * @endcode
28079     *
28080     * Some transition effects are used to change the properties of objects. They
28081     * are:
28082     * @li @ref elm_transit_effect_translation_add
28083     * @li @ref elm_transit_effect_color_add
28084     * @li @ref elm_transit_effect_rotation_add
28085     * @li @ref elm_transit_effect_wipe_add
28086     * @li @ref elm_transit_effect_zoom_add
28087     * @li @ref elm_transit_effect_resizing_add
28088     *
28089     * Other transition effects are used to make one object disappear and another
28090     * object appear on its old place. These effects are:
28091     *
28092     * @li @ref elm_transit_effect_flip_add
28093     * @li @ref elm_transit_effect_resizable_flip_add
28094     * @li @ref elm_transit_effect_fade_add
28095     * @li @ref elm_transit_effect_blend_add
28096     *
28097     * It's also possible to make a transition chain with @ref
28098     * elm_transit_chain_transit_add.
28099     *
28100     * @warning We strongly recommend to use elm_transit just when edje can not do
28101     * the trick. Edje has more advantage than Elm_Transit, it has more flexibility and
28102     * animations can be manipulated inside the theme.
28103     *
28104     * List of examples:
28105     * @li @ref transit_example_01_explained
28106     * @li @ref transit_example_02_explained
28107     * @li @ref transit_example_03_c
28108     * @li @ref transit_example_04_c
28109     *
28110     * @{
28111     */
28112
28113    /**
28114     * @enum Elm_Transit_Tween_Mode
28115     *
28116     * The type of acceleration used in the transition.
28117     */
28118    typedef enum
28119      {
28120         ELM_TRANSIT_TWEEN_MODE_LINEAR, /**< Constant speed */
28121         ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL, /**< Starts slow, increase speed
28122                                              over time, then decrease again
28123                                              and stop slowly */
28124         ELM_TRANSIT_TWEEN_MODE_DECELERATE, /**< Starts fast and decrease
28125                                              speed over time */
28126         ELM_TRANSIT_TWEEN_MODE_ACCELERATE /**< Starts slow and increase speed
28127                                             over time */
28128      } Elm_Transit_Tween_Mode;
28129
28130    /**
28131     * @enum Elm_Transit_Effect_Flip_Axis
28132     *
28133     * The axis where flip effect should be applied.
28134     */
28135    typedef enum
28136      {
28137         ELM_TRANSIT_EFFECT_FLIP_AXIS_X, /**< Flip on X axis */
28138         ELM_TRANSIT_EFFECT_FLIP_AXIS_Y /**< Flip on Y axis */
28139      } Elm_Transit_Effect_Flip_Axis;
28140
28141    /**
28142     * @enum Elm_Transit_Effect_Wipe_Dir
28143     *
28144     * The direction where the wipe effect should occur.
28145     */
28146    typedef enum
28147      {
28148         ELM_TRANSIT_EFFECT_WIPE_DIR_LEFT, /**< Wipe to the left */
28149         ELM_TRANSIT_EFFECT_WIPE_DIR_RIGHT, /**< Wipe to the right */
28150         ELM_TRANSIT_EFFECT_WIPE_DIR_UP, /**< Wipe up */
28151         ELM_TRANSIT_EFFECT_WIPE_DIR_DOWN /**< Wipe down */
28152      } Elm_Transit_Effect_Wipe_Dir;
28153
28154    /** @enum Elm_Transit_Effect_Wipe_Type
28155     *
28156     * Whether the wipe effect should show or hide the object.
28157     */
28158    typedef enum
28159      {
28160         ELM_TRANSIT_EFFECT_WIPE_TYPE_HIDE, /**< Hide the object during the
28161                                              animation */
28162         ELM_TRANSIT_EFFECT_WIPE_TYPE_SHOW /**< Show the object during the
28163                                             animation */
28164      } Elm_Transit_Effect_Wipe_Type;
28165
28166    /**
28167     * @typedef Elm_Transit
28168     *
28169     * The Transit created with elm_transit_add(). This type has the information
28170     * about the objects which the transition will be applied, and the
28171     * transition effects that will be used. It also contains info about
28172     * duration, number of repetitions, auto-reverse, etc.
28173     */
28174    typedef struct _Elm_Transit Elm_Transit;
28175    typedef void Elm_Transit_Effect;
28176
28177    /**
28178     * @typedef Elm_Transit_Effect_Transition_Cb
28179     *
28180     * Transition callback called for this effect on each transition iteration.
28181     */
28182    typedef void (*Elm_Transit_Effect_Transition_Cb) (Elm_Transit_Effect *effect, Elm_Transit *transit, double progress);
28183
28184    /**
28185     * Elm_Transit_Effect_End_Cb
28186     *
28187     * Transition callback called for this effect when the transition is over.
28188     */
28189    typedef void (*Elm_Transit_Effect_End_Cb) (Elm_Transit_Effect *effect, Elm_Transit *transit);
28190
28191    /**
28192     * Elm_Transit_Del_Cb
28193     *
28194     * A callback called when the transit is deleted.
28195     */
28196    typedef void (*Elm_Transit_Del_Cb) (void *data, Elm_Transit *transit);
28197
28198    /**
28199     * Add new transit.
28200     *
28201     * @note Is not necessary to delete the transit object, it will be deleted at
28202     * the end of its operation.
28203     * @note The transit will start playing when the program enter in the main loop, is not
28204     * necessary to give a start to the transit.
28205     *
28206     * @return The transit object.
28207     *
28208     * @ingroup Transit
28209     */
28210    EAPI Elm_Transit                *elm_transit_add(void);
28211
28212    /**
28213     * Stops the animation and delete the @p transit object.
28214     *
28215     * Call this function if you wants to stop the animation before the duration
28216     * time. Make sure the @p transit object is still alive with
28217     * elm_transit_del_cb_set() function.
28218     * All added effects will be deleted, calling its repective data_free_cb
28219     * functions. The function setted by elm_transit_del_cb_set() will be called.
28220     *
28221     * @see elm_transit_del_cb_set()
28222     *
28223     * @param transit The transit object to be deleted.
28224     *
28225     * @ingroup Transit
28226     * @warning Just call this function if you are sure the transit is alive.
28227     */
28228    EAPI void                        elm_transit_del(Elm_Transit *transit) EINA_ARG_NONNULL(1);
28229
28230    /**
28231     * Add a new effect to the transit.
28232     *
28233     * @note The cb function and the data are the key to the effect. If you try to
28234     * add an already added effect, nothing is done.
28235     * @note After the first addition of an effect in @p transit, if its
28236     * effect list become empty again, the @p transit will be killed by
28237     * elm_transit_del(transit) function.
28238     *
28239     * Exemple:
28240     * @code
28241     * Elm_Transit *transit = elm_transit_add();
28242     * elm_transit_effect_add(transit,
28243     *                        elm_transit_effect_blend_op,
28244     *                        elm_transit_effect_blend_context_new(),
28245     *                        elm_transit_effect_blend_context_free);
28246     * @endcode
28247     *
28248     * @param transit The transit object.
28249     * @param transition_cb The operation function. It is called when the
28250     * animation begins, it is the function that actually performs the animation.
28251     * It is called with the @p data, @p transit and the time progression of the
28252     * animation (a double value between 0.0 and 1.0).
28253     * @param effect The context data of the effect.
28254     * @param end_cb The function to free the context data, it will be called
28255     * at the end of the effect, it must finalize the animation and free the
28256     * @p data.
28257     *
28258     * @ingroup Transit
28259     * @warning The transit free the context data at the and of the transition with
28260     * the data_free_cb function, do not use the context data in another transit.
28261     */
28262    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);
28263
28264    /**
28265     * Delete an added effect.
28266     *
28267     * This function will remove the effect from the @p transit, calling the
28268     * data_free_cb to free the @p data.
28269     *
28270     * @see elm_transit_effect_add()
28271     *
28272     * @note If the effect is not found, nothing is done.
28273     * @note If the effect list become empty, this function will call
28274     * elm_transit_del(transit), that is, it will kill the @p transit.
28275     *
28276     * @param transit The transit object.
28277     * @param transition_cb The operation function.
28278     * @param effect The context data of the effect.
28279     *
28280     * @ingroup Transit
28281     */
28282    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);
28283
28284    /**
28285     * Add new object to apply the effects.
28286     *
28287     * @note After the first addition of an object in @p transit, if its
28288     * object list become empty again, the @p transit will be killed by
28289     * elm_transit_del(transit) function.
28290     * @note If the @p obj belongs to another transit, the @p obj will be
28291     * removed from it and it will only belong to the @p transit. If the old
28292     * transit stays without objects, it will die.
28293     * @note When you add an object into the @p transit, its state from
28294     * evas_object_pass_events_get(obj) is saved, and it is applied when the
28295     * transit ends, if you change this state whith evas_object_pass_events_set()
28296     * after add the object, this state will change again when @p transit stops to
28297     * run.
28298     *
28299     * @param transit The transit object.
28300     * @param obj Object to be animated.
28301     *
28302     * @ingroup Transit
28303     * @warning It is not allowed to add a new object after transit begins to go.
28304     */
28305    EAPI void                        elm_transit_object_add(Elm_Transit *transit, Evas_Object *obj) EINA_ARG_NONNULL(1, 2);
28306
28307    /**
28308     * Removes an added object from the transit.
28309     *
28310     * @note If the @p obj is not in the @p transit, nothing is done.
28311     * @note If the list become empty, this function will call
28312     * elm_transit_del(transit), that is, it will kill the @p transit.
28313     *
28314     * @param transit The transit object.
28315     * @param obj Object to be removed from @p transit.
28316     *
28317     * @ingroup Transit
28318     * @warning It is not allowed to remove objects after transit begins to go.
28319     */
28320    EAPI void                        elm_transit_object_remove(Elm_Transit *transit, Evas_Object *obj) EINA_ARG_NONNULL(1, 2);
28321
28322    /**
28323     * Get the objects of the transit.
28324     *
28325     * @param transit The transit object.
28326     * @return a Eina_List with the objects from the transit.
28327     *
28328     * @ingroup Transit
28329     */
28330    EAPI const Eina_List            *elm_transit_objects_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
28331
28332    /**
28333     * Enable/disable keeping up the objects states.
28334     * If it is not kept, the objects states will be reset when transition ends.
28335     *
28336     * @note @p transit can not be NULL.
28337     * @note One state includes geometry, color, map data.
28338     *
28339     * @param transit The transit object.
28340     * @param state_keep Keeping or Non Keeping.
28341     *
28342     * @ingroup Transit
28343     */
28344    EAPI void                        elm_transit_objects_final_state_keep_set(Elm_Transit *transit, Eina_Bool state_keep) EINA_ARG_NONNULL(1);
28345
28346    /**
28347     * Get a value whether the objects states will be reset or not.
28348     *
28349     * @note @p transit can not be NULL
28350     *
28351     * @see elm_transit_objects_final_state_keep_set()
28352     *
28353     * @param transit The transit object.
28354     * @return EINA_TRUE means the states of the objects will be reset.
28355     * If @p transit is NULL, EINA_FALSE is returned
28356     *
28357     * @ingroup Transit
28358     */
28359    EAPI Eina_Bool                   elm_transit_objects_final_state_keep_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
28360
28361    /**
28362     * Set the event enabled when transit is operating.
28363     *
28364     * If @p enabled is EINA_TRUE, the objects of the transit will receives
28365     * events from mouse and keyboard during the animation.
28366     * @note When you add an object with elm_transit_object_add(), its state from
28367     * evas_object_pass_events_get(obj) is saved, and it is applied when the
28368     * transit ends, if you change this state with evas_object_pass_events_set()
28369     * after adding the object, this state will change again when @p transit stops
28370     * to run.
28371     *
28372     * @param transit The transit object.
28373     * @param enabled Events are received when enabled is @c EINA_TRUE, and
28374     * ignored otherwise.
28375     *
28376     * @ingroup Transit
28377     */
28378    EAPI void                        elm_transit_event_enabled_set(Elm_Transit *transit, Eina_Bool enabled) EINA_ARG_NONNULL(1);
28379
28380    /**
28381     * Get the value of event enabled status.
28382     *
28383     * @see elm_transit_event_enabled_set()
28384     *
28385     * @param transit The Transit object
28386     * @return EINA_TRUE, when event is enabled. If @p transit is NULL
28387     * EINA_FALSE is returned
28388     *
28389     * @ingroup Transit
28390     */
28391    EAPI Eina_Bool                   elm_transit_event_enabled_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
28392
28393    /**
28394     * Set the user-callback function when the transit is deleted.
28395     *
28396     * @note Using this function twice will overwrite the first function setted.
28397     * @note the @p transit object will be deleted after call @p cb function.
28398     *
28399     * @param transit The transit object.
28400     * @param cb Callback function pointer. This function will be called before
28401     * the deletion of the transit.
28402     * @param data Callback funtion user data. It is the @p op parameter.
28403     *
28404     * @ingroup Transit
28405     */
28406    EAPI void                        elm_transit_del_cb_set(Elm_Transit *transit, Elm_Transit_Del_Cb cb, void *data) EINA_ARG_NONNULL(1);
28407
28408    /**
28409     * Set reverse effect automatically.
28410     *
28411     * If auto reverse is setted, after running the effects with the progress
28412     * parameter from 0 to 1, it will call the effecs again with the progress
28413     * from 1 to 0. The transit will last for a time iqual to (2 * duration * repeat),
28414     * where the duration was setted with the function elm_transit_add and
28415     * the repeat with the function elm_transit_repeat_times_set().
28416     *
28417     * @param transit The transit object.
28418     * @param reverse EINA_TRUE means the auto_reverse is on.
28419     *
28420     * @ingroup Transit
28421     */
28422    EAPI void                        elm_transit_auto_reverse_set(Elm_Transit *transit, Eina_Bool reverse) EINA_ARG_NONNULL(1);
28423
28424    /**
28425     * Get if the auto reverse is on.
28426     *
28427     * @see elm_transit_auto_reverse_set()
28428     *
28429     * @param transit The transit object.
28430     * @return EINA_TRUE means auto reverse is on. If @p transit is NULL
28431     * EINA_FALSE is returned
28432     *
28433     * @ingroup Transit
28434     */
28435    EAPI Eina_Bool                   elm_transit_auto_reverse_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
28436
28437    /**
28438     * Set the transit repeat count. Effect will be repeated by repeat count.
28439     *
28440     * This function sets the number of repetition the transit will run after
28441     * the first one, that is, if @p repeat is 1, the transit will run 2 times.
28442     * If the @p repeat is a negative number, it will repeat infinite times.
28443     *
28444     * @note If this function is called during the transit execution, the transit
28445     * will run @p repeat times, ignoring the times it already performed.
28446     *
28447     * @param transit The transit object
28448     * @param repeat Repeat count
28449     *
28450     * @ingroup Transit
28451     */
28452    EAPI void                        elm_transit_repeat_times_set(Elm_Transit *transit, int repeat) EINA_ARG_NONNULL(1);
28453
28454    /**
28455     * Get the transit repeat count.
28456     *
28457     * @see elm_transit_repeat_times_set()
28458     *
28459     * @param transit The Transit object.
28460     * @return The repeat count. If @p transit is NULL
28461     * 0 is returned
28462     *
28463     * @ingroup Transit
28464     */
28465    EAPI int                         elm_transit_repeat_times_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
28466
28467    /**
28468     * Set the transit animation acceleration type.
28469     *
28470     * This function sets the tween mode of the transit that can be:
28471     * ELM_TRANSIT_TWEEN_MODE_LINEAR - The default mode.
28472     * ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL - Starts in accelerate mode and ends decelerating.
28473     * ELM_TRANSIT_TWEEN_MODE_DECELERATE - The animation will be slowed over time.
28474     * ELM_TRANSIT_TWEEN_MODE_ACCELERATE - The animation will accelerate over time.
28475     *
28476     * @param transit The transit object.
28477     * @param tween_mode The tween type.
28478     *
28479     * @ingroup Transit
28480     */
28481    EAPI void                        elm_transit_tween_mode_set(Elm_Transit *transit, Elm_Transit_Tween_Mode tween_mode) EINA_ARG_NONNULL(1);
28482
28483    /**
28484     * Get the transit animation acceleration type.
28485     *
28486     * @note @p transit can not be NULL
28487     *
28488     * @param transit The transit object.
28489     * @return The tween type. If @p transit is NULL
28490     * ELM_TRANSIT_TWEEN_MODE_LINEAR is returned.
28491     *
28492     * @ingroup Transit
28493     */
28494    EAPI Elm_Transit_Tween_Mode      elm_transit_tween_mode_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
28495
28496    /**
28497     * Set the transit animation time
28498     *
28499     * @note @p transit can not be NULL
28500     *
28501     * @param transit The transit object.
28502     * @param duration The animation time.
28503     *
28504     * @ingroup Transit
28505     */
28506    EAPI void                        elm_transit_duration_set(Elm_Transit *transit, double duration) EINA_ARG_NONNULL(1);
28507
28508    /**
28509     * Get the transit animation time
28510     *
28511     * @note @p transit can not be NULL
28512     *
28513     * @param transit The transit object.
28514     *
28515     * @return The transit animation time.
28516     *
28517     * @ingroup Transit
28518     */
28519    EAPI double                      elm_transit_duration_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
28520
28521    /**
28522     * Starts the transition.
28523     * Once this API is called, the transit begins to measure the time.
28524     *
28525     * @note @p transit can not be NULL
28526     *
28527     * @param transit The transit object.
28528     *
28529     * @ingroup Transit
28530     */
28531    EAPI void                        elm_transit_go(Elm_Transit *transit) EINA_ARG_NONNULL(1);
28532
28533    /**
28534     * Pause/Resume the transition.
28535     *
28536     * If you call elm_transit_go again, the transit will be started from the
28537     * beginning, and will be unpaused.
28538     *
28539     * @note @p transit can not be NULL
28540     *
28541     * @param transit The transit object.
28542     * @param paused Whether the transition should be paused or not.
28543     *
28544     * @ingroup Transit
28545     */
28546    EAPI void                        elm_transit_paused_set(Elm_Transit *transit, Eina_Bool paused) EINA_ARG_NONNULL(1);
28547
28548    /**
28549     * Get the value of paused status.
28550     *
28551     * @see elm_transit_paused_set()
28552     *
28553     * @note @p transit can not be NULL
28554     *
28555     * @param transit The transit object.
28556     * @return EINA_TRUE means transition is paused. If @p transit is NULL
28557     * EINA_FALSE is returned
28558     *
28559     * @ingroup Transit
28560     */
28561    EAPI Eina_Bool                   elm_transit_paused_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
28562
28563    /**
28564     * Get the time progression of the animation (a double value between 0.0 and 1.0).
28565     *
28566     * The value returned is a fraction (current time / total time). It
28567     * represents the progression position relative to the total.
28568     *
28569     * @note @p transit can not be NULL
28570     *
28571     * @param transit The transit object.
28572     *
28573     * @return The time progression value. If @p transit is NULL
28574     * 0 is returned
28575     *
28576     * @ingroup Transit
28577     */
28578    EAPI double                      elm_transit_progress_value_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
28579
28580    /**
28581     * Makes the chain relationship between two transits.
28582     *
28583     * @note @p transit can not be NULL. Transit would have multiple chain transits.
28584     * @note @p chain_transit can not be NULL. Chain transits could be chained to the only one transit.
28585     *
28586     * @param transit The transit object.
28587     * @param chain_transit The chain transit object. This transit will be operated
28588     *        after transit is done.
28589     *
28590     * This function adds @p chain_transit transition to a chain after the @p
28591     * transit, and will be started as soon as @p transit ends. See @ref
28592     * transit_example_02_explained for a full example.
28593     *
28594     * @ingroup Transit
28595     */
28596    EAPI void                        elm_transit_chain_transit_add(Elm_Transit *transit, Elm_Transit *chain_transit) EINA_ARG_NONNULL(1, 2);
28597
28598    /**
28599     * Cut off the chain relationship between two transits.
28600     *
28601     * @note @p transit can not be NULL. Transit would have the chain relationship with @p chain transit.
28602     * @note @p chain_transit can not be NULL. Chain transits should be chained to the @p transit.
28603     *
28604     * @param transit The transit object.
28605     * @param chain_transit The chain transit object.
28606     *
28607     * This function remove the @p chain_transit transition from the @p transit.
28608     *
28609     * @ingroup Transit
28610     */
28611    EAPI void                        elm_transit_chain_transit_del(Elm_Transit *transit, Elm_Transit *chain_transit) EINA_ARG_NONNULL(1,2);
28612
28613    /**
28614     * Get the current chain transit list.
28615     *
28616     * @note @p transit can not be NULL.
28617     *
28618     * @param transit The transit object.
28619     * @return chain transit list.
28620     *
28621     * @ingroup Transit
28622     */
28623    EAPI Eina_List                  *elm_transit_chain_transits_get(const Elm_Transit *transit);
28624
28625    /**
28626     * Add the Resizing Effect to Elm_Transit.
28627     *
28628     * @note This API is one of the facades. It creates resizing effect context
28629     * and add it's required APIs to elm_transit_effect_add.
28630     *
28631     * @see elm_transit_effect_add()
28632     *
28633     * @param transit Transit object.
28634     * @param from_w Object width size when effect begins.
28635     * @param from_h Object height size when effect begins.
28636     * @param to_w Object width size when effect ends.
28637     * @param to_h Object height size when effect ends.
28638     * @return Resizing effect context data.
28639     *
28640     * @ingroup Transit
28641     */
28642    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);
28643
28644    /**
28645     * Add the Translation Effect to Elm_Transit.
28646     *
28647     * @note This API is one of the facades. It creates translation effect context
28648     * and add it's required APIs to elm_transit_effect_add.
28649     *
28650     * @see elm_transit_effect_add()
28651     *
28652     * @param transit Transit object.
28653     * @param from_dx X Position variation when effect begins.
28654     * @param from_dy Y Position variation when effect begins.
28655     * @param to_dx X Position variation when effect ends.
28656     * @param to_dy Y Position variation when effect ends.
28657     * @return Translation effect context data.
28658     *
28659     * @ingroup Transit
28660     * @warning It is highly recommended just create a transit with this effect when
28661     * the window that the objects of the transit belongs has already been created.
28662     * This is because this effect needs the geometry information about the objects,
28663     * and if the window was not created yet, it can get a wrong information.
28664     */
28665    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);
28666
28667    /**
28668     * Add the Zoom Effect to Elm_Transit.
28669     *
28670     * @note This API is one of the facades. It creates zoom effect context
28671     * and add it's required APIs to elm_transit_effect_add.
28672     *
28673     * @see elm_transit_effect_add()
28674     *
28675     * @param transit Transit object.
28676     * @param from_rate Scale rate when effect begins (1 is current rate).
28677     * @param to_rate Scale rate when effect ends.
28678     * @return Zoom effect context data.
28679     *
28680     * @ingroup Transit
28681     * @warning It is highly recommended just create a transit with this effect when
28682     * the window that the objects of the transit belongs has already been created.
28683     * This is because this effect needs the geometry information about the objects,
28684     * and if the window was not created yet, it can get a wrong information.
28685     */
28686    EAPI Elm_Transit_Effect *elm_transit_effect_zoom_add(Elm_Transit *transit, float from_rate, float to_rate);
28687
28688    /**
28689     * Add the Flip Effect to Elm_Transit.
28690     *
28691     * @note This API is one of the facades. It creates flip effect context
28692     * and add it's required APIs to elm_transit_effect_add.
28693     * @note This effect is applied to each pair of objects in the order they are listed
28694     * in the transit list of objects. The first object in the pair will be the
28695     * "front" object and the second will be the "back" object.
28696     *
28697     * @see elm_transit_effect_add()
28698     *
28699     * @param transit Transit object.
28700     * @param axis Flipping Axis(X or Y).
28701     * @param cw Flipping Direction. EINA_TRUE is clock-wise.
28702     * @return Flip effect context data.
28703     *
28704     * @ingroup Transit
28705     * @warning It is highly recommended just create a transit with this effect when
28706     * the window that the objects of the transit belongs has already been created.
28707     * This is because this effect needs the geometry information about the objects,
28708     * and if the window was not created yet, it can get a wrong information.
28709     */
28710    EAPI Elm_Transit_Effect *elm_transit_effect_flip_add(Elm_Transit *transit, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw);
28711
28712    /**
28713     * Add the Resizable Flip Effect to Elm_Transit.
28714     *
28715     * @note This API is one of the facades. It creates resizable flip effect context
28716     * and add it's required APIs to elm_transit_effect_add.
28717     * @note This effect is applied to each pair of objects in the order they are listed
28718     * in the transit list of objects. The first object in the pair will be the
28719     * "front" object and the second will be the "back" object.
28720     *
28721     * @see elm_transit_effect_add()
28722     *
28723     * @param transit Transit object.
28724     * @param axis Flipping Axis(X or Y).
28725     * @param cw Flipping Direction. EINA_TRUE is clock-wise.
28726     * @return Resizable flip effect context data.
28727     *
28728     * @ingroup Transit
28729     * @warning It is highly recommended just create a transit with this effect when
28730     * the window that the objects of the transit belongs has already been created.
28731     * This is because this effect needs the geometry information about the objects,
28732     * and if the window was not created yet, it can get a wrong information.
28733     */
28734    EAPI Elm_Transit_Effect *elm_transit_effect_resizable_flip_add(Elm_Transit *transit, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw);
28735
28736    /**
28737     * Add the Wipe Effect to Elm_Transit.
28738     *
28739     * @note This API is one of the facades. It creates wipe effect context
28740     * and add it's required APIs to elm_transit_effect_add.
28741     *
28742     * @see elm_transit_effect_add()
28743     *
28744     * @param transit Transit object.
28745     * @param type Wipe type. Hide or show.
28746     * @param dir Wipe Direction.
28747     * @return Wipe effect context data.
28748     *
28749     * @ingroup Transit
28750     * @warning It is highly recommended just create a transit with this effect when
28751     * the window that the objects of the transit belongs has already been created.
28752     * This is because this effect needs the geometry information about the objects,
28753     * and if the window was not created yet, it can get a wrong information.
28754     */
28755    EAPI Elm_Transit_Effect *elm_transit_effect_wipe_add(Elm_Transit *transit, Elm_Transit_Effect_Wipe_Type type, Elm_Transit_Effect_Wipe_Dir dir);
28756
28757    /**
28758     * Add the Color Effect to Elm_Transit.
28759     *
28760     * @note This API is one of the facades. It creates color effect context
28761     * and add it's required APIs to elm_transit_effect_add.
28762     *
28763     * @see elm_transit_effect_add()
28764     *
28765     * @param transit        Transit object.
28766     * @param  from_r        RGB R when effect begins.
28767     * @param  from_g        RGB G when effect begins.
28768     * @param  from_b        RGB B when effect begins.
28769     * @param  from_a        RGB A when effect begins.
28770     * @param  to_r          RGB R when effect ends.
28771     * @param  to_g          RGB G when effect ends.
28772     * @param  to_b          RGB B when effect ends.
28773     * @param  to_a          RGB A when effect ends.
28774     * @return               Color effect context data.
28775     *
28776     * @ingroup Transit
28777     */
28778    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);
28779
28780    /**
28781     * Add the Fade Effect to Elm_Transit.
28782     *
28783     * @note This API is one of the facades. It creates fade effect context
28784     * and add it's required APIs to elm_transit_effect_add.
28785     * @note This effect is applied to each pair of objects in the order they are listed
28786     * in the transit list of objects. The first object in the pair will be the
28787     * "before" object and the second will be the "after" object.
28788     *
28789     * @see elm_transit_effect_add()
28790     *
28791     * @param transit Transit object.
28792     * @return Fade effect context data.
28793     *
28794     * @ingroup Transit
28795     * @warning It is highly recommended just create a transit with this effect when
28796     * the window that the objects of the transit belongs has already been created.
28797     * This is because this effect needs the color information about the objects,
28798     * and if the window was not created yet, it can get a wrong information.
28799     */
28800    EAPI Elm_Transit_Effect *elm_transit_effect_fade_add(Elm_Transit *transit);
28801
28802    /**
28803     * Add the Blend Effect to Elm_Transit.
28804     *
28805     * @note This API is one of the facades. It creates blend effect context
28806     * and add it's required APIs to elm_transit_effect_add.
28807     * @note This effect is applied to each pair of objects in the order they are listed
28808     * in the transit list of objects. The first object in the pair will be the
28809     * "before" object and the second will be the "after" object.
28810     *
28811     * @see elm_transit_effect_add()
28812     *
28813     * @param transit Transit object.
28814     * @return Blend effect context data.
28815     *
28816     * @ingroup Transit
28817     * @warning It is highly recommended just create a transit with this effect when
28818     * the window that the objects of the transit belongs has already been created.
28819     * This is because this effect needs the color information about the objects,
28820     * and if the window was not created yet, it can get a wrong information.
28821     */
28822    EAPI Elm_Transit_Effect *elm_transit_effect_blend_add(Elm_Transit *transit);
28823
28824    /**
28825     * Add the Rotation Effect to Elm_Transit.
28826     *
28827     * @note This API is one of the facades. It creates rotation effect context
28828     * and add it's required APIs to elm_transit_effect_add.
28829     *
28830     * @see elm_transit_effect_add()
28831     *
28832     * @param transit Transit object.
28833     * @param from_degree Degree when effect begins.
28834     * @param to_degree Degree when effect is ends.
28835     * @return Rotation effect context data.
28836     *
28837     * @ingroup Transit
28838     * @warning It is highly recommended just create a transit with this effect when
28839     * the window that the objects of the transit belongs has already been created.
28840     * This is because this effect needs the geometry information about the objects,
28841     * and if the window was not created yet, it can get a wrong information.
28842     */
28843    EAPI Elm_Transit_Effect *elm_transit_effect_rotation_add(Elm_Transit *transit, float from_degree, float to_degree);
28844
28845    /**
28846     * Add the ImageAnimation Effect to Elm_Transit.
28847     *
28848     * @note This API is one of the facades. It creates image animation effect context
28849     * and add it's required APIs to elm_transit_effect_add.
28850     * The @p images parameter is a list images paths. This list and
28851     * its contents will be deleted at the end of the effect by
28852     * elm_transit_effect_image_animation_context_free() function.
28853     *
28854     * Example:
28855     * @code
28856     * char buf[PATH_MAX];
28857     * Eina_List *images = NULL;
28858     * Elm_Transit *transi = elm_transit_add();
28859     *
28860     * snprintf(buf, sizeof(buf), "%s/images/icon_11.png", PACKAGE_DATA_DIR);
28861     * images = eina_list_append(images, eina_stringshare_add(buf));
28862     *
28863     * snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR);
28864     * images = eina_list_append(images, eina_stringshare_add(buf));
28865     * elm_transit_effect_image_animation_add(transi, images);
28866     *
28867     * @endcode
28868     *
28869     * @see elm_transit_effect_add()
28870     *
28871     * @param transit Transit object.
28872     * @param images Eina_List of images file paths. This list and
28873     * its contents will be deleted at the end of the effect by
28874     * elm_transit_effect_image_animation_context_free() function.
28875     * @return Image Animation effect context data.
28876     *
28877     * @ingroup Transit
28878     */
28879    EAPI Elm_Transit_Effect *elm_transit_effect_image_animation_add(Elm_Transit *transit, Eina_List *images);
28880    /**
28881     * @}
28882     */
28883
28884    typedef struct _Elm_Store                      Elm_Store;
28885    typedef struct _Elm_Store_Filesystem           Elm_Store_Filesystem;
28886    typedef struct _Elm_Store_Item                 Elm_Store_Item;
28887    typedef struct _Elm_Store_Item_Filesystem      Elm_Store_Item_Filesystem;
28888    typedef struct _Elm_Store_Item_Info            Elm_Store_Item_Info;
28889    typedef struct _Elm_Store_Item_Info_Filesystem Elm_Store_Item_Info_Filesystem;
28890    typedef struct _Elm_Store_Item_Mapping         Elm_Store_Item_Mapping;
28891    typedef struct _Elm_Store_Item_Mapping_Empty   Elm_Store_Item_Mapping_Empty;
28892    typedef struct _Elm_Store_Item_Mapping_Icon    Elm_Store_Item_Mapping_Icon;
28893    typedef struct _Elm_Store_Item_Mapping_Photo   Elm_Store_Item_Mapping_Photo;
28894    typedef struct _Elm_Store_Item_Mapping_Custom  Elm_Store_Item_Mapping_Custom;
28895
28896    typedef Eina_Bool (*Elm_Store_Item_List_Cb) (void *data, Elm_Store_Item_Info *info);
28897    typedef void      (*Elm_Store_Item_Fetch_Cb) (void *data, Elm_Store_Item *sti);
28898    typedef void      (*Elm_Store_Item_Unfetch_Cb) (void *data, Elm_Store_Item *sti);
28899    typedef void     *(*Elm_Store_Item_Mapping_Cb) (void *data, Elm_Store_Item *sti, const char *part);
28900
28901    typedef enum
28902      {
28903         ELM_STORE_ITEM_MAPPING_NONE = 0,
28904         ELM_STORE_ITEM_MAPPING_LABEL, // const char * -> label
28905         ELM_STORE_ITEM_MAPPING_STATE, // Eina_Bool -> state
28906         ELM_STORE_ITEM_MAPPING_ICON, // char * -> icon path
28907         ELM_STORE_ITEM_MAPPING_PHOTO, // char * -> photo path
28908         ELM_STORE_ITEM_MAPPING_CUSTOM, // item->custom(it->data, it, part) -> void * (-> any)
28909         // can add more here as needed by common apps
28910         ELM_STORE_ITEM_MAPPING_LAST
28911      } Elm_Store_Item_Mapping_Type;
28912
28913    struct _Elm_Store_Item_Mapping_Icon
28914      {
28915         // FIXME: allow edje file icons
28916         int                   w, h;
28917         Elm_Icon_Lookup_Order lookup_order;
28918         Eina_Bool             standard_name : 1;
28919         Eina_Bool             no_scale : 1;
28920         Eina_Bool             smooth : 1;
28921         Eina_Bool             scale_up : 1;
28922         Eina_Bool             scale_down : 1;
28923      };
28924
28925    struct _Elm_Store_Item_Mapping_Empty
28926      {
28927         Eina_Bool             dummy;
28928      };
28929
28930    struct _Elm_Store_Item_Mapping_Photo
28931      {
28932         int                   size;
28933      };
28934
28935    struct _Elm_Store_Item_Mapping_Custom
28936      {
28937         Elm_Store_Item_Mapping_Cb func;
28938      };
28939
28940    struct _Elm_Store_Item_Mapping
28941      {
28942         Elm_Store_Item_Mapping_Type     type;
28943         const char                     *part;
28944         int                             offset;
28945         union
28946           {
28947              Elm_Store_Item_Mapping_Empty  empty;
28948              Elm_Store_Item_Mapping_Icon   icon;
28949              Elm_Store_Item_Mapping_Photo  photo;
28950              Elm_Store_Item_Mapping_Custom custom;
28951              // add more types here
28952           } details;
28953      };
28954
28955    struct _Elm_Store_Item_Info
28956      {
28957         Elm_Genlist_Item_Class       *item_class;
28958         const Elm_Store_Item_Mapping *mapping;
28959         void                         *data;
28960         char                         *sort_id;
28961      };
28962
28963    struct _Elm_Store_Item_Info_Filesystem
28964      {
28965         Elm_Store_Item_Info  base;
28966         char                *path;
28967      };
28968
28969 #define ELM_STORE_ITEM_MAPPING_END { ELM_STORE_ITEM_MAPPING_NONE, NULL, 0, { .empty = { EINA_TRUE } } }
28970 #define ELM_STORE_ITEM_MAPPING_OFFSET(st, it) offsetof(st, it)
28971
28972    EAPI void                    elm_store_free(Elm_Store *st);
28973
28974    EAPI Elm_Store              *elm_store_filesystem_new(void);
28975    EAPI void                    elm_store_filesystem_directory_set(Elm_Store *st, const char *dir) EINA_ARG_NONNULL(1);
28976    EAPI const char             *elm_store_filesystem_directory_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
28977    EAPI const char             *elm_store_item_filesystem_path_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
28978
28979    EAPI void                    elm_store_target_genlist_set(Elm_Store *st, Evas_Object *obj) EINA_ARG_NONNULL(1);
28980
28981    EAPI void                    elm_store_cache_set(Elm_Store *st, int max) EINA_ARG_NONNULL(1);
28982    EAPI int                     elm_store_cache_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
28983    EAPI void                    elm_store_list_func_set(Elm_Store *st, Elm_Store_Item_List_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
28984    EAPI void                    elm_store_fetch_func_set(Elm_Store *st, Elm_Store_Item_Fetch_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
28985    EAPI void                    elm_store_fetch_thread_set(Elm_Store *st, Eina_Bool use_thread) EINA_ARG_NONNULL(1);
28986    EAPI Eina_Bool               elm_store_fetch_thread_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
28987
28988    EAPI void                    elm_store_unfetch_func_set(Elm_Store *st, Elm_Store_Item_Unfetch_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
28989    EAPI void                    elm_store_sorted_set(Elm_Store *st, Eina_Bool sorted) EINA_ARG_NONNULL(1);
28990    EAPI Eina_Bool               elm_store_sorted_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
28991    EAPI void                    elm_store_item_data_set(Elm_Store_Item *sti, void *data) EINA_ARG_NONNULL(1);
28992    EAPI void                   *elm_store_item_data_get(Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
28993    EAPI const Elm_Store        *elm_store_item_store_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
28994    EAPI const Elm_Genlist_Item *elm_store_item_genlist_item_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
28995
28996    /**
28997     * @defgroup SegmentControl SegmentControl
28998     * @ingroup Elementary
28999     *
29000     * @image html img/widget/segment_control/preview-00.png
29001     * @image latex img/widget/segment_control/preview-00.eps width=\textwidth
29002     *
29003     * @image html img/segment_control.png
29004     * @image latex img/segment_control.eps width=\textwidth
29005     *
29006     * Segment control widget is a horizontal control made of multiple segment
29007     * items, each segment item functioning similar to discrete two state button.
29008     * A segment control groups the items together and provides compact
29009     * single button with multiple equal size segments.
29010     *
29011     * Segment item size is determined by base widget
29012     * size and the number of items added.
29013     * Only one segment item can be at selected state. A segment item can display
29014     * combination of Text and any Evas_Object like Images or other widget.
29015     *
29016     * Smart callbacks one can listen to:
29017     * - "changed" - When the user clicks on a segment item which is not
29018     *   previously selected and get selected. The event_info parameter is the
29019     *   segment item pointer.
29020     *
29021     * Available styles for it:
29022     * - @c "default"
29023     *
29024     * Here is an example on its usage:
29025     * @li @ref segment_control_example
29026     */
29027
29028    /**
29029     * @addtogroup SegmentControl
29030     * @{
29031     */
29032
29033    typedef struct _Elm_Segment_Item Elm_Segment_Item; /**< Item handle for a segment control widget. */
29034
29035    /**
29036     * Add a new segment control widget to the given parent Elementary
29037     * (container) object.
29038     *
29039     * @param parent The parent object.
29040     * @return a new segment control widget handle or @c NULL, on errors.
29041     *
29042     * This function inserts a new segment control widget on the canvas.
29043     *
29044     * @ingroup SegmentControl
29045     */
29046    EAPI Evas_Object      *elm_segment_control_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
29047
29048    /**
29049     * Append a new item to the segment control object.
29050     *
29051     * @param obj The segment control object.
29052     * @param icon The icon object to use for the left side of the item. An
29053     * icon can be any Evas object, but usually it is an icon created
29054     * with elm_icon_add().
29055     * @param label The label of the item.
29056     *        Note that, NULL is different from empty string "".
29057     * @return The created item or @c NULL upon failure.
29058     *
29059     * A new item will be created and appended to the segment control, i.e., will
29060     * be set as @b last item.
29061     *
29062     * If it should be inserted at another position,
29063     * elm_segment_control_item_insert_at() should be used instead.
29064     *
29065     * Items created with this function can be deleted with function
29066     * elm_segment_control_item_del() or elm_segment_control_item_del_at().
29067     *
29068     * @note @p label set to @c NULL is different from empty string "".
29069     * If an item
29070     * only has icon, it will be displayed bigger and centered. If it has
29071     * icon and label, even that an empty string, icon will be smaller and
29072     * positioned at left.
29073     *
29074     * Simple example:
29075     * @code
29076     * sc = elm_segment_control_add(win);
29077     * ic = elm_icon_add(win);
29078     * elm_icon_file_set(ic, "path/to/image", NULL);
29079     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
29080     * elm_segment_control_item_add(sc, ic, "label");
29081     * evas_object_show(sc);
29082     * @endcode
29083     *
29084     * @see elm_segment_control_item_insert_at()
29085     * @see elm_segment_control_item_del()
29086     *
29087     * @ingroup SegmentControl
29088     */
29089    EAPI Elm_Segment_Item *elm_segment_control_item_add(Evas_Object *obj, Evas_Object *icon, const char *label) EINA_ARG_NONNULL(1);
29090
29091    /**
29092     * Insert a new item to the segment control object at specified position.
29093     *
29094     * @param obj The segment control object.
29095     * @param icon The icon object to use for the left side of the item. An
29096     * icon can be any Evas object, but usually it is an icon created
29097     * with elm_icon_add().
29098     * @param label The label of the item.
29099     * @param index Item position. Value should be between 0 and items count.
29100     * @return The created item or @c NULL upon failure.
29101
29102     * Index values must be between @c 0, when item will be prepended to
29103     * segment control, and items count, that can be get with
29104     * elm_segment_control_item_count_get(), case when item will be appended
29105     * to segment control, just like elm_segment_control_item_add().
29106     *
29107     * Items created with this function can be deleted with function
29108     * elm_segment_control_item_del() or elm_segment_control_item_del_at().
29109     *
29110     * @note @p label set to @c NULL is different from empty string "".
29111     * If an item
29112     * only has icon, it will be displayed bigger and centered. If it has
29113     * icon and label, even that an empty string, icon will be smaller and
29114     * positioned at left.
29115     *
29116     * @see elm_segment_control_item_add()
29117     * @see elm_segment_control_item_count_get()
29118     * @see elm_segment_control_item_del()
29119     *
29120     * @ingroup SegmentControl
29121     */
29122    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);
29123
29124    /**
29125     * Remove a segment control item from its parent, deleting it.
29126     *
29127     * @param it The item to be removed.
29128     *
29129     * Items can be added with elm_segment_control_item_add() or
29130     * elm_segment_control_item_insert_at().
29131     *
29132     * @ingroup SegmentControl
29133     */
29134    EAPI void              elm_segment_control_item_del(Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
29135
29136    /**
29137     * Remove a segment control item at given index from its parent,
29138     * deleting it.
29139     *
29140     * @param obj The segment control object.
29141     * @param index The position of the segment control item to be deleted.
29142     *
29143     * Items can be added with elm_segment_control_item_add() or
29144     * elm_segment_control_item_insert_at().
29145     *
29146     * @ingroup SegmentControl
29147     */
29148    EAPI void              elm_segment_control_item_del_at(Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
29149
29150    /**
29151     * Get the Segment items count from segment control.
29152     *
29153     * @param obj The segment control object.
29154     * @return Segment items count.
29155     *
29156     * It will just return the number of items added to segment control @p obj.
29157     *
29158     * @ingroup SegmentControl
29159     */
29160    EAPI int               elm_segment_control_item_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
29161
29162    /**
29163     * Get the item placed at specified index.
29164     *
29165     * @param obj The segment control object.
29166     * @param index The index of the segment item.
29167     * @return The segment control item or @c NULL on failure.
29168     *
29169     * Index is the position of an item in segment control widget. Its
29170     * range is from @c 0 to <tt> count - 1 </tt>.
29171     * Count is the number of items, that can be get with
29172     * elm_segment_control_item_count_get().
29173     *
29174     * @ingroup SegmentControl
29175     */
29176    EAPI Elm_Segment_Item *elm_segment_control_item_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
29177
29178    /**
29179     * Get the label of item.
29180     *
29181     * @param obj The segment control object.
29182     * @param index The index of the segment item.
29183     * @return The label of the item at @p index.
29184     *
29185     * The return value is a pointer to the label associated to the item when
29186     * it was created, with function elm_segment_control_item_add(), or later
29187     * with function elm_segment_control_item_label_set. If no label
29188     * was passed as argument, it will return @c NULL.
29189     *
29190     * @see elm_segment_control_item_label_set() for more details.
29191     * @see elm_segment_control_item_add()
29192     *
29193     * @ingroup SegmentControl
29194     */
29195    EAPI const char       *elm_segment_control_item_label_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
29196
29197    /**
29198     * Set the label of item.
29199     *
29200     * @param it The item of segment control.
29201     * @param text The label of item.
29202     *
29203     * The label to be displayed by the item.
29204     * Label will be at right of the icon (if set).
29205     *
29206     * If a label was passed as argument on item creation, with function
29207     * elm_control_segment_item_add(), it will be already
29208     * displayed by the item.
29209     *
29210     * @see elm_segment_control_item_label_get()
29211     * @see elm_segment_control_item_add()
29212     *
29213     * @ingroup SegmentControl
29214     */
29215    EAPI void              elm_segment_control_item_label_set(Elm_Segment_Item* it, const char* label) EINA_ARG_NONNULL(1);
29216
29217    /**
29218     * Get the icon associated to the item.
29219     *
29220     * @param obj The segment control object.
29221     * @param index The index of the segment item.
29222     * @return The left side icon associated to the item at @p index.
29223     *
29224     * The return value is a pointer to the icon associated to the item when
29225     * it was created, with function elm_segment_control_item_add(), or later
29226     * with function elm_segment_control_item_icon_set(). If no icon
29227     * was passed as argument, it will return @c NULL.
29228     *
29229     * @see elm_segment_control_item_add()
29230     * @see elm_segment_control_item_icon_set()
29231     *
29232     * @ingroup SegmentControl
29233     */
29234    EAPI Evas_Object      *elm_segment_control_item_icon_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
29235
29236    /**
29237     * Set the icon associated to the item.
29238     *
29239     * @param it The segment control item.
29240     * @param icon The icon object to associate with @p it.
29241     *
29242     * The icon object to use at left side of the item. An
29243     * icon can be any Evas object, but usually it is an icon created
29244     * with elm_icon_add().
29245     *
29246     * Once the icon object is set, a previously set one will be deleted.
29247     * @warning Setting the same icon for two items will cause the icon to
29248     * dissapear from the first item.
29249     *
29250     * If an icon was passed as argument on item creation, with function
29251     * elm_segment_control_item_add(), it will be already
29252     * associated to the item.
29253     *
29254     * @see elm_segment_control_item_add()
29255     * @see elm_segment_control_item_icon_get()
29256     *
29257     * @ingroup SegmentControl
29258     */
29259    EAPI void              elm_segment_control_item_icon_set(Elm_Segment_Item *it, Evas_Object *icon) EINA_ARG_NONNULL(1);
29260
29261    /**
29262     * Get the index of an item.
29263     *
29264     * @param it The segment control item.
29265     * @return The position of item in segment control widget.
29266     *
29267     * Index is the position of an item in segment control widget. Its
29268     * range is from @c 0 to <tt> count - 1 </tt>.
29269     * Count is the number of items, that can be get with
29270     * elm_segment_control_item_count_get().
29271     *
29272     * @ingroup SegmentControl
29273     */
29274    EAPI int               elm_segment_control_item_index_get(const Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
29275
29276    /**
29277     * Get the base object of the item.
29278     *
29279     * @param it The segment control item.
29280     * @return The base object associated with @p it.
29281     *
29282     * Base object is the @c Evas_Object that represents that item.
29283     *
29284     * @ingroup SegmentControl
29285     */
29286    EAPI Evas_Object      *elm_segment_control_item_object_get(const Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
29287
29288    /**
29289     * Get the selected item.
29290     *
29291     * @param obj The segment control object.
29292     * @return The selected item or @c NULL if none of segment items is
29293     * selected.
29294     *
29295     * The selected item can be unselected with function
29296     * elm_segment_control_item_selected_set().
29297     *
29298     * The selected item always will be highlighted on segment control.
29299     *
29300     * @ingroup SegmentControl
29301     */
29302    EAPI Elm_Segment_Item *elm_segment_control_item_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
29303
29304    /**
29305     * Set the selected state of an item.
29306     *
29307     * @param it The segment control item
29308     * @param select The selected state
29309     *
29310     * This sets the selected state of the given item @p it.
29311     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
29312     *
29313     * If a new item is selected the previosly selected will be unselected.
29314     * Previoulsy selected item can be get with function
29315     * elm_segment_control_item_selected_get().
29316     *
29317     * The selected item always will be highlighted on segment control.
29318     *
29319     * @see elm_segment_control_item_selected_get()
29320     *
29321     * @ingroup SegmentControl
29322     */
29323    EAPI void              elm_segment_control_item_selected_set(Elm_Segment_Item *it, Eina_Bool select) EINA_ARG_NONNULL(1);
29324
29325    /**
29326     * @}
29327     */
29328
29329    /**
29330     * @defgroup Grid Grid
29331     *
29332     * The grid is a grid layout widget that lays out a series of children as a
29333     * fixed "grid" of widgets using a given percentage of the grid width and
29334     * height each using the child object.
29335     *
29336     * The Grid uses a "Virtual resolution" that is stretched to fill the grid
29337     * widgets size itself. The default is 100 x 100, so that means the
29338     * position and sizes of children will effectively be percentages (0 to 100)
29339     * of the width or height of the grid widget
29340     *
29341     * @{
29342     */
29343
29344    /**
29345     * Add a new grid to the parent
29346     *
29347     * @param parent The parent object
29348     * @return The new object or NULL if it cannot be created
29349     *
29350     * @ingroup Grid
29351     */
29352    EAPI Evas_Object *elm_grid_add(Evas_Object *parent);
29353
29354    /**
29355     * Set the virtual size of the grid
29356     *
29357     * @param obj The grid object
29358     * @param w The virtual width of the grid
29359     * @param h The virtual height of the grid
29360     *
29361     * @ingroup Grid
29362     */
29363    EAPI void         elm_grid_size_set(Evas_Object *obj, int w, int h);
29364
29365    /**
29366     * Get the virtual size of the grid
29367     *
29368     * @param obj The grid object
29369     * @param w Pointer to integer to store the virtual width of the grid
29370     * @param h Pointer to integer to store the virtual height of the grid
29371     *
29372     * @ingroup Grid
29373     */
29374    EAPI void         elm_grid_size_get(Evas_Object *obj, int *w, int *h);
29375
29376    /**
29377     * Pack child at given position and size
29378     *
29379     * @param obj The grid object
29380     * @param subobj The child to pack
29381     * @param x The virtual x coord at which to pack it
29382     * @param y The virtual y coord at which to pack it
29383     * @param w The virtual width at which to pack it
29384     * @param h The virtual height at which to pack it
29385     *
29386     * @ingroup Grid
29387     */
29388    EAPI void         elm_grid_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h);
29389
29390    /**
29391     * Unpack a child from a grid object
29392     *
29393     * @param obj The grid object
29394     * @param subobj The child to unpack
29395     *
29396     * @ingroup Grid
29397     */
29398    EAPI void         elm_grid_unpack(Evas_Object *obj, Evas_Object *subobj);
29399
29400    /**
29401     * Faster way to remove all child objects from a grid object.
29402     *
29403     * @param obj The grid object
29404     * @param clear If true, it will delete just removed children
29405     *
29406     * @ingroup Grid
29407     */
29408    EAPI void         elm_grid_clear(Evas_Object *obj, Eina_Bool clear);
29409
29410    /**
29411     * Set packing of an existing child at to position and size
29412     *
29413     * @param subobj The child to set packing of
29414     * @param x The virtual x coord at which to pack it
29415     * @param y The virtual y coord at which to pack it
29416     * @param w The virtual width at which to pack it
29417     * @param h The virtual height at which to pack it
29418     *
29419     * @ingroup Grid
29420     */
29421    EAPI void         elm_grid_pack_set(Evas_Object *subobj, int x, int y, int w, int h);
29422
29423    /**
29424     * get packing of a child
29425     *
29426     * @param subobj The child to query
29427     * @param x Pointer to integer to store the virtual x coord
29428     * @param y Pointer to integer to store the virtual y coord
29429     * @param w Pointer to integer to store the virtual width
29430     * @param h Pointer to integer to store the virtual height
29431     *
29432     * @ingroup Grid
29433     */
29434    EAPI void         elm_grid_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h);
29435
29436    /**
29437     * @}
29438     */
29439
29440    EAPI Evas_Object *elm_factory_add(Evas_Object *parent);
29441    EINA_DEPRECATED EAPI void         elm_factory_content_set(Evas_Object *obj, Evas_Object *content);
29442    EINA_DEPRECATED EAPI Evas_Object *elm_factory_content_get(const Evas_Object *obj);
29443    EAPI void         elm_factory_maxmin_mode_set(Evas_Object *obj, Eina_Bool enabled);
29444    EAPI Eina_Bool    elm_factory_maxmin_mode_get(const Evas_Object *obj);
29445    EAPI void         elm_factory_maxmin_reset_set(Evas_Object *obj);
29446
29447    /**
29448     * @defgroup Video Video
29449     *
29450     * @addtogroup Video
29451     * @{
29452     *
29453     * Elementary comes with two object that help design application that need
29454     * to display video. The main one, Elm_Video, display a video by using Emotion.
29455     * It does embedded the video inside an Edje object, so you can do some
29456     * animation depending on the video state change. It does also implement a
29457     * ressource management policy to remove this burden from the application writer.
29458     *
29459     * The second one, Elm_Player is a video player that need to be linked with and Elm_Video.
29460     * It take care of updating its content according to Emotion event and provide a
29461     * way to theme itself. It also does automatically raise the priority of the
29462     * linked Elm_Video so it will use the video decoder if available. It also does
29463     * activate the remember function on the linked Elm_Video object.
29464     *
29465     * Signals that you can add callback for are :
29466     *
29467     * "forward,clicked" - the user clicked the forward button.
29468     * "info,clicked" - the user clicked the info button.
29469     * "next,clicked" - the user clicked the next button.
29470     * "pause,clicked" - the user clicked the pause button.
29471     * "play,clicked" - the user clicked the play button.
29472     * "prev,clicked" - the user clicked the prev button.
29473     * "rewind,clicked" - the user clicked the rewind button.
29474     * "stop,clicked" - the user clicked the stop button.
29475     *
29476     * Default contents parts of the player widget that you can use for are:
29477     * @li "video" - A video of the player
29478     *
29479     */
29480
29481    /**
29482     * @brief Add a new Elm_Player object to the given parent Elementary (container) object.
29483     *
29484     * @param parent The parent object
29485     * @return a new player widget handle or @c NULL, on errors.
29486     *
29487     * This function inserts a new player widget on the canvas.
29488     *
29489     * @see elm_object_part_content_set()
29490     *
29491     * @ingroup Video
29492     */
29493    EAPI Evas_Object *elm_player_add(Evas_Object *parent);
29494
29495    /**
29496     * @brief Link a Elm_Payer with an Elm_Video object.
29497     *
29498     * @param player the Elm_Player object.
29499     * @param video The Elm_Video object.
29500     *
29501     * This mean that action on the player widget will affect the
29502     * video object and the state of the video will be reflected in
29503     * the player itself.
29504     *
29505     * @see elm_player_add()
29506     * @see elm_video_add()
29507     * @deprecated use elm_object_part_content_set() instead
29508     *
29509     * @ingroup Video
29510     */
29511    EINA_DEPRECATED EAPI void elm_player_video_set(Evas_Object *player, Evas_Object *video);
29512
29513    /**
29514     * @brief Add a new Elm_Video object to the given parent Elementary (container) object.
29515     *
29516     * @param parent The parent object
29517     * @return a new video widget handle or @c NULL, on errors.
29518     *
29519     * This function inserts a new video widget on the canvas.
29520     *
29521     * @seeelm_video_file_set()
29522     * @see elm_video_uri_set()
29523     *
29524     * @ingroup Video
29525     */
29526    EAPI Evas_Object *elm_video_add(Evas_Object *parent);
29527
29528    /**
29529     * @brief Define the file that will be the video source.
29530     *
29531     * @param video The video object to define the file for.
29532     * @param filename The file to target.
29533     *
29534     * This function will explicitly define a filename as a source
29535     * for the video of the Elm_Video object.
29536     *
29537     * @see elm_video_uri_set()
29538     * @see elm_video_add()
29539     * @see elm_player_add()
29540     *
29541     * @ingroup Video
29542     */
29543    EAPI void elm_video_file_set(Evas_Object *video, const char *filename);
29544
29545    /**
29546     * @brief Define the uri that will be the video source.
29547     *
29548     * @param video The video object to define the file for.
29549     * @param uri The uri to target.
29550     *
29551     * This function will define an uri as a source for the video of the
29552     * Elm_Video object. URI could be remote source of video, like http:// or local source
29553     * like for example WebCam who are most of the time v4l2:// (but that depend and
29554     * you should use Emotion API to request and list the available Webcam on your system).
29555     *
29556     * @see elm_video_file_set()
29557     * @see elm_video_add()
29558     * @see elm_player_add()
29559     *
29560     * @ingroup Video
29561     */
29562    EAPI void elm_video_uri_set(Evas_Object *video, const char *uri);
29563
29564    /**
29565     * @brief Get the underlying Emotion object.
29566     *
29567     * @param video The video object to proceed the request on.
29568     * @return the underlying Emotion object.
29569     *
29570     * @ingroup Video
29571     */
29572    EAPI Evas_Object *elm_video_emotion_get(const Evas_Object *video);
29573
29574    /**
29575     * @brief Start to play the video
29576     *
29577     * @param video The video object to proceed the request on.
29578     *
29579     * Start to play the video and cancel all suspend state.
29580     *
29581     * @ingroup Video
29582     */
29583    EAPI void elm_video_play(Evas_Object *video);
29584
29585    /**
29586     * @brief Pause the video
29587     *
29588     * @param video The video object to proceed the request on.
29589     *
29590     * Pause the video and start a timer to trigger suspend mode.
29591     *
29592     * @ingroup Video
29593     */
29594    EAPI void elm_video_pause(Evas_Object *video);
29595
29596    /**
29597     * @brief Stop the video
29598     *
29599     * @param video The video object to proceed the request on.
29600     *
29601     * Stop the video and put the emotion in deep sleep mode.
29602     *
29603     * @ingroup Video
29604     */
29605    EAPI void elm_video_stop(Evas_Object *video);
29606
29607    /**
29608     * @brief Is the video actually playing.
29609     *
29610     * @param video The video object to proceed the request on.
29611     * @return EINA_TRUE if the video is actually playing.
29612     *
29613     * You should consider watching event on the object instead of polling
29614     * the object state.
29615     *
29616     * @ingroup Video
29617     */
29618    EAPI Eina_Bool elm_video_is_playing(const Evas_Object *video);
29619
29620    /**
29621     * @brief Is it possible to seek inside the video.
29622     *
29623     * @param video The video object to proceed the request on.
29624     * @return EINA_TRUE if is possible to seek inside the video.
29625     *
29626     * @ingroup Video
29627     */
29628    EAPI Eina_Bool elm_video_is_seekable(const Evas_Object *video);
29629
29630    /**
29631     * @brief Is the audio muted.
29632     *
29633     * @param video The video object to proceed the request on.
29634     * @return EINA_TRUE if the audio is muted.
29635     *
29636     * @ingroup Video
29637     */
29638    EAPI Eina_Bool elm_video_audio_mute_get(const Evas_Object *video);
29639
29640    /**
29641     * @brief Change the mute state of the Elm_Video object.
29642     *
29643     * @param video The video object to proceed the request on.
29644     * @param mute The new mute state.
29645     *
29646     * @ingroup Video
29647     */
29648    EAPI void elm_video_audio_mute_set(Evas_Object *video, Eina_Bool mute);
29649
29650    /**
29651     * @brief Get the audio level of the current video.
29652     *
29653     * @param video The video object to proceed the request on.
29654     * @return the current audio level.
29655     *
29656     * @ingroup Video
29657     */
29658    EAPI double elm_video_audio_level_get(const Evas_Object *video);
29659
29660    /**
29661     * @brief Set the audio level of anElm_Video object.
29662     *
29663     * @param video The video object to proceed the request on.
29664     * @param volume The new audio volume.
29665     *
29666     * @ingroup Video
29667     */
29668    EAPI void elm_video_audio_level_set(Evas_Object *video, double volume);
29669
29670    EAPI double elm_video_play_position_get(const Evas_Object *video);
29671    EAPI void elm_video_play_position_set(Evas_Object *video, double position);
29672    EAPI double elm_video_play_length_get(const Evas_Object *video);
29673    EAPI void elm_video_remember_position_set(Evas_Object *video, Eina_Bool remember);
29674    EAPI Eina_Bool elm_video_remember_position_get(const Evas_Object *video);
29675    EAPI const char *elm_video_title_get(const Evas_Object *video);
29676    /**
29677     * @}
29678     */
29679
29680    /**
29681     * @defgroup Naviframe Naviframe
29682     * @ingroup Elementary
29683     *
29684     * @brief Naviframe is a kind of view manager for the applications.
29685     *
29686     * Naviframe provides functions to switch different pages with stack
29687     * mechanism. It means if one page(item) needs to be changed to the new one,
29688     * then naviframe would push the new page to it's internal stack. Of course,
29689     * it can be back to the previous page by popping the top page. Naviframe
29690     * provides some transition effect while the pages are switching (same as
29691     * pager).
29692     *
29693     * Since each item could keep the different styles, users could keep the
29694     * same look & feel for the pages or different styles for the items in it's
29695     * application.
29696     *
29697     * Signals that you can add callback for are:
29698     * @li "transition,finished" - When the transition is finished in changing
29699     *     the item
29700     * @li "title,clicked" - User clicked title area
29701     *
29702     * Default contents parts of the naviframe items that you can use for are:
29703     * @li "default" - A main content of the page
29704     * @li "icon" - An icon in the title area
29705     * @li "prev_btn" - A button to go to the previous page
29706     * @li "next_btn" - A button to go to the next page
29707     *
29708     * Default text parts of the naviframe items that you can use for are:
29709     * @li "default" - Title label in the title area
29710     * @li "subtitle" - Sub-title label in the title area
29711     *
29712     * Supported elm_object common APIs.
29713     * @li elm_object_signal_emit
29714     *
29715     * Supported elm_object_item common APIs.
29716     * @li elm_object_item_text_set
29717     * @li elm_object_item_part_text_set
29718     * @li elm_object_item_text_get
29719     * @li elm_object_item_part_text_get
29720     * @li elm_object_item_content_set
29721     * @li elm_object_item_part_content_set
29722     * @li elm_object_item_content_get
29723     * @li elm_object_item_part_content_get
29724     * @li elm_object_item_content_unset
29725     * @li elm_object_item_part_content_unset
29726     * @li elm_object_item_signal_emit
29727     *
29728     * @ref tutorial_naviframe gives a good overview of the usage of the API.
29729     */
29730
29731    /**
29732     * @addtogroup Naviframe
29733     * @{
29734     */
29735
29736    /**
29737     * @brief Add a new Naviframe object to the parent.
29738     *
29739     * @param parent Parent object
29740     * @return New object or @c NULL, if it cannot be created
29741     *
29742     * @ingroup Naviframe
29743     */
29744    EAPI Evas_Object        *elm_naviframe_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
29745
29746    /**
29747     * @brief Push a new item to the top of the naviframe stack (and show it).
29748     *
29749     * @param obj The naviframe object
29750     * @param title_label The label in the title area. The name of the title
29751     *        label part is "elm.text.title"
29752     * @param prev_btn The button to go to the previous item. If it is NULL,
29753     *        then naviframe will create a back button automatically. The name of
29754     *        the prev_btn part is "elm.swallow.prev_btn"
29755     * @param next_btn The button to go to the next item. Or It could be just an
29756     *        extra function button. The name of the next_btn part is
29757     *        "elm.swallow.next_btn"
29758     * @param content The main content object. The name of content part is
29759     *        "elm.swallow.content"
29760     * @param item_style The current item style name. @c NULL would be default.
29761     * @return The created item or @c NULL upon failure.
29762     *
29763     * The item pushed becomes one page of the naviframe, this item will be
29764     * deleted when it is popped.
29765     *
29766     * @see also elm_naviframe_item_style_set()
29767     * @see also elm_naviframe_item_insert_before()
29768     * @see also elm_naviframe_item_insert_after()
29769     *
29770     * The following styles are available for this item:
29771     * @li @c "default"
29772     *
29773     * @ingroup Naviframe
29774     */
29775    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);
29776
29777    /**
29778     * @brief Insert a new item into the naviframe before item @p before.
29779     *
29780     * @param before The naviframe item to insert before.
29781     * @param title_label The label in the title area. The name of the title
29782     *        label part is "elm.text.title"
29783     * @param prev_btn The button to go to the previous item. If it is NULL,
29784     *        then naviframe will create a back button automatically. The name of
29785     *        the prev_btn part is "elm.swallow.prev_btn"
29786     * @param next_btn The button to go to the next item. Or It could be just an
29787     *        extra function button. The name of the next_btn part is
29788     *        "elm.swallow.next_btn"
29789     * @param content The main content object. The name of content part is
29790     *        "elm.swallow.content"
29791     * @param item_style The current item style name. @c NULL would be default.
29792     * @return The created item or @c NULL upon failure.
29793     *
29794     * The item is inserted into the naviframe straight away without any
29795     * transition operations. This item will be deleted when it is popped.
29796     *
29797     * @see also elm_naviframe_item_style_set()
29798     * @see also elm_naviframe_item_push()
29799     * @see also elm_naviframe_item_insert_after()
29800     *
29801     * The following styles are available for this item:
29802     * @li @c "default"
29803     *
29804     * @ingroup Naviframe
29805     */
29806    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);
29807
29808    /**
29809     * @brief Insert a new item into the naviframe after item @p after.
29810     *
29811     * @param after The naviframe item to insert after.
29812     * @param title_label The label in the title area. The name of the title
29813     *        label part is "elm.text.title"
29814     * @param prev_btn The button to go to the previous item. If it is NULL,
29815     *        then naviframe will create a back button automatically. The name of
29816     *        the prev_btn part is "elm.swallow.prev_btn"
29817     * @param next_btn The button to go to the next item. Or It could be just an
29818     *        extra function button. The name of the next_btn part is
29819     *        "elm.swallow.next_btn"
29820     * @param content The main content object. The name of content part is
29821     *        "elm.swallow.content"
29822     * @param item_style The current item style name. @c NULL would be default.
29823     * @return The created item or @c NULL upon failure.
29824     *
29825     * The item is inserted into the naviframe straight away without any
29826     * transition operations. This item will be deleted when it is popped.
29827     *
29828     * @see also elm_naviframe_item_style_set()
29829     * @see also elm_naviframe_item_push()
29830     * @see also elm_naviframe_item_insert_before()
29831     *
29832     * The following styles are available for this item:
29833     * @li @c "default"
29834     *
29835     * @ingroup Naviframe
29836     */
29837    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);
29838
29839    /**
29840     * @brief Pop an item that is on top of the stack
29841     *
29842     * @param obj The naviframe object
29843     * @return @c NULL or the content object(if the
29844     *         elm_naviframe_content_preserve_on_pop_get is true).
29845     *
29846     * This pops an item that is on the top(visible) of the naviframe, makes it
29847     * disappear, then deletes the item. The item that was underneath it on the
29848     * stack will become visible.
29849     *
29850     * @see also elm_naviframe_content_preserve_on_pop_get()
29851     *
29852     * @ingroup Naviframe
29853     */
29854    EAPI Evas_Object        *elm_naviframe_item_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
29855
29856    /**
29857     * @brief Pop the items between the top and the above one on the given item.
29858     *
29859     * @param it The naviframe item
29860     *
29861     * @ingroup Naviframe
29862     */
29863    EAPI void                elm_naviframe_item_pop_to(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
29864
29865    /**
29866     * Promote an item already in the naviframe stack to the top of the stack
29867     *
29868     * @param it The naviframe item
29869     *
29870     * This will take the indicated item and promote it to the top of the stack
29871     * as if it had been pushed there. The item must already be inside the
29872     * naviframe stack to work.
29873     *
29874     */
29875    EAPI void                elm_naviframe_item_promote(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
29876
29877    /**
29878     * @brief Delete the given item instantly.
29879     *
29880     * @param it The naviframe item
29881     *
29882     * This just deletes the given item from the naviframe item list instantly.
29883     * So this would not emit any signals for view transitions but just change
29884     * the current view if the given item is a top one.
29885     *
29886     * @ingroup Naviframe
29887     */
29888    EAPI void                elm_naviframe_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
29889
29890    /**
29891     * @brief preserve the content objects when items are popped.
29892     *
29893     * @param obj The naviframe object
29894     * @param preserve Enable the preserve mode if EINA_TRUE, disable otherwise
29895     *
29896     * @see also elm_naviframe_content_preserve_on_pop_get()
29897     *
29898     * @ingroup Naviframe
29899     */
29900    EAPI void                elm_naviframe_content_preserve_on_pop_set(Evas_Object *obj, Eina_Bool preserve) EINA_ARG_NONNULL(1);
29901
29902    /**
29903     * @brief Get a value whether preserve mode is enabled or not.
29904     *
29905     * @param obj The naviframe object
29906     * @return If @c EINA_TRUE, preserve mode is enabled
29907     *
29908     * @see also elm_naviframe_content_preserve_on_pop_set()
29909     *
29910     * @ingroup Naviframe
29911     */
29912    EAPI Eina_Bool           elm_naviframe_content_preserve_on_pop_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
29913
29914    /**
29915     * @brief Get a top item on the naviframe stack
29916     *
29917     * @param obj The naviframe object
29918     * @return The top item on the naviframe stack or @c NULL, if the stack is
29919     *         empty
29920     *
29921     * @ingroup Naviframe
29922     */
29923    EAPI Elm_Object_Item    *elm_naviframe_top_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
29924
29925    /**
29926     * @brief Get a bottom item on the naviframe stack
29927     *
29928     * @param obj The naviframe object
29929     * @return The bottom item on the naviframe stack or @c NULL, if the stack is
29930     *         empty
29931     *
29932     * @ingroup Naviframe
29933     */
29934    EAPI Elm_Object_Item    *elm_naviframe_bottom_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
29935
29936    /**
29937     * @brief Set an item style
29938     *
29939     * @param obj The naviframe item
29940     * @param item_style The current item style name. @c NULL would be default
29941     *
29942     * The following styles are available for this item:
29943     * @li @c "default"
29944     *
29945     * @see also elm_naviframe_item_style_get()
29946     *
29947     * @ingroup Naviframe
29948     */
29949    EAPI void                elm_naviframe_item_style_set(Elm_Object_Item *it, const char *item_style) EINA_ARG_NONNULL(1);
29950
29951    /**
29952     * @brief Get an item style
29953     *
29954     * @param obj The naviframe item
29955     * @return The current item style name
29956     *
29957     * @see also elm_naviframe_item_style_set()
29958     *
29959     * @ingroup Naviframe
29960     */
29961    EAPI const char         *elm_naviframe_item_style_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
29962
29963    /**
29964     * @brief Show/Hide the title area
29965     *
29966     * @param it The naviframe item
29967     * @param visible If @c EINA_TRUE, title area will be visible, hidden
29968     *        otherwise
29969     *
29970     * When the title area is invisible, then the controls would be hidden so as     * to expand the content area to full-size.
29971     *
29972     * @see also elm_naviframe_item_title_visible_get()
29973     *
29974     * @ingroup Naviframe
29975     */
29976    EAPI void                elm_naviframe_item_title_visible_set(Elm_Object_Item *it, Eina_Bool visible) EINA_ARG_NONNULL(1);
29977
29978    /**
29979     * @brief Get a value whether title area is visible or not.
29980     *
29981     * @param it The naviframe item
29982     * @return If @c EINA_TRUE, title area is visible
29983     *
29984     * @see also elm_naviframe_item_title_visible_set()
29985     *
29986     * @ingroup Naviframe
29987     */
29988    EAPI Eina_Bool           elm_naviframe_item_title_visible_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
29989
29990    /**
29991     * @brief Set creating prev button automatically or not
29992     *
29993     * @param obj The naviframe object
29994     * @param auto_pushed If @c EINA_TRUE, the previous button(back button) will
29995     *        be created internally when you pass the @c NULL to the prev_btn
29996     *        parameter in elm_naviframe_item_push
29997     *
29998     * @see also elm_naviframe_item_push()
29999     *
30000     * @ingroup Naviframe
30001     */
30002    EAPI void                elm_naviframe_prev_btn_auto_pushed_set(Evas_Object *obj, Eina_Bool auto_pushed) EINA_ARG_NONNULL(1);
30003
30004    /**
30005     * @brief Get a value whether prev button(back button) will be auto pushed or
30006     *        not.
30007     *
30008     * @param obj The naviframe object
30009     * @return If @c EINA_TRUE, prev button will be auto pushed.
30010     *
30011     * @see also elm_naviframe_item_push()
30012     *           elm_naviframe_prev_btn_auto_pushed_set()
30013     *
30014     * @ingroup Naviframe
30015     */
30016    EAPI Eina_Bool           elm_naviframe_prev_btn_auto_pushed_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
30017
30018    /**
30019     * @brief Get a list of all the naviframe items.
30020     *
30021     * @param obj The naviframe object
30022     * @return An Eina_Inlist* of naviframe items, #Elm_Object_Item,
30023     * or @c NULL on failure.
30024     *
30025     * @ingroup Naviframe
30026     */
30027    EAPI Eina_Inlist        *elm_naviframe_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
30028
30029    /**
30030     * @brief Set the event enabled when pushing/popping items 
30031     *
30032     * If @c enabled is EINA_TRUE, the contents of the naviframe item will 
30033     * receives events from mouse and keyboard during view changing such as
30034     * item push/pop.
30035     *
30036     * @param obj The naviframe object
30037     * @param enabled Events are received when enabled is @c EINA_TRUE, and 
30038     * ignored otherwise.
30039     *
30040     * @warning Events will be blocked by calling evas_object_freeze_events_set()
30041     * internally. So don't call the API whiling pushing/popping items.
30042     *
30043     * @see elm_naviframe_event_enabled_get()
30044     * @see evas_object_freeze_events_set()
30045     *
30046     * @ingroup Naviframe
30047     */
30048    EAPI void                elm_naviframe_event_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
30049
30050    /**
30051     * @brief Get the value of event enabled status.
30052     *
30053     * @param obj The naviframe object
30054     * @return EINA_TRUE, when event is enabled
30055     *
30056     * @see elm_naviframe_event_enabled_set()
30057     *
30058     * @ingroup Naviframe
30059     */
30060    EAPI Eina_Bool           elm_naviframe_event_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
30061
30062     /**
30063     * @}
30064     */
30065
30066    /**
30067     * @defgroup Multibuttonentry Multibuttonentry
30068     *
30069     * A Multibuttonentry is a widget to allow a user enter text and manage it as a number of buttons
30070     * Each text button is inserted by pressing the "return" key. If there is no space in the current row,
30071     * a new button is added to the next row. When a text button is pressed, it will become focused.
30072     * Backspace removes the focus.
30073     * When the Multibuttonentry loses focus items longer than 1 lines are shrunk to one line.
30074     *
30075     * Smart callbacks one can register:
30076     * - @c "item,selected" - when item is selected. May be called on backspace key.
30077     * - @c "item,added" - when a new multibuttonentry item is added.
30078     * - @c "item,deleted" - when a multibuttonentry item is deleted.
30079     * - @c "item,clicked" - selected item of multibuttonentry is clicked.
30080     * - @c "clicked" - when multibuttonentry is clicked.
30081     * - @c "focused" - when multibuttonentry is focused.
30082     * - @c "unfocused" - when multibuttonentry is unfocused.
30083     * - @c "expanded" - when multibuttonentry is expanded.
30084     * - @c "shrank" - when multibuttonentry is shrank.
30085     * - @c "shrank,state,changed" - when shrink mode state of multibuttonentry is changed.
30086     *
30087     * Here is an example on its usage:
30088     * @li @ref multibuttonentry_example
30089     */
30090
30091    /**
30092     * @addtogroup Multibuttonentry
30093     * @{
30094     */
30095
30096    typedef struct _Multibuttonentry_Item Elm_Multibuttonentry_Item;
30097    typedef Eina_Bool (*Elm_Multibuttonentry_Item_Filter_callback) (Evas_Object *obj, const char *item_label, void *item_data, void *data);
30098
30099    /**
30100     * @brief Add a new multibuttonentry to the parent
30101     *
30102     * @param parent The parent object
30103     * @return The new object or NULL if it cannot be created
30104     *
30105     */
30106    EAPI Evas_Object               *elm_multibuttonentry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
30107
30108    /**
30109     * Get the label
30110     *
30111     * @param obj The multibuttonentry object
30112     * @return The label, or NULL if none
30113     *
30114     */
30115    EAPI const char                *elm_multibuttonentry_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
30116
30117    /**
30118     * Set the label
30119     *
30120     * @param obj The multibuttonentry object
30121     * @param label The text label string
30122     *
30123     */
30124    EAPI void                       elm_multibuttonentry_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
30125
30126    /**
30127     * Get the entry of the multibuttonentry object
30128     *
30129     * @param obj The multibuttonentry object
30130     * @return The entry object, or NULL if none
30131     *
30132     */
30133    EAPI Evas_Object               *elm_multibuttonentry_entry_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
30134
30135    /**
30136     * Get the guide text
30137     *
30138     * @param obj The multibuttonentry object
30139     * @return The guide text, or NULL if none
30140     *
30141     */
30142    EAPI const char *               elm_multibuttonentry_guide_text_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
30143
30144    /**
30145     * Set the guide text
30146     *
30147     * @param obj The multibuttonentry object
30148     * @param label The guide text string
30149     *
30150     */
30151    EAPI void                       elm_multibuttonentry_guide_text_set(Evas_Object *obj, const char *guidetext) EINA_ARG_NONNULL(1);
30152
30153    /**
30154     * Get the value of shrink_mode state.
30155     *
30156     * @param obj The multibuttonentry object
30157     * @param the value of shrink mode state.
30158     *
30159     */
30160    EAPI int                        elm_multibuttonentry_shrink_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
30161
30162    /**
30163     * Set/Unset the multibuttonentry to shrink mode state of single line
30164     *
30165     * @param obj The multibuttonentry object
30166     * @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.
30167     *
30168     */
30169    EAPI void                       elm_multibuttonentry_shrink_mode_set(Evas_Object *obj, int shrink) EINA_ARG_NONNULL(1);
30170
30171    /**
30172     * Prepend a new item to the multibuttonentry
30173     *
30174     * @param obj The multibuttonentry object
30175     * @param label The label of new item
30176     * @param data The ponter to the data to be attached
30177     * @return A handle to the item added or NULL if not possible
30178     *
30179     */
30180    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, void *data) EINA_ARG_NONNULL(1);
30181
30182    /**
30183     * Append a new item to the multibuttonentry
30184     *
30185     * @param obj The multibuttonentry object
30186     * @param label The label of new item
30187     * @param data The ponter to the data to be attached
30188     * @return A handle to the item added or NULL if not possible
30189     *
30190     */
30191    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, void *data) EINA_ARG_NONNULL(1);
30192
30193    /**
30194     * Add a new item to the multibuttonentry before the indicated object
30195     *
30196     * reference.
30197     * @param obj The multibuttonentry object
30198     * @param before The item before which to add it
30199     * @param label The label of new item
30200     * @param data The ponter to the data to be attached
30201     * @return A handle to the item added or NULL if not possible
30202     *
30203     */
30204    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);
30205
30206    /**
30207     * Add a new item to the multibuttonentry after the indicated object
30208     *
30209     * @param obj The multibuttonentry object
30210     * @param after The item after which to add it
30211     * @param label The label of new item
30212     * @param data The ponter to the data to be attached
30213     * @return A handle to the item added or NULL if not possible
30214     *
30215     */
30216    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);
30217
30218    /**
30219     * Get a list of items in the multibuttonentry
30220     *
30221     * @param obj The multibuttonentry object
30222     * @return The list of items, or NULL if none
30223     *
30224     */
30225    EAPI const Eina_List           *elm_multibuttonentry_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
30226
30227    /**
30228     * Get the first item in the multibuttonentry
30229     *
30230     * @param obj The multibuttonentry object
30231     * @return The first item, or NULL if none
30232     *
30233     */
30234    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
30235
30236    /**
30237     * Get the last item in the multibuttonentry
30238     *
30239     * @param obj The multibuttonentry object
30240     * @return The last item, or NULL if none
30241     *
30242     */
30243    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
30244
30245    /**
30246     * Get the selected item in the multibuttonentry
30247     *
30248     * @param obj The multibuttonentry object
30249     * @return The selected item, or NULL if none
30250     *
30251     */
30252    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
30253
30254    /**
30255     * Set the selected state of an item
30256     *
30257     * @param item The item
30258     * @param selected if it's EINA_TRUE, select the item otherwise, unselect the item
30259     *
30260     */
30261    EAPI void                       elm_multibuttonentry_item_select(Elm_Multibuttonentry_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
30262
30263    /**
30264     * unselect all items.
30265     *
30266     * @param obj The multibuttonentry object
30267     *
30268     */
30269    EAPI void                       elm_multibuttonentry_item_unselect_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
30270
30271    /**
30272     * Delete a given item
30273     *
30274     * @param item The item
30275     *
30276     */
30277    EAPI void                       elm_multibuttonentry_item_del(Elm_Multibuttonentry_Item *item) EINA_ARG_NONNULL(1);
30278
30279    /**
30280     * Remove all items in the multibuttonentry.
30281     *
30282     * @param obj The multibuttonentry object
30283     *
30284     */
30285    EAPI void                       elm_multibuttonentry_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
30286
30287    /**
30288     * Get the label of a given item
30289     *
30290     * @param item The item
30291     * @return The label of a given item, or NULL if none
30292     *
30293     */
30294    EAPI const char                *elm_multibuttonentry_item_label_get(const Elm_Multibuttonentry_Item *item) EINA_ARG_NONNULL(1);
30295
30296    /**
30297     * Set the label of a given item
30298     *
30299     * @param item The item
30300     * @param label The text label string
30301     *
30302     */
30303    EAPI void                       elm_multibuttonentry_item_label_set(Elm_Multibuttonentry_Item *item, const char *str) EINA_ARG_NONNULL(1);
30304
30305    /**
30306     * Get the previous item in the multibuttonentry
30307     *
30308     * @param item The item
30309     * @return The item before the item @p item
30310     *
30311     */
30312    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_prev_get(const Elm_Multibuttonentry_Item *item) EINA_ARG_NONNULL(1);
30313
30314    /**
30315     * Get the next item in the multibuttonentry
30316     *
30317     * @param item The item
30318     * @return The item after the item @p item
30319     *
30320     */
30321    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_next_get(const Elm_Multibuttonentry_Item *item) EINA_ARG_NONNULL(1);
30322
30323    /**
30324     * Append a item filter function for text inserted in the Multibuttonentry
30325     *
30326     * Append the given callback to the list. This functions will be called
30327     * whenever any text is inserted into the Multibuttonentry, with the text to be inserted
30328     * as a parameter. The callback function is free to alter the text in any way
30329     * it wants, but it must remember to free the given pointer and update it.
30330     * If the new text is to be discarded, the function can free it and set it text
30331     * parameter to NULL. This will also prevent any following filters from being
30332     * called.
30333     *
30334     * @param obj The multibuttonentryentry object
30335     * @param func The function to use as item filter
30336     * @param data User data to pass to @p func
30337     *
30338     */
30339    EAPI void elm_multibuttonentry_item_filter_append(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_callback func, void *data) EINA_ARG_NONNULL(1);
30340
30341    /**
30342     * Prepend a filter function for text inserted in the Multibuttentry
30343     *
30344     * Prepend the given callback to the list. See elm_multibuttonentry_item_filter_append()
30345     * for more information
30346     *
30347     * @param obj The multibuttonentry object
30348     * @param func The function to use as text filter
30349     * @param data User data to pass to @p func
30350     *
30351     */
30352    EAPI void elm_multibuttonentry_item_filter_prepend(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_callback func, void *data) EINA_ARG_NONNULL(1);
30353
30354    /**
30355     * Remove a filter from the list
30356     *
30357     * Removes the given callback from the filter list. See elm_multibuttonentry_item_filter_append()
30358     * for more information.
30359     *
30360     * @param obj The multibuttonentry object
30361     * @param func The filter function to remove
30362     * @param data The user data passed when adding the function
30363     *
30364     */
30365    EAPI void elm_multibuttonentry_item_filter_remove(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_callback func, void *data) EINA_ARG_NONNULL(1);
30366
30367    /**
30368     * @}
30369     */
30370
30371 #ifdef __cplusplus
30372 }
30373 #endif
30374
30375 #endif