[*][controlbar] delete system icon.
[framework/uifw/elementary.git] / src / lib / Elementary.h.in
1 /*
2  *
3  * vim:ts=8:sw=3:sts=3:expandtab:cino=>5n-3f0^-2{2(0W1st0
4  */
5
6 /**
7 @file Elementary.h.in
8 @brief Elementary Widget Library
9 */
10
11 /**
12 @mainpage Elementary
13 @image html  elementary.png
14 @version 0.8.0
15 @date 2008-2011
16
17 @section intro What is Elementary?
18
19 This is a VERY SIMPLE toolkit. It is not meant for writing extensive desktop
20 applications (yet). Small simple ones with simple needs.
21
22 It is meant to make the programmers work almost brainless but give them lots
23 of flexibility.
24
25 @li @ref Start - Go here to quickly get started with writing Apps
26
27 @section organization Organization
28
29 One can divide Elemementary into three main groups:
30 @li @ref infralist - These are modules that deal with Elementary as a whole.
31 @li @ref widgetslist - These are the widgets you'll compose your UI out of.
32 @li @ref containerslist - These are the containers which hold the widgets.
33
34 @section license License
35
36 LGPL v2 (see COPYING in the base of Elementary's source). This applies to
37 all files in the source tree.
38
39 @section ack Acknowledgements
40 There is a lot that goes into making a widget set, and they don't happen out of
41 nothing. It's like trying to make everyone everywhere happy, regardless of age,
42 gender, race or nationality - and that is really tough. So thanks to people and
43 organisations behind this, as listed in the @ref authors page.
44 */
45
46
47 /**
48  * @defgroup Start Getting Started
49  *
50  * To write an Elementary app, you can get started with the following:
51  *
52 @code
53 #include <Elementary.h>
54 EAPI_MAIN int
55 elm_main(int argc, char **argv)
56 {
57    // create window(s) here and do any application init
58    elm_run(); // run main loop
59    elm_shutdown(); // after mainloop finishes running, shutdown
60    return 0; // exit 0 for exit code
61 }
62 ELM_MAIN()
63 @endcode
64  *
65  * To use autotools (which helps in many ways in the long run, like being able
66  * to immediately create releases of your software directly from your tree
67  * and ensure everything needed to build it is there) you will need a
68  * configure.ac, Makefile.am and autogen.sh file.
69  *
70  * configure.ac:
71  *
72 @verbatim
73 AC_INIT(myapp, 0.0.0, myname@mydomain.com)
74 AC_PREREQ(2.52)
75 AC_CONFIG_SRCDIR(configure.ac)
76 AM_CONFIG_HEADER(config.h)
77 AC_PROG_CC
78 AM_INIT_AUTOMAKE(1.6 dist-bzip2)
79 PKG_CHECK_MODULES([ELEMENTARY], elementary)
80 AC_OUTPUT(Makefile)
81 @endverbatim
82  *
83  * Makefile.am:
84  *
85 @verbatim
86 AUTOMAKE_OPTIONS = 1.4 foreign
87 MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in configure depcomp install-sh missing
88
89 INCLUDES = -I$(top_srcdir)
90
91 bin_PROGRAMS = myapp
92
93 myapp_SOURCES = main.c
94 myapp_LDADD = @ELEMENTARY_LIBS@
95 myapp_CFLAGS = @ELEMENTARY_CFLAGS@
96 @endverbatim
97  *
98  * autogen.sh:
99  *
100 @verbatim
101 #!/bin/sh
102 echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS || exit 1
103 echo "Running autoheader..." ; autoheader || exit 1
104 echo "Running autoconf..." ; autoconf || exit 1
105 echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
106 ./configure "$@"
107 @endverbatim
108  *
109  * To generate all the things needed to bootstrap just run:
110  *
111 @verbatim
112 ./autogen.sh
113 @endverbatim
114  *
115  * This will generate Makefile.in's, the confgure script and everything else.
116  * After this it works like all normal autotools projects:
117 @verbatim
118 ./configure
119 make
120 sudo make install
121 @endverbatim
122  *
123  * Note sudo was assumed to get root permissions, as this would install in
124  * /usr/local which is system-owned. Use any way you like to gain root, or
125  * specify a different prefix with configure:
126  *
127 @verbatim
128 ./confiugre --prefix=$HOME/mysoftware
129 @endverbatim
130  *
131  * Also remember that autotools buys you some useful commands like:
132 @verbatim
133 make uninstall
134 @endverbatim
135  *
136  * This uninstalls the software after it was installed with "make install".
137  * It is very useful to clear up what you built if you wish to clean the
138  * system.
139  *
140 @verbatim
141 make distcheck
142 @endverbatim
143  *
144  * This firstly checks if your build tree is "clean" and ready for
145  * distribution. It also builds a tarball (myapp-0.0.0.tar.gz) that is
146  * ready to upload and distribute to the world, that contains the generated
147  * Makefile.in's and configure script. The users do not need to run
148  * autogen.sh - just configure and on. They don't need autotools installed.
149  * This tarball also builds cleanly, has all the sources it needs to build
150  * included (that is sources for your application, not libraries it depends
151  * on like Elementary). It builds cleanly in a buildroot and does not
152  * contain any files that are temporarily generated like binaries and other
153  * build-generated files, so the tarball is clean, and no need to worry
154  * about cleaning up your tree before packaging.
155  *
156 @verbatim
157 make clean
158 @endverbatim
159  *
160  * This cleans up all build files (binaries, objects etc.) from the tree.
161  *
162 @verbatim
163 make distclean
164 @endverbatim
165  *
166  * This cleans out all files from the build and from configure's output too.
167  *
168 @verbatim
169 make maintainer-clean
170 @endverbatim
171  *
172  * This deletes all the files autogen.sh will produce so the tree is clean
173  * to be put into a revision-control system (like CVS, SVN or GIT for example).
174  *
175  * There is a more advanced way of making use of the quicklaunch infrastructure
176  * in Elementary (which will not be covered here due to its more advanced
177  * nature).
178  *
179  * Now let's actually create an interactive "Hello World" gui that you can
180  * click the ok button to exit. It's more code because this now does something
181  * much more significant, but it's still very simple:
182  *
183 @code
184 #include <Elementary.h>
185
186 static void
187 on_done(void *data, Evas_Object *obj, void *event_info)
188 {
189    // quit the mainloop (elm_run function will return)
190    elm_exit();
191 }
192
193 EAPI_MAIN int
194 elm_main(int argc, char **argv)
195 {
196    Evas_Object *win, *bg, *box, *lab, *btn;
197
198    // new window - do the usual and give it a name (hello) and title (Hello)
199    win = elm_win_util_standard_add("hello", "Hello");
200    // when the user clicks "close" on a window there is a request to delete
201    evas_object_smart_callback_add(win, "delete,request", on_done, NULL);
202
203    // add a box object - default is vertical. a box holds children in a row,
204    // either horizontally or vertically. nothing more.
205    box = elm_box_add(win);
206    // make the box hotizontal
207    elm_box_horizontal_set(box, EINA_TRUE);
208    // add object as a resize object for the window (controls window minimum
209    // size as well as gets resized if window is resized)
210    elm_win_resize_object_add(win, box);
211    evas_object_show(box);
212
213    // add a label widget, set the text and put it in the pad frame
214    lab = elm_label_add(win);
215    // set default text of the label
216    elm_object_text_set(lab, "Hello out there world!");
217    // pack the label at the end of the box
218    elm_box_pack_end(box, lab);
219    evas_object_show(lab);
220
221    // add an ok button
222    btn = elm_button_add(win);
223    // set default text of button to "OK"
224    elm_object_text_set(btn, "OK");
225    // pack the button at the end of the box
226    elm_box_pack_end(box, btn);
227    evas_object_show(btn);
228    // call on_done when button is clicked
229    evas_object_smart_callback_add(btn, "clicked", on_done, NULL);
230
231    // now we are done, show the window
232    evas_object_show(win);
233
234    // run the mainloop and process events and callbacks
235    elm_run();
236    return 0;
237 }
238 ELM_MAIN()
239 @endcode
240    *
241    */
242
243 /**
244 @page authors Authors
245 @author Carsten Haitzler <raster@@rasterman.com>
246 @author Gustavo Sverzut Barbieri <barbieri@@profusion.mobi>
247 @author Cedric Bail <cedric.bail@@free.fr>
248 @author Vincent Torri <vtorri@@univ-evry.fr>
249 @author Daniel Kolesa <quaker66@@gmail.com>
250 @author Jaime Thomas <avi.thomas@@gmail.com>
251 @author Swisscom - http://www.swisscom.ch/
252 @author Christopher Michael <devilhorns@@comcast.net>
253 @author Marco Trevisan (Treviño) <mail@@3v1n0.net>
254 @author Michael Bouchaud <michael.bouchaud@@gmail.com>
255 @author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
256 @author Brian Wang <brian.wang.0721@@gmail.com>
257 @author Mike Blumenkrantz (discomfitor/zmike) <michael.blumenkrantz@@gmail.com>
258 @author Samsung Electronics <tbd>
259 @author Samsung SAIT <tbd>
260 @author Brett Nash <nash@@nash.id.au>
261 @author Bruno Dilly <bdilly@@profusion.mobi>
262 @author Rafael Fonseca <rfonseca@@profusion.mobi>
263 @author Chuneon Park <hermet@@hermet.pe.kr>
264 @author Woohyun Jung <wh0705.jung@@samsung.com>
265 @author Jaehwan Kim <jae.hwan.kim@@samsung.com>
266 @author Wonguk Jeong <wonguk.jeong@@samsung.com>
267 @author Leandro A. F. Pereira <leandro@@profusion.mobi>
268 @author Helen Fornazier <helen.fornazier@@profusion.mobi>
269 @author Gustavo Lima Chaves <glima@@profusion.mobi>
270 @author Fabiano Fidêncio <fidencio@@profusion.mobi>
271 @author Tiago Falcão <tiago@@profusion.mobi>
272 @author Otavio Pontes <otavio@@profusion.mobi>
273 @author Viktor Kojouharov <vkojouharov@@gmail.com>
274 @author Daniel Juyung Seo (SeoZ) <juyung.seo@@samsung.com> <seojuyung2@@gmail.com>
275 @author Sangho Park <sangho.g.park@@samsung.com> <gouache95@@gmail.com>
276 @author Rajeev Ranjan (Rajeev) <rajeev.r@@samsung.com> <rajeev.jnnce@@gmail.com>
277 @author Seunggyun Kim <sgyun.kim@@samsung.com> <tmdrbs@@gmail.com>
278 @author Sohyun Kim <anna1014.kim@@samsung.com> <sohyun.anna@@gmail.com>
279 @author Jihoon Kim <jihoon48.kim@@samsung.com>
280 @author Jeonghyun Yun (arosis) <jh0506.yun@@samsung.com>
281 @author Tom Hacohen <tom@@stosb.com>
282 @author Aharon Hillel <a.hillel@@partner.samsung.com>
283 @author Jonathan Atton (Watchwolf) <jonathan.atton@@gmail.com>
284 @author Shinwoo Kim <kimcinoo@@gmail.com>
285 @author Govindaraju SM <govi.sm@@samsung.com> <govism@@gmail.com>
286 @author Prince Kumar Dubey <prince.dubey@@samsung.com> <prince.dubey@@gmail.com>
287 @author Sung W. Park <sungwoo@@gmail.com>
288 @author Thierry el Borgi <thierry@@substantiel.fr>
289 @author Shilpa Singh <shilpa.singh@@samsung.com> <shilpasingh.o@@gmail.com>
290 @author Chanwook Jung <joey.jung@@samsung.com>
291 @author Hyoyoung Chang <hyoyoung.chang@@samsung.com>
292 @author Guillaume "Kuri" Friloux <guillaume.friloux@@asp64.com>
293 @author Kim Yunhan <spbear@@gmail.com>
294 @author Bluezery <ohpowel@@gmail.com>
295 @author Nicolas Aguirre <aguirre.nicolas@@gmail.com>
296 @author Sanjeev BA <iamsanjeev@@gmail.com>
297
298 Please contact <enlightenment-devel@lists.sourceforge.net> to get in
299 contact with the developers and maintainers.
300  */
301
302 #ifndef ELEMENTARY_H
303 #define ELEMENTARY_H
304
305 /**
306  * @file Elementary.h
307  * @brief Elementary's API
308  *
309  * Elementary API.
310  */
311
312 @ELM_UNIX_DEF@ ELM_UNIX
313 @ELM_WIN32_DEF@ ELM_WIN32
314 @ELM_WINCE_DEF@ ELM_WINCE
315 @ELM_EDBUS_DEF@ ELM_EDBUS
316 @ELM_EFREET_DEF@ ELM_EFREET
317 @ELM_ETHUMB_DEF@ ELM_ETHUMB
318 @ELM_WEB_DEF@ ELM_WEB
319 @ELM_EMAP_DEF@ ELM_EMAP
320 @ELM_DEBUG_DEF@ ELM_DEBUG
321 @ELM_ALLOCA_H_DEF@ ELM_ALLOCA_H
322 @ELM_LIBINTL_H_DEF@ ELM_LIBINTL_H
323
324 /* Standard headers for standard system calls etc. */
325 #include <stdio.h>
326 #include <stdlib.h>
327 #include <unistd.h>
328 #include <string.h>
329 #include <sys/types.h>
330 #include <sys/stat.h>
331 #include <sys/time.h>
332 #include <sys/param.h>
333 #include <dlfcn.h>
334 #include <math.h>
335 #include <fnmatch.h>
336 #include <limits.h>
337 #include <ctype.h>
338 #include <time.h>
339 #include <dirent.h>
340 #include <pwd.h>
341 #include <errno.h>
342
343 #ifdef ELM_UNIX
344 # include <locale.h>
345 # ifdef ELM_LIBINTL_H
346 #  include <libintl.h>
347 # endif
348 # include <signal.h>
349 # include <grp.h>
350 # include <glob.h>
351 #endif
352
353 #ifdef ELM_ALLOCA_H
354 # include <alloca.h>
355 #endif
356
357 #if defined (ELM_WIN32) || defined (ELM_WINCE)
358 # include <malloc.h>
359 # ifndef alloca
360 #  define alloca _alloca
361 # endif
362 #endif
363
364
365 /* EFL headers */
366 #include <Eina.h>
367 #include <Eet.h>
368 #include <Evas.h>
369 #include <Evas_GL.h>
370 #include <Ecore.h>
371 #include <Ecore_Evas.h>
372 #include <Ecore_File.h>
373 #include <Ecore_IMF.h>
374 @ELEMENTARY_ECORE_CON_INC@
375 #include <Edje.h>
376
377 #ifdef ELM_EDBUS
378 # include <E_DBus.h>
379 #endif
380
381 #ifdef ELM_EFREET
382 # include <Efreet.h>
383 # include <Efreet_Mime.h>
384 # include <Efreet_Trash.h>
385 #endif
386
387 #ifdef ELM_ETHUMB
388 # include <Ethumb_Client.h>
389 #endif
390
391 #ifdef ELM_EMAP
392 # include <EMap.h>
393 #endif
394
395 #ifdef EAPI
396 # undef EAPI
397 #endif
398
399 #ifdef _WIN32
400 # ifdef ELEMENTARY_BUILD
401 #  ifdef DLL_EXPORT
402 #   define EAPI __declspec(dllexport)
403 #  else
404 #   define EAPI
405 #  endif /* ! DLL_EXPORT */
406 # else
407 #  define EAPI __declspec(dllimport)
408 # endif /* ! EFL_EVAS_BUILD */
409 #else
410 # ifdef __GNUC__
411 #  if __GNUC__ >= 4
412 #   define EAPI __attribute__ ((visibility("default")))
413 #  else
414 #   define EAPI
415 #  endif
416 # else
417 #  define EAPI
418 # endif
419 #endif /* ! _WIN32 */
420
421 #ifdef _WIN32
422 # define EAPI_MAIN
423 #else
424 # define EAPI_MAIN EAPI
425 #endif
426
427 #define WILL_DEPRECATE /* API is deprecated in upstream EFL, will be deprecated in SLP soon */
428
429 /* allow usage from c++ */
430 #ifdef __cplusplus
431 extern "C" {
432 #endif
433
434 #define ELM_VERSION_MAJOR @VMAJ@
435 #define ELM_VERSION_MINOR @VMIN@
436
437    typedef struct _Elm_Version
438      {
439         int major;
440         int minor;
441         int micro;
442         int revision;
443      } Elm_Version;
444
445    EAPI extern Elm_Version *elm_version;
446
447 /* handy macros */
448 #define ELM_RECTS_INTERSECT(x, y, w, h, xx, yy, ww, hh) (((x) < ((xx) + (ww))) && ((y) < ((yy) + (hh))) && (((x) + (w)) > (xx)) && (((y) + (h)) > (yy)))
449 #define ELM_PI 3.14159265358979323846
450
451    /**
452     * @defgroup General General
453     *
454     * @brief General Elementary API. Functions that don't relate to
455     * Elementary objects specifically.
456     *
457     * Here are documented functions which init/shutdown the library,
458     * that apply to generic Elementary objects, that deal with
459     * configuration, et cetera.
460     *
461     * @ref general_functions_example_page "This" example contemplates
462     * some of these functions.
463     */
464
465    /**
466     * @addtogroup General
467     * @{
468     */
469
470   /**
471    * Defines couple of standard Evas_Object layers to be used
472    * with evas_object_layer_set().
473    *
474    * @note whenever extending with new values, try to keep some padding
475    *       to siblings so there is room for further extensions.
476    */
477   typedef enum _Elm_Object_Layer
478     {
479        ELM_OBJECT_LAYER_BACKGROUND = EVAS_LAYER_MIN + 64, /**< where to place backgrounds */
480        ELM_OBJECT_LAYER_DEFAULT = 0, /**< Evas_Object default layer (and thus for Elementary) */
481        ELM_OBJECT_LAYER_FOCUS = EVAS_LAYER_MAX - 128, /**< where focus object visualization is */
482        ELM_OBJECT_LAYER_TOOLTIP = EVAS_LAYER_MAX - 64, /**< where to show tooltips */
483        ELM_OBJECT_LAYER_CURSOR = EVAS_LAYER_MAX - 32, /**< where to show cursors */
484        ELM_OBJECT_LAYER_LAST /**< last layer known by Elementary */
485     } Elm_Object_Layer;
486
487 /**************************************************************************/
488    EAPI extern int ELM_ECORE_EVENT_ETHUMB_CONNECT;
489
490    /**
491     * Emitted when any Elementary's policy value is changed.
492     */
493    EAPI extern int ELM_EVENT_POLICY_CHANGED;
494
495    /**
496     * @typedef Elm_Event_Policy_Changed
497     *
498     * Data on the event when an Elementary policy has changed
499     */
500     typedef struct _Elm_Event_Policy_Changed Elm_Event_Policy_Changed;
501
502    /**
503     * @struct _Elm_Event_Policy_Changed
504     *
505     * Data on the event when an Elementary policy has changed
506     */
507     struct _Elm_Event_Policy_Changed
508      {
509         unsigned int policy; /**< the policy identifier */
510         int          new_value; /**< value the policy had before the change */
511         int          old_value; /**< new value the policy got */
512     };
513
514    /**
515     * Policy identifiers.
516     */
517     typedef enum _Elm_Policy
518     {
519         ELM_POLICY_QUIT, /**< under which circumstances the application
520                           * should quit automatically. @see
521                           * Elm_Policy_Quit.
522                           */
523         ELM_POLICY_LAST
524     } Elm_Policy; /**< Elementary policy identifiers/groups enumeration.  @see elm_policy_set()
525  */
526
527    typedef enum _Elm_Policy_Quit
528      {
529         ELM_POLICY_QUIT_NONE = 0, /**< never quit the application
530                                    * automatically */
531         ELM_POLICY_QUIT_LAST_WINDOW_CLOSED /**< quit when the
532                                             * application's last
533                                             * window is closed */
534      } Elm_Policy_Quit; /**< Possible values for the #ELM_POLICY_QUIT policy */
535
536    typedef enum _Elm_Focus_Direction
537      {
538         ELM_FOCUS_PREVIOUS,
539         ELM_FOCUS_NEXT
540      } Elm_Focus_Direction;
541
542    typedef enum _Elm_Text_Format
543      {
544         ELM_TEXT_FORMAT_PLAIN_UTF8,
545         ELM_TEXT_FORMAT_MARKUP_UTF8
546      } Elm_Text_Format;
547
548    /**
549     * Line wrapping types.
550     */
551    typedef enum _Elm_Wrap_Type
552      {
553         ELM_WRAP_NONE = 0, /**< No wrap - value is zero */
554         ELM_WRAP_CHAR, /**< Char wrap - wrap between characters */
555         ELM_WRAP_WORD, /**< Word wrap - wrap in allowed wrapping points (as defined in the unicode standard) */
556         ELM_WRAP_MIXED, /**< Mixed wrap - Word wrap, and if that fails, char wrap. */
557         ELM_WRAP_LAST
558      } Elm_Wrap_Type;
559
560    typedef enum
561      {
562         ELM_INPUT_PANEL_LAYOUT_NORMAL,          /**< Default layout */
563         ELM_INPUT_PANEL_LAYOUT_NUMBER,          /**< Number layout */
564         ELM_INPUT_PANEL_LAYOUT_EMAIL,           /**< Email layout */
565         ELM_INPUT_PANEL_LAYOUT_URL,             /**< URL layout */
566         ELM_INPUT_PANEL_LAYOUT_PHONENUMBER,     /**< Phone Number layout */
567         ELM_INPUT_PANEL_LAYOUT_IP,              /**< IP layout */
568         ELM_INPUT_PANEL_LAYOUT_MONTH,           /**< Month layout */
569         ELM_INPUT_PANEL_LAYOUT_NUMBERONLY,      /**< Number Only layout */
570         ELM_INPUT_PANEL_LAYOUT_INVALID
571      } Elm_Input_Panel_Layout;
572
573    typedef enum
574      {
575         ELM_AUTOCAPITAL_TYPE_NONE,
576         ELM_AUTOCAPITAL_TYPE_WORD,
577         ELM_AUTOCAPITAL_TYPE_SENTENCE,
578         ELM_AUTOCAPITAL_TYPE_ALLCHARACTER,
579      } Elm_Autocapital_Type;
580
581    /**
582     * @typedef Elm_Object_Item
583     * An Elementary Object item handle.
584     * @ingroup General
585     */
586    typedef struct _Elm_Object_Item Elm_Object_Item;
587
588
589    /**
590     * Called back when a widget's tooltip is activated and needs content.
591     * @param data user-data given to elm_object_tooltip_content_cb_set()
592     * @param obj owner widget.
593     * @param tooltip The tooltip object (affix content to this!)
594     */
595    typedef Evas_Object *(*Elm_Tooltip_Content_Cb) (void *data, Evas_Object *obj, Evas_Object *tooltip);
596
597    /**
598     * Called back when a widget's item tooltip is activated and needs content.
599     * @param data user-data given to elm_object_tooltip_content_cb_set()
600     * @param obj owner widget.
601     * @param tooltip The tooltip object (affix content to this!)
602     * @param item context dependent item. As an example, if tooltip was
603     *        set on Elm_List_Item, then it is of this type.
604     */
605    typedef Evas_Object *(*Elm_Tooltip_Item_Content_Cb) (void *data, Evas_Object *obj, Evas_Object *tooltip, void *item);
606
607    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. */
608
609 #ifndef ELM_LIB_QUICKLAUNCH
610 #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 */
611 #else
612 #define ELM_MAIN() int main(int argc, char **argv) {return elm_quicklaunch_fallback(argc, argv);} /**< macro to be used after the elm_main() function */
613 #endif
614
615 /**************************************************************************/
616    /* General calls */
617
618    /**
619     * Initialize Elementary
620     *
621     * @param[in] argc System's argument count value
622     * @param[in] argv System's pointer to array of argument strings
623     * @return The init counter value.
624     *
625     * This function initializes Elementary and increments a counter of
626     * the number of calls to it. It returns the new counter's value.
627     *
628     * @warning This call is exported only for use by the @c ELM_MAIN()
629     * macro. There is no need to use this if you use this macro (which
630     * is highly advisable). An elm_main() should contain the entry
631     * point code for your application, having the same prototype as
632     * elm_init(), and @b not being static (putting the @c EAPI symbol
633     * in front of its type declaration is advisable). The @c
634     * ELM_MAIN() call should be placed just after it.
635     *
636     * Example:
637     * @dontinclude bg_example_01.c
638     * @skip static void
639     * @until ELM_MAIN
640     *
641     * See the full @ref bg_example_01_c "example".
642     *
643     * @see elm_shutdown().
644     * @ingroup General
645     */
646    EAPI int          elm_init(int argc, char **argv);
647
648    /**
649     * Shut down Elementary
650     *
651     * @return The init counter value.
652     *
653     * This should be called at the end of your application, just
654     * before it ceases to do any more processing. This will clean up
655     * any permanent resources your application may have allocated via
656     * Elementary that would otherwise persist.
657     *
658     * @see elm_init() for an example
659     *
660     * @ingroup General
661     */
662    EAPI int          elm_shutdown(void);
663
664    /**
665     * Run Elementary's main loop
666     *
667     * This call should be issued just after all initialization is
668     * completed. This function will not return until elm_exit() is
669     * called. It will keep looping, running the main
670     * (event/processing) loop for Elementary.
671     *
672     * @see elm_init() for an example
673     *
674     * @ingroup General
675     */
676    EAPI void         elm_run(void);
677
678    /**
679     * Exit Elementary's main loop
680     *
681     * If this call is issued, it will flag the main loop to cease
682     * processing and return back to its parent function (usually your
683     * elm_main() function).
684     *
685     * @see elm_init() for an example. There, just after a request to
686     * close the window comes, the main loop will be left.
687     *
688     * @note By using the appropriate #ELM_POLICY_QUIT on your Elementary
689     * applications, you'll be able to get this function called automatically for you.
690     *
691     * @ingroup General
692     */
693    EAPI void         elm_exit(void);
694
695    /**
696     * Provide information in order to make Elementary determine the @b
697     * run time location of the software in question, so other data files
698     * such as images, sound files, executable utilities, libraries,
699     * modules and locale files can be found.
700     *
701     * @param mainfunc This is your application's main function name,
702     *        whose binary's location is to be found. Providing @c NULL
703     *        will make Elementary not to use it
704     * @param dom This will be used as the application's "domain", in the
705     *        form of a prefix to any environment variables that may
706     *        override prefix detection and the directory name, inside the
707     *        standard share or data directories, where the software's
708     *        data files will be looked for.
709     * @param checkfile This is an (optional) magic file's path to check
710     *        for existence (and it must be located in the data directory,
711     *        under the share directory provided above). Its presence will
712     *        help determine the prefix found was correct. Pass @c NULL if
713     *        the check is not to be done.
714     *
715     * This function allows one to re-locate the application somewhere
716     * else after compilation, if the developer wishes for easier
717     * distribution of pre-compiled binaries.
718     *
719     * The prefix system is designed to locate where the given software is
720     * installed (under a common path prefix) at run time and then report
721     * specific locations of this prefix and common directories inside
722     * this prefix like the binary, library, data and locale directories,
723     * through the @c elm_app_*_get() family of functions.
724     *
725     * Call elm_app_info_set() early on before you change working
726     * directory or anything about @c argv[0], so it gets accurate
727     * information.
728     *
729     * It will then try and trace back which file @p mainfunc comes from,
730     * if provided, to determine the application's prefix directory.
731     *
732     * The @p dom parameter provides a string prefix to prepend before
733     * environment variables, allowing a fallback to @b specific
734     * environment variables to locate the software. You would most
735     * probably provide a lowercase string there, because it will also
736     * serve as directory domain, explained next. For environment
737     * variables purposes, this string is made uppercase. For example if
738     * @c "myapp" is provided as the prefix, then the program would expect
739     * @c "MYAPP_PREFIX" as a master environment variable to specify the
740     * exact install prefix for the software, or more specific environment
741     * variables like @c "MYAPP_BIN_DIR", @c "MYAPP_LIB_DIR", @c
742     * "MYAPP_DATA_DIR" and @c "MYAPP_LOCALE_DIR", which could be set by
743     * the user or scripts before launching. If not provided (@c NULL),
744     * environment variables will not be used to override compiled-in
745     * defaults or auto detections.
746     *
747     * The @p dom string also provides a subdirectory inside the system
748     * shared data directory for data files. For example, if the system
749     * directory is @c /usr/local/share, then this directory name is
750     * appended, creating @c /usr/local/share/myapp, if it @p was @c
751     * "myapp". It is expected that the application installs data files in
752     * this directory.
753     *
754     * The @p checkfile is a file name or path of something inside the
755     * share or data directory to be used to test that the prefix
756     * detection worked. For example, your app will install a wallpaper
757     * image as @c /usr/local/share/myapp/images/wallpaper.jpg and so to
758     * check that this worked, provide @c "images/wallpaper.jpg" as the @p
759     * checkfile string.
760     *
761     * @see elm_app_compile_bin_dir_set()
762     * @see elm_app_compile_lib_dir_set()
763     * @see elm_app_compile_data_dir_set()
764     * @see elm_app_compile_locale_set()
765     * @see elm_app_prefix_dir_get()
766     * @see elm_app_bin_dir_get()
767     * @see elm_app_lib_dir_get()
768     * @see elm_app_data_dir_get()
769     * @see elm_app_locale_dir_get()
770     */
771    EAPI void         elm_app_info_set(void *mainfunc, const char *dom, const char *checkfile);
772
773    /**
774     * Provide information on the @b fallback application's binaries
775     * directory, in scenarios where they get overriden by
776     * elm_app_info_set().
777     *
778     * @param dir The path to the default binaries directory (compile time
779     * one)
780     *
781     * @note Elementary will as well use this path to determine actual
782     * names of binaries' directory paths, maybe changing it to be @c
783     * something/local/bin instead of @c something/bin, only, for
784     * example.
785     *
786     * @warning You should call this function @b before
787     * elm_app_info_set().
788     */
789    EAPI void         elm_app_compile_bin_dir_set(const char *dir);
790
791    /**
792     * Provide information on the @b fallback application's libraries
793     * directory, on scenarios where they get overriden by
794     * elm_app_info_set().
795     *
796     * @param dir The path to the default libraries directory (compile
797     * time one)
798     *
799     * @note Elementary will as well use this path to determine actual
800     * names of libraries' directory paths, maybe changing it to be @c
801     * something/lib32 or @c something/lib64 instead of @c something/lib,
802     * only, for example.
803     *
804     * @warning You should call this function @b before
805     * elm_app_info_set().
806     */
807    EAPI void         elm_app_compile_lib_dir_set(const char *dir);
808
809    /**
810     * Provide information on the @b fallback application's data
811     * directory, on scenarios where they get overriden by
812     * elm_app_info_set().
813     *
814     * @param dir The path to the default data directory (compile time
815     * one)
816     *
817     * @note Elementary will as well use this path to determine actual
818     * names of data directory paths, maybe changing it to be @c
819     * something/local/share instead of @c something/share, only, for
820     * example.
821     *
822     * @warning You should call this function @b before
823     * elm_app_info_set().
824     */
825    EAPI void         elm_app_compile_data_dir_set(const char *dir);
826
827    /**
828     * Provide information on the @b fallback application's locale
829     * directory, on scenarios where they get overriden by
830     * elm_app_info_set().
831     *
832     * @param dir The path to the default locale directory (compile time
833     * one)
834     *
835     * @warning You should call this function @b before
836     * elm_app_info_set().
837     */
838    EAPI void         elm_app_compile_locale_set(const char *dir);
839
840    /**
841     * Retrieve the application's run time prefix directory, as set by
842     * elm_app_info_set() and the way (environment) the application was
843     * run from.
844     *
845     * @return The directory prefix the application is actually using.
846     */
847    EAPI const char  *elm_app_prefix_dir_get(void);
848
849    /**
850     * Retrieve the application's run time binaries prefix directory, as
851     * set by elm_app_info_set() and the way (environment) the application
852     * was run from.
853     *
854     * @return The binaries directory prefix the application is actually
855     * using.
856     */
857    EAPI const char  *elm_app_bin_dir_get(void);
858
859    /**
860     * Retrieve the application's run time libraries prefix directory, as
861     * set by elm_app_info_set() and the way (environment) the application
862     * was run from.
863     *
864     * @return The libraries directory prefix the application is actually
865     * using.
866     */
867    EAPI const char  *elm_app_lib_dir_get(void);
868
869    /**
870     * Retrieve the application's run time data prefix directory, as
871     * set by elm_app_info_set() and the way (environment) the application
872     * was run from.
873     *
874     * @return The data directory prefix the application is actually
875     * using.
876     */
877    EAPI const char  *elm_app_data_dir_get(void);
878
879    /**
880     * Retrieve the application's run time locale prefix directory, as
881     * set by elm_app_info_set() and the way (environment) the application
882     * was run from.
883     *
884     * @return The locale directory prefix the application is actually
885     * using.
886     */
887    EAPI const char  *elm_app_locale_dir_get(void);
888
889    EAPI void         elm_quicklaunch_mode_set(Eina_Bool ql_on);
890    EAPI Eina_Bool    elm_quicklaunch_mode_get(void);
891    EAPI int          elm_quicklaunch_init(int argc, char **argv);
892    EAPI int          elm_quicklaunch_sub_init(int argc, char **argv);
893    EAPI int          elm_quicklaunch_sub_shutdown(void);
894    EAPI int          elm_quicklaunch_shutdown(void);
895    EAPI void         elm_quicklaunch_seed(void);
896    EAPI Eina_Bool    elm_quicklaunch_prepare(int argc, char **argv);
897    EAPI Eina_Bool    elm_quicklaunch_fork(int argc, char **argv, char *cwd, void (postfork_func) (void *data), void *postfork_data);
898    EAPI void         elm_quicklaunch_cleanup(void);
899    EAPI int          elm_quicklaunch_fallback(int argc, char **argv);
900    EAPI char        *elm_quicklaunch_exe_path_get(const char *exe);
901
902    EAPI Eina_Bool    elm_need_efreet(void);
903    EAPI Eina_Bool    elm_need_e_dbus(void);
904
905    /**
906     * This must be called before any other function that deals with
907     * elm_thumb objects or ethumb_client instances.
908     *
909     * @ingroup Thumb
910     */
911    EAPI Eina_Bool    elm_need_ethumb(void);
912
913    /**
914     * This must be called before any other function that deals with
915     * elm_web objects or ewk_view instances.
916     *
917     * @ingroup Web
918     */
919    EAPI Eina_Bool    elm_need_web(void);
920
921    /**
922     * Set a new policy's value (for a given policy group/identifier).
923     *
924     * @param policy policy identifier, as in @ref Elm_Policy.
925     * @param value policy value, which depends on the identifier
926     *
927     * @return @c EINA_TRUE on success or @c EINA_FALSE, on error.
928     *
929     * Elementary policies define applications' behavior,
930     * somehow. These behaviors are divided in policy groups (see
931     * #Elm_Policy enumeration). This call will emit the Ecore event
932     * #ELM_EVENT_POLICY_CHANGED, which can be hooked at with
933     * handlers. An #Elm_Event_Policy_Changed struct will be passed,
934     * then.
935     *
936     * @note Currently, we have only one policy identifier/group
937     * (#ELM_POLICY_QUIT), which has two possible values.
938     *
939     * @ingroup General
940     */
941    EAPI Eina_Bool    elm_policy_set(unsigned int policy, int value);
942
943    /**
944     * Gets the policy value for given policy identifier.
945     *
946     * @param policy policy identifier, as in #Elm_Policy.
947     * @return The currently set policy value, for that
948     * identifier. Will be @c 0 if @p policy passed is invalid.
949     *
950     * @ingroup General
951     */
952    EAPI int          elm_policy_get(unsigned int policy);
953
954    /**
955     * Change the language of the current application
956     *
957     * The @p lang passed must be the full name of the locale to use, for
958     * example "en_US.utf8" or "es_ES@euro".
959     *
960     * Changing language with this function will make Elementary run through
961     * all its widgets, translating strings set with
962     * elm_object_domain_translatable_text_part_set(). This way, an entire
963     * UI can have its language changed without having to restart the program.
964     *
965     * For more complex cases, like having formatted strings that need
966     * translation, widgets will also emit a "language,changed" signal that
967     * the user can listen to to manually translate the text.
968     *
969     * @param lang Language to set, must be the full name of the locale
970     *
971     * @ingroup General
972     */
973    EAPI void         elm_language_set(const char *lang);
974
975    /**
976     * Set a label of an object
977     *
978     * @param obj The Elementary object
979     * @param part The text part name to set (NULL for the default label)
980     * @param label The new text of the label
981     *
982     * @note Elementary objects may have many labels (e.g. Action Slider)
983     * @deprecated Use elm_object_part_text_set() instead.
984     * @ingroup General
985     */
986    EINA_DEPRECATED EAPI void elm_object_text_part_set(Evas_Object *obj, const char *part, const char *label);
987
988    /**
989     * Set a label of an object
990     *
991     * @param obj The Elementary object
992     * @param part The text part name to set (NULL for the default label)
993     * @param label The new text of the label
994     *
995     * @note Elementary objects may have many labels (e.g. Action Slider)
996     *
997     * @ingroup General
998     */
999    EAPI void elm_object_part_text_set(Evas_Object *obj, const char *part, const char *label);
1000
1001 #define elm_object_text_set(obj, label) elm_object_part_text_set((obj), NULL, (label))
1002
1003    /**
1004     * Get a label of an object
1005     *
1006     * @param obj The Elementary object
1007     * @param part The text part name to get (NULL for the default label)
1008     * @return text of the label or NULL for any error
1009     *
1010     * @note Elementary objects may have many labels (e.g. Action Slider)
1011     * @deprecated Use elm_object_part_text_get() instead.
1012     * @ingroup General
1013     */
1014    EINA_DEPRECATED EAPI const char  *elm_object_text_part_get(const Evas_Object *obj, const char *part);
1015
1016    /**
1017     * Get a label of an object
1018     *
1019     * @param obj The Elementary object
1020     * @param part The text part name to get (NULL for the default label)
1021     * @return text of the label or NULL for any error
1022     *
1023     * @note Elementary objects may have many labels (e.g. Action Slider)
1024     *
1025     * @ingroup General
1026     */
1027    EAPI const char  *elm_object_part_text_get(const Evas_Object *obj, const char *part);
1028
1029 #define elm_object_text_get(obj) elm_object_part_text_get((obj), NULL)
1030
1031    /**
1032     * Set the text for an objects' part, marking it as translatable.
1033     *
1034     * The string to set as @p text must be the original one. Do not pass the
1035     * return of @c gettext() here. Elementary will translate the string
1036     * internally and set it on the object using elm_object_part_text_set(),
1037     * also storing the original string so that it can be automatically
1038     * translated when the language is changed with elm_language_set().
1039     *
1040     * The @p domain will be stored along to find the translation in the
1041     * correct catalog. It can be NULL, in which case it will use whatever
1042     * domain was set by the application with @c textdomain(). This is useful
1043     * in case you are building a library on top of Elementary that will have
1044     * its own translatable strings, that should not be mixed with those of
1045     * programs using the library.
1046     *
1047     * @param obj The object containing the text part
1048     * @param part The name of the part to set
1049     * @param domain The translation domain to use
1050     * @param text The original, non-translated text to set
1051     *
1052     * @ingroup General
1053     */
1054    EAPI void         elm_object_domain_translatable_text_part_set(Evas_Object *obj, const char *part, const char *domain, const char *text);
1055
1056 #define elm_object_domain_translatable_text_set(obj, domain, text) elm_object_domain_translatable_text_part_set((obj), NULL, (domain), (text))
1057
1058 #define elm_object_translatable_text_set(obj, text) elm_object_domain_translatable_text_part_set((obj), NULL, NULL, (text))
1059
1060    /**
1061     * Gets the original string set as translatable for an object
1062     *
1063     * When setting translated strings, the function elm_object_part_text_get()
1064     * will return the translation returned by @c gettext(). To get the
1065     * original string use this function.
1066     *
1067     * @param obj The object
1068     * @param part The name of the part that was set
1069     *
1070     * @return The original, untranslated string
1071     *
1072     * @ingroup General
1073     */
1074    EAPI const char  *elm_object_translatable_text_part_get(const Evas_Object *obj, const char *part);
1075
1076 #define elm_object_translatable_text_get(obj) elm_object_translatable_text_part_get((obj), NULL)
1077
1078    /**
1079     * Set a content of an object
1080     *
1081     * @param obj The Elementary object
1082     * @param part The content part name to set (NULL for the default content)
1083     * @param content The new content of the object
1084     *
1085     * @note Elementary objects may have many contents
1086     * @deprecated Use elm_object_part_content_set instead.
1087     * @ingroup General
1088     */
1089    EINA_DEPRECATED EAPI void elm_object_content_part_set(Evas_Object *obj, const char *part, Evas_Object *content);
1090
1091    /**
1092     * Set a content of an object
1093     *
1094     * @param obj The Elementary object
1095     * @param part The content part name to set (NULL for the default content)
1096     * @param content The new content of the object
1097     *
1098     * @note Elementary objects may have many contents
1099     *
1100     * @ingroup General
1101     */
1102    EAPI void elm_object_part_content_set(Evas_Object *obj, const char *part, Evas_Object *content);
1103
1104 #define elm_object_content_set(obj, content) elm_object_part_content_set((obj), NULL, (content))
1105
1106    /**
1107     * Get a content of an object
1108     *
1109     * @param obj The Elementary object
1110     * @param item The content part name to get (NULL for the default content)
1111     * @return content of the object or NULL for any error
1112     *
1113     * @note Elementary objects may have many contents
1114     * @deprecated Use elm_object_part_content_get instead.
1115     * @ingroup General
1116     */
1117    EINA_DEPRECATED EAPI Evas_Object *elm_object_content_part_get(const Evas_Object *obj, const char *part);
1118
1119    /**
1120     * Get a content of an object
1121     *
1122     * @param obj The Elementary object
1123     * @param item The content part name to get (NULL for the default content)
1124     * @return content of the object or NULL for any error
1125     *
1126     * @note Elementary objects may have many contents
1127     *
1128     * @ingroup General
1129     */
1130    EAPI Evas_Object *elm_object_part_content_get(const Evas_Object *obj, const char *part);
1131
1132 #define elm_object_content_get(obj) elm_object_part_content_get((obj), NULL)
1133
1134    /**
1135     * Unset a content of an object
1136     *
1137     * @param obj The Elementary object
1138     * @param item The content part name to unset (NULL for the default content)
1139     *
1140     * @note Elementary objects may have many contents
1141     * @deprecated Use elm_object_part_content_unset instead.
1142     * @ingroup General
1143     */
1144    EINA_DEPRECATED EAPI Evas_Object *elm_object_content_part_unset(Evas_Object *obj, const char *part);
1145
1146    /**
1147     * Unset a content of an object
1148     *
1149     * @param obj The Elementary object
1150     * @param item The content part name to unset (NULL for the default content)
1151     *
1152     * @note Elementary objects may have many contents
1153     *
1154     * @ingroup General
1155     */
1156    EAPI Evas_Object *elm_object_part_content_unset(Evas_Object *obj, const char *part);
1157
1158 #define elm_object_content_unset(obj) elm_object_part_content_unset((obj), NULL)
1159
1160    /**
1161     * Set the text to read out when in accessibility mode
1162     *
1163     * @param obj The object which is to be described
1164     * @param txt The text that describes the widget to people with poor or no vision
1165     *
1166     * @ingroup General
1167     */
1168    EAPI void elm_object_access_info_set(Evas_Object *obj, const char *txt);
1169
1170    /**
1171     * Get the widget object's handle which contains a given item
1172     *
1173     * @param item The Elementary object item
1174     * @return The widget object
1175     *
1176     * @note This returns the widget object itself that an item belongs to.
1177     *
1178     * @ingroup General
1179     */
1180    EAPI Evas_Object *elm_object_item_object_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
1181
1182    /**
1183     * Set a content of an object item
1184     *
1185     * @param it The Elementary object item
1186     * @param part The content part name to set (NULL for the default content)
1187     * @param content The new content of the object item
1188     *
1189     * @note Elementary object items may have many contents
1190     * @deprecated Use elm_object_item_part_content_set instead.
1191     * @ingroup General
1192     */
1193    EINA_DEPRECATED EAPI void elm_object_item_content_part_set(Elm_Object_Item *it, const char *part, Evas_Object *content);
1194
1195    /**
1196     * Set a content of an object item
1197     *
1198     * @param it The Elementary object item
1199     * @param part The content part name to set (NULL for the default content)
1200     * @param content The new content of the object item
1201     *
1202     * @note Elementary object items may have many contents
1203     *
1204     * @ingroup General
1205     */
1206    EAPI void elm_object_item_part_content_set(Elm_Object_Item *it, const char *part, Evas_Object *content);
1207
1208 #define elm_object_item_content_set(it, content) elm_object_item_part_content_set((it), NULL, (content))
1209
1210    /**
1211     * Get a content of an object item
1212     *
1213     * @param it The Elementary object item
1214     * @param part The content part name to unset (NULL for the default content)
1215     * @return content of the object item or NULL for any error
1216     *
1217     * @note Elementary object items may have many contents
1218     * @deprecated Use elm_object_item_part_content_get instead.
1219     * @ingroup General
1220     */
1221    EAPI Evas_Object *elm_object_item_content_part_get(const Elm_Object_Item *it, const char *part);
1222
1223    /**
1224     * Get a content of an object item
1225     *
1226     * @param it The Elementary object item
1227     * @param part The content part name to unset (NULL for the default content)
1228     * @return content of the object item or NULL for any error
1229     *
1230     * @note Elementary object items may have many contents
1231     *
1232     * @ingroup General
1233     */
1234    EAPI Evas_Object *elm_object_item_part_content_get(const Elm_Object_Item *it, const char *part);
1235
1236 #define elm_object_item_content_get(it) elm_object_item_part_content_get((it), NULL)
1237
1238    /**
1239     * Unset a content of an object item
1240     *
1241     * @param it The Elementary object item
1242     * @param part The content part name to unset (NULL for the default content)
1243     *
1244     * @note Elementary object items may have many contents
1245     * @deprecated Use elm_object_item_part_content_unset instead.
1246     * @ingroup General
1247     */
1248    EINA_DEPRECATED EAPI Evas_Object *elm_object_item_content_part_unset(Elm_Object_Item *it, const char *part);
1249
1250    /**
1251     * Unset a content of an object item
1252     *
1253     * @param it The Elementary object item
1254     * @param part The content part name to unset (NULL for the default content)
1255     *
1256     * @note Elementary object items may have many contents
1257     *
1258     * @ingroup General
1259     */
1260    EAPI Evas_Object *elm_object_item_part_content_unset(Elm_Object_Item *it, const char *part);
1261
1262 #define elm_object_item_content_unset(it) elm_object_item_part_content_unset((it), NULL)
1263
1264    /**
1265     * Set a label of an object item
1266     *
1267     * @param it The Elementary object item
1268     * @param part The text part name to set (NULL for the default label)
1269     * @param label The new text of the label
1270     *
1271     * @note Elementary object items may have many labels
1272     * @deprecated Use elm_object_item_part_text_set instead.
1273     * @ingroup General
1274     */
1275    WILL_DEPRECATE  EAPI void elm_object_item_text_part_set(Elm_Object_Item *it, const char *part, const char *label);
1276
1277    /**
1278     * Set a label of an object item
1279     *
1280     * @param it The Elementary object item
1281     * @param part The text part name to set (NULL for the default label)
1282     * @param label The new text of the label
1283     *
1284     * @note Elementary object items may have many labels
1285     *
1286     * @ingroup General
1287     */
1288    EAPI void elm_object_item_part_text_set(Elm_Object_Item *it, const char *part, const char *label);
1289
1290 #define elm_object_item_text_set(it, label) elm_object_item_part_text_set((it), NULL, (label))
1291
1292    /**
1293     * Get a label of an object item
1294     *
1295     * @param it The Elementary object item
1296     * @param part The text part name to get (NULL for the default label)
1297     * @return text of the label or NULL for any error
1298     *
1299     * @note Elementary object items may have many labels
1300     * @deprecated Use elm_object_item_part_text_get instead.
1301     * @ingroup General
1302     */
1303    WILL_DEPRECATE  EAPI const char *elm_object_item_text_part_get(const Elm_Object_Item *it, const char *part);
1304    /**
1305     * Get a label of an object item
1306     *
1307     * @param it The Elementary object item
1308     * @param part The text part name to get (NULL for the default label)
1309     * @return text of the label or NULL for any error
1310     *
1311     * @note Elementary object items may have many labels
1312     *
1313     * @ingroup General
1314     */
1315    EAPI const char *elm_object_item_part_text_get(const Elm_Object_Item *it, const char *part);
1316
1317    /**
1318     * Set the text to read out when in accessibility mode
1319     *
1320     * @param obj The object which is to be described
1321     * @param txt The text that describes the widget to people with poor or no vision
1322     *
1323     * @ingroup General
1324     */
1325    EAPI void elm_object_access_info_set(Evas_Object *obj, const char *txt);
1326
1327    /**
1328     * Set the text to read out when in accessibility mode
1329     *
1330     * @param it The object item which is to be described
1331     * @param txt The text that describes the widget to people with poor or no vision
1332     *
1333     * @ingroup General
1334     */
1335    EAPI void elm_object_item_access_info_set(Elm_Object_Item *it, const char *txt);
1336
1337 #define elm_object_item_text_get(it) elm_object_item_part_text_get((it), NULL)
1338
1339    /**
1340     * Set the text to read out when in accessibility mode
1341     *
1342     * @param it The object item which is to be described
1343     * @param txt The text that describes the widget to people with poor or no vision
1344     *
1345     * @ingroup General
1346     */
1347    EAPI void elm_object_item_access_info_set(Elm_Object_Item *it, const char *txt);
1348
1349    /**
1350     * Get the data associated with an object item
1351     * @param it The Elementary object item
1352     * @return The data associated with @p it
1353     *
1354     * @ingroup General
1355     */
1356    EAPI void *elm_object_item_data_get(const Elm_Object_Item *it);
1357
1358    /**
1359     * Set the data associated with an object item
1360     * @param it The Elementary object item
1361     * @param data The data to be associated with @p it
1362     *
1363     * @ingroup General
1364     */
1365    EAPI void elm_object_item_data_set(Elm_Object_Item *it, void *data);
1366
1367    /**
1368     * Send a signal to the edje object of the widget item.
1369     *
1370     * This function sends a signal to the edje object of the obj item. An
1371     * edje program can respond to a signal by specifying matching
1372     * 'signal' and 'source' fields.
1373     *
1374     * @param it The Elementary object item
1375     * @param emission The signal's name.
1376     * @param source The signal's source.
1377     * @ingroup General
1378     */
1379    EAPI void elm_object_item_signal_emit(Elm_Object_Item *it, const char *emission, const char *source) EINA_ARG_NONNULL(1);
1380
1381    /**
1382     * Set the disabled state of an widget item.
1383     *
1384     * @param obj The Elementary object item
1385     * @param disabled The state to put in in: @c EINA_TRUE for
1386     *        disabled, @c EINA_FALSE for enabled
1387     *
1388     * Elementary object item can be @b disabled, in which state they won't
1389     * receive input and, in general, will be themed differently from
1390     * their normal state, usually greyed out. Useful for contexts
1391     * where you don't want your users to interact with some of the
1392     * parts of you interface.
1393     *
1394     * This sets the state for the widget item, either disabling it or
1395     * enabling it back.
1396     *
1397     * @ingroup Styles
1398     */
1399    EAPI void elm_object_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
1400
1401    /**
1402     * Get the disabled state of an widget item.
1403     *
1404     * @param obj The Elementary object
1405     * @return @c EINA_TRUE, if the widget item is disabled, @c EINA_FALSE
1406     *            if it's enabled (or on errors)
1407     *
1408     * This gets the state of the widget, which might be enabled or disabled.
1409     *
1410     * @ingroup Styles
1411     */
1412    EAPI Eina_Bool    elm_object_item_disabled_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
1413
1414    /**
1415     * @}
1416     */
1417
1418    /**
1419     * @defgroup Caches Caches
1420     *
1421     * These are functions which let one fine-tune some cache values for
1422     * Elementary applications, thus allowing for performance adjustments.
1423     *
1424     * @{
1425     */
1426
1427    /**
1428     * @brief Flush all caches.
1429     *
1430     * Frees all data that was in cache and is not currently being used to reduce
1431     * memory usage. This frees Edje's, Evas' and Eet's cache. This is equivalent
1432     * to calling all of the following functions:
1433     * @li edje_file_cache_flush()
1434     * @li edje_collection_cache_flush()
1435     * @li eet_clearcache()
1436     * @li evas_image_cache_flush()
1437     * @li evas_font_cache_flush()
1438     * @li evas_render_dump()
1439     * @note Evas caches are flushed for every canvas associated with a window.
1440     *
1441     * @ingroup Caches
1442     */
1443    EAPI void         elm_all_flush(void);
1444
1445    /**
1446     * Get the configured cache flush interval time
1447     *
1448     * This gets the globally configured cache flush interval time, in
1449     * ticks
1450     *
1451     * @return The cache flush interval time
1452     * @ingroup Caches
1453     *
1454     * @see elm_all_flush()
1455     */
1456    EAPI int          elm_cache_flush_interval_get(void);
1457
1458    /**
1459     * Set the configured cache flush interval time
1460     *
1461     * This sets the globally configured cache flush interval time, in ticks
1462     *
1463     * @param size The cache flush interval time
1464     * @ingroup Caches
1465     *
1466     * @see elm_all_flush()
1467     */
1468    EAPI void         elm_cache_flush_interval_set(int size);
1469
1470    /**
1471     * Set the configured cache flush interval time for all applications on the
1472     * display
1473     *
1474     * This sets the globally configured cache flush interval time -- in ticks
1475     * -- for all applications on the display.
1476     *
1477     * @param size The cache flush interval time
1478     * @ingroup Caches
1479     */
1480    EAPI void         elm_cache_flush_interval_all_set(int size);
1481
1482    /**
1483     * Get the configured cache flush enabled state
1484     *
1485     * This gets the globally configured cache flush state - if it is enabled
1486     * or not. When cache flushing is enabled, elementary will regularly
1487     * (see elm_cache_flush_interval_get() ) flush caches and dump data out of
1488     * memory and allow usage to re-seed caches and data in memory where it
1489     * can do so. An idle application will thus minimise its memory usage as
1490     * data will be freed from memory and not be re-loaded as it is idle and
1491     * not rendering or doing anything graphically right now.
1492     *
1493     * @return The cache flush state
1494     * @ingroup Caches
1495     *
1496     * @see elm_all_flush()
1497     */
1498    EAPI Eina_Bool    elm_cache_flush_enabled_get(void);
1499
1500    /**
1501     * Set the configured cache flush enabled state
1502     *
1503     * This sets the globally configured cache flush enabled state.
1504     *
1505     * @param size The cache flush enabled state
1506     * @ingroup Caches
1507     *
1508     * @see elm_all_flush()
1509     */
1510    EAPI void         elm_cache_flush_enabled_set(Eina_Bool enabled);
1511
1512    /**
1513     * Set the configured cache flush enabled state for all applications on the
1514     * display
1515     *
1516     * This sets the globally configured cache flush enabled state for all
1517     * applications on the display.
1518     *
1519     * @param size The cache flush enabled state
1520     * @ingroup Caches
1521     */
1522    EAPI void         elm_cache_flush_enabled_all_set(Eina_Bool enabled);
1523
1524    /**
1525     * Get the configured font cache size
1526     *
1527     * This gets the globally configured font cache size, in bytes.
1528     *
1529     * @return The font cache size
1530     * @ingroup Caches
1531     */
1532    EAPI int          elm_font_cache_get(void);
1533
1534    /**
1535     * Set the configured font cache size
1536     *
1537     * This sets the globally configured font cache size, in bytes
1538     *
1539     * @param size The font cache size
1540     * @ingroup Caches
1541     */
1542    EAPI void         elm_font_cache_set(int size);
1543
1544    /**
1545     * Set the configured font cache size for all applications on the
1546     * display
1547     *
1548     * This sets the globally configured font cache size -- in bytes
1549     * -- for all applications on the display.
1550     *
1551     * @param size The font cache size
1552     * @ingroup Caches
1553     */
1554    EAPI void         elm_font_cache_all_set(int size);
1555
1556    /**
1557     * Get the configured image cache size
1558     *
1559     * This gets the globally configured image cache size, in bytes
1560     *
1561     * @return The image cache size
1562     * @ingroup Caches
1563     */
1564    EAPI int          elm_image_cache_get(void);
1565
1566    /**
1567     * Set the configured image cache size
1568     *
1569     * This sets the globally configured image cache size, in bytes
1570     *
1571     * @param size The image cache size
1572     * @ingroup Caches
1573     */
1574    EAPI void         elm_image_cache_set(int size);
1575
1576    /**
1577     * Set the configured image cache size for all applications on the
1578     * display
1579     *
1580     * This sets the globally configured image cache size -- in bytes
1581     * -- for all applications on the display.
1582     *
1583     * @param size The image cache size
1584     * @ingroup Caches
1585     */
1586    EAPI void         elm_image_cache_all_set(int size);
1587
1588    /**
1589     * Get the configured edje file cache size.
1590     *
1591     * This gets the globally configured edje file cache size, in number
1592     * of files.
1593     *
1594     * @return The edje file cache size
1595     * @ingroup Caches
1596     */
1597    EAPI int          elm_edje_file_cache_get(void);
1598
1599    /**
1600     * Set the configured edje file cache size
1601     *
1602     * This sets the globally configured edje file cache size, in number
1603     * of files.
1604     *
1605     * @param size The edje file cache size
1606     * @ingroup Caches
1607     */
1608    EAPI void         elm_edje_file_cache_set(int size);
1609
1610    /**
1611     * Set the configured edje file cache size for all applications on the
1612     * display
1613     *
1614     * This sets the globally configured edje file cache size -- in number
1615     * of files -- for all applications on the display.
1616     *
1617     * @param size The edje file cache size
1618     * @ingroup Caches
1619     */
1620    EAPI void         elm_edje_file_cache_all_set(int size);
1621
1622    /**
1623     * Get the configured edje collections (groups) cache size.
1624     *
1625     * This gets the globally configured edje collections cache size, in
1626     * number of collections.
1627     *
1628     * @return The edje collections cache size
1629     * @ingroup Caches
1630     */
1631    EAPI int          elm_edje_collection_cache_get(void);
1632
1633    /**
1634     * Set the configured edje collections (groups) cache size
1635     *
1636     * This sets the globally configured edje collections cache size, in
1637     * number of collections.
1638     *
1639     * @param size The edje collections cache size
1640     * @ingroup Caches
1641     */
1642    EAPI void         elm_edje_collection_cache_set(int size);
1643
1644    /**
1645     * Set the configured edje collections (groups) cache size for all
1646     * applications on the display
1647     *
1648     * This sets the globally configured edje collections cache size -- in
1649     * number of collections -- for all applications on the display.
1650     *
1651     * @param size The edje collections cache size
1652     * @ingroup Caches
1653     */
1654    EAPI void         elm_edje_collection_cache_all_set(int size);
1655
1656    /**
1657     * @}
1658     */
1659
1660    /**
1661     * @defgroup Scaling Widget Scaling
1662     *
1663     * Different widgets can be scaled independently. These functions
1664     * allow you to manipulate this scaling on a per-widget basis. The
1665     * object and all its children get their scaling factors multiplied
1666     * by the scale factor set. This is multiplicative, in that if a
1667     * child also has a scale size set it is in turn multiplied by its
1668     * parent's scale size. @c 1.0 means “don't scale”, @c 2.0 is
1669     * double size, @c 0.5 is half, etc.
1670     *
1671     * @ref general_functions_example_page "This" example contemplates
1672     * some of these functions.
1673     */
1674
1675    /**
1676     * Get the global scaling factor
1677     *
1678     * This gets the globally configured scaling factor that is applied to all
1679     * objects.
1680     *
1681     * @return The scaling factor
1682     * @ingroup Scaling
1683     */
1684    EAPI double       elm_scale_get(void);
1685
1686    /**
1687     * Set the global scaling factor
1688     *
1689     * This sets the globally configured scaling factor that is applied to all
1690     * objects.
1691     *
1692     * @param scale The scaling factor to set
1693     * @ingroup Scaling
1694     */
1695    EAPI void         elm_scale_set(double scale);
1696
1697    /**
1698     * Set the global scaling factor for all applications on the display
1699     *
1700     * This sets the globally configured scaling factor that is applied to all
1701     * objects for all applications.
1702     * @param scale The scaling factor to set
1703     * @ingroup Scaling
1704     */
1705    EAPI void         elm_scale_all_set(double scale);
1706
1707    /**
1708     * Set the scaling factor for a given Elementary object
1709     *
1710     * @param obj The Elementary to operate on
1711     * @param scale Scale factor (from @c 0.0 up, with @c 1.0 meaning
1712     * no scaling)
1713     *
1714     * @ingroup Scaling
1715     */
1716    EAPI void         elm_object_scale_set(Evas_Object *obj, double scale) EINA_ARG_NONNULL(1);
1717
1718    /**
1719     * Get the scaling factor for a given Elementary object
1720     *
1721     * @param obj The object
1722     * @return The scaling factor set by elm_object_scale_set()
1723     *
1724     * @ingroup Scaling
1725     */
1726    EAPI double       elm_object_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1727
1728    /**
1729     * @defgroup Password_last_show Password last input show
1730     *
1731     * Last show feature of password mode enables user to view
1732     * the last input entered for few seconds before masking it.
1733     * These functions allow to set this feature in password mode
1734     * of entry widget and also allow to manipulate the duration
1735     * for which the input has to be visible.
1736     *
1737     * @{
1738     */
1739
1740    /**
1741     * Get show last setting of password mode.
1742     *
1743     * This gets the show last input setting of password mode which might be
1744     * enabled or disabled.
1745     *
1746     * @return @c EINA_TRUE, if the last input show setting is enabled, @c EINA_FALSE
1747     *            if it's disabled.
1748     * @ingroup Password_last_show
1749     */
1750    EAPI Eina_Bool elm_password_show_last_get(void);
1751
1752    /**
1753     * Set show last setting in password mode.
1754     *
1755     * This enables or disables show last setting of password mode.
1756     *
1757     * @param password_show_last If EINA_TRUE enable's last input show in password mode.
1758     * @see elm_password_show_last_timeout_set()
1759     * @ingroup Password_last_show
1760     */
1761    EAPI void elm_password_show_last_set(Eina_Bool password_show_last);
1762
1763    /**
1764     * Get's the timeout value in last show password mode.
1765     *
1766     * This gets the time out value for which the last input entered in password
1767     * mode will be visible.
1768     *
1769     * @return The timeout value of last show password mode.
1770     * @ingroup Password_last_show
1771     */
1772    EAPI double elm_password_show_last_timeout_get(void);
1773
1774    /**
1775     * Set's the timeout value in last show password mode.
1776     *
1777     * This sets the time out value for which the last input entered in password
1778     * mode will be visible.
1779     *
1780     * @param password_show_last_timeout The timeout value.
1781     * @see elm_password_show_last_set()
1782     * @ingroup Password_last_show
1783     */
1784    EAPI void elm_password_show_last_timeout_set(double password_show_last_timeout);
1785
1786    /**
1787     * @}
1788     */
1789
1790    /**
1791     * @defgroup UI-Mirroring Selective Widget mirroring
1792     *
1793     * These functions allow you to set ui-mirroring on specific
1794     * widgets or the whole interface. Widgets can be in one of two
1795     * modes, automatic and manual.  Automatic means they'll be changed
1796     * according to the system mirroring mode and manual means only
1797     * explicit changes will matter. You are not supposed to change
1798     * mirroring state of a widget set to automatic, will mostly work,
1799     * but the behavior is not really defined.
1800     *
1801     * @{
1802     */
1803
1804    EAPI Eina_Bool    elm_mirrored_get(void);
1805    EAPI void         elm_mirrored_set(Eina_Bool mirrored);
1806
1807    /**
1808     * Get the system mirrored mode. This determines the default mirrored mode
1809     * of widgets.
1810     *
1811     * @return EINA_TRUE if mirrored is set, EINA_FALSE otherwise
1812     */
1813    EAPI Eina_Bool    elm_object_mirrored_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1814
1815    /**
1816     * Set the system mirrored mode. This determines the default mirrored mode
1817     * of widgets.
1818     *
1819     * @param mirrored EINA_TRUE to set mirrored mode, EINA_FALSE to unset it.
1820     */
1821    EAPI void         elm_object_mirrored_set(Evas_Object *obj, Eina_Bool mirrored) EINA_ARG_NONNULL(1);
1822
1823    /**
1824     * Returns the widget's mirrored mode setting.
1825     *
1826     * @param obj The widget.
1827     * @return mirrored mode setting of the object.
1828     *
1829     **/
1830    EAPI Eina_Bool    elm_object_mirrored_automatic_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1831
1832    /**
1833     * Sets the widget's mirrored mode setting.
1834     * When widget in automatic mode, it follows the system mirrored mode set by
1835     * elm_mirrored_set().
1836     * @param obj The widget.
1837     * @param automatic EINA_TRUE for auto mirrored mode. EINA_FALSE for manual.
1838     */
1839    EAPI void         elm_object_mirrored_automatic_set(Evas_Object *obj, Eina_Bool automatic) EINA_ARG_NONNULL(1);
1840
1841    /**
1842     * @}
1843     */
1844
1845    /**
1846     * Set the style to use by a widget
1847     *
1848     * Sets the style name that will define the appearance of a widget. Styles
1849     * vary from widget to widget and may also be defined by other themes
1850     * by means of extensions and overlays.
1851     *
1852     * @param obj The Elementary widget to style
1853     * @param style The style name to use
1854     *
1855     * @see elm_theme_extension_add()
1856     * @see elm_theme_extension_del()
1857     * @see elm_theme_overlay_add()
1858     * @see elm_theme_overlay_del()
1859     *
1860     * @ingroup Styles
1861     */
1862    EAPI void         elm_object_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
1863    /**
1864     * Get the style used by the widget
1865     *
1866     * This gets the style being used for that widget. Note that the string
1867     * pointer is only valid as longas the object is valid and the style doesn't
1868     * change.
1869     *
1870     * @param obj The Elementary widget to query for its style
1871     * @return The style name used
1872     *
1873     * @see elm_object_style_set()
1874     *
1875     * @ingroup Styles
1876     */
1877    EAPI const char  *elm_object_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1878
1879    /**
1880     * @defgroup Styles Styles
1881     *
1882     * Widgets can have different styles of look. These generic API's
1883     * set styles of widgets, if they support them (and if the theme(s)
1884     * do).
1885     *
1886     * @ref general_functions_example_page "This" example contemplates
1887     * some of these functions.
1888     */
1889
1890    /**
1891     * Set the disabled state of an Elementary object.
1892     *
1893     * @param obj The Elementary object to operate on
1894     * @param disabled The state to put in in: @c EINA_TRUE for
1895     *        disabled, @c EINA_FALSE for enabled
1896     *
1897     * Elementary objects can be @b disabled, in which state they won't
1898     * receive input and, in general, will be themed differently from
1899     * their normal state, usually greyed out. Useful for contexts
1900     * where you don't want your users to interact with some of the
1901     * parts of you interface.
1902     *
1903     * This sets the state for the widget, either disabling it or
1904     * enabling it back.
1905     *
1906     * @ingroup Styles
1907     */
1908    EAPI void         elm_object_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
1909
1910    /**
1911     * Get the disabled state of an Elementary object.
1912     *
1913     * @param obj The Elementary object to operate on
1914     * @return @c EINA_TRUE, if the widget is disabled, @c EINA_FALSE
1915     *            if it's enabled (or on errors)
1916     *
1917     * This gets the state of the widget, which might be enabled or disabled.
1918     *
1919     * @ingroup Styles
1920     */
1921    EAPI Eina_Bool    elm_object_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1922
1923    /**
1924     * @defgroup WidgetNavigation Widget Tree Navigation.
1925     *
1926     * How to check if an Evas Object is an Elementary widget? How to
1927     * get the first elementary widget that is parent of the given
1928     * object?  These are all covered in widget tree navigation.
1929     *
1930     * @ref general_functions_example_page "This" example contemplates
1931     * some of these functions.
1932     */
1933
1934    /**
1935     * Check if the given Evas Object is an Elementary widget.
1936     *
1937     * @param obj the object to query.
1938     * @return @c EINA_TRUE if it is an elementary widget variant,
1939     *         @c EINA_FALSE otherwise
1940     * @ingroup WidgetNavigation
1941     */
1942    EAPI Eina_Bool    elm_object_widget_check(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1943
1944    /**
1945     * Get the first parent of the given object that is an Elementary
1946     * widget.
1947     *
1948     * @param obj the Elementary object to query parent from.
1949     * @return the parent object that is an Elementary widget, or @c
1950     *         NULL, if it was not found.
1951     *
1952     * Use this to query for an object's parent widget.
1953     *
1954     * @note Most of Elementary users wouldn't be mixing non-Elementary
1955     * smart objects in the objects tree of an application, as this is
1956     * an advanced usage of Elementary with Evas. So, except for the
1957     * application's window, which is the root of that tree, all other
1958     * objects would have valid Elementary widget parents.
1959     *
1960     * @ingroup WidgetNavigation
1961     */
1962    EAPI Evas_Object *elm_object_parent_widget_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1963
1964    /**
1965     * Get the top level parent of an Elementary widget.
1966     *
1967     * @param obj The object to query.
1968     * @return The top level Elementary widget, or @c NULL if parent cannot be
1969     * found.
1970     * @ingroup WidgetNavigation
1971     */
1972    EAPI Evas_Object *elm_object_top_widget_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1973
1974    /**
1975     * Get the string that represents this Elementary widget.
1976     *
1977     * @note Elementary is weird and exposes itself as a single
1978     *       Evas_Object_Smart_Class of type "elm_widget", so
1979     *       evas_object_type_get() always return that, making debug and
1980     *       language bindings hard. This function tries to mitigate this
1981     *       problem, but the solution is to change Elementary to use
1982     *       proper inheritance.
1983     *
1984     * @param obj the object to query.
1985     * @return Elementary widget name, or @c NULL if not a valid widget.
1986     * @ingroup WidgetNavigation
1987     */
1988    EAPI const char  *elm_object_widget_type_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
1989
1990    /**
1991     * @defgroup Config Elementary Config
1992     *
1993     * Elementary configuration is formed by a set options bounded to a
1994     * given @ref Profile profile, like @ref Theme theme, @ref Fingers
1995     * "finger size", etc. These are functions with which one syncronizes
1996     * changes made to those values to the configuration storing files, de
1997     * facto. You most probably don't want to use the functions in this
1998     * group unlees you're writing an elementary configuration manager.
1999     *
2000     * @{
2001     */
2002
2003    /**
2004     * Save back Elementary's configuration, so that it will persist on
2005     * future sessions.
2006     *
2007     * @return @c EINA_TRUE, when sucessful. @c EINA_FALSE, otherwise.
2008     * @ingroup Config
2009     *
2010     * This function will take effect -- thus, do I/O -- immediately. Use
2011     * it when you want to apply all configuration changes at once. The
2012     * current configuration set will get saved onto the current profile
2013     * configuration file.
2014     *
2015     */
2016    EAPI Eina_Bool    elm_config_save(void);
2017
2018    /**
2019     * Reload Elementary's configuration, bounded to current selected
2020     * profile.
2021     *
2022     * @return @c EINA_TRUE, when sucessful. @c EINA_FALSE, otherwise.
2023     * @ingroup Config
2024     *
2025     * Useful when you want to force reloading of configuration values for
2026     * a profile. If one removes user custom configuration directories,
2027     * for example, it will force a reload with system values instead.
2028     *
2029     */
2030    EAPI void         elm_config_reload(void);
2031
2032    /**
2033     * @}
2034     */
2035
2036    /**
2037     * @defgroup Profile Elementary Profile
2038     *
2039     * Profiles are pre-set options that affect the whole look-and-feel of
2040     * Elementary-based applications. There are, for example, profiles
2041     * aimed at desktop computer applications and others aimed at mobile,
2042     * touchscreen-based ones. You most probably don't want to use the
2043     * functions in this group unlees you're writing an elementary
2044     * configuration manager.
2045     *
2046     * @{
2047     */
2048
2049    /**
2050     * Get Elementary's profile in use.
2051     *
2052     * This gets the global profile that is applied to all Elementary
2053     * applications.
2054     *
2055     * @return The profile's name
2056     * @ingroup Profile
2057     */
2058    EAPI const char  *elm_profile_current_get(void);
2059
2060    /**
2061     * Get an Elementary's profile directory path in the filesystem. One
2062     * may want to fetch a system profile's dir or an user one (fetched
2063     * inside $HOME).
2064     *
2065     * @param profile The profile's name
2066     * @param is_user Whether to lookup for an user profile (@c EINA_TRUE)
2067     *                or a system one (@c EINA_FALSE)
2068     * @return The profile's directory path.
2069     * @ingroup Profile
2070     *
2071     * @note You must free it with elm_profile_dir_free().
2072     */
2073    EAPI const char  *elm_profile_dir_get(const char *profile, Eina_Bool is_user);
2074
2075    /**
2076     * Free an Elementary's profile directory path, as returned by
2077     * elm_profile_dir_get().
2078     *
2079     * @param p_dir The profile's path
2080     * @ingroup Profile
2081     *
2082     */
2083    EAPI void         elm_profile_dir_free(const char *p_dir);
2084
2085    /**
2086     * Get Elementary's list of available profiles.
2087     *
2088     * @return The profiles list. List node data are the profile name
2089     *         strings.
2090     * @ingroup Profile
2091     *
2092     * @note One must free this list, after usage, with the function
2093     *       elm_profile_list_free().
2094     */
2095    EAPI Eina_List   *elm_profile_list_get(void);
2096
2097    /**
2098     * Free Elementary's list of available profiles.
2099     *
2100     * @param l The profiles list, as returned by elm_profile_list_get().
2101     * @ingroup Profile
2102     *
2103     */
2104    EAPI void         elm_profile_list_free(Eina_List *l);
2105
2106    /**
2107     * Set Elementary's profile.
2108     *
2109     * This sets the global profile that is applied to Elementary
2110     * applications. Just the process the call comes from will be
2111     * affected.
2112     *
2113     * @param profile The profile's name
2114     * @ingroup Profile
2115     *
2116     */
2117    EAPI void         elm_profile_set(const char *profile);
2118
2119    /**
2120     * Set Elementary's profile.
2121     *
2122     * This sets the global profile that is applied to all Elementary
2123     * applications. All running Elementary windows will be affected.
2124     *
2125     * @param profile The profile's name
2126     * @ingroup Profile
2127     *
2128     */
2129    EAPI void         elm_profile_all_set(const char *profile);
2130
2131    /**
2132     * @}
2133     */
2134
2135    /**
2136     * @defgroup Engine Elementary Engine
2137     *
2138     * These are functions setting and querying which rendering engine
2139     * Elementary will use for drawing its windows' pixels.
2140     *
2141     * The following are the available engines:
2142     * @li "software_x11"
2143     * @li "fb"
2144     * @li "directfb"
2145     * @li "software_16_x11"
2146     * @li "software_8_x11"
2147     * @li "xrender_x11"
2148     * @li "opengl_x11"
2149     * @li "software_gdi"
2150     * @li "software_16_wince_gdi"
2151     * @li "sdl"
2152     * @li "software_16_sdl"
2153     * @li "opengl_sdl"
2154     * @li "buffer"
2155     * @li "ews"
2156     * @li "opengl_cocoa"
2157     * @li "psl1ght"
2158     *
2159     * @{
2160     */
2161
2162    /**
2163     * @brief Get Elementary's rendering engine in use.
2164     *
2165     * @return The rendering engine's name
2166     * @note there's no need to free the returned string, here.
2167     *
2168     * This gets the global rendering engine that is applied to all Elementary
2169     * applications.
2170     *
2171     * @see elm_engine_set()
2172     */
2173    EAPI const char  *elm_engine_current_get(void);
2174
2175    /**
2176     * @brief Set Elementary's rendering engine for use.
2177     *
2178     * @param engine The rendering engine's name
2179     *
2180     * This sets global rendering engine that is applied to all Elementary
2181     * applications. Note that it will take effect only to Elementary windows
2182     * created after this is called.
2183     *
2184     * @see elm_win_add()
2185     */
2186    EAPI void         elm_engine_set(const char *engine);
2187
2188    /**
2189     * @}
2190     */
2191
2192    /**
2193     * @defgroup Fonts Elementary Fonts
2194     *
2195     * These are functions dealing with font rendering, selection and the
2196     * like for Elementary applications. One might fetch which system
2197     * fonts are there to use and set custom fonts for individual classes
2198     * of UI items containing text (text classes).
2199     *
2200     * @{
2201     */
2202
2203   typedef struct _Elm_Text_Class
2204     {
2205        const char *name;
2206        const char *desc;
2207     } Elm_Text_Class;
2208
2209   typedef struct _Elm_Font_Overlay
2210     {
2211        const char     *text_class;
2212        const char     *font;
2213        Evas_Font_Size  size;
2214     } Elm_Font_Overlay;
2215
2216   typedef struct _Elm_Font_Properties
2217     {
2218        const char *name;
2219        Eina_List  *styles;
2220     } Elm_Font_Properties;
2221
2222    /**
2223     * Get Elementary's list of supported text classes.
2224     *
2225     * @return The text classes list, with @c Elm_Text_Class blobs as data.
2226     * @ingroup Fonts
2227     *
2228     * Release the list with elm_text_classes_list_free().
2229     */
2230    EAPI const Eina_List     *elm_text_classes_list_get(void);
2231
2232    /**
2233     * Free Elementary's list of supported text classes.
2234     *
2235     * @ingroup Fonts
2236     *
2237     * @see elm_text_classes_list_get().
2238     */
2239    EAPI void                 elm_text_classes_list_free(const Eina_List *list);
2240
2241    /**
2242     * Get Elementary's list of font overlays, set with
2243     * elm_font_overlay_set().
2244     *
2245     * @return The font overlays list, with @c Elm_Font_Overlay blobs as
2246     * data.
2247     *
2248     * @ingroup Fonts
2249     *
2250     * For each text class, one can set a <b>font overlay</b> for it,
2251     * overriding the default font properties for that class coming from
2252     * the theme in use. There is no need to free this list.
2253     *
2254     * @see elm_font_overlay_set() and elm_font_overlay_unset().
2255     */
2256    EAPI const Eina_List     *elm_font_overlay_list_get(void);
2257
2258    /**
2259     * Set a font overlay for a given Elementary text class.
2260     *
2261     * @param text_class Text class name
2262     * @param font Font name and style string
2263     * @param size Font size
2264     *
2265     * @ingroup Fonts
2266     *
2267     * @p font has to be in the format returned by
2268     * elm_font_fontconfig_name_get(). @see elm_font_overlay_list_get()
2269     * and elm_font_overlay_unset().
2270     */
2271    EAPI void                 elm_font_overlay_set(const char *text_class, const char *font, Evas_Font_Size size);
2272
2273    /**
2274     * Unset a font overlay for a given Elementary text class.
2275     *
2276     * @param text_class Text class name
2277     *
2278     * @ingroup Fonts
2279     *
2280     * This will bring back text elements belonging to text class
2281     * @p text_class back to their default font settings.
2282     */
2283    EAPI void                 elm_font_overlay_unset(const char *text_class);
2284
2285    /**
2286     * Apply the changes made with elm_font_overlay_set() and
2287     * elm_font_overlay_unset() on the current Elementary window.
2288     *
2289     * @ingroup Fonts
2290     *
2291     * This applies all font overlays set to all objects in the UI.
2292     */
2293    EAPI void                 elm_font_overlay_apply(void);
2294
2295    /**
2296     * Apply the changes made with elm_font_overlay_set() and
2297     * elm_font_overlay_unset() on all Elementary application windows.
2298     *
2299     * @ingroup Fonts
2300     *
2301     * This applies all font overlays set to all objects in the UI.
2302     */
2303    EAPI void                 elm_font_overlay_all_apply(void);
2304
2305    /**
2306     * Translate a font (family) name string in fontconfig's font names
2307     * syntax into an @c Elm_Font_Properties struct.
2308     *
2309     * @param font The font name and styles string
2310     * @return the font properties struct
2311     *
2312     * @ingroup Fonts
2313     *
2314     * @note The reverse translation can be achived with
2315     * elm_font_fontconfig_name_get(), for one style only (single font
2316     * instance, not family).
2317     */
2318    EAPI Elm_Font_Properties *elm_font_properties_get(const char *font) EINA_ARG_NONNULL(1);
2319
2320    /**
2321     * Free font properties return by elm_font_properties_get().
2322     *
2323     * @param efp the font properties struct
2324     *
2325     * @ingroup Fonts
2326     */
2327    EAPI void                 elm_font_properties_free(Elm_Font_Properties *efp) EINA_ARG_NONNULL(1);
2328
2329    /**
2330     * Translate a font name, bound to a style, into fontconfig's font names
2331     * syntax.
2332     *
2333     * @param name The font (family) name
2334     * @param style The given style (may be @c NULL)
2335     *
2336     * @return the font name and style string
2337     *
2338     * @ingroup Fonts
2339     *
2340     * @note The reverse translation can be achived with
2341     * elm_font_properties_get(), for one style only (single font
2342     * instance, not family).
2343     */
2344    EAPI const char          *elm_font_fontconfig_name_get(const char *name, const char *style) EINA_ARG_NONNULL(1);
2345
2346    /**
2347     * Free the font string return by elm_font_fontconfig_name_get().
2348     *
2349     * @param efp the font properties struct
2350     *
2351     * @ingroup Fonts
2352     */
2353    EAPI void                 elm_font_fontconfig_name_free(const char *name) EINA_ARG_NONNULL(1);
2354
2355    /**
2356     * Create a font hash table of available system fonts.
2357     *
2358     * One must call it with @p list being the return value of
2359     * evas_font_available_list(). The hash will be indexed by font
2360     * (family) names, being its values @c Elm_Font_Properties blobs.
2361     *
2362     * @param list The list of available system fonts, as returned by
2363     * evas_font_available_list().
2364     * @return the font hash.
2365     *
2366     * @ingroup Fonts
2367     *
2368     * @note The user is supposed to get it populated at least with 3
2369     * default font families (Sans, Serif, Monospace), which should be
2370     * present on most systems.
2371     */
2372    EAPI Eina_Hash           *elm_font_available_hash_add(Eina_List *list);
2373
2374    /**
2375     * Free the hash return by elm_font_available_hash_add().
2376     *
2377     * @param hash the hash to be freed.
2378     *
2379     * @ingroup Fonts
2380     */
2381    EAPI void                 elm_font_available_hash_del(Eina_Hash *hash);
2382
2383    /**
2384     * @}
2385     */
2386
2387    /**
2388     * @defgroup Fingers Fingers
2389     *
2390     * Elementary is designed to be finger-friendly for touchscreens,
2391     * and so in addition to scaling for display resolution, it can
2392     * also scale based on finger "resolution" (or size). You can then
2393     * customize the granularity of the areas meant to receive clicks
2394     * on touchscreens.
2395     *
2396     * Different profiles may have pre-set values for finger sizes.
2397     *
2398     * @ref general_functions_example_page "This" example contemplates
2399     * some of these functions.
2400     *
2401     * @{
2402     */
2403
2404    /**
2405     * Get the configured "finger size"
2406     *
2407     * @return The finger size
2408     *
2409     * This gets the globally configured finger size, <b>in pixels</b>
2410     *
2411     * @ingroup Fingers
2412     */
2413    EAPI Evas_Coord       elm_finger_size_get(void);
2414
2415    /**
2416     * Set the configured finger size
2417     *
2418     * This sets the globally configured finger size in pixels
2419     *
2420     * @param size The finger size
2421     * @ingroup Fingers
2422     */
2423    EAPI void             elm_finger_size_set(Evas_Coord size);
2424
2425    /**
2426     * Set the configured finger size for all applications on the display
2427     *
2428     * This sets the globally configured finger size in pixels for all
2429     * applications on the display
2430     *
2431     * @param size The finger size
2432     * @ingroup Fingers
2433     */
2434    EAPI void             elm_finger_size_all_set(Evas_Coord size);
2435
2436    /**
2437     * @}
2438     */
2439
2440    /**
2441     * @defgroup Focus Focus
2442     *
2443     * An Elementary application has, at all times, one (and only one)
2444     * @b focused object. This is what determines where the input
2445     * events go to within the application's window. Also, focused
2446     * objects can be decorated differently, in order to signal to the
2447     * user where the input is, at a given moment.
2448     *
2449     * Elementary applications also have the concept of <b>focus
2450     * chain</b>: one can cycle through all the windows' focusable
2451     * objects by input (tab key) or programmatically. The default
2452     * focus chain for an application is the one define by the order in
2453     * which the widgets where added in code. One will cycle through
2454     * top level widgets, and, for each one containg sub-objects, cycle
2455     * through them all, before returning to the level
2456     * above. Elementary also allows one to set @b custom focus chains
2457     * for their applications.
2458     *
2459     * Besides the focused decoration a widget may exhibit, when it
2460     * gets focus, Elementary has a @b global focus highlight object
2461     * that can be enabled for a window. If one chooses to do so, this
2462     * extra highlight effect will surround the current focused object,
2463     * too.
2464     *
2465     * @note Some Elementary widgets are @b unfocusable, after
2466     * creation, by their very nature: they are not meant to be
2467     * interacted with input events, but are there just for visual
2468     * purposes.
2469     *
2470     * @ref general_functions_example_page "This" example contemplates
2471     * some of these functions.
2472     */
2473
2474    /**
2475     * Get the enable status of the focus highlight
2476     *
2477     * This gets whether the highlight on focused objects is enabled or not
2478     * @ingroup Focus
2479     */
2480    EAPI Eina_Bool        elm_focus_highlight_enabled_get(void);
2481
2482    /**
2483     * Set the enable status of the focus highlight
2484     *
2485     * Set whether to show or not the highlight on focused objects
2486     * @param enable Enable highlight if EINA_TRUE, disable otherwise
2487     * @ingroup Focus
2488     */
2489    EAPI void             elm_focus_highlight_enabled_set(Eina_Bool enable);
2490
2491    /**
2492     * Get the enable status of the highlight animation
2493     *
2494     * Get whether the focus highlight, if enabled, will animate its switch from
2495     * one object to the next
2496     * @ingroup Focus
2497     */
2498    EAPI Eina_Bool        elm_focus_highlight_animate_get(void);
2499
2500    /**
2501     * Set the enable status of the highlight animation
2502     *
2503     * Set whether the focus highlight, if enabled, will animate its switch from
2504     * one object to the next
2505     * @param animate Enable animation if EINA_TRUE, disable otherwise
2506     * @ingroup Focus
2507     */
2508    EAPI void             elm_focus_highlight_animate_set(Eina_Bool animate);
2509
2510    /**
2511     * Get the whether an Elementary object has the focus or not.
2512     *
2513     * @param obj The Elementary object to get the information from
2514     * @return @c EINA_TRUE, if the object is focused, @c EINA_FALSE if
2515     *            not (and on errors).
2516     *
2517     * @see elm_object_focus_set()
2518     *
2519     * @ingroup Focus
2520     */
2521    EAPI Eina_Bool        elm_object_focus_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2522
2523    /**
2524     * Set/unset focus to a given Elementary object.
2525     *
2526     * @param obj The Elementary object to operate on.
2527     * @param enable @c EINA_TRUE Set focus to a given object,
2528     *               @c EINA_FALSE Unset focus to a given object.
2529     *
2530     * @note When you set focus to this object, if it can handle focus, will
2531     * take the focus away from the one who had it previously and will, for
2532     * now on, be the one receiving input events. Unsetting focus will remove
2533     * the focus from @p obj, passing it back to the previous element in the
2534     * focus chain list.
2535     *
2536     * @see elm_object_focus_get(), elm_object_focus_custom_chain_get()
2537     *
2538     * @ingroup Focus
2539     */
2540    EAPI void             elm_object_focus_set(Evas_Object *obj, Eina_Bool focus) EINA_ARG_NONNULL(1);
2541
2542    /**
2543     * Make a given Elementary object the focused one.
2544     *
2545     * @param obj The Elementary object to make focused.
2546     *
2547     * @note This object, if it can handle focus, will take the focus
2548     * away from the one who had it previously and will, for now on, be
2549     * the one receiving input events.
2550     *
2551     * @see elm_object_focus_get()
2552     * @deprecated use elm_object_focus_set() instead.
2553     *
2554     * @ingroup Focus
2555     */
2556    WILL_DEPRECATE  EAPI void             elm_object_focus(Evas_Object *obj) EINA_ARG_NONNULL(1);
2557
2558    /**
2559     * Remove the focus from an Elementary object
2560     *
2561     * @param obj The Elementary to take focus from
2562     *
2563     * This removes the focus from @p obj, passing it back to the
2564     * previous element in the focus chain list.
2565     *
2566     * @see elm_object_focus() and elm_object_focus_custom_chain_get()
2567     * @deprecated use elm_object_focus_set() instead.
2568     *
2569     * @ingroup Focus
2570     */
2571    WILL_DEPRECATE  EAPI void             elm_object_unfocus(Evas_Object *obj) EINA_ARG_NONNULL(1);
2572
2573    /**
2574     * Set the ability for an Element object to be focused
2575     *
2576     * @param obj The Elementary object to operate on
2577     * @param enable @c EINA_TRUE if the object can be focused, @c
2578     *        EINA_FALSE if not (and on errors)
2579     *
2580     * This sets whether the object @p obj is able to take focus or
2581     * not. Unfocusable objects do nothing when programmatically
2582     * focused, being the nearest focusable parent object the one
2583     * really getting focus. Also, when they receive mouse input, they
2584     * will get the event, but not take away the focus from where it
2585     * was previously.
2586     *
2587     * @ingroup Focus
2588     */
2589    EAPI void             elm_object_focus_allow_set(Evas_Object *obj, Eina_Bool enable) EINA_ARG_NONNULL(1);
2590
2591    /**
2592     * Get whether an Elementary object is focusable or not
2593     *
2594     * @param obj The Elementary object to operate on
2595     * @return @c EINA_TRUE if the object is allowed to be focused, @c
2596     *             EINA_FALSE if not (and on errors)
2597     *
2598     * @note Objects which are meant to be interacted with by input
2599     * events are created able to be focused, by default. All the
2600     * others are not.
2601     *
2602     * @ingroup Focus
2603     */
2604    EAPI Eina_Bool        elm_object_focus_allow_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2605
2606    /**
2607     * Set custom focus chain.
2608     *
2609     * This function overwrites any previous custom focus chain within
2610     * the list of objects. The previous list will be deleted and this list
2611     * will be managed by elementary. After it is set, don't modify it.
2612     *
2613     * @note On focus cycle, only will be evaluated children of this container.
2614     *
2615     * @param obj The container object
2616     * @param objs Chain of objects to pass focus
2617     * @ingroup Focus
2618     */
2619    EAPI void             elm_object_focus_custom_chain_set(Evas_Object *obj, Eina_List *objs) EINA_ARG_NONNULL(1);
2620
2621    /**
2622     * Unset a custom focus chain on a given Elementary widget
2623     *
2624     * @param obj The container object to remove focus chain from
2625     *
2626     * Any focus chain previously set on @p obj (for its child objects)
2627     * is removed entirely after this call.
2628     *
2629     * @ingroup Focus
2630     */
2631    EAPI void             elm_object_focus_custom_chain_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
2632
2633    /**
2634     * Get custom focus chain
2635     *
2636     * @param obj The container object
2637     * @ingroup Focus
2638     */
2639    EAPI const Eina_List *elm_object_focus_custom_chain_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2640
2641    /**
2642     * Append object to custom focus chain.
2643     *
2644     * @note If relative_child equal to NULL or not in custom chain, the object
2645     * will be added in end.
2646     *
2647     * @note On focus cycle, only will be evaluated children of this container.
2648     *
2649     * @param obj The container object
2650     * @param child The child to be added in custom chain
2651     * @param relative_child The relative object to position the child
2652     * @ingroup Focus
2653     */
2654    EAPI void             elm_object_focus_custom_chain_append(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child) EINA_ARG_NONNULL(1, 2);
2655
2656    /**
2657     * Prepend object to custom focus chain.
2658     *
2659     * @note If relative_child equal to NULL or not in custom chain, the object
2660     * will be added in begin.
2661     *
2662     * @note On focus cycle, only will be evaluated children of this container.
2663     *
2664     * @param obj The container object
2665     * @param child The child to be added in custom chain
2666     * @param relative_child The relative object to position the child
2667     * @ingroup Focus
2668     */
2669    EAPI void             elm_object_focus_custom_chain_prepend(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child) EINA_ARG_NONNULL(1, 2);
2670
2671    /**
2672     * Give focus to next object in object tree.
2673     *
2674     * Give focus to next object in focus chain of one object sub-tree.
2675     * If the last object of chain already have focus, the focus will go to the
2676     * first object of chain.
2677     *
2678     * @param obj The object root of sub-tree
2679     * @param dir Direction to cycle the focus
2680     *
2681     * @ingroup Focus
2682     */
2683    EAPI void             elm_object_focus_cycle(Evas_Object *obj, Elm_Focus_Direction dir) EINA_ARG_NONNULL(1);
2684
2685    /**
2686     * Give focus to near object in one direction.
2687     *
2688     * Give focus to near object in direction of one object.
2689     * If none focusable object in given direction, the focus will not change.
2690     *
2691     * @param obj The reference object
2692     * @param x Horizontal component of direction to focus
2693     * @param y Vertical component of direction to focus
2694     *
2695     * @ingroup Focus
2696     */
2697    EAPI void             elm_object_focus_direction_go(Evas_Object *obj, int x, int y) EINA_ARG_NONNULL(1);
2698
2699    /**
2700     * Make the elementary object and its children to be unfocusable
2701     * (or focusable).
2702     *
2703     * @param obj The Elementary object to operate on
2704     * @param tree_unfocusable @c EINA_TRUE for unfocusable,
2705     *        @c EINA_FALSE for focusable.
2706     *
2707     * This sets whether the object @p obj and its children objects
2708     * are able to take focus or not. If the tree is set as unfocusable,
2709     * newest focused object which is not in this tree will get focus.
2710     * This API can be helpful for an object to be deleted.
2711     * When an object will be deleted soon, it and its children may not
2712     * want to get focus (by focus reverting or by other focus controls).
2713     * Then, just use this API before deleting.
2714     *
2715     * @see elm_object_tree_unfocusable_get()
2716     *
2717     * @ingroup Focus
2718     */
2719    EAPI void             elm_object_tree_unfocusable_set(Evas_Object *obj, Eina_Bool tree_unfocusable) EINA_ARG_NONNULL(1);
2720
2721    /**
2722     * Get whether an Elementary object and its children are unfocusable or not.
2723     *
2724     * @param obj The Elementary object to get the information from
2725     * @return @c EINA_TRUE, if the tree is unfocussable,
2726     *         @c EINA_FALSE if not (and on errors).
2727     *
2728     * @see elm_object_tree_unfocusable_set()
2729     *
2730     * @ingroup Focus
2731     */
2732    EAPI Eina_Bool        elm_object_tree_unfocusable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
2733
2734    /**
2735     * @defgroup Scrolling Scrolling
2736     *
2737     * These are functions setting how scrollable views in Elementary
2738     * widgets should behave on user interaction.
2739     *
2740     * @{
2741     */
2742
2743    /**
2744     * Get whether scrollers should bounce when they reach their
2745     * viewport's edge during a scroll.
2746     *
2747     * @return the thumb scroll bouncing state
2748     *
2749     * This is the default behavior for touch screens, in general.
2750     * @ingroup Scrolling
2751     */
2752    EAPI Eina_Bool        elm_scroll_bounce_enabled_get(void);
2753
2754    /**
2755     * Set whether scrollers should bounce when they reach their
2756     * viewport's edge during a scroll.
2757     *
2758     * @param enabled the thumb scroll bouncing state
2759     *
2760     * @see elm_thumbscroll_bounce_enabled_get()
2761     * @ingroup Scrolling
2762     */
2763    EAPI void             elm_scroll_bounce_enabled_set(Eina_Bool enabled);
2764
2765    /**
2766     * Set whether scrollers should bounce when they reach their
2767     * viewport's edge during a scroll, for all Elementary application
2768     * windows.
2769     *
2770     * @param enabled the thumb scroll bouncing state
2771     *
2772     * @see elm_thumbscroll_bounce_enabled_get()
2773     * @ingroup Scrolling
2774     */
2775    EAPI void             elm_scroll_bounce_enabled_all_set(Eina_Bool enabled);
2776
2777    /**
2778     * Get the amount of inertia a scroller will impose at bounce
2779     * animations.
2780     *
2781     * @return the thumb scroll bounce friction
2782     *
2783     * @ingroup Scrolling
2784     */
2785    EAPI double           elm_scroll_bounce_friction_get(void);
2786
2787    /**
2788     * Set the amount of inertia a scroller will impose at bounce
2789     * animations.
2790     *
2791     * @param friction the thumb scroll bounce friction
2792     *
2793     * @see elm_thumbscroll_bounce_friction_get()
2794     * @ingroup Scrolling
2795     */
2796    EAPI void             elm_scroll_bounce_friction_set(double friction);
2797
2798    /**
2799     * Set the amount of inertia a scroller will impose at bounce
2800     * animations, for all Elementary application windows.
2801     *
2802     * @param friction the thumb scroll bounce friction
2803     *
2804     * @see elm_thumbscroll_bounce_friction_get()
2805     * @ingroup Scrolling
2806     */
2807    EAPI void             elm_scroll_bounce_friction_all_set(double friction);
2808
2809    /**
2810     * Get the amount of inertia a <b>paged</b> scroller will impose at
2811     * page fitting animations.
2812     *
2813     * @return the page scroll friction
2814     *
2815     * @ingroup Scrolling
2816     */
2817    EAPI double           elm_scroll_page_scroll_friction_get(void);
2818
2819    /**
2820     * Set the amount of inertia a <b>paged</b> scroller will impose at
2821     * page fitting animations.
2822     *
2823     * @param friction the page scroll friction
2824     *
2825     * @see elm_thumbscroll_page_scroll_friction_get()
2826     * @ingroup Scrolling
2827     */
2828    EAPI void             elm_scroll_page_scroll_friction_set(double friction);
2829
2830    /**
2831     * Set the amount of inertia a <b>paged</b> scroller will impose at
2832     * page fitting animations, for all Elementary application windows.
2833     *
2834     * @param friction the page scroll friction
2835     *
2836     * @see elm_thumbscroll_page_scroll_friction_get()
2837     * @ingroup Scrolling
2838     */
2839    EAPI void             elm_scroll_page_scroll_friction_all_set(double friction);
2840
2841    /**
2842     * Get the amount of inertia a scroller will impose at region bring
2843     * animations.
2844     *
2845     * @return the bring in scroll friction
2846     *
2847     * @ingroup Scrolling
2848     */
2849    EAPI double           elm_scroll_bring_in_scroll_friction_get(void);
2850
2851    /**
2852     * Set the amount of inertia a scroller will impose at region bring
2853     * animations.
2854     *
2855     * @param friction the bring in scroll friction
2856     *
2857     * @see elm_thumbscroll_bring_in_scroll_friction_get()
2858     * @ingroup Scrolling
2859     */
2860    EAPI void             elm_scroll_bring_in_scroll_friction_set(double friction);
2861
2862    /**
2863     * Set the amount of inertia a scroller will impose at region bring
2864     * animations, for all Elementary application windows.
2865     *
2866     * @param friction the bring in scroll friction
2867     *
2868     * @see elm_thumbscroll_bring_in_scroll_friction_get()
2869     * @ingroup Scrolling
2870     */
2871    EAPI void             elm_scroll_bring_in_scroll_friction_all_set(double friction);
2872
2873    /**
2874     * Get the amount of inertia scrollers will impose at animations
2875     * triggered by Elementary widgets' zooming API.
2876     *
2877     * @return the zoom friction
2878     *
2879     * @ingroup Scrolling
2880     */
2881    EAPI double           elm_scroll_zoom_friction_get(void);
2882
2883    /**
2884     * Set the amount of inertia scrollers will impose at animations
2885     * triggered by Elementary widgets' zooming API.
2886     *
2887     * @param friction the zoom friction
2888     *
2889     * @see elm_thumbscroll_zoom_friction_get()
2890     * @ingroup Scrolling
2891     */
2892    EAPI void             elm_scroll_zoom_friction_set(double friction);
2893
2894    /**
2895     * Set the amount of inertia scrollers will impose at animations
2896     * triggered by Elementary widgets' zooming API, for all Elementary
2897     * application windows.
2898     *
2899     * @param friction the zoom friction
2900     *
2901     * @see elm_thumbscroll_zoom_friction_get()
2902     * @ingroup Scrolling
2903     */
2904    EAPI void             elm_scroll_zoom_friction_all_set(double friction);
2905
2906    /**
2907     * Get whether scrollers should be draggable from any point in their
2908     * views.
2909     *
2910     * @return the thumb scroll state
2911     *
2912     * @note This is the default behavior for touch screens, in general.
2913     * @note All other functions namespaced with "thumbscroll" will only
2914     *       have effect if this mode is enabled.
2915     *
2916     * @ingroup Scrolling
2917     */
2918    EAPI Eina_Bool        elm_scroll_thumbscroll_enabled_get(void);
2919
2920    /**
2921     * Set whether scrollers should be draggable from any point in their
2922     * views.
2923     *
2924     * @param enabled the thumb scroll state
2925     *
2926     * @see elm_thumbscroll_enabled_get()
2927     * @ingroup Scrolling
2928     */
2929    EAPI void             elm_scroll_thumbscroll_enabled_set(Eina_Bool enabled);
2930
2931    /**
2932     * Set whether scrollers should be draggable from any point in their
2933     * views, for all Elementary application windows.
2934     *
2935     * @param enabled the thumb scroll state
2936     *
2937     * @see elm_thumbscroll_enabled_get()
2938     * @ingroup Scrolling
2939     */
2940    EAPI void             elm_scroll_thumbscroll_enabled_all_set(Eina_Bool enabled);
2941
2942    /**
2943     * Get the number of pixels one should travel while dragging a
2944     * scroller's view to actually trigger scrolling.
2945     *
2946     * @return the thumb scroll threshould
2947     *
2948     * One would use higher values for touch screens, in general, because
2949     * of their inherent imprecision.
2950     * @ingroup Scrolling
2951     */
2952    EAPI unsigned int     elm_scroll_thumbscroll_threshold_get(void);
2953
2954    /**
2955     * Set the number of pixels one should travel while dragging a
2956     * scroller's view to actually trigger scrolling.
2957     *
2958     * @param threshold the thumb scroll threshould
2959     *
2960     * @see elm_thumbscroll_threshould_get()
2961     * @ingroup Scrolling
2962     */
2963    EAPI void             elm_scroll_thumbscroll_threshold_set(unsigned int threshold);
2964
2965    /**
2966     * Set the number of pixels one should travel while dragging a
2967     * scroller's view to actually trigger scrolling, for all Elementary
2968     * application windows.
2969     *
2970     * @param threshold the thumb scroll threshould
2971     *
2972     * @see elm_thumbscroll_threshould_get()
2973     * @ingroup Scrolling
2974     */
2975    EAPI void             elm_scroll_thumbscroll_threshold_all_set(unsigned int threshold);
2976
2977    /**
2978     * Get the minimum speed of mouse cursor movement which will trigger
2979     * list self scrolling animation after a mouse up event
2980     * (pixels/second).
2981     *
2982     * @return the thumb scroll momentum threshould
2983     *
2984     * @ingroup Scrolling
2985     */
2986    EAPI double           elm_scroll_thumbscroll_momentum_threshold_get(void);
2987
2988    /**
2989     * Set the minimum speed of mouse cursor movement which will trigger
2990     * list self scrolling animation after a mouse up event
2991     * (pixels/second).
2992     *
2993     * @param threshold the thumb scroll momentum threshould
2994     *
2995     * @see elm_thumbscroll_momentum_threshould_get()
2996     * @ingroup Scrolling
2997     */
2998    EAPI void             elm_scroll_thumbscroll_momentum_threshold_set(double threshold);
2999
3000    /**
3001     * Set the minimum speed of mouse cursor movement which will trigger
3002     * list self scrolling animation after a mouse up event
3003     * (pixels/second), for all Elementary application windows.
3004     *
3005     * @param threshold the thumb scroll momentum threshould
3006     *
3007     * @see elm_thumbscroll_momentum_threshould_get()
3008     * @ingroup Scrolling
3009     */
3010    EAPI void             elm_scroll_thumbscroll_momentum_threshold_all_set(double threshold);
3011
3012    /**
3013     * Get the amount of inertia a scroller will impose at self scrolling
3014     * animations.
3015     *
3016     * @return the thumb scroll friction
3017     *
3018     * @ingroup Scrolling
3019     */
3020    EAPI double           elm_scroll_thumbscroll_friction_get(void);
3021
3022    /**
3023     * Set the amount of inertia a scroller will impose at self scrolling
3024     * animations.
3025     *
3026     * @param friction the thumb scroll friction
3027     *
3028     * @see elm_thumbscroll_friction_get()
3029     * @ingroup Scrolling
3030     */
3031    EAPI void             elm_scroll_thumbscroll_friction_set(double friction);
3032
3033    /**
3034     * Set the amount of inertia a scroller will impose at self scrolling
3035     * animations, for all Elementary application windows.
3036     *
3037     * @param friction the thumb scroll friction
3038     *
3039     * @see elm_thumbscroll_friction_get()
3040     * @ingroup Scrolling
3041     */
3042    EAPI void             elm_scroll_thumbscroll_friction_all_set(double friction);
3043
3044    /**
3045     * Get the amount of lag between your actual mouse cursor dragging
3046     * movement and a scroller's view movement itself, while pushing it
3047     * into bounce state manually.
3048     *
3049     * @return the thumb scroll border friction
3050     *
3051     * @ingroup Scrolling
3052     */
3053    EAPI double           elm_scroll_thumbscroll_border_friction_get(void);
3054
3055    /**
3056     * Set the amount of lag between your actual mouse cursor dragging
3057     * movement and a scroller's view movement itself, while pushing it
3058     * into bounce state manually.
3059     *
3060     * @param friction the thumb scroll border friction. @c 0.0 for
3061     *        perfect synchrony between two movements, @c 1.0 for maximum
3062     *        lag.
3063     *
3064     * @see elm_thumbscroll_border_friction_get()
3065     * @note parameter value will get bound to 0.0 - 1.0 interval, always
3066     *
3067     * @ingroup Scrolling
3068     */
3069    EAPI void             elm_scroll_thumbscroll_border_friction_set(double friction);
3070
3071    /**
3072     * Set the amount of lag between your actual mouse cursor dragging
3073     * movement and a scroller's view movement itself, while pushing it
3074     * into bounce state manually, for all Elementary application windows.
3075     *
3076     * @param friction the thumb scroll border friction. @c 0.0 for
3077     *        perfect synchrony between two movements, @c 1.0 for maximum
3078     *        lag.
3079     *
3080     * @see elm_thumbscroll_border_friction_get()
3081     * @note parameter value will get bound to 0.0 - 1.0 interval, always
3082     *
3083     * @ingroup Scrolling
3084     */
3085    EAPI void             elm_scroll_thumbscroll_border_friction_all_set(double friction);
3086
3087    /**
3088     * Get the sensitivity amount which is be multiplied by the length of
3089     * mouse dragging.
3090     *
3091     * @return the thumb scroll sensitivity friction
3092     *
3093     * @ingroup Scrolling
3094     */
3095    EAPI double           elm_scroll_thumbscroll_sensitivity_friction_get(void);
3096
3097    /**
3098     * Set the sensitivity amount which is be multiplied by the length of
3099     * mouse dragging.
3100     *
3101     * @param friction the thumb scroll sensitivity friction. @c 0.1 for
3102     *        minimun sensitivity, @c 1.0 for maximum sensitivity. 0.25
3103     *        is proper.
3104     *
3105     * @see elm_thumbscroll_sensitivity_friction_get()
3106     * @note parameter value will get bound to 0.1 - 1.0 interval, always
3107     *
3108     * @ingroup Scrolling
3109     */
3110    EAPI void             elm_scroll_thumbscroll_sensitivity_friction_set(double friction);
3111
3112    /**
3113     * Set the sensitivity amount which is be multiplied by the length of
3114     * mouse dragging, for all Elementary application windows.
3115     *
3116     * @param friction the thumb scroll sensitivity friction. @c 0.1 for
3117     *        minimun sensitivity, @c 1.0 for maximum sensitivity. 0.25
3118     *        is proper.
3119     *
3120     * @see elm_thumbscroll_sensitivity_friction_get()
3121     * @note parameter value will get bound to 0.1 - 1.0 interval, always
3122     *
3123     * @ingroup Scrolling
3124     */
3125    EAPI void             elm_scroll_thumbscroll_sensitivity_friction_all_set(double friction);
3126
3127    /**
3128     * @}
3129     */
3130
3131    /**
3132     * @defgroup Scrollhints Scrollhints
3133     *
3134     * Objects when inside a scroller can scroll, but this may not always be
3135     * desirable in certain situations. This allows an object to hint to itself
3136     * and parents to "not scroll" in one of 2 ways. If any child object of a
3137     * scroller has pushed a scroll freeze or hold then it affects all parent
3138     * scrollers until all children have released them.
3139     *
3140     * 1. To hold on scrolling. This means just flicking and dragging may no
3141     * longer scroll, but pressing/dragging near an edge of the scroller will
3142     * still scroll. This is automatically used by the entry object when
3143     * selecting text.
3144     *
3145     * 2. To totally freeze scrolling. This means it stops. until
3146     * popped/released.
3147     *
3148     * @{
3149     */
3150
3151    /**
3152     * Push the scroll hold by 1
3153     *
3154     * This increments the scroll hold count by one. If it is more than 0 it will
3155     * take effect on the parents of the indicated object.
3156     *
3157     * @param obj The object
3158     * @ingroup Scrollhints
3159     */
3160    EAPI void             elm_object_scroll_hold_push(Evas_Object *obj) EINA_ARG_NONNULL(1);
3161
3162    /**
3163     * Pop the scroll hold by 1
3164     *
3165     * This decrements the scroll hold count by one. If it is more than 0 it will
3166     * take effect on the parents of the indicated object.
3167     *
3168     * @param obj The object
3169     * @ingroup Scrollhints
3170     */
3171    EAPI void             elm_object_scroll_hold_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
3172
3173    /**
3174     * Push the scroll freeze by 1
3175     *
3176     * This increments the scroll freeze count by one. If it is more
3177     * than 0 it will take effect on the parents of the indicated
3178     * object.
3179     *
3180     * @param obj The object
3181     * @ingroup Scrollhints
3182     */
3183    EAPI void             elm_object_scroll_freeze_push(Evas_Object *obj) EINA_ARG_NONNULL(1);
3184
3185    /**
3186     * Pop the scroll freeze by 1
3187     *
3188     * This decrements the scroll freeze count by one. If it is more
3189     * than 0 it will take effect on the parents of the indicated
3190     * object.
3191     *
3192     * @param obj The object
3193     * @ingroup Scrollhints
3194     */
3195    EAPI void             elm_object_scroll_freeze_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
3196
3197    /**
3198     * Lock the scrolling of the given widget (and thus all parents)
3199     *
3200     * This locks the given object from scrolling in the X axis (and implicitly
3201     * also locks all parent scrollers too from doing the same).
3202     *
3203     * @param obj The object
3204     * @param lock The lock state (1 == locked, 0 == unlocked)
3205     * @ingroup Scrollhints
3206     */
3207    EAPI void             elm_object_scroll_lock_x_set(Evas_Object *obj, Eina_Bool lock) EINA_ARG_NONNULL(1);
3208
3209    /**
3210     * Lock the scrolling of the given widget (and thus all parents)
3211     *
3212     * This locks the given object from scrolling in the Y axis (and implicitly
3213     * also locks all parent scrollers too from doing the same).
3214     *
3215     * @param obj The object
3216     * @param lock The lock state (1 == locked, 0 == unlocked)
3217     * @ingroup Scrollhints
3218     */
3219    EAPI void             elm_object_scroll_lock_y_set(Evas_Object *obj, Eina_Bool lock) EINA_ARG_NONNULL(1);
3220
3221    /**
3222     * Get the scrolling lock of the given widget
3223     *
3224     * This gets the lock for X axis scrolling.
3225     *
3226     * @param obj The object
3227     * @ingroup Scrollhints
3228     */
3229    EAPI Eina_Bool        elm_object_scroll_lock_x_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3230
3231    /**
3232     * Get the scrolling lock of the given widget
3233     *
3234     * This gets the lock for X axis scrolling.
3235     *
3236     * @param obj The object
3237     * @ingroup Scrollhints
3238     */
3239    EAPI Eina_Bool        elm_object_scroll_lock_y_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3240
3241    /**
3242     * @}
3243     */
3244
3245    /**
3246     * Send a signal to the widget edje object.
3247     *
3248     * This function sends a signal to the edje object of the obj. An
3249     * edje program can respond to a signal by specifying matching
3250     * 'signal' and 'source' fields.
3251     *
3252     * @param obj The object
3253     * @param emission The signal's name.
3254     * @param source The signal's source.
3255     * @ingroup General
3256     */
3257    EAPI void             elm_object_signal_emit(Evas_Object *obj, const char *emission, const char *source) EINA_ARG_NONNULL(1);
3258
3259    /**
3260     * Add a callback for a signal emitted by widget edje object.
3261     *
3262     * This function connects a callback function to a signal emitted by the
3263     * edje object of the obj.
3264     * Globs can occur in either the emission or source name.
3265     *
3266     * @param obj The object
3267     * @param emission The signal's name.
3268     * @param source The signal's source.
3269     * @param func The callback function to be executed when the signal is
3270     * emitted.
3271     * @param data A pointer to data to pass in to the callback function.
3272     * @ingroup General
3273     */
3274    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);
3275
3276    /**
3277     * Remove a signal-triggered callback from a widget edje object.
3278     *
3279     * This function removes a callback, previoulsy attached to a
3280     * signal emitted by the edje object of the obj.  The parameters
3281     * emission, source and func must match exactly those passed to a
3282     * previous call to elm_object_signal_callback_add(). The data
3283     * pointer that was passed to this call will be returned.
3284     *
3285     * @param obj The object
3286     * @param emission The signal's name.
3287     * @param source The signal's source.
3288     * @param func The callback function to be executed when the signal is
3289     * emitted.
3290     * @return The data pointer
3291     * @ingroup General
3292     */
3293    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);
3294
3295    /**
3296     * Add a callback for input events (key up, key down, mouse wheel)
3297     * on a given Elementary widget
3298     *
3299     * @param obj The widget to add an event callback on
3300     * @param func The callback function to be executed when the event
3301     * happens
3302     * @param data Data to pass in to @p func
3303     *
3304     * Every widget in an Elementary interface set to receive focus,
3305     * with elm_object_focus_allow_set(), will propagate @b all of its
3306     * key up, key down and mouse wheel input events up to its parent
3307     * object, and so on. All of the focusable ones in this chain which
3308     * had an event callback set, with this call, will be able to treat
3309     * those events. There are two ways of making the propagation of
3310     * these event upwards in the tree of widgets to @b cease:
3311     * - Just return @c EINA_TRUE on @p func. @c EINA_FALSE will mean
3312     *   the event was @b not processed, so the propagation will go on.
3313     * - The @c event_info pointer passed to @p func will contain the
3314     *   event's structure and, if you OR its @c event_flags inner
3315     *   value to @c EVAS_EVENT_FLAG_ON_HOLD, you're telling Elementary
3316     *   one has already handled it, thus killing the event's
3317     *   propagation, too.
3318     *
3319     * @note Your event callback will be issued on those events taking
3320     * place only if no other child widget of @obj has consumed the
3321     * event already.
3322     *
3323     * @note Not to be confused with @c
3324     * evas_object_event_callback_add(), which will add event callbacks
3325     * per type on general Evas objects (no event propagation
3326     * infrastructure taken in account).
3327     *
3328     * @note Not to be confused with @c
3329     * elm_object_signal_callback_add(), which will add callbacks to @b
3330     * signals coming from a widget's theme, not input events.
3331     *
3332     * @note Not to be confused with @c
3333     * edje_object_signal_callback_add(), which does the same as
3334     * elm_object_signal_callback_add(), but directly on an Edje
3335     * object.
3336     *
3337     * @note Not to be confused with @c
3338     * evas_object_smart_callback_add(), which adds callbacks to smart
3339     * objects' <b>smart events</b>, and not input events.
3340     *
3341     * @see elm_object_event_callback_del()
3342     *
3343     * @ingroup General
3344     */
3345    EAPI void             elm_object_event_callback_add(Evas_Object *obj, Elm_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
3346
3347    /**
3348     * Remove an event callback from a widget.
3349     *
3350     * This function removes a callback, previoulsy attached to event emission
3351     * by the @p obj.
3352     * The parameters func and data must match exactly those passed to
3353     * a previous call to elm_object_event_callback_add(). The data pointer that
3354     * was passed to this call will be returned.
3355     *
3356     * @param obj The object
3357     * @param func The callback function to be executed when the event is
3358     * emitted.
3359     * @param data Data to pass in to the callback function.
3360     * @return The data pointer
3361     * @ingroup General
3362     */
3363    EAPI void            *elm_object_event_callback_del(Evas_Object *obj, Elm_Event_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
3364
3365    /**
3366     * Adjust size of an element for finger usage.
3367     *
3368     * @param times_w How many fingers should fit horizontally
3369     * @param w Pointer to the width size to adjust
3370     * @param times_h How many fingers should fit vertically
3371     * @param h Pointer to the height size to adjust
3372     *
3373     * This takes width and height sizes (in pixels) as input and a
3374     * size multiple (which is how many fingers you want to place
3375     * within the area, being "finger" the size set by
3376     * elm_finger_size_set()), and adjusts the size to be large enough
3377     * to accommodate the resulting size -- if it doesn't already
3378     * accommodate it. On return the @p w and @p h sizes pointed to by
3379     * these parameters will be modified, on those conditions.
3380     *
3381     * @note This is kind of a low level Elementary call, most useful
3382     * on size evaluation times for widgets. An external user wouldn't
3383     * be calling, most of the time.
3384     *
3385     * @ingroup Fingers
3386     */
3387    EAPI void             elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, Evas_Coord *h);
3388
3389    /**
3390     * Get the duration for occuring long press event.
3391     *
3392     * @return Timeout for long press event
3393     * @ingroup Longpress
3394     */
3395    EAPI double           elm_longpress_timeout_get(void);
3396
3397    /**
3398     * Set the duration for occuring long press event.
3399     *
3400     * @param lonpress_timeout Timeout for long press event
3401     * @ingroup Longpress
3402     */
3403    EAPI void             elm_longpress_timeout_set(double longpress_timeout);
3404
3405    /**
3406     * @defgroup Debug Debug
3407     * don't use it unless you are sure
3408     *
3409     * @{
3410     */
3411
3412    /**
3413     * Print Tree object hierarchy in stdout
3414     *
3415     * @param obj The root object
3416     * @ingroup Debug
3417     */
3418    EAPI void             elm_object_tree_dump(const Evas_Object *top);
3419    EAPI void             elm_object_tree_dot_dump(const Evas_Object *top, const char *file);
3420
3421    /**
3422     * Print Elm Objects tree hierarchy in file as dot(graphviz) syntax.
3423     *
3424     * @param obj The root object
3425     * @param file The path of output file
3426     * @ingroup Debug
3427     */
3428    EAPI void             elm_object_tree_dot_dump(const Evas_Object *top, const char *file);
3429
3430    /**
3431     * @}
3432     */
3433
3434    /**
3435     * @defgroup Theme Theme
3436     *
3437     * Elementary uses Edje to theme its widgets, naturally. But for the most
3438     * part this is hidden behind a simpler interface that lets the user set
3439     * extensions and choose the style of widgets in a much easier way.
3440     *
3441     * Instead of thinking in terms of paths to Edje files and their groups
3442     * each time you want to change the appearance of a widget, Elementary
3443     * works so you can add any theme file with extensions or replace the
3444     * main theme at one point in the application, and then just set the style
3445     * of widgets with elm_object_style_set() and related functions. Elementary
3446     * will then look in its list of themes for a matching group and apply it,
3447     * and when the theme changes midway through the application, all widgets
3448     * will be updated accordingly.
3449     *
3450     * There are three concepts you need to know to understand how Elementary
3451     * theming works: default theme, extensions and overlays.
3452     *
3453     * Default theme, obviously enough, is the one that provides the default
3454     * look of all widgets. End users can change the theme used by Elementary
3455     * by setting the @c ELM_THEME environment variable before running an
3456     * application, or globally for all programs using the @c elementary_config
3457     * utility. Applications can change the default theme using elm_theme_set(),
3458     * but this can go against the user wishes, so it's not an adviced practice.
3459     *
3460     * Ideally, applications should find everything they need in the already
3461     * provided theme, but there may be occasions when that's not enough and
3462     * custom styles are required to correctly express the idea. For this
3463     * cases, Elementary has extensions.
3464     *
3465     * Extensions allow the application developer to write styles of its own
3466     * to apply to some widgets. This requires knowledge of how each widget
3467     * is themed, as extensions will always replace the entire group used by
3468     * the widget, so important signals and parts need to be there for the
3469     * object to behave properly (see documentation of Edje for details).
3470     * Once the theme for the extension is done, the application needs to add
3471     * it to the list of themes Elementary will look into, using
3472     * elm_theme_extension_add(), and set the style of the desired widgets as
3473     * he would normally with elm_object_style_set().
3474     *
3475     * Overlays, on the other hand, can replace the look of all widgets by
3476     * overriding the default style. Like extensions, it's up to the application
3477     * developer to write the theme for the widgets it wants, the difference
3478     * being that when looking for the theme, Elementary will check first the
3479     * list of overlays, then the set theme and lastly the list of extensions,
3480     * so with overlays it's possible to replace the default view and every
3481     * widget will be affected. This is very much alike to setting the whole
3482     * theme for the application and will probably clash with the end user
3483     * options, not to mention the risk of ending up with not matching styles
3484     * across the program. Unless there's a very special reason to use them,
3485     * overlays should be avoided for the resons exposed before.
3486     *
3487     * All these theme lists are handled by ::Elm_Theme instances. Elementary
3488     * keeps one default internally and every function that receives one of
3489     * these can be called with NULL to refer to this default (except for
3490     * elm_theme_free()). It's possible to create a new instance of a
3491     * ::Elm_Theme to set other theme for a specific widget (and all of its
3492     * children), but this is as discouraged, if not even more so, than using
3493     * overlays. Don't use this unless you really know what you are doing.
3494     *
3495     * But to be less negative about things, you can look at the following
3496     * examples:
3497     * @li @ref theme_example_01 "Using extensions"
3498     * @li @ref theme_example_02 "Using overlays"
3499     *
3500     * @{
3501     */
3502    /**
3503     * @typedef Elm_Theme
3504     *
3505     * Opaque handler for the list of themes Elementary looks for when
3506     * rendering widgets.
3507     *
3508     * Stay out of this unless you really know what you are doing. For most
3509     * cases, sticking to the default is all a developer needs.
3510     */
3511    typedef struct _Elm_Theme Elm_Theme;
3512
3513    /**
3514     * Create a new specific theme
3515     *
3516     * This creates an empty specific theme that only uses the default theme. A
3517     * specific theme has its own private set of extensions and overlays too
3518     * (which are empty by default). Specific themes do not fall back to themes
3519     * of parent objects. They are not intended for this use. Use styles, overlays
3520     * and extensions when needed, but avoid specific themes unless there is no
3521     * other way (example: you want to have a preview of a new theme you are
3522     * selecting in a "theme selector" window. The preview is inside a scroller
3523     * and should display what the theme you selected will look like, but not
3524     * actually apply it yet. The child of the scroller will have a specific
3525     * theme set to show this preview before the user decides to apply it to all
3526     * applications).
3527     */
3528    EAPI Elm_Theme       *elm_theme_new(void);
3529    /**
3530     * Free a specific theme
3531     *
3532     * @param th The theme to free
3533     *
3534     * This frees a theme created with elm_theme_new().
3535     */
3536    EAPI void             elm_theme_free(Elm_Theme *th);
3537    /**
3538     * Copy the theme fom the source to the destination theme
3539     *
3540     * @param th The source theme to copy from
3541     * @param thdst The destination theme to copy data to
3542     *
3543     * This makes a one-time static copy of all the theme config, extensions
3544     * and overlays from @p th to @p thdst. If @p th references a theme, then
3545     * @p thdst is also set to reference it, with all the theme settings,
3546     * overlays and extensions that @p th had.
3547     */
3548    EAPI void             elm_theme_copy(Elm_Theme *th, Elm_Theme *thdst);
3549    /**
3550     * Tell the source theme to reference the ref theme
3551     *
3552     * @param th The theme that will do the referencing
3553     * @param thref The theme that is the reference source
3554     *
3555     * This clears @p th to be empty and then sets it to refer to @p thref
3556     * so @p th acts as an override to @p thref, but where its overrides
3557     * don't apply, it will fall through to @p thref for configuration.
3558     */
3559    EAPI void             elm_theme_ref_set(Elm_Theme *th, Elm_Theme *thref);
3560    /**
3561     * Return the theme referred to
3562     *
3563     * @param th The theme to get the reference from
3564     * @return The referenced theme handle
3565     *
3566     * This gets the theme set as the reference theme by elm_theme_ref_set().
3567     * If no theme is set as a reference, NULL is returned.
3568     */
3569    EAPI Elm_Theme       *elm_theme_ref_get(Elm_Theme *th);
3570    /**
3571     * Return the default theme
3572     *
3573     * @return The default theme handle
3574     *
3575     * This returns the internal default theme setup handle that all widgets
3576     * use implicitly unless a specific theme is set. This is also often use
3577     * as a shorthand of NULL.
3578     */
3579    EAPI Elm_Theme       *elm_theme_default_get(void);
3580    /**
3581     * Prepends a theme overlay to the list of overlays
3582     *
3583     * @param th The theme to add to, or if NULL, the default theme
3584     * @param item The Edje file path to be used
3585     *
3586     * Use this if your application needs to provide some custom overlay theme
3587     * (An Edje file that replaces some default styles of widgets) where adding
3588     * new styles, or changing system theme configuration is not possible. Do
3589     * NOT use this instead of a proper system theme configuration. Use proper
3590     * configuration files, profiles, environment variables etc. to set a theme
3591     * so that the theme can be altered by simple confiugration by a user. Using
3592     * this call to achieve that effect is abusing the API and will create lots
3593     * of trouble.
3594     *
3595     * @see elm_theme_extension_add()
3596     */
3597    EAPI void             elm_theme_overlay_add(Elm_Theme *th, const char *item);
3598    /**
3599     * Delete a theme overlay from the list of overlays
3600     *
3601     * @param th The theme to delete from, or if NULL, the default theme
3602     * @param item The name of the theme overlay
3603     *
3604     * @see elm_theme_overlay_add()
3605     */
3606    EAPI void             elm_theme_overlay_del(Elm_Theme *th, const char *item);
3607    /**
3608     * Appends a theme extension to the list of extensions.
3609     *
3610     * @param th The theme to add to, or if NULL, the default theme
3611     * @param item The Edje file path to be used
3612     *
3613     * This is intended when an application needs more styles of widgets or new
3614     * widget themes that the default does not provide (or may not provide). The
3615     * application has "extended" usage by coming up with new custom style names
3616     * for widgets for specific uses, but as these are not "standard", they are
3617     * not guaranteed to be provided by a default theme. This means the
3618     * application is required to provide these extra elements itself in specific
3619     * Edje files. This call adds one of those Edje files to the theme search
3620     * path to be search after the default theme. The use of this call is
3621     * encouraged when default styles do not meet the needs of the application.
3622     * Use this call instead of elm_theme_overlay_add() for almost all cases.
3623     *
3624     * @see elm_object_style_set()
3625     */
3626    EAPI void             elm_theme_extension_add(Elm_Theme *th, const char *item);
3627    /**
3628     * Deletes a theme extension from the list of extensions.
3629     *
3630     * @param th The theme to delete from, or if NULL, the default theme
3631     * @param item The name of the theme extension
3632     *
3633     * @see elm_theme_extension_add()
3634     */
3635    EAPI void             elm_theme_extension_del(Elm_Theme *th, const char *item);
3636    /**
3637     * Set the theme search order for the given theme
3638     *
3639     * @param th The theme to set the search order, or if NULL, the default theme
3640     * @param theme Theme search string
3641     *
3642     * This sets the search string for the theme in path-notation from first
3643     * theme to search, to last, delimited by the : character. Example:
3644     *
3645     * "shiny:/path/to/file.edj:default"
3646     *
3647     * See the ELM_THEME environment variable for more information.
3648     *
3649     * @see elm_theme_get()
3650     * @see elm_theme_list_get()
3651     */
3652    EAPI void             elm_theme_set(Elm_Theme *th, const char *theme);
3653    /**
3654     * Return the theme search order
3655     *
3656     * @param th The theme to get the search order, or if NULL, the default theme
3657     * @return The internal search order path
3658     *
3659     * This function returns a colon separated string of theme elements as
3660     * returned by elm_theme_list_get().
3661     *
3662     * @see elm_theme_set()
3663     * @see elm_theme_list_get()
3664     */
3665    EAPI const char      *elm_theme_get(Elm_Theme *th);
3666    /**
3667     * Return a list of theme elements to be used in a theme.
3668     *
3669     * @param th Theme to get the list of theme elements from.
3670     * @return The internal list of theme elements
3671     *
3672     * This returns the internal list of theme elements (will only be valid as
3673     * long as the theme is not modified by elm_theme_set() or theme is not
3674     * freed by elm_theme_free(). This is a list of strings which must not be
3675     * altered as they are also internal. If @p th is NULL, then the default
3676     * theme element list is returned.
3677     *
3678     * A theme element can consist of a full or relative path to a .edj file,
3679     * or a name, without extension, for a theme to be searched in the known
3680     * theme paths for Elemementary.
3681     *
3682     * @see elm_theme_set()
3683     * @see elm_theme_get()
3684     */
3685    EAPI const Eina_List *elm_theme_list_get(const Elm_Theme *th);
3686    /**
3687     * Return the full patrh for a theme element
3688     *
3689     * @param f The theme element name
3690     * @param in_search_path Pointer to a boolean to indicate if item is in the search path or not
3691     * @return The full path to the file found.
3692     *
3693     * This returns a string you should free with free() on success, NULL on
3694     * failure. This will search for the given theme element, and if it is a
3695     * full or relative path element or a simple searchable name. The returned
3696     * path is the full path to the file, if searched, and the file exists, or it
3697     * is simply the full path given in the element or a resolved path if
3698     * relative to home. The @p in_search_path boolean pointed to is set to
3699     * EINA_TRUE if the file was a searchable file andis in the search path,
3700     * and EINA_FALSE otherwise.
3701     */
3702    EAPI char            *elm_theme_list_item_path_get(const char *f, Eina_Bool *in_search_path);
3703    /**
3704     * Flush the current theme.
3705     *
3706     * @param th Theme to flush
3707     *
3708     * This flushes caches that let elementary know where to find theme elements
3709     * in the given theme. If @p th is NULL, then the default theme is flushed.
3710     * Call this function if source theme data has changed in such a way as to
3711     * make any caches Elementary kept invalid.
3712     */
3713    EAPI void             elm_theme_flush(Elm_Theme *th);
3714    /**
3715     * This flushes all themes (default and specific ones).
3716     *
3717     * This will flush all themes in the current application context, by calling
3718     * elm_theme_flush() on each of them.
3719     */
3720    EAPI void             elm_theme_full_flush(void);
3721    /**
3722     * Set the theme for all elementary using applications on the current display
3723     *
3724     * @param theme The name of the theme to use. Format same as the ELM_THEME
3725     * environment variable.
3726     */
3727    EAPI void             elm_theme_all_set(const char *theme);
3728    /**
3729     * Return a list of theme elements in the theme search path
3730     *
3731     * @return A list of strings that are the theme element names.
3732     *
3733     * This lists all available theme files in the standard Elementary search path
3734     * for theme elements, and returns them in alphabetical order as theme
3735     * element names in a list of strings. Free this with
3736     * elm_theme_name_available_list_free() when you are done with the list.
3737     */
3738    EAPI Eina_List       *elm_theme_name_available_list_new(void);
3739    /**
3740     * Free the list returned by elm_theme_name_available_list_new()
3741     *
3742     * This frees the list of themes returned by
3743     * elm_theme_name_available_list_new(). Once freed the list should no longer
3744     * be used. a new list mys be created.
3745     */
3746    EAPI void             elm_theme_name_available_list_free(Eina_List *list);
3747    /**
3748     * Set a specific theme to be used for this object and its children
3749     *
3750     * @param obj The object to set the theme on
3751     * @param th The theme to set
3752     *
3753     * This sets a specific theme that will be used for the given object and any
3754     * child objects it has. If @p th is NULL then the theme to be used is
3755     * cleared and the object will inherit its theme from its parent (which
3756     * ultimately will use the default theme if no specific themes are set).
3757     *
3758     * Use special themes with great care as this will annoy users and make
3759     * configuration difficult. Avoid any custom themes at all if it can be
3760     * helped.
3761     */
3762    EAPI void             elm_object_theme_set(Evas_Object *obj, Elm_Theme *th) EINA_ARG_NONNULL(1);
3763    /**
3764     * Get the specific theme to be used
3765     *
3766     * @param obj The object to get the specific theme from
3767     * @return The specifc theme set.
3768     *
3769     * This will return a specific theme set, or NULL if no specific theme is
3770     * set on that object. It will not return inherited themes from parents, only
3771     * the specific theme set for that specific object. See elm_object_theme_set()
3772     * for more information.
3773     */
3774    EAPI Elm_Theme       *elm_object_theme_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
3775
3776    /**
3777     * Get a data item from a theme
3778     *
3779     * @param th The theme, or NULL for default theme
3780     * @param key The data key to search with
3781     * @return The data value, or NULL on failure
3782     *
3783     * This function is used to return data items from edc in @p th, an overlay, or an extension.
3784     * It works the same way as edje_file_data_get() except that the return is stringshared.
3785     */
3786    EAPI const char      *elm_theme_data_get(Elm_Theme *th, const char *key) EINA_ARG_NONNULL(2);
3787    /**
3788     * @}
3789     */
3790
3791    /* win */
3792    /** @defgroup Win Win
3793     *
3794     * @image html img/widget/win/preview-00.png
3795     * @image latex img/widget/win/preview-00.eps
3796     *
3797     * The window class of Elementary.  Contains functions to manipulate
3798     * windows. The Evas engine used to render the window contents is specified
3799     * in the system or user elementary config files (whichever is found last),
3800     * and can be overridden with the ELM_ENGINE environment variable for
3801     * testing.  Engines that may be supported (depending on Evas and Ecore-Evas
3802     * compilation setup and modules actually installed at runtime) are (listed
3803     * in order of best supported and most likely to be complete and work to
3804     * lowest quality).
3805     *
3806     * @li "x11", "x", "software-x11", "software_x11" (Software rendering in X11)
3807     * @li "gl", "opengl", "opengl-x11", "opengl_x11" (OpenGL or OpenGL-ES2
3808     * rendering in X11)
3809     * @li "shot:..." (Virtual screenshot renderer - renders to output file and
3810     * exits)
3811     * @li "fb", "software-fb", "software_fb" (Linux framebuffer direct software
3812     * rendering)
3813     * @li "sdl", "software-sdl", "software_sdl" (SDL software rendering to SDL
3814     * buffer)
3815     * @li "gl-sdl", "gl_sdl", "opengl-sdl", "opengl_sdl" (OpenGL or OpenGL-ES2
3816     * rendering using SDL as the buffer)
3817     * @li "gdi", "software-gdi", "software_gdi" (Windows WIN32 rendering via
3818     * GDI with software)
3819     * @li "dfb", "directfb" (Rendering to a DirectFB window)
3820     * @li "x11-8", "x8", "software-8-x11", "software_8_x11" (Rendering in
3821     * grayscale using dedicated 8bit software engine in X11)
3822     * @li "x11-16", "x16", "software-16-x11", "software_16_x11" (Rendering in
3823     * X11 using 16bit software engine)
3824     * @li "wince-gdi", "software-16-wince-gdi", "software_16_wince_gdi"
3825     * (Windows CE rendering via GDI with 16bit software renderer)
3826     * @li "sdl-16", "software-16-sdl", "software_16_sdl" (Rendering to SDL
3827     * buffer with 16bit software renderer)
3828     * @li "ews" (rendering to EWS - Ecore + Evas Single Process Windowing System)
3829     * @li "gl-cocoa", "gl_cocoa", "opengl-cocoa", "opengl_cocoa" (OpenGL rendering in Cocoa)
3830     * @li "psl1ght" (PS3 rendering using PSL1GHT)
3831     *
3832     * All engines use a simple string to select the engine to render, EXCEPT
3833     * the "shot" engine. This actually encodes the output of the virtual
3834     * screenshot and how long to delay in the engine string. The engine string
3835     * is encoded in the following way:
3836     *
3837     *   "shot:[delay=XX][:][repeat=DDD][:][file=XX]"
3838     *
3839     * Where options are separated by a ":" char if more than one option is
3840     * given, with delay, if provided being the first option and file the last
3841     * (order is important). The delay specifies how long to wait after the
3842     * window is shown before doing the virtual "in memory" rendering and then
3843     * save the output to the file specified by the file option (and then exit).
3844     * If no delay is given, the default is 0.5 seconds. If no file is given the
3845     * default output file is "out.png". Repeat option is for continous
3846     * capturing screenshots. Repeat range is from 1 to 999 and filename is
3847     * fixed to "out001.png" Some examples of using the shot engine:
3848     *
3849     *   ELM_ENGINE="shot:delay=1.0:repeat=5:file=elm_test.png" elementary_test
3850     *   ELM_ENGINE="shot:delay=1.0:file=elm_test.png" elementary_test
3851     *   ELM_ENGINE="shot:file=elm_test2.png" elementary_test
3852     *   ELM_ENGINE="shot:delay=2.0" elementary_test
3853     *   ELM_ENGINE="shot:" elementary_test
3854     *
3855     * Signals that you can add callbacks for are:
3856     *
3857     * @li "delete,request": the user requested to close the window. See
3858     * elm_win_autodel_set().
3859     * @li "focus,in": window got focus
3860     * @li "focus,out": window lost focus
3861     * @li "moved": window that holds the canvas was moved
3862     *
3863     * Examples:
3864     * @li @ref win_example_01
3865     *
3866     * @{
3867     */
3868    /**
3869     * Defines the types of window that can be created
3870     *
3871     * These are hints set on the window so that a running Window Manager knows
3872     * how the window should be handled and/or what kind of decorations it
3873     * should have.
3874     *
3875     * Currently, only the X11 backed engines use them.
3876     */
3877    typedef enum _Elm_Win_Type
3878      {
3879         ELM_WIN_BASIC, /**< A normal window. Indicates a normal, top-level
3880                          window. Almost every window will be created with this
3881                          type. */
3882         ELM_WIN_DIALOG_BASIC, /**< Used for simple dialog windows/ */
3883         ELM_WIN_DESKTOP, /**< For special desktop windows, like a background
3884                            window holding desktop icons. */
3885         ELM_WIN_DOCK, /**< The window is used as a dock or panel. Usually would
3886                         be kept on top of any other window by the Window
3887                         Manager. */
3888         ELM_WIN_TOOLBAR, /**< The window is used to hold a floating toolbar, or
3889                            similar. */
3890         ELM_WIN_MENU, /**< Similar to #ELM_WIN_TOOLBAR. */
3891         ELM_WIN_UTILITY, /**< A persistent utility window, like a toolbox or
3892                            pallete. */
3893         ELM_WIN_SPLASH, /**< Splash window for a starting up application. */
3894         ELM_WIN_DROPDOWN_MENU, /**< The window is a dropdown menu, as when an
3895                                  entry in a menubar is clicked. Typically used
3896                                  with elm_win_override_set(). This hint exists
3897                                  for completion only, as the EFL way of
3898                                  implementing a menu would not normally use a
3899                                  separate window for its contents. */
3900         ELM_WIN_POPUP_MENU, /**< Like #ELM_WIN_DROPDOWN_MENU, but for the menu
3901                               triggered by right-clicking an object. */
3902         ELM_WIN_TOOLTIP, /**< The window is a tooltip. A short piece of
3903                            explanatory text that typically appear after the
3904                            mouse cursor hovers over an object for a while.
3905                            Typically used with elm_win_override_set() and also
3906                            not very commonly used in the EFL. */
3907         ELM_WIN_NOTIFICATION, /**< A notification window, like a warning about
3908                                 battery life or a new E-Mail received. */
3909         ELM_WIN_COMBO, /**< A window holding the contents of a combo box. Not
3910                          usually used in the EFL. */
3911         ELM_WIN_DND, /**< Used to indicate the window is a representation of an
3912                        object being dragged across different windows, or even
3913                        applications. Typically used with
3914                        elm_win_override_set(). */
3915         ELM_WIN_INLINED_IMAGE, /**< The window is rendered onto an image
3916                                  buffer. No actual window is created for this
3917                                  type, instead the window and all of its
3918                                  contents will be rendered to an image buffer.
3919                                  This allows to have children window inside a
3920                                  parent one just like any other object would
3921                                  be, and do other things like applying @c
3922                                  Evas_Map effects to it. This is the only type
3923                                  of window that requires the @c parent
3924                                  parameter of elm_win_add() to be a valid @c
3925                                  Evas_Object. */
3926      } Elm_Win_Type;
3927
3928    /**
3929     * The differents layouts that can be requested for the virtual keyboard.
3930     *
3931     * When the application window is being managed by Illume, it may request
3932     * any of the following layouts for the virtual keyboard.
3933     */
3934    typedef enum _Elm_Win_Keyboard_Mode
3935      {
3936         ELM_WIN_KEYBOARD_UNKNOWN, /**< Unknown keyboard state */
3937         ELM_WIN_KEYBOARD_OFF, /**< Request to deactivate the keyboard */
3938         ELM_WIN_KEYBOARD_ON, /**< Enable keyboard with default layout */
3939         ELM_WIN_KEYBOARD_ALPHA, /**< Alpha (a-z) keyboard layout */
3940         ELM_WIN_KEYBOARD_NUMERIC, /**< Numeric keyboard layout */
3941         ELM_WIN_KEYBOARD_PIN, /**< PIN keyboard layout */
3942         ELM_WIN_KEYBOARD_PHONE_NUMBER, /**< Phone keyboard layout */
3943         ELM_WIN_KEYBOARD_HEX, /**< Hexadecimal numeric keyboard layout */
3944         ELM_WIN_KEYBOARD_TERMINAL, /**< Full (QUERTY) keyboard layout */
3945         ELM_WIN_KEYBOARD_PASSWORD, /**< Password keyboard layout */
3946         ELM_WIN_KEYBOARD_IP, /**< IP keyboard layout */
3947         ELM_WIN_KEYBOARD_HOST, /**< Host keyboard layout */
3948         ELM_WIN_KEYBOARD_FILE, /**< File keyboard layout */
3949         ELM_WIN_KEYBOARD_URL, /**< URL keyboard layout */
3950         ELM_WIN_KEYBOARD_KEYPAD, /**< Keypad layout */
3951         ELM_WIN_KEYBOARD_J2ME /**< J2ME keyboard layout */
3952      } Elm_Win_Keyboard_Mode;
3953
3954    /**
3955     * Available commands that can be sent to the Illume manager.
3956     *
3957     * When running under an Illume session, a window may send commands to the
3958     * Illume manager to perform different actions.
3959     */
3960    typedef enum _Elm_Illume_Command
3961      {
3962         ELM_ILLUME_COMMAND_FOCUS_BACK, /**< Reverts focus to the previous
3963                                          window */
3964         ELM_ILLUME_COMMAND_FOCUS_FORWARD, /**< Sends focus to the next window\
3965                                             in the list */
3966         ELM_ILLUME_COMMAND_FOCUS_HOME, /**< Hides all windows to show the Home
3967                                          screen */
3968         ELM_ILLUME_COMMAND_CLOSE /**< Closes the currently active window */
3969      } Elm_Illume_Command;
3970
3971    /**
3972     * Adds a window object. If this is the first window created, pass NULL as
3973     * @p parent.
3974     *
3975     * @param parent Parent object to add the window to, or NULL
3976     * @param name The name of the window
3977     * @param type The window type, one of #Elm_Win_Type.
3978     *
3979     * The @p parent paramter can be @c NULL for every window @p type except
3980     * #ELM_WIN_INLINED_IMAGE, which needs a parent to retrieve the canvas on
3981     * which the image object will be created.
3982     *
3983     * @return The created object, or NULL on failure
3984     */
3985    EAPI Evas_Object *elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type);
3986    /**
3987     * Adds a window object with standard setup
3988     *
3989     * @param name The name of the window
3990     * @param title The title for the window
3991     *
3992     * This creates a window like elm_win_add() but also puts in a standard
3993     * background with elm_bg_add(), as well as setting the window title to
3994     * @p title. The window type created is of type ELM_WIN_BASIC, with NULL
3995     * as the parent widget.
3996     * 
3997     * @return The created object, or NULL on failure
3998     *
3999     * @see elm_win_add()
4000     */
4001    EAPI Evas_Object *elm_win_util_standard_add(const char *name, const char *title);
4002    /**
4003     * Add @p subobj as a resize object of window @p obj.
4004     *
4005     *
4006     * Setting an object as a resize object of the window means that the
4007     * @p subobj child's size and position will be controlled by the window
4008     * directly. That is, the object will be resized to match the window size
4009     * and should never be moved or resized manually by the developer.
4010     *
4011     * In addition, resize objects of the window control what the minimum size
4012     * of it will be, as well as whether it can or not be resized by the user.
4013     *
4014     * For the end user to be able to resize a window by dragging the handles
4015     * or borders provided by the Window Manager, or using any other similar
4016     * mechanism, all of the resize objects in the window should have their
4017     * evas_object_size_hint_weight_set() set to EVAS_HINT_EXPAND.
4018     *
4019     * @param obj The window object
4020     * @param subobj The resize object to add
4021     */
4022    EAPI void         elm_win_resize_object_add(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
4023    /**
4024     * Delete @p subobj as a resize object of window @p obj.
4025     *
4026     * This function removes the object @p subobj from the resize objects of
4027     * the window @p obj. It will not delete the object itself, which will be
4028     * left unmanaged and should be deleted by the developer, manually handled
4029     * or set as child of some other container.
4030     *
4031     * @param obj The window object
4032     * @param subobj The resize object to add
4033     */
4034    EAPI void         elm_win_resize_object_del(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
4035    /**
4036     * Set the title of the window
4037     *
4038     * @param obj The window object
4039     * @param title The title to set
4040     */
4041    EAPI void         elm_win_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
4042    /**
4043     * Get the title of the window
4044     *
4045     * The returned string is an internal one and should not be freed or
4046     * modified. It will also be rendered invalid if a new title is set or if
4047     * the window is destroyed.
4048     *
4049     * @param obj The window object
4050     * @return The title
4051     */
4052    EAPI const char  *elm_win_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4053    /**
4054     * Set the window's autodel state.
4055     *
4056     * When closing the window in any way outside of the program control, like
4057     * pressing the X button in the titlebar or using a command from the
4058     * Window Manager, a "delete,request" signal is emitted to indicate that
4059     * this event occurred and the developer can take any action, which may
4060     * include, or not, destroying the window object.
4061     *
4062     * When the @p autodel parameter is set, the window will be automatically
4063     * destroyed when this event occurs, after the signal is emitted.
4064     * If @p autodel is @c EINA_FALSE, then the window will not be destroyed
4065     * and is up to the program to do so when it's required.
4066     *
4067     * @param obj The window object
4068     * @param autodel If true, the window will automatically delete itself when
4069     * closed
4070     */
4071    EAPI void         elm_win_autodel_set(Evas_Object *obj, Eina_Bool autodel) EINA_ARG_NONNULL(1);
4072    /**
4073     * Get the window's autodel state.
4074     *
4075     * @param obj The window object
4076     * @return If the window will automatically delete itself when closed
4077     *
4078     * @see elm_win_autodel_set()
4079     */
4080    EAPI Eina_Bool    elm_win_autodel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4081    /**
4082     * Activate a window object.
4083     *
4084     * This function sends a request to the Window Manager to activate the
4085     * window pointed by @p obj. If honored by the WM, the window will receive
4086     * the keyboard focus.
4087     *
4088     * @note This is just a request that a Window Manager may ignore, so calling
4089     * this function does not ensure in any way that the window will be the
4090     * active one after it.
4091     *
4092     * @param obj The window object
4093     */
4094    EAPI void         elm_win_activate(Evas_Object *obj) EINA_ARG_NONNULL(1);
4095    /**
4096     * Lower a window object.
4097     *
4098     * Places the window pointed by @p obj at the bottom of the stack, so that
4099     * no other window is covered by it.
4100     *
4101     * If elm_win_override_set() is not set, the Window Manager may ignore this
4102     * request.
4103     *
4104     * @param obj The window object
4105     */
4106    EAPI void         elm_win_lower(Evas_Object *obj) EINA_ARG_NONNULL(1);
4107    /**
4108     * Raise a window object.
4109     *
4110     * Places the window pointed by @p obj at the top of the stack, so that it's
4111     * not covered by any other window.
4112     *
4113     * If elm_win_override_set() is not set, the Window Manager may ignore this
4114     * request.
4115     *
4116     * @param obj The window object
4117     */
4118    EAPI void         elm_win_raise(Evas_Object *obj) EINA_ARG_NONNULL(1);
4119    /**
4120     * Set the borderless state of a window.
4121     *
4122     * This function requests the Window Manager to not draw any decoration
4123     * around the window.
4124     *
4125     * @param obj The window object
4126     * @param borderless If true, the window is borderless
4127     */
4128    EAPI void         elm_win_borderless_set(Evas_Object *obj, Eina_Bool borderless) EINA_ARG_NONNULL(1);
4129    /**
4130     * Get the borderless state of a window.
4131     *
4132     * @param obj The window object
4133     * @return If true, the window is borderless
4134     */
4135    EAPI Eina_Bool    elm_win_borderless_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4136    /**
4137     * Set the shaped state of a window.
4138     *
4139     * Shaped windows, when supported, will render the parts of the window that
4140     * has no content, transparent.
4141     *
4142     * If @p shaped is EINA_FALSE, then it is strongly adviced to have some
4143     * background object or cover the entire window in any other way, or the
4144     * parts of the canvas that have no data will show framebuffer artifacts.
4145     *
4146     * @param obj The window object
4147     * @param shaped If true, the window is shaped
4148     *
4149     * @see elm_win_alpha_set()
4150     */
4151    EAPI void         elm_win_shaped_set(Evas_Object *obj, Eina_Bool shaped) EINA_ARG_NONNULL(1);
4152    /**
4153     * Get the shaped state of a window.
4154     *
4155     * @param obj The window object
4156     * @return If true, the window is shaped
4157     *
4158     * @see elm_win_shaped_set()
4159     */
4160    EAPI Eina_Bool    elm_win_shaped_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4161    /**
4162     * Set the alpha channel state of a window.
4163     *
4164     * If @p alpha is EINA_TRUE, the alpha channel of the canvas will be enabled
4165     * possibly making parts of the window completely or partially transparent.
4166     * This is also subject to the underlying system supporting it, like for
4167     * example, running under a compositing manager. If no compositing is
4168     * available, enabling this option will instead fallback to using shaped
4169     * windows, with elm_win_shaped_set().
4170     *
4171     * @param obj The window object
4172     * @param alpha If true, the window has an alpha channel
4173     *
4174     * @see elm_win_alpha_set()
4175     */
4176    EAPI void         elm_win_alpha_set(Evas_Object *obj, Eina_Bool alpha) EINA_ARG_NONNULL(1);
4177    /**
4178     * Get the transparency state of a window.
4179     *
4180     * @param obj The window object
4181     * @return If true, the window is transparent
4182     *
4183     * @see elm_win_transparent_set()
4184     */
4185    EAPI Eina_Bool    elm_win_transparent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4186    /**
4187     * Set the transparency state of a window.
4188     *
4189     * Use elm_win_alpha_set() instead.
4190     *
4191     * @param obj The window object
4192     * @param transparent If true, the window is transparent
4193     *
4194     * @see elm_win_alpha_set()
4195     */
4196    EAPI void         elm_win_transparent_set(Evas_Object *obj, Eina_Bool transparent) EINA_ARG_NONNULL(1);
4197    /**
4198     * Get the alpha channel state of a window.
4199     *
4200     * @param obj The window object
4201     * @return If true, the window has an alpha channel
4202     */
4203    EAPI Eina_Bool    elm_win_alpha_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4204    /**
4205     * Set the override state of a window.
4206     *
4207     * A window with @p override set to EINA_TRUE will not be managed by the
4208     * Window Manager. This means that no decorations of any kind will be shown
4209     * for it, moving and resizing must be handled by the application, as well
4210     * as the window visibility.
4211     *
4212     * This should not be used for normal windows, and even for not so normal
4213     * ones, it should only be used when there's a good reason and with a lot
4214     * of care. Mishandling override windows may result situations that
4215     * disrupt the normal workflow of the end user.
4216     *
4217     * @param obj The window object
4218     * @param override If true, the window is overridden
4219     */
4220    EAPI void         elm_win_override_set(Evas_Object *obj, Eina_Bool override) EINA_ARG_NONNULL(1);
4221    /**
4222     * Get the override state of a window.
4223     *
4224     * @param obj The window object
4225     * @return If true, the window is overridden
4226     *
4227     * @see elm_win_override_set()
4228     */
4229    EAPI Eina_Bool    elm_win_override_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4230    /**
4231     * Set the fullscreen state of a window.
4232     *
4233     * @param obj The window object
4234     * @param fullscreen If true, the window is fullscreen
4235     */
4236    EAPI void         elm_win_fullscreen_set(Evas_Object *obj, Eina_Bool fullscreen) EINA_ARG_NONNULL(1);
4237    /**
4238     * Get the fullscreen state of a window.
4239     *
4240     * @param obj The window object
4241     * @return If true, the window is fullscreen
4242     */
4243    EAPI Eina_Bool    elm_win_fullscreen_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4244    /**
4245     * Set the maximized state of a window.
4246     *
4247     * @param obj The window object
4248     * @param maximized If true, the window is maximized
4249     */
4250    EAPI void         elm_win_maximized_set(Evas_Object *obj, Eina_Bool maximized) EINA_ARG_NONNULL(1);
4251    /**
4252     * Get the maximized state of a window.
4253     *
4254     * @param obj The window object
4255     * @return If true, the window is maximized
4256     */
4257    EAPI Eina_Bool    elm_win_maximized_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4258    /**
4259     * Set the iconified state of a window.
4260     *
4261     * @param obj The window object
4262     * @param iconified If true, the window is iconified
4263     */
4264    EAPI void         elm_win_iconified_set(Evas_Object *obj, Eina_Bool iconified) EINA_ARG_NONNULL(1);
4265    /**
4266     * Get the iconified state of a window.
4267     *
4268     * @param obj The window object
4269     * @return If true, the window is iconified
4270     */
4271    EAPI Eina_Bool    elm_win_iconified_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4272    /**
4273     * Set the layer of the window.
4274     *
4275     * What this means exactly will depend on the underlying engine used.
4276     *
4277     * In the case of X11 backed engines, the value in @p layer has the
4278     * following meanings:
4279     * @li < 3: The window will be placed below all others.
4280     * @li > 5: The window will be placed above all others.
4281     * @li other: The window will be placed in the default layer.
4282     *
4283     * @param obj The window object
4284     * @param layer The layer of the window
4285     */
4286    EAPI void         elm_win_layer_set(Evas_Object *obj, int layer) EINA_ARG_NONNULL(1);
4287    /**
4288     * Get the layer of the window.
4289     *
4290     * @param obj The window object
4291     * @return The layer of the window
4292     *
4293     * @see elm_win_layer_set()
4294     */
4295    EAPI int          elm_win_layer_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4296    /**
4297     * Set the rotation of the window.
4298     *
4299     * Most engines only work with multiples of 90.
4300     *
4301     * This function is used to set the orientation of the window @p obj to
4302     * match that of the screen. The window itself will be resized to adjust
4303     * to the new geometry of its contents. If you want to keep the window size,
4304     * see elm_win_rotation_with_resize_set().
4305     *
4306     * @param obj The window object
4307     * @param rotation The rotation of the window, in degrees (0-360),
4308     * counter-clockwise.
4309     */
4310    EAPI void         elm_win_rotation_set(Evas_Object *obj, int rotation) EINA_ARG_NONNULL(1);
4311    /**
4312     * Rotates the window and resizes it.
4313     *
4314     * Like elm_win_rotation_set(), but it also resizes the window's contents so
4315     * that they fit inside the current window geometry.
4316     *
4317     * @param obj The window object
4318     * @param layer The rotation of the window in degrees (0-360),
4319     * counter-clockwise.
4320     */
4321    EAPI void         elm_win_rotation_with_resize_set(Evas_Object *obj, int rotation) EINA_ARG_NONNULL(1);
4322    /**
4323     * Get the rotation of the window.
4324     *
4325     * @param obj The window object
4326     * @return The rotation of the window in degrees (0-360)
4327     *
4328     * @see elm_win_rotation_set()
4329     * @see elm_win_rotation_with_resize_set()
4330     */
4331    EAPI int          elm_win_rotation_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4332    /**
4333     * Set the sticky state of the window.
4334     *
4335     * Hints the Window Manager that the window in @p obj should be left fixed
4336     * at its position even when the virtual desktop it's on moves or changes.
4337     *
4338     * @param obj The window object
4339     * @param sticky If true, the window's sticky state is enabled
4340     */
4341    EAPI void         elm_win_sticky_set(Evas_Object *obj, Eina_Bool sticky) EINA_ARG_NONNULL(1);
4342    /**
4343     * Get the sticky state of the window.
4344     *
4345     * @param obj The window object
4346     * @return If true, the window's sticky state is enabled
4347     *
4348     * @see elm_win_sticky_set()
4349     */
4350    EAPI Eina_Bool    elm_win_sticky_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4351    /**
4352     * Set if this window is an illume conformant window
4353     *
4354     * @param obj The window object
4355     * @param conformant The conformant flag (1 = conformant, 0 = non-conformant)
4356     */
4357    EAPI void         elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant) EINA_ARG_NONNULL(1);
4358    /**
4359     * Get if this window is an illume conformant window
4360     *
4361     * @param obj The window object
4362     * @return A boolean if this window is illume conformant or not
4363     */
4364    EAPI Eina_Bool    elm_win_conformant_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4365    /**
4366     * Set a window to be an illume quickpanel window
4367     *
4368     * By default window objects are not quickpanel windows.
4369     *
4370     * @param obj The window object
4371     * @param quickpanel The quickpanel flag (1 = quickpanel, 0 = normal window)
4372     */
4373    EAPI void         elm_win_quickpanel_set(Evas_Object *obj, Eina_Bool quickpanel) EINA_ARG_NONNULL(1);
4374    /**
4375     * Get if this window is a quickpanel or not
4376     *
4377     * @param obj The window object
4378     * @return A boolean if this window is a quickpanel or not
4379     */
4380    EAPI Eina_Bool    elm_win_quickpanel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4381    /**
4382     * Set the major priority of a quickpanel window
4383     *
4384     * @param obj The window object
4385     * @param priority The major priority for this quickpanel
4386     */
4387    EAPI void         elm_win_quickpanel_priority_major_set(Evas_Object *obj, int priority) EINA_ARG_NONNULL(1);
4388    /**
4389     * Get the major priority of a quickpanel window
4390     *
4391     * @param obj The window object
4392     * @return The major priority of this quickpanel
4393     */
4394    EAPI int          elm_win_quickpanel_priority_major_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4395    /**
4396     * Set the minor priority of a quickpanel window
4397     *
4398     * @param obj The window object
4399     * @param priority The minor priority for this quickpanel
4400     */
4401    EAPI void         elm_win_quickpanel_priority_minor_set(Evas_Object *obj, int priority) EINA_ARG_NONNULL(1);
4402    /**
4403     * Get the minor priority of a quickpanel window
4404     *
4405     * @param obj The window object
4406     * @return The minor priority of this quickpanel
4407     */
4408    EAPI int          elm_win_quickpanel_priority_minor_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4409    /**
4410     * Set which zone this quickpanel should appear in
4411     *
4412     * @param obj The window object
4413     * @param zone The requested zone for this quickpanel
4414     */
4415    EAPI void         elm_win_quickpanel_zone_set(Evas_Object *obj, int zone) EINA_ARG_NONNULL(1);
4416    /**
4417     * Get which zone this quickpanel should appear in
4418     *
4419     * @param obj The window object
4420     * @return The requested zone for this quickpanel
4421     */
4422    EAPI int          elm_win_quickpanel_zone_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4423    /**
4424     * Set the window to be skipped by keyboard focus
4425     *
4426     * This sets the window to be skipped by normal keyboard input. This means
4427     * a window manager will be asked to not focus this window as well as omit
4428     * it from things like the taskbar, pager, "alt-tab" list etc. etc.
4429     *
4430     * Call this and enable it on a window BEFORE you show it for the first time,
4431     * otherwise it may have no effect.
4432     *
4433     * Use this for windows that have only output information or might only be
4434     * interacted with by the mouse or fingers, and never for typing input.
4435     * Be careful that this may have side-effects like making the window
4436     * non-accessible in some cases unless the window is specially handled. Use
4437     * this with care.
4438     *
4439     * @param obj The window object
4440     * @param skip The skip flag state (EINA_TRUE if it is to be skipped)
4441     */
4442    EAPI void         elm_win_prop_focus_skip_set(Evas_Object *obj, Eina_Bool skip) EINA_ARG_NONNULL(1);
4443    /**
4444     * Send a command to the windowing environment
4445     *
4446     * This is intended to work in touchscreen or small screen device
4447     * environments where there is a more simplistic window management policy in
4448     * place. This uses the window object indicated to select which part of the
4449     * environment to control (the part that this window lives in), and provides
4450     * a command and an optional parameter structure (use NULL for this if not
4451     * needed).
4452     *
4453     * @param obj The window object that lives in the environment to control
4454     * @param command The command to send
4455     * @param params Optional parameters for the command
4456     */
4457    EAPI void         elm_win_illume_command_send(Evas_Object *obj, Elm_Illume_Command command, void *params) EINA_ARG_NONNULL(1);
4458    /**
4459     * Get the inlined image object handle
4460     *
4461     * When you create a window with elm_win_add() of type ELM_WIN_INLINED_IMAGE,
4462     * then the window is in fact an evas image object inlined in the parent
4463     * canvas. You can get this object (be careful to not manipulate it as it
4464     * is under control of elementary), and use it to do things like get pixel
4465     * data, save the image to a file, etc.
4466     *
4467     * @param obj The window object to get the inlined image from
4468     * @return The inlined image object, or NULL if none exists
4469     */
4470    EAPI Evas_Object *elm_win_inlined_image_object_get(Evas_Object *obj);
4471    /**
4472     * Determine whether a window has focus
4473     * @param obj The window to query
4474     * @return EINA_TRUE if the window exists and has focus, else EINA_FALSE
4475     */
4476    EAPI Eina_Bool    elm_win_focus_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4477    /**
4478     * Get screen geometry details for the screen that a window is on
4479     * @param obj The window to query
4480     * @param x where to return the horizontal offset value. May be NULL.
4481     * @param y  where to return the vertical offset value. May be NULL.
4482     * @param w  where to return the width value. May be NULL.
4483     * @param h  where to return the height value. May be NULL.
4484     */
4485    EAPI void         elm_win_screen_size_get(const Evas_Object *obj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
4486    /**
4487     * Set the enabled status for the focus highlight in a window
4488     *
4489     * This function will enable or disable the focus highlight only for the
4490     * given window, regardless of the global setting for it
4491     *
4492     * @param obj The window where to enable the highlight
4493     * @param enabled The enabled value for the highlight
4494     */
4495    EAPI void         elm_win_focus_highlight_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
4496    /**
4497     * Get the enabled value of the focus highlight for this window
4498     *
4499     * @param obj The window in which to check if the focus highlight is enabled
4500     *
4501     * @return EINA_TRUE if enabled, EINA_FALSE otherwise
4502     */
4503    EAPI Eina_Bool    elm_win_focus_highlight_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4504    /**
4505     * Set the style for the focus highlight on this window
4506     *
4507     * Sets the style to use for theming the highlight of focused objects on
4508     * the given window. If @p style is NULL, the default will be used.
4509     *
4510     * @param obj The window where to set the style
4511     * @param style The style to set
4512     */
4513    EAPI void         elm_win_focus_highlight_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
4514    /**
4515     * Get the style set for the focus highlight object
4516     *
4517     * Gets the style set for this windows highilght object, or NULL if none
4518     * is set.
4519     *
4520     * @param obj The window to retrieve the highlights style from
4521     *
4522     * @return The style set or NULL if none was. Default is used in that case.
4523     */
4524    EAPI const char  *elm_win_focus_highlight_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4525    EAPI void         elm_win_indicator_state_set(Evas_Object *obj, int show_state);
4526    EAPI int          elm_win_indicator_state_get(Evas_Object *obj);
4527    /*...
4528     * ecore_x_icccm_hints_set -> accepts_focus (add to ecore_evas)
4529     * ecore_x_icccm_hints_set -> window_group (add to ecore_evas)
4530     * ecore_x_icccm_size_pos_hints_set -> request_pos (add to ecore_evas)
4531     * ecore_x_icccm_client_leader_set -> l (add to ecore_evas)
4532     * ecore_x_icccm_window_role_set -> role (add to ecore_evas)
4533     * ecore_x_icccm_transient_for_set -> forwin (add to ecore_evas)
4534     * ecore_x_netwm_window_type_set -> type (add to ecore_evas)
4535     *
4536     * (add to ecore_x) set netwm argb icon! (add to ecore_evas)
4537     * (blank mouse, private mouse obj, defaultmouse)
4538     *
4539     */
4540    /**
4541     * Sets the keyboard mode of the window.
4542     *
4543     * @param obj The window object
4544     * @param mode The mode to set, one of #Elm_Win_Keyboard_Mode
4545     */
4546    EAPI void                  elm_win_keyboard_mode_set(Evas_Object *obj, Elm_Win_Keyboard_Mode mode) EINA_ARG_NONNULL(1);
4547    /**
4548     * Gets the keyboard mode of the window.
4549     *
4550     * @param obj The window object
4551     * @return The mode, one of #Elm_Win_Keyboard_Mode
4552     */
4553    EAPI Elm_Win_Keyboard_Mode elm_win_keyboard_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4554    /**
4555     * Sets whether the window is a keyboard.
4556     *
4557     * @param obj The window object
4558     * @param is_keyboard If true, the window is a virtual keyboard
4559     */
4560    EAPI void                  elm_win_keyboard_win_set(Evas_Object *obj, Eina_Bool is_keyboard) EINA_ARG_NONNULL(1);
4561    /**
4562     * Gets whether the window is a keyboard.
4563     *
4564     * @param obj The window object
4565     * @return If the window is a virtual keyboard
4566     */
4567    EAPI Eina_Bool             elm_win_keyboard_win_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4568
4569    /**
4570     * Get the screen position of a window.
4571     *
4572     * @param obj The window object
4573     * @param x The int to store the x coordinate to
4574     * @param y The int to store the y coordinate to
4575     */
4576    EAPI void                  elm_win_screen_position_get(const Evas_Object *obj, int *x, int *y) EINA_ARG_NONNULL(1);
4577    /**
4578     * @}
4579     */
4580
4581    /**
4582     * @defgroup Inwin Inwin
4583     *
4584     * @image html img/widget/inwin/preview-00.png
4585     * @image latex img/widget/inwin/preview-00.eps
4586     * @image html img/widget/inwin/preview-01.png
4587     * @image latex img/widget/inwin/preview-01.eps
4588     * @image html img/widget/inwin/preview-02.png
4589     * @image latex img/widget/inwin/preview-02.eps
4590     *
4591     * An inwin is a window inside a window that is useful for a quick popup.
4592     * It does not hover.
4593     *
4594     * It works by creating an object that will occupy the entire window, so it
4595     * must be created using an @ref Win "elm_win" as parent only. The inwin
4596     * object can be hidden or restacked below every other object if it's
4597     * needed to show what's behind it without destroying it. If this is done,
4598     * the elm_win_inwin_activate() function can be used to bring it back to
4599     * full visibility again.
4600     *
4601     * There are three styles available in the default theme. These are:
4602     * @li default: The inwin is sized to take over most of the window it's
4603     * placed in.
4604     * @li minimal: The size of the inwin will be the minimum necessary to show
4605     * its contents.
4606     * @li minimal_vertical: Horizontally, the inwin takes as much space as
4607     * possible, but it's sized vertically the most it needs to fit its\
4608     * contents.
4609     *
4610     * Some examples of Inwin can be found in the following:
4611     * @li @ref inwin_example_01
4612     *
4613     * @{
4614     */
4615    /**
4616     * Adds an inwin to the current window
4617     *
4618     * The @p obj used as parent @b MUST be an @ref Win "Elementary Window".
4619     * Never call this function with anything other than the top-most window
4620     * as its parameter, unless you are fond of undefined behavior.
4621     *
4622     * After creating the object, the widget will set itself as resize object
4623     * for the window with elm_win_resize_object_add(), so when shown it will
4624     * appear to cover almost the entire window (how much of it depends on its
4625     * content and the style used). It must not be added into other container
4626     * objects and it needs not be moved or resized manually.
4627     *
4628     * @param parent The parent object
4629     * @return The new object or NULL if it cannot be created
4630     */
4631    EAPI Evas_Object          *elm_win_inwin_add(Evas_Object *obj) EINA_ARG_NONNULL(1);
4632    /**
4633     * Activates an inwin object, ensuring its visibility
4634     *
4635     * This function will make sure that the inwin @p obj is completely visible
4636     * by calling evas_object_show() and evas_object_raise() on it, to bring it
4637     * to the front. It also sets the keyboard focus to it, which will be passed
4638     * onto its content.
4639     *
4640     * The object's theme will also receive the signal "elm,action,show" with
4641     * source "elm".
4642     *
4643     * @param obj The inwin to activate
4644     */
4645    EAPI void                  elm_win_inwin_activate(Evas_Object *obj) EINA_ARG_NONNULL(1);
4646    /**
4647     * Set the content of an inwin object.
4648     *
4649     * Once the content object is set, a previously set one will be deleted.
4650     * If you want to keep that old content object, use the
4651     * elm_win_inwin_content_unset() function.
4652     *
4653     * @param obj The inwin object
4654     * @param content The object to set as content
4655     */
4656    EAPI void                  elm_win_inwin_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
4657    /**
4658     * Get the content of an inwin object.
4659     *
4660     * Return the content object which is set for this widget.
4661     *
4662     * The returned object is valid as long as the inwin is still alive and no
4663     * other content is set on it. Deleting the object will notify the inwin
4664     * about it and this one will be left empty.
4665     *
4666     * If you need to remove an inwin's content to be reused somewhere else,
4667     * see elm_win_inwin_content_unset().
4668     *
4669     * @param obj The inwin object
4670     * @return The content that is being used
4671     */
4672    EAPI Evas_Object          *elm_win_inwin_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4673    /**
4674     * Unset the content of an inwin object.
4675     *
4676     * Unparent and return the content object which was set for this widget.
4677     *
4678     * @param obj The inwin object
4679     * @return The content that was being used
4680     */
4681    EAPI Evas_Object          *elm_win_inwin_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4682    /**
4683     * @}
4684     */
4685    /* X specific calls - won't work on non-x engines (return 0) */
4686
4687    /**
4688     * Get the Ecore_X_Window of an Evas_Object
4689     *
4690     * @param obj The object
4691     *
4692     * @return The Ecore_X_Window of @p obj
4693     *
4694     * @ingroup Win
4695     */
4696    EAPI Ecore_X_Window elm_win_xwindow_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4697
4698    /* smart callbacks called:
4699     * "delete,request" - the user requested to delete the window
4700     * "focus,in" - window got focus
4701     * "focus,out" - window lost focus
4702     * "moved" - window that holds the canvas was moved
4703     */
4704
4705    /**
4706     * @defgroup Bg Bg
4707     *
4708     * @image html img/widget/bg/preview-00.png
4709     * @image latex img/widget/bg/preview-00.eps
4710     *
4711     * @brief Background object, used for setting a solid color, image or Edje
4712     * group as background to a window or any container object.
4713     *
4714     * The bg object is used for setting a solid background to a window or
4715     * packing into any container object. It works just like an image, but has
4716     * some properties useful to a background, like setting it to tiled,
4717     * centered, scaled or stretched.
4718     * 
4719     * Default contents parts of the bg widget that you can use for are:
4720     * @li "overlay" - overlay of the bg
4721     *
4722     * Here is some sample code using it:
4723     * @li @ref bg_01_example_page
4724     * @li @ref bg_02_example_page
4725     * @li @ref bg_03_example_page
4726     */
4727
4728    /* bg */
4729    typedef enum _Elm_Bg_Option
4730      {
4731         ELM_BG_OPTION_CENTER,  /**< center the background */
4732         ELM_BG_OPTION_SCALE,   /**< scale the background retaining aspect ratio */
4733         ELM_BG_OPTION_STRETCH, /**< stretch the background to fill */
4734         ELM_BG_OPTION_TILE     /**< tile background at its original size */
4735      } Elm_Bg_Option;
4736
4737    /**
4738     * Add a new background to the parent
4739     *
4740     * @param parent The parent object
4741     * @return The new object or NULL if it cannot be created
4742     *
4743     * @ingroup Bg
4744     */
4745    EAPI Evas_Object  *elm_bg_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
4746
4747    /**
4748     * Set the file (image or edje) used for the background
4749     *
4750     * @param obj The bg object
4751     * @param file The file path
4752     * @param group Optional key (group in Edje) within the file
4753     *
4754     * This sets the image file used in the background object. The image (or edje)
4755     * will be stretched (retaining aspect if its an image file) to completely fill
4756     * the bg object. This may mean some parts are not visible.
4757     *
4758     * @note  Once the image of @p obj is set, a previously set one will be deleted,
4759     * even if @p file is NULL.
4760     *
4761     * @ingroup Bg
4762     */
4763    EAPI void          elm_bg_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1);
4764
4765    /**
4766     * Get the file (image or edje) used for the background
4767     *
4768     * @param obj The bg object
4769     * @param file The file path
4770     * @param group Optional key (group in Edje) within the file
4771     *
4772     * @ingroup Bg
4773     */
4774    EAPI void          elm_bg_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
4775
4776    /**
4777     * Set the option used for the background image
4778     *
4779     * @param obj The bg object
4780     * @param option The desired background option (TILE, SCALE)
4781     *
4782     * This sets the option used for manipulating the display of the background
4783     * image. The image can be tiled or scaled.
4784     *
4785     * @ingroup Bg
4786     */
4787    EAPI void          elm_bg_option_set(Evas_Object *obj, Elm_Bg_Option option) EINA_ARG_NONNULL(1);
4788
4789    /**
4790     * Get the option used for the background image
4791     *
4792     * @param obj The bg object
4793     * @return The desired background option (CENTER, SCALE, STRETCH or TILE)
4794     *
4795     * @ingroup Bg
4796     */
4797    EAPI Elm_Bg_Option elm_bg_option_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4798    /**
4799     * Set the option used for the background color
4800     *
4801     * @param obj The bg object
4802     * @param r
4803     * @param g
4804     * @param b
4805     *
4806     * This sets the color used for the background rectangle. Its range goes
4807     * from 0 to 255.
4808     *
4809     * @ingroup Bg
4810     */
4811    EAPI void          elm_bg_color_set(Evas_Object *obj, int r, int g, int b) EINA_ARG_NONNULL(1);
4812    /**
4813     * Get the option used for the background color
4814     *
4815     * @param obj The bg object
4816     * @param r
4817     * @param g
4818     * @param b
4819     *
4820     * @ingroup Bg
4821     */
4822    EAPI void          elm_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b) EINA_ARG_NONNULL(1);
4823
4824    /**
4825     * Set the overlay object used for the background object.
4826     *
4827     * @param obj The bg object
4828     * @param overlay The overlay object
4829     *
4830     * This provides a way for elm_bg to have an 'overlay' that will be on top
4831     * of the bg. Once the over object is set, a previously set one will be
4832     * deleted, even if you set the new one to NULL. If you want to keep that
4833     * old content object, use the elm_bg_overlay_unset() function.
4834     *
4835     * @deprecated use elm_object_part_content_set() instead
4836     *
4837     * @ingroup Bg
4838     */
4839
4840    WILL_DEPRECATE  EAPI void          elm_bg_overlay_set(Evas_Object *obj, Evas_Object *overlay) EINA_ARG_NONNULL(1);
4841
4842    /**
4843     * Get the overlay object used for the background object.
4844     *
4845     * @param obj The bg object
4846     * @return The content that is being used
4847     *
4848     * Return the content object which is set for this widget
4849     *
4850     * @deprecated use elm_object_part_content_get() instead
4851     *
4852     * @ingroup Bg
4853     */
4854    EINA_DEPRECATED EAPI Evas_Object  *elm_bg_overlay_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
4855
4856    /**
4857     * Get the overlay object used for the background object.
4858     *
4859     * @param obj The bg object
4860     * @return The content that was being used
4861     *
4862     * Unparent and return the overlay object which was set for this widget
4863     *
4864     * @deprecated use elm_object_part_content_unset() instead
4865     *
4866     * @ingroup Bg
4867     */
4868    WILL_DEPRECATE  EAPI Evas_Object  *elm_bg_overlay_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
4869
4870    /**
4871     * Set the size of the pixmap representation of the image.
4872     *
4873     * This option just makes sense if an image is going to be set in the bg.
4874     *
4875     * @param obj The bg object
4876     * @param w The new width of the image pixmap representation.
4877     * @param h The new height of the image pixmap representation.
4878     *
4879     * This function sets a new size for pixmap representation of the given bg
4880     * image. It allows the image to be loaded already in the specified size,
4881     * reducing the memory usage and load time when loading a big image with load
4882     * size set to a smaller size.
4883     *
4884     * NOTE: this is just a hint, the real size of the pixmap may differ
4885     * depending on the type of image being loaded, being bigger than requested.
4886     *
4887     * @ingroup Bg
4888     */
4889    EAPI void          elm_bg_load_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
4890    /* smart callbacks called:
4891     */
4892
4893    /**
4894     * @defgroup Icon Icon
4895     *
4896     * @image html img/widget/icon/preview-00.png
4897     * @image latex img/widget/icon/preview-00.eps
4898     *
4899     * An object that provides standard icon images (delete, edit, arrows, etc.)
4900     * or a custom file (PNG, JPG, EDJE, etc.) used for an icon.
4901     *
4902     * The icon image requested can be in the elementary theme, or in the
4903     * freedesktop.org paths. It's possible to set the order of preference from
4904     * where the image will be used.
4905     *
4906     * This API is very similar to @ref Image, but with ready to use images.
4907     *
4908     * Default images provided by the theme are described below.
4909     *
4910     * The first list contains icons that were first intended to be used in
4911     * toolbars, but can be used in many other places too:
4912     * @li home
4913     * @li close
4914     * @li apps
4915     * @li arrow_up
4916     * @li arrow_down
4917     * @li arrow_left
4918     * @li arrow_right
4919     * @li chat
4920     * @li clock
4921     * @li delete
4922     * @li edit
4923     * @li refresh
4924     * @li folder
4925     * @li file
4926     *
4927     * Now some icons that were designed to be used in menus (but again, you can
4928     * use them anywhere else):
4929     * @li menu/home
4930     * @li menu/close
4931     * @li menu/apps
4932     * @li menu/arrow_up
4933     * @li menu/arrow_down
4934     * @li menu/arrow_left
4935     * @li menu/arrow_right
4936     * @li menu/chat
4937     * @li menu/clock
4938     * @li menu/delete
4939     * @li menu/edit
4940     * @li menu/refresh
4941     * @li menu/folder
4942     * @li menu/file
4943     *
4944     * And here we have some media player specific icons:
4945     * @li media_player/forward
4946     * @li media_player/info
4947     * @li media_player/next
4948     * @li media_player/pause
4949     * @li media_player/play
4950     * @li media_player/prev
4951     * @li media_player/rewind
4952     * @li media_player/stop
4953     *
4954     * Signals that you can add callbacks for are:
4955     *
4956     * "clicked" - This is called when a user has clicked the icon
4957     *
4958     * An example of usage for this API follows:
4959     * @li @ref tutorial_icon
4960     */
4961
4962    /**
4963     * @addtogroup Icon
4964     * @{
4965     */
4966
4967    typedef enum _Elm_Icon_Type
4968      {
4969         ELM_ICON_NONE,
4970         ELM_ICON_FILE,
4971         ELM_ICON_STANDARD
4972      } Elm_Icon_Type;
4973    /**
4974     * @enum _Elm_Icon_Lookup_Order
4975     * @typedef Elm_Icon_Lookup_Order
4976     *
4977     * Lookup order used by elm_icon_standard_set(). Should look for icons in the
4978     * theme, FDO paths, or both?
4979     *
4980     * @ingroup Icon
4981     */
4982    typedef enum _Elm_Icon_Lookup_Order
4983      {
4984         ELM_ICON_LOOKUP_FDO_THEME, /**< icon look up order: freedesktop, theme */
4985         ELM_ICON_LOOKUP_THEME_FDO, /**< icon look up order: theme, freedesktop */
4986         ELM_ICON_LOOKUP_FDO,       /**< icon look up order: freedesktop */
4987         ELM_ICON_LOOKUP_THEME      /**< icon look up order: theme */
4988      } Elm_Icon_Lookup_Order;
4989
4990    /**
4991     * Add a new icon object to the parent.
4992     *
4993     * @param parent The parent object
4994     * @return The new object or NULL if it cannot be created
4995     *
4996     * @see elm_icon_file_set()
4997     *
4998     * @ingroup Icon
4999     */
5000    EAPI Evas_Object          *elm_icon_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5001    /**
5002     * Set the file that will be used as icon.
5003     *
5004     * @param obj The icon object
5005     * @param file The path to file that will be used as icon image
5006     * @param group The group that the icon belongs to an edje file
5007     *
5008     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
5009     *
5010     * @note The icon image set by this function can be changed by
5011     * elm_icon_standard_set().
5012     *
5013     * @see elm_icon_file_get()
5014     *
5015     * @ingroup Icon
5016     */
5017    EAPI Eina_Bool             elm_icon_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
5018    /**
5019     * Set a location in memory to be used as an icon
5020     *
5021     * @param obj The icon object
5022     * @param img The binary data that will be used as an image
5023     * @param size The size of binary data @p img
5024     * @param format Optional format of @p img to pass to the image loader
5025     * @param key Optional key of @p img to pass to the image loader (eg. if @p img is an edje file)
5026     *
5027     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
5028     *
5029     * @note The icon image set by this function can be changed by
5030     * elm_icon_standard_set().
5031     *
5032     * @ingroup Icon
5033     */
5034    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);
5035    /**
5036     * Get the file that will be used as icon.
5037     *
5038     * @param obj The icon object
5039     * @param file The path to file that will be used as the icon image
5040     * @param group The group that the icon belongs to, in edje file
5041     *
5042     * @see elm_icon_file_set()
5043     *
5044     * @ingroup Icon
5045     */
5046    EAPI void                  elm_icon_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
5047    EAPI void                  elm_icon_thumb_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
5048    /**
5049     * Set the icon by icon standards names.
5050     *
5051     * @param obj The icon object
5052     * @param name The icon name
5053     *
5054     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
5055     *
5056     * For example, freedesktop.org defines standard icon names such as "home",
5057     * "network", etc. There can be different icon sets to match those icon
5058     * keys. The @p name given as parameter is one of these "keys", and will be
5059     * used to look in the freedesktop.org paths and elementary theme. One can
5060     * change the lookup order with elm_icon_order_lookup_set().
5061     *
5062     * If name is not found in any of the expected locations and it is the
5063     * absolute path of an image file, this image will be used.
5064     *
5065     * @note The icon image set by this function can be changed by
5066     * elm_icon_file_set().
5067     *
5068     * @see elm_icon_standard_get()
5069     * @see elm_icon_file_set()
5070     *
5071     * @ingroup Icon
5072     */
5073    EAPI Eina_Bool             elm_icon_standard_set(Evas_Object *obj, const char *name) EINA_ARG_NONNULL(1);
5074    /**
5075     * Get the icon name set by icon standard names.
5076     *
5077     * @param obj The icon object
5078     * @return The icon name
5079     *
5080     * If the icon image was set using elm_icon_file_set() instead of
5081     * elm_icon_standard_set(), then this function will return @c NULL.
5082     *
5083     * @see elm_icon_standard_set()
5084     *
5085     * @ingroup Icon
5086     */
5087    EAPI const char           *elm_icon_standard_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5088    /**
5089     * Set the smooth scaling for an icon object.
5090     *
5091     * @param obj The icon object
5092     * @param smooth @c EINA_TRUE if smooth scaling should be used, @c EINA_FALSE
5093     * otherwise. Default is @c EINA_TRUE.
5094     *
5095     * Set the scaling algorithm to be used when scaling the icon image. Smooth
5096     * scaling provides a better resulting image, but is slower.
5097     *
5098     * The smooth scaling should be disabled when making animations that change
5099     * the icon size, since they will be faster. Animations that don't require
5100     * resizing of the icon can keep the smooth scaling enabled (even if the icon
5101     * is already scaled, since the scaled icon image will be cached).
5102     *
5103     * @see elm_icon_smooth_get()
5104     *
5105     * @ingroup Icon
5106     */
5107    EAPI void                  elm_icon_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
5108    /**
5109     * Get whether smooth scaling is enabled for an icon object.
5110     *
5111     * @param obj The icon object
5112     * @return @c EINA_TRUE if smooth scaling is enabled, @c EINA_FALSE otherwise.
5113     *
5114     * @see elm_icon_smooth_set()
5115     *
5116     * @ingroup Icon
5117     */
5118    EAPI Eina_Bool             elm_icon_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5119    /**
5120     * Disable scaling of this object.
5121     *
5122     * @param obj The icon object.
5123     * @param no_scale @c EINA_TRUE if the object is not scalable, @c EINA_FALSE
5124     * otherwise. Default is @c EINA_FALSE.
5125     *
5126     * This function disables scaling of the icon object through the function
5127     * elm_object_scale_set(). However, this does not affect the object
5128     * size/resize in any way. For that effect, take a look at
5129     * elm_icon_scale_set().
5130     *
5131     * @see elm_icon_no_scale_get()
5132     * @see elm_icon_scale_set()
5133     * @see elm_object_scale_set()
5134     *
5135     * @ingroup Icon
5136     */
5137    EAPI void                  elm_icon_no_scale_set(Evas_Object *obj, Eina_Bool no_scale) EINA_ARG_NONNULL(1);
5138    /**
5139     * Get whether scaling is disabled on the object.
5140     *
5141     * @param obj The icon object
5142     * @return @c EINA_TRUE if scaling is disabled, @c EINA_FALSE otherwise
5143     *
5144     * @see elm_icon_no_scale_set()
5145     *
5146     * @ingroup Icon
5147     */
5148    EAPI Eina_Bool             elm_icon_no_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5149    /**
5150     * Set if the object is (up/down) resizable.
5151     *
5152     * @param obj The icon object
5153     * @param scale_up A bool to set if the object is resizable up. Default is
5154     * @c EINA_TRUE.
5155     * @param scale_down A bool to set if the object is resizable down. Default
5156     * is @c EINA_TRUE.
5157     *
5158     * This function limits the icon object resize ability. If @p scale_up is set to
5159     * @c EINA_FALSE, the object can't have its height or width resized to a value
5160     * higher than the original icon size. Same is valid for @p scale_down.
5161     *
5162     * @see elm_icon_scale_get()
5163     *
5164     * @ingroup Icon
5165     */
5166    EAPI void                  elm_icon_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down) EINA_ARG_NONNULL(1);
5167    /**
5168     * Get if the object is (up/down) resizable.
5169     *
5170     * @param obj The icon object
5171     * @param scale_up A bool to set if the object is resizable up
5172     * @param scale_down A bool to set if the object is resizable down
5173     *
5174     * @see elm_icon_scale_set()
5175     *
5176     * @ingroup Icon
5177     */
5178    EAPI void                  elm_icon_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down) EINA_ARG_NONNULL(1);
5179    /**
5180     * Get the object's image size
5181     *
5182     * @param obj The icon object
5183     * @param w A pointer to store the width in
5184     * @param h A pointer to store the height in
5185     *
5186     * @ingroup Icon
5187     */
5188    EAPI void                  elm_icon_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
5189    /**
5190     * Set if the icon fill the entire object area.
5191     *
5192     * @param obj The icon object
5193     * @param fill_outside @c EINA_TRUE if the object is filled outside,
5194     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5195     *
5196     * When the icon object is resized to a different aspect ratio from the
5197     * original icon image, the icon image will still keep its aspect. This flag
5198     * tells how the image should fill the object's area. They are: keep the
5199     * entire icon inside the limits of height and width of the object (@p
5200     * fill_outside is @c EINA_FALSE) or let the extra width or height go outside
5201     * of the object, and the icon will fill the entire object (@p fill_outside
5202     * is @c EINA_TRUE).
5203     *
5204     * @note Unlike @ref Image, there's no option in icon to set the aspect ratio
5205     * retain property to false. Thus, the icon image will always keep its
5206     * original aspect ratio.
5207     *
5208     * @see elm_icon_fill_outside_get()
5209     * @see elm_image_fill_outside_set()
5210     *
5211     * @ingroup Icon
5212     */
5213    EAPI void                  elm_icon_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside) EINA_ARG_NONNULL(1);
5214    /**
5215     * Get if the object is filled outside.
5216     *
5217     * @param obj The icon object
5218     * @return @c EINA_TRUE if the object is filled outside, @c EINA_FALSE otherwise.
5219     *
5220     * @see elm_icon_fill_outside_set()
5221     *
5222     * @ingroup Icon
5223     */
5224    EAPI Eina_Bool             elm_icon_fill_outside_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5225    /**
5226     * Set the prescale size for the icon.
5227     *
5228     * @param obj The icon object
5229     * @param size The prescale size. This value is used for both width and
5230     * height.
5231     *
5232     * This function sets a new size for pixmap representation of the given
5233     * icon. It allows the icon to be loaded already in the specified size,
5234     * reducing the memory usage and load time when loading a big icon with load
5235     * size set to a smaller size.
5236     *
5237     * It's equivalent to the elm_bg_load_size_set() function for bg.
5238     *
5239     * @note this is just a hint, the real size of the pixmap may differ
5240     * depending on the type of icon being loaded, being bigger than requested.
5241     *
5242     * @see elm_icon_prescale_get()
5243     * @see elm_bg_load_size_set()
5244     *
5245     * @ingroup Icon
5246     */
5247    EAPI void                  elm_icon_prescale_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
5248    /**
5249     * Get the prescale size for the icon.
5250     *
5251     * @param obj The icon object
5252     * @return The prescale size
5253     *
5254     * @see elm_icon_prescale_set()
5255     *
5256     * @ingroup Icon
5257     */
5258    EAPI int                   elm_icon_prescale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5259    /**
5260     * Gets the image object of the icon. DO NOT MODIFY THIS.
5261     *
5262     * @param obj The icon object
5263     * @return The internal icon object
5264     *
5265     * @ingroup Icon
5266     */
5267    EAPI Evas_Object          *elm_icon_object_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
5268    /**
5269     * Sets the icon lookup order used by elm_icon_standard_set().
5270     *
5271     * @param obj The icon object
5272     * @param order The icon lookup order (can be one of
5273     * ELM_ICON_LOOKUP_FDO_THEME, ELM_ICON_LOOKUP_THEME_FDO, ELM_ICON_LOOKUP_FDO
5274     * or ELM_ICON_LOOKUP_THEME)
5275     *
5276     * @see elm_icon_order_lookup_get()
5277     * @see Elm_Icon_Lookup_Order
5278     *
5279     * @ingroup Icon
5280     */
5281    EAPI void                  elm_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) EINA_ARG_NONNULL(1);
5282    /**
5283     * Gets the icon lookup order.
5284     *
5285     * @param obj The icon object
5286     * @return The icon lookup order
5287     *
5288     * @see elm_icon_order_lookup_set()
5289     * @see Elm_Icon_Lookup_Order
5290     *
5291     * @ingroup Icon
5292     */
5293    EAPI Elm_Icon_Lookup_Order elm_icon_order_lookup_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5294    /**
5295     * Enable or disable preloading of the icon
5296     *
5297     * @param obj The icon object
5298     * @param disable If EINA_TRUE, preloading will be disabled
5299     * @ingroup Icon
5300     */
5301    EAPI void                  elm_icon_preload_set(Evas_Object *obj, Eina_Bool disable) EINA_ARG_NONNULL(1);
5302    /**
5303     * Get if the icon supports animation or not.
5304     *
5305     * @param obj The icon object
5306     * @return @c EINA_TRUE if the icon supports animation,
5307     *         @c EINA_FALSE otherwise.
5308     *
5309     * Return if this elm icon's image can be animated. Currently Evas only
5310     * supports gif animation. If the return value is EINA_FALSE, other
5311     * elm_icon_animated_XXX APIs won't work.
5312     * @ingroup Icon
5313     */
5314    EAPI Eina_Bool           elm_icon_animated_available_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5315    /**
5316     * Set animation mode of the icon.
5317     *
5318     * @param obj The icon object
5319     * @param anim @c EINA_TRUE if the object do animation job,
5320     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5321     *
5322     * Since the default animation mode is set to EINA_FALSE, 
5323     * the icon is shown without animation.
5324     * This might be desirable when the application developer wants to show
5325     * a snapshot of the animated icon.
5326     * Set it to EINA_TRUE when the icon needs to be animated.
5327     * @ingroup Icon
5328     */
5329    EAPI void                elm_icon_animated_set(Evas_Object *obj, Eina_Bool animated) EINA_ARG_NONNULL(1);
5330    /**
5331     * Get animation mode of the icon.
5332     *
5333     * @param obj The icon object
5334     * @return The animation mode of the icon object
5335     * @see elm_icon_animated_set
5336     * @ingroup Icon
5337     */
5338    EAPI Eina_Bool           elm_icon_animated_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5339    /**
5340     * Set animation play mode of the icon.
5341     *
5342     * @param obj The icon object
5343     * @param play @c EINA_TRUE the object play animation images,
5344     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5345     *
5346     * To play elm icon's animation, set play to EINA_TURE.
5347     * For example, you make gif player using this set/get API and click event.
5348     *
5349     * 1. Click event occurs
5350     * 2. Check play flag using elm_icon_animaged_play_get
5351     * 3. If elm icon was playing, set play to EINA_FALSE.
5352     *    Then animation will be stopped and vice versa
5353     * @ingroup Icon
5354     */
5355    EAPI void                elm_icon_animated_play_set(Evas_Object *obj, Eina_Bool play) EINA_ARG_NONNULL(1);
5356    /**
5357     * Get animation play mode of the icon.
5358     *
5359     * @param obj The icon object
5360     * @return The play mode of the icon object
5361     *
5362     * @see elm_icon_animated_play_get
5363     * @ingroup Icon
5364     */
5365    EAPI Eina_Bool           elm_icon_animated_play_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5366
5367    /**
5368     * @}
5369     */
5370
5371    /**
5372     * @defgroup Image Image
5373     *
5374     * @image html img/widget/image/preview-00.png
5375     * @image latex img/widget/image/preview-00.eps
5376
5377     *
5378     * An object that allows one to load an image file to it. It can be used
5379     * anywhere like any other elementary widget.
5380     *
5381     * This widget provides most of the functionality provided from @ref Bg or @ref
5382     * Icon, but with a slightly different API (use the one that fits better your
5383     * needs).
5384     *
5385     * The features not provided by those two other image widgets are:
5386     * @li allowing to get the basic @c Evas_Object with elm_image_object_get();
5387     * @li change the object orientation with elm_image_orient_set();
5388     * @li and turning the image editable with elm_image_editable_set().
5389     *
5390     * Signals that you can add callbacks for are:
5391     *
5392     * @li @c "clicked" - This is called when a user has clicked the image
5393     *
5394     * An example of usage for this API follows:
5395     * @li @ref tutorial_image
5396     */
5397
5398    /**
5399     * @addtogroup Image
5400     * @{
5401     */
5402
5403    /**
5404     * @enum _Elm_Image_Orient
5405     * @typedef Elm_Image_Orient
5406     *
5407     * Possible orientation options for elm_image_orient_set().
5408     *
5409     * @image html elm_image_orient_set.png
5410     * @image latex elm_image_orient_set.eps width=\textwidth
5411     *
5412     * @ingroup Image
5413     */
5414    typedef enum _Elm_Image_Orient
5415      {
5416         ELM_IMAGE_ORIENT_NONE, /**< no orientation change */
5417         ELM_IMAGE_ROTATE_90_CW, /**< rotate 90 degrees clockwise */
5418         ELM_IMAGE_ROTATE_180_CW, /**< rotate 180 degrees clockwise */
5419         ELM_IMAGE_ROTATE_90_CCW, /**< rotate 90 degrees counter-clockwise (i.e. 270 degrees clockwise) */
5420         ELM_IMAGE_FLIP_HORIZONTAL, /**< flip image horizontally */
5421         ELM_IMAGE_FLIP_VERTICAL, /**< flip image vertically */
5422         ELM_IMAGE_FLIP_TRANSPOSE, /**< flip the image along the y = (side - x) line*/
5423         ELM_IMAGE_FLIP_TRANSVERSE /**< flip the image along the y = x line */
5424      } Elm_Image_Orient;
5425
5426    /**
5427     * Add a new image to the parent.
5428     *
5429     * @param parent The parent object
5430     * @return The new object or NULL if it cannot be created
5431     *
5432     * @see elm_image_file_set()
5433     *
5434     * @ingroup Image
5435     */
5436    EAPI Evas_Object     *elm_image_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5437    /**
5438     * Set the file that will be used as image.
5439     *
5440     * @param obj The image object
5441     * @param file The path to file that will be used as image
5442     * @param group The group that the image belongs in edje file (if it's an
5443     * edje image)
5444     *
5445     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
5446     *
5447     * @see elm_image_file_get()
5448     *
5449     * @ingroup Image
5450     */
5451    EAPI Eina_Bool        elm_image_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
5452    /**
5453     * Get the file that will be used as image.
5454     *
5455     * @param obj The image object
5456     * @param file The path to file
5457     * @param group The group that the image belongs in edje file
5458     *
5459     * @see elm_image_file_set()
5460     *
5461     * @ingroup Image
5462     */
5463    EAPI void             elm_image_file_get(const Evas_Object *obj, const char **file, const char **group) EINA_ARG_NONNULL(1);
5464    /**
5465     * Set the smooth effect for an image.
5466     *
5467     * @param obj The image object
5468     * @param smooth @c EINA_TRUE if smooth scaling should be used, @c EINA_FALSE
5469     * otherwise. Default is @c EINA_TRUE.
5470     *
5471     * Set the scaling algorithm to be used when scaling the image. Smooth
5472     * scaling provides a better resulting image, but is slower.
5473     *
5474     * The smooth scaling should be disabled when making animations that change
5475     * the image size, since it will be faster. Animations that don't require
5476     * resizing of the image can keep the smooth scaling enabled (even if the
5477     * image is already scaled, since the scaled image will be cached).
5478     *
5479     * @see elm_image_smooth_get()
5480     *
5481     * @ingroup Image
5482     */
5483    EAPI void             elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
5484    /**
5485     * Get the smooth effect for an image.
5486     *
5487     * @param obj The image object
5488     * @return @c EINA_TRUE if smooth scaling is enabled, @c EINA_FALSE otherwise.
5489     *
5490     * @see elm_image_smooth_get()
5491     *
5492     * @ingroup Image
5493     */
5494    EAPI Eina_Bool        elm_image_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5495
5496    /**
5497     * Gets the current size of the image.
5498     *
5499     * @param obj The image object.
5500     * @param w Pointer to store width, or NULL.
5501     * @param h Pointer to store height, or NULL.
5502     *
5503     * This is the real size of the image, not the size of the object.
5504     *
5505     * On error, neither w or h will be written.
5506     *
5507     * @ingroup Image
5508     */
5509    EAPI void             elm_image_object_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
5510    /**
5511     * Disable scaling of this object.
5512     *
5513     * @param obj The image object.
5514     * @param no_scale @c EINA_TRUE if the object is not scalable, @c EINA_FALSE
5515     * otherwise. Default is @c EINA_FALSE.
5516     *
5517     * This function disables scaling of the elm_image widget through the
5518     * function elm_object_scale_set(). However, this does not affect the widget
5519     * size/resize in any way. For that effect, take a look at
5520     * elm_image_scale_set().
5521     *
5522     * @see elm_image_no_scale_get()
5523     * @see elm_image_scale_set()
5524     * @see elm_object_scale_set()
5525     *
5526     * @ingroup Image
5527     */
5528    EAPI void             elm_image_no_scale_set(Evas_Object *obj, Eina_Bool no_scale) EINA_ARG_NONNULL(1);
5529    /**
5530     * Get whether scaling is disabled on the object.
5531     *
5532     * @param obj The image object
5533     * @return @c EINA_TRUE if scaling is disabled, @c EINA_FALSE otherwise
5534     *
5535     * @see elm_image_no_scale_set()
5536     *
5537     * @ingroup Image
5538     */
5539    EAPI Eina_Bool        elm_image_no_scale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5540    /**
5541     * Set if the object is (up/down) resizable.
5542     *
5543     * @param obj The image object
5544     * @param scale_up A bool to set if the object is resizable up. Default is
5545     * @c EINA_TRUE.
5546     * @param scale_down A bool to set if the object is resizable down. Default
5547     * is @c EINA_TRUE.
5548     *
5549     * This function limits the image resize ability. If @p scale_up is set to
5550     * @c EINA_FALSE, the object can't have its height or width resized to a value
5551     * higher than the original image size. Same is valid for @p scale_down.
5552     *
5553     * @see elm_image_scale_get()
5554     *
5555     * @ingroup Image
5556     */
5557    EAPI void             elm_image_scale_set(Evas_Object *obj, Eina_Bool scale_up, Eina_Bool scale_down) EINA_ARG_NONNULL(1);
5558    /**
5559     * Get if the object is (up/down) resizable.
5560     *
5561     * @param obj The image object
5562     * @param scale_up A bool to set if the object is resizable up
5563     * @param scale_down A bool to set if the object is resizable down
5564     *
5565     * @see elm_image_scale_set()
5566     *
5567     * @ingroup Image
5568     */
5569    EAPI void             elm_image_scale_get(const Evas_Object *obj, Eina_Bool *scale_up, Eina_Bool *scale_down) EINA_ARG_NONNULL(1);
5570    /**
5571     * Set if the image fills the entire object area, when keeping the aspect ratio.
5572     *
5573     * @param obj The image object
5574     * @param fill_outside @c EINA_TRUE if the object is filled outside,
5575     * @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
5576     *
5577     * When the image should keep its aspect ratio even if resized to another
5578     * aspect ratio, there are two possibilities to resize it: keep the entire
5579     * image inside the limits of height and width of the object (@p fill_outside
5580     * is @c EINA_FALSE) or let the extra width or height go outside of the object,
5581     * and the image will fill the entire object (@p fill_outside is @c EINA_TRUE).
5582     *
5583     * @note This option will have no effect if
5584     * elm_image_aspect_ratio_retained_set() is set to @c EINA_FALSE.
5585     *
5586     * @see elm_image_fill_outside_get()
5587     * @see elm_image_aspect_ratio_retained_set()
5588     *
5589     * @ingroup Image
5590     */
5591    EAPI void             elm_image_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside) EINA_ARG_NONNULL(1);
5592    /**
5593     * Get if the object is filled outside
5594     *
5595     * @param obj The image object
5596     * @return @c EINA_TRUE if the object is filled outside, @c EINA_FALSE otherwise.
5597     *
5598     * @see elm_image_fill_outside_set()
5599     *
5600     * @ingroup Image
5601     */
5602    EAPI Eina_Bool        elm_image_fill_outside_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5603    /**
5604     * Set the prescale size for the image
5605     *
5606     * @param obj The image object
5607     * @param size The prescale size. This value is used for both width and
5608     * height.
5609     *
5610     * This function sets a new size for pixmap representation of the given
5611     * image. It allows the image to be loaded already in the specified size,
5612     * reducing the memory usage and load time when loading a big image with load
5613     * size set to a smaller size.
5614     *
5615     * It's equivalent to the elm_bg_load_size_set() function for bg.
5616     *
5617     * @note this is just a hint, the real size of the pixmap may differ
5618     * depending on the type of image being loaded, being bigger than requested.
5619     *
5620     * @see elm_image_prescale_get()
5621     * @see elm_bg_load_size_set()
5622     *
5623     * @ingroup Image
5624     */
5625    EAPI void             elm_image_prescale_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
5626    /**
5627     * Get the prescale size for the image
5628     *
5629     * @param obj The image object
5630     * @return The prescale size
5631     *
5632     * @see elm_image_prescale_set()
5633     *
5634     * @ingroup Image
5635     */
5636    EAPI int              elm_image_prescale_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5637    /**
5638     * Set the image orientation.
5639     *
5640     * @param obj The image object
5641     * @param orient The image orientation @ref Elm_Image_Orient
5642     *  Default is #ELM_IMAGE_ORIENT_NONE.
5643     *
5644     * This function allows to rotate or flip the given image.
5645     *
5646     * @see elm_image_orient_get()
5647     * @see @ref Elm_Image_Orient
5648     *
5649     * @ingroup Image
5650     */
5651    EAPI void             elm_image_orient_set(Evas_Object *obj, Elm_Image_Orient orient) EINA_ARG_NONNULL(1);
5652    /**
5653     * Get the image orientation.
5654     *
5655     * @param obj The image object
5656     * @return The image orientation @ref Elm_Image_Orient
5657     *
5658     * @see elm_image_orient_set()
5659     * @see @ref Elm_Image_Orient
5660     *
5661     * @ingroup Image
5662     */
5663    EAPI Elm_Image_Orient elm_image_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5664    /**
5665     * Make the image 'editable'.
5666     *
5667     * @param obj Image object.
5668     * @param set Turn on or off editability. Default is @c EINA_FALSE.
5669     *
5670     * This means the image is a valid drag target for drag and drop, and can be
5671     * cut or pasted too.
5672     *
5673     * @ingroup Image
5674     */
5675    EAPI void             elm_image_editable_set(Evas_Object *obj, Eina_Bool set) EINA_ARG_NONNULL(1);
5676    /**
5677     * Check if the image 'editable'.
5678     *
5679     * @param obj Image object.
5680     * @return Editability.
5681     *
5682     * A return value of EINA_TRUE means the image is a valid drag target
5683     * for drag and drop, and can be cut or pasted too.
5684     *
5685     * @ingroup Image
5686     */
5687    EAPI Eina_Bool        elm_image_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5688    /**
5689     * Get the basic Evas_Image object from this object (widget).
5690     *
5691     * @param obj The image object to get the inlined image from
5692     * @return The inlined image object, or NULL if none exists
5693     *
5694     * This function allows one to get the underlying @c Evas_Object of type
5695     * Image from this elementary widget. It can be useful to do things like get
5696     * the pixel data, save the image to a file, etc.
5697     *
5698     * @note Be careful to not manipulate it, as it is under control of
5699     * elementary.
5700     *
5701     * @ingroup Image
5702     */
5703    EAPI Evas_Object     *elm_image_object_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5704    /**
5705     * Set whether the original aspect ratio of the image should be kept on resize.
5706     *
5707     * @param obj The image object.
5708     * @param retained @c EINA_TRUE if the image should retain the aspect,
5709     * @c EINA_FALSE otherwise.
5710     *
5711     * The original aspect ratio (width / height) of the image is usually
5712     * distorted to match the object's size. Enabling this option will retain
5713     * this original aspect, and the way that the image is fit into the object's
5714     * area depends on the option set by elm_image_fill_outside_set().
5715     *
5716     * @see elm_image_aspect_ratio_retained_get()
5717     * @see elm_image_fill_outside_set()
5718     *
5719     * @ingroup Image
5720     */
5721    EAPI void             elm_image_aspect_ratio_retained_set(Evas_Object *obj, Eina_Bool retained) EINA_ARG_NONNULL(1);
5722    /**
5723     * Get if the object retains the original aspect ratio.
5724     *
5725     * @param obj The image object.
5726     * @return @c EINA_TRUE if the object keeps the original aspect, @c EINA_FALSE
5727     * otherwise.
5728     *
5729     * @ingroup Image
5730     */
5731    EAPI Eina_Bool        elm_image_aspect_ratio_retained_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5732
5733    /**
5734     * @}
5735     */
5736
5737    /* glview */
5738    typedef void (*Elm_GLView_Func_Cb)(Evas_Object *obj);
5739
5740    /* old API compatibility */
5741    typedef Elm_GLView_Func_Cb Elm_GLView_Func;
5742
5743    typedef enum _Elm_GLView_Mode
5744      {
5745         ELM_GLVIEW_ALPHA   = 1,
5746         ELM_GLVIEW_DEPTH   = 2,
5747         ELM_GLVIEW_STENCIL = 4
5748      } Elm_GLView_Mode;
5749
5750    /**
5751     * Defines a policy for the glview resizing.
5752     *
5753     * @note Default is ELM_GLVIEW_RESIZE_POLICY_RECREATE
5754     */
5755    typedef enum _Elm_GLView_Resize_Policy
5756      {
5757         ELM_GLVIEW_RESIZE_POLICY_RECREATE = 1,      /**< Resize the internal surface along with the image */
5758         ELM_GLVIEW_RESIZE_POLICY_SCALE    = 2       /**< Only reize the internal image and not the surface */
5759      } Elm_GLView_Resize_Policy;
5760
5761    typedef enum _Elm_GLView_Render_Policy
5762      {
5763         ELM_GLVIEW_RENDER_POLICY_ON_DEMAND = 1,     /**< Render only when there is a need for redrawing */
5764         ELM_GLVIEW_RENDER_POLICY_ALWAYS    = 2      /**< Render always even when it is not visible */
5765      } Elm_GLView_Render_Policy;
5766
5767    /**
5768     * @defgroup GLView
5769     *
5770     * A simple GLView widget that allows GL rendering.
5771     *
5772     * Signals that you can add callbacks for are:
5773     *
5774     * @{
5775     */
5776
5777    /**
5778     * Add a new glview to the parent
5779     *
5780     * @param parent The parent object
5781     * @return The new object or NULL if it cannot be created
5782     *
5783     * @ingroup GLView
5784     */
5785    EAPI Evas_Object     *elm_glview_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
5786
5787    /**
5788     * Sets the size of the glview
5789     *
5790     * @param obj The glview object
5791     * @param width width of the glview object
5792     * @param height height of the glview object
5793     *
5794     * @ingroup GLView
5795     */
5796    EAPI void             elm_glview_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
5797
5798    /**
5799     * Gets the size of the glview.
5800     *
5801     * @param obj The glview object
5802     * @param width width of the glview object
5803     * @param height height of the glview object
5804     *
5805     * Note that this function returns the actual image size of the
5806     * glview.  This means that when the scale policy is set to
5807     * ELM_GLVIEW_RESIZE_POLICY_SCALE, it'll return the non-scaled
5808     * size.
5809     *
5810     * @ingroup GLView
5811     */
5812    EAPI void             elm_glview_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
5813
5814    /**
5815     * Gets the gl api struct for gl rendering
5816     *
5817     * @param obj The glview object
5818     * @return The api object or NULL if it cannot be created
5819     *
5820     * @ingroup GLView
5821     */
5822    EAPI Evas_GL_API     *elm_glview_gl_api_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
5823
5824    /**
5825     * Set the mode of the GLView. Supports Three simple modes.
5826     *
5827     * @param obj The glview object
5828     * @param mode The mode Options OR'ed enabling Alpha, Depth, Stencil.
5829     * @return True if set properly.
5830     *
5831     * @ingroup GLView
5832     */
5833    EAPI Eina_Bool        elm_glview_mode_set(Evas_Object *obj, Elm_GLView_Mode mode) EINA_ARG_NONNULL(1);
5834
5835    /**
5836     * Set the resize policy for the glview object.
5837     *
5838     * @param obj The glview object.
5839     * @param policy The scaling policy.
5840     *
5841     * By default, the resize policy is set to
5842     * ELM_GLVIEW_RESIZE_POLICY_RECREATE.  When resize is called it
5843     * destroys the previous surface and recreates the newly specified
5844     * size. If the policy is set to ELM_GLVIEW_RESIZE_POLICY_SCALE,
5845     * however, glview only scales the image object and not the underlying
5846     * GL Surface.
5847     *
5848     * @ingroup GLView
5849     */
5850    EAPI Eina_Bool        elm_glview_resize_policy_set(Evas_Object *obj, Elm_GLView_Resize_Policy policy) EINA_ARG_NONNULL(1);
5851
5852    /**
5853     * Set the render policy for the glview object.
5854     *
5855     * @param obj The glview object.
5856     * @param policy The render policy.
5857     *
5858     * By default, the render policy is set to
5859     * ELM_GLVIEW_RENDER_POLICY_ON_DEMAND.  This policy is set such
5860     * that during the render loop, glview is only redrawn if it needs
5861     * to be redrawn. (i.e. When it is visible) If the policy is set to
5862     * ELM_GLVIEWW_RENDER_POLICY_ALWAYS, it redraws regardless of
5863     * whether it is visible/need redrawing or not.
5864     *
5865     * @ingroup GLView
5866     */
5867    EAPI Eina_Bool        elm_glview_render_policy_set(Evas_Object *obj, Elm_GLView_Render_Policy policy) EINA_ARG_NONNULL(1);
5868
5869    /**
5870     * Set the init function that runs once in the main loop.
5871     *
5872     * @param obj The glview object.
5873     * @param func The init function to be registered.
5874     *
5875     * The registered init function gets called once during the render loop.
5876     *
5877     * @ingroup GLView
5878     */
5879    EAPI void             elm_glview_init_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
5880
5881    /**
5882     * Set the render function that runs in the main loop.
5883     *
5884     * @param obj The glview object.
5885     * @param func The delete function to be registered.
5886     *
5887     * The registered del function gets called when GLView object is deleted.
5888     *
5889     * @ingroup GLView
5890     */
5891    EAPI void             elm_glview_del_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
5892
5893    /**
5894     * Set the resize function that gets called when resize happens.
5895     *
5896     * @param obj The glview object.
5897     * @param func The resize function to be registered.
5898     *
5899     * @ingroup GLView
5900     */
5901    EAPI void             elm_glview_resize_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
5902
5903    /**
5904     * Set the render function that runs in the main loop.
5905     *
5906     * @param obj The glview object.
5907     * @param func The render function to be registered.
5908     *
5909     * @ingroup GLView
5910     */
5911    EAPI void             elm_glview_render_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func) EINA_ARG_NONNULL(1);
5912
5913    /**
5914     * Notifies that there has been changes in the GLView.
5915     *
5916     * @param obj The glview object.
5917     *
5918     * @ingroup GLView
5919     */
5920    EAPI void             elm_glview_changed_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
5921
5922    /**
5923     * @}
5924     */
5925
5926    /* box */
5927    /**
5928     * @defgroup Box Box
5929     *
5930     * @image html img/widget/box/preview-00.png
5931     * @image latex img/widget/box/preview-00.eps width=\textwidth
5932     *
5933     * @image html img/box.png
5934     * @image latex img/box.eps width=\textwidth
5935     *
5936     * A box arranges objects in a linear fashion, governed by a layout function
5937     * that defines the details of this arrangement.
5938     *
5939     * By default, the box will use an internal function to set the layout to
5940     * a single row, either vertical or horizontal. This layout is affected
5941     * by a number of parameters, such as the homogeneous flag set by
5942     * elm_box_homogeneous_set(), the values given by elm_box_padding_set() and
5943     * elm_box_align_set() and the hints set to each object in the box.
5944     *
5945     * For this default layout, it's possible to change the orientation with
5946     * elm_box_horizontal_set(). The box will start in the vertical orientation,
5947     * placing its elements ordered from top to bottom. When horizontal is set,
5948     * the order will go from left to right. If the box is set to be
5949     * homogeneous, every object in it will be assigned the same space, that
5950     * of the largest object. Padding can be used to set some spacing between
5951     * the cell given to each object. The alignment of the box, set with
5952     * elm_box_align_set(), determines how the bounding box of all the elements
5953     * will be placed within the space given to the box widget itself.
5954     *
5955     * The size hints of each object also affect how they are placed and sized
5956     * within the box. evas_object_size_hint_min_set() will give the minimum
5957     * size the object can have, and the box will use it as the basis for all
5958     * latter calculations. Elementary widgets set their own minimum size as
5959     * needed, so there's rarely any need to use it manually.
5960     *
5961     * evas_object_size_hint_weight_set(), when not in homogeneous mode, is
5962     * used to tell whether the object will be allocated the minimum size it
5963     * needs or if the space given to it should be expanded. It's important
5964     * to realize that expanding the size given to the object is not the same
5965     * thing as resizing the object. It could very well end being a small
5966     * widget floating in a much larger empty space. If not set, the weight
5967     * for objects will normally be 0.0 for both axis, meaning the widget will
5968     * not be expanded. To take as much space possible, set the weight to
5969     * EVAS_HINT_EXPAND (defined to 1.0) for the desired axis to expand.
5970     *
5971     * Besides how much space each object is allocated, it's possible to control
5972     * how the widget will be placed within that space using
5973     * evas_object_size_hint_align_set(). By default, this value will be 0.5
5974     * for both axis, meaning the object will be centered, but any value from
5975     * 0.0 (left or top, for the @c x and @c y axis, respectively) to 1.0
5976     * (right or bottom) can be used. The special value EVAS_HINT_FILL, which
5977     * is -1.0, means the object will be resized to fill the entire space it
5978     * was allocated.
5979     *
5980     * In addition, customized functions to define the layout can be set, which
5981     * allow the application developer to organize the objects within the box
5982     * in any number of ways.
5983     *
5984     * The special elm_box_layout_transition() function can be used
5985     * to switch from one layout to another, animating the motion of the
5986     * children of the box.
5987     *
5988     * @note Objects should not be added to box objects using _add() calls.
5989     *
5990     * Some examples on how to use boxes follow:
5991     * @li @ref box_example_01
5992     * @li @ref box_example_02
5993     *
5994     * @{
5995     */
5996    /**
5997     * @typedef Elm_Box_Transition
5998     *
5999     * Opaque handler containing the parameters to perform an animated
6000     * transition of the layout the box uses.
6001     *
6002     * @see elm_box_transition_new()
6003     * @see elm_box_layout_set()
6004     * @see elm_box_layout_transition()
6005     */
6006    typedef struct _Elm_Box_Transition Elm_Box_Transition;
6007
6008    /**
6009     * Add a new box to the parent
6010     *
6011     * By default, the box will be in vertical mode and non-homogeneous.
6012     *
6013     * @param parent The parent object
6014     * @return The new object or NULL if it cannot be created
6015     */
6016    EAPI Evas_Object        *elm_box_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6017    /**
6018     * Set the horizontal orientation
6019     *
6020     * By default, box object arranges their contents vertically from top to
6021     * bottom.
6022     * By calling this function with @p horizontal as EINA_TRUE, the box will
6023     * become horizontal, arranging contents from left to right.
6024     *
6025     * @note This flag is ignored if a custom layout function is set.
6026     *
6027     * @param obj The box object
6028     * @param horizontal The horizontal flag (EINA_TRUE = horizontal,
6029     * EINA_FALSE = vertical)
6030     */
6031    EAPI void                elm_box_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
6032    /**
6033     * Get the horizontal orientation
6034     *
6035     * @param obj The box object
6036     * @return EINA_TRUE if the box is set to horizontal mode, EINA_FALSE otherwise
6037     */
6038    EAPI Eina_Bool           elm_box_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6039    /**
6040     * Set the box to arrange its children homogeneously
6041     *
6042     * If enabled, homogeneous layout makes all items the same size, according
6043     * to the size of the largest of its children.
6044     *
6045     * @note This flag is ignored if a custom layout function is set.
6046     *
6047     * @param obj The box object
6048     * @param homogeneous The homogeneous flag
6049     */
6050    EAPI void                elm_box_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
6051    /**
6052     * Get whether the box is using homogeneous mode or not
6053     *
6054     * @param obj The box object
6055     * @return EINA_TRUE if it's homogeneous, EINA_FALSE otherwise
6056     */
6057    EAPI Eina_Bool           elm_box_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6058    EINA_DEPRECATED EAPI void elm_box_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
6059    EINA_DEPRECATED EAPI Eina_Bool elm_box_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6060    /**
6061     * Add an object to the beginning of the pack list
6062     *
6063     * Pack @p subobj into the box @p obj, placing it first in the list of
6064     * children objects. The actual position the object will get on screen
6065     * depends on the layout used. If no custom layout is set, it will be at
6066     * the top or left, depending if the box is vertical or horizontal,
6067     * respectively.
6068     *
6069     * @param obj The box object
6070     * @param subobj The object to add to the box
6071     *
6072     * @see elm_box_pack_end()
6073     * @see elm_box_pack_before()
6074     * @see elm_box_pack_after()
6075     * @see elm_box_unpack()
6076     * @see elm_box_unpack_all()
6077     * @see elm_box_clear()
6078     */
6079    EAPI void                elm_box_pack_start(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
6080    /**
6081     * Add an object at the end of the pack list
6082     *
6083     * Pack @p subobj into the box @p obj, placing it last in the list of
6084     * children objects. The actual position the object will get on screen
6085     * depends on the layout used. If no custom layout is set, it will be at
6086     * the bottom or right, depending if the box is vertical or horizontal,
6087     * respectively.
6088     *
6089     * @param obj The box object
6090     * @param subobj The object to add to the box
6091     *
6092     * @see elm_box_pack_start()
6093     * @see elm_box_pack_before()
6094     * @see elm_box_pack_after()
6095     * @see elm_box_unpack()
6096     * @see elm_box_unpack_all()
6097     * @see elm_box_clear()
6098     */
6099    EAPI void                elm_box_pack_end(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
6100    /**
6101     * Adds an object to the box before the indicated object
6102     *
6103     * This will add the @p subobj to the box indicated before the object
6104     * indicated with @p before. If @p before is not already in the box, results
6105     * are undefined. Before means either to the left of the indicated object or
6106     * above it depending on orientation.
6107     *
6108     * @param obj The box object
6109     * @param subobj The object to add to the box
6110     * @param before The object before which to add it
6111     *
6112     * @see elm_box_pack_start()
6113     * @see elm_box_pack_end()
6114     * @see elm_box_pack_after()
6115     * @see elm_box_unpack()
6116     * @see elm_box_unpack_all()
6117     * @see elm_box_clear()
6118     */
6119    EAPI void                elm_box_pack_before(Evas_Object *obj, Evas_Object *subobj, Evas_Object *before) EINA_ARG_NONNULL(1);
6120    /**
6121     * Adds an object to the box after the indicated object
6122     *
6123     * This will add the @p subobj to the box indicated after the object
6124     * indicated with @p after. If @p after is not already in the box, results
6125     * are undefined. After means either to the right of the indicated object or
6126     * below it depending on orientation.
6127     *
6128     * @param obj The box object
6129     * @param subobj The object to add to the box
6130     * @param after The object after which to add it
6131     *
6132     * @see elm_box_pack_start()
6133     * @see elm_box_pack_end()
6134     * @see elm_box_pack_before()
6135     * @see elm_box_unpack()
6136     * @see elm_box_unpack_all()
6137     * @see elm_box_clear()
6138     */
6139    EAPI void                elm_box_pack_after(Evas_Object *obj, Evas_Object *subobj, Evas_Object *after) EINA_ARG_NONNULL(1);
6140    /**
6141     * Clear the box of all children
6142     *
6143     * Remove all the elements contained by the box, deleting the respective
6144     * objects.
6145     *
6146     * @param obj The box object
6147     *
6148     * @see elm_box_unpack()
6149     * @see elm_box_unpack_all()
6150     */
6151    EAPI void                elm_box_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
6152    /**
6153     * Unpack a box item
6154     *
6155     * Remove the object given by @p subobj from the box @p obj without
6156     * deleting it.
6157     *
6158     * @param obj The box object
6159     *
6160     * @see elm_box_unpack_all()
6161     * @see elm_box_clear()
6162     */
6163    EAPI void                elm_box_unpack(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
6164    /**
6165     * Remove all items from the box, without deleting them
6166     *
6167     * Clear the box from all children, but don't delete the respective objects.
6168     * If no other references of the box children exist, the objects will never
6169     * be deleted, and thus the application will leak the memory. Make sure
6170     * when using this function that you hold a reference to all the objects
6171     * in the box @p obj.
6172     *
6173     * @param obj The box object
6174     *
6175     * @see elm_box_clear()
6176     * @see elm_box_unpack()
6177     */
6178    EAPI void                elm_box_unpack_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
6179    /**
6180     * Retrieve a list of the objects packed into the box
6181     *
6182     * Returns a new @c Eina_List with a pointer to @c Evas_Object in its nodes.
6183     * The order of the list corresponds to the packing order the box uses.
6184     *
6185     * You must free this list with eina_list_free() once you are done with it.
6186     *
6187     * @param obj The box object
6188     */
6189    EAPI const Eina_List    *elm_box_children_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6190    /**
6191     * Set the space (padding) between the box's elements.
6192     *
6193     * Extra space in pixels that will be added between a box child and its
6194     * neighbors after its containing cell has been calculated. This padding
6195     * is set for all elements in the box, besides any possible padding that
6196     * individual elements may have through their size hints.
6197     *
6198     * @param obj The box object
6199     * @param horizontal The horizontal space between elements
6200     * @param vertical The vertical space between elements
6201     */
6202    EAPI void                elm_box_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical) EINA_ARG_NONNULL(1);
6203    /**
6204     * Get the space (padding) between the box's elements.
6205     *
6206     * @param obj The box object
6207     * @param horizontal The horizontal space between elements
6208     * @param vertical The vertical space between elements
6209     *
6210     * @see elm_box_padding_set()
6211     */
6212    EAPI void                elm_box_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical) EINA_ARG_NONNULL(1);
6213    /**
6214     * Set the alignment of the whole bouding box of contents.
6215     *
6216     * Sets how the bounding box containing all the elements of the box, after
6217     * their sizes and position has been calculated, will be aligned within
6218     * the space given for the whole box widget.
6219     *
6220     * @param obj The box object
6221     * @param horizontal The horizontal alignment of elements
6222     * @param vertical The vertical alignment of elements
6223     */
6224    EAPI void                elm_box_align_set(Evas_Object *obj, double horizontal, double vertical) EINA_ARG_NONNULL(1);
6225    /**
6226     * Get the alignment of the whole bouding box of contents.
6227     *
6228     * @param obj The box object
6229     * @param horizontal The horizontal alignment of elements
6230     * @param vertical The vertical alignment of elements
6231     *
6232     * @see elm_box_align_set()
6233     */
6234    EAPI void                elm_box_align_get(const Evas_Object *obj, double *horizontal, double *vertical) EINA_ARG_NONNULL(1);
6235
6236    /**
6237     * Force the box to recalculate its children packing.
6238     *
6239     * If any children was added or removed, box will not calculate the
6240     * values immediately rather leaving it to the next main loop
6241     * iteration. While this is great as it would save lots of
6242     * recalculation, whenever you need to get the position of a just
6243     * added item you must force recalculate before doing so.
6244     *
6245     * @param obj The box object.
6246     */
6247    EAPI void                 elm_box_recalculate(Evas_Object *obj);
6248
6249    /**
6250     * Set the layout defining function to be used by the box
6251     *
6252     * Whenever anything changes that requires the box in @p obj to recalculate
6253     * the size and position of its elements, the function @p cb will be called
6254     * to determine what the layout of the children will be.
6255     *
6256     * Once a custom function is set, everything about the children layout
6257     * is defined by it. The flags set by elm_box_horizontal_set() and
6258     * elm_box_homogeneous_set() no longer have any meaning, and the values
6259     * given by elm_box_padding_set() and elm_box_align_set() are up to this
6260     * layout function to decide if they are used and how. These last two
6261     * will be found in the @c priv parameter, of type @c Evas_Object_Box_Data,
6262     * passed to @p cb. The @c Evas_Object the function receives is not the
6263     * Elementary widget, but the internal Evas Box it uses, so none of the
6264     * functions described here can be used on it.
6265     *
6266     * Any of the layout functions in @c Evas can be used here, as well as the
6267     * special elm_box_layout_transition().
6268     *
6269     * The final @p data argument received by @p cb is the same @p data passed
6270     * here, and the @p free_data function will be called to free it
6271     * whenever the box is destroyed or another layout function is set.
6272     *
6273     * Setting @p cb to NULL will revert back to the default layout function.
6274     *
6275     * @param obj The box object
6276     * @param cb The callback function used for layout
6277     * @param data Data that will be passed to layout function
6278     * @param free_data Function called to free @p data
6279     *
6280     * @see elm_box_layout_transition()
6281     */
6282    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);
6283    /**
6284     * Special layout function that animates the transition from one layout to another
6285     *
6286     * Normally, when switching the layout function for a box, this will be
6287     * reflected immediately on screen on the next render, but it's also
6288     * possible to do this through an animated transition.
6289     *
6290     * This is done by creating an ::Elm_Box_Transition and setting the box
6291     * layout to this function.
6292     *
6293     * For example:
6294     * @code
6295     * Elm_Box_Transition *t = elm_box_transition_new(1.0,
6296     *                            evas_object_box_layout_vertical, // start
6297     *                            NULL, // data for initial layout
6298     *                            NULL, // free function for initial data
6299     *                            evas_object_box_layout_horizontal, // end
6300     *                            NULL, // data for final layout
6301     *                            NULL, // free function for final data
6302     *                            anim_end, // will be called when animation ends
6303     *                            NULL); // data for anim_end function\
6304     * elm_box_layout_set(box, elm_box_layout_transition, t,
6305     *                    elm_box_transition_free);
6306     * @endcode
6307     *
6308     * @note This function can only be used with elm_box_layout_set(). Calling
6309     * it directly will not have the expected results.
6310     *
6311     * @see elm_box_transition_new
6312     * @see elm_box_transition_free
6313     * @see elm_box_layout_set
6314     */
6315    EAPI void                elm_box_layout_transition(Evas_Object *obj, Evas_Object_Box_Data *priv, void *data);
6316    /**
6317     * Create a new ::Elm_Box_Transition to animate the switch of layouts
6318     *
6319     * If you want to animate the change from one layout to another, you need
6320     * to set the layout function of the box to elm_box_layout_transition(),
6321     * passing as user data to it an instance of ::Elm_Box_Transition with the
6322     * necessary information to perform this animation. The free function to
6323     * set for the layout is elm_box_transition_free().
6324     *
6325     * The parameters to create an ::Elm_Box_Transition sum up to how long
6326     * will it be, in seconds, a layout function to describe the initial point,
6327     * another for the final position of the children and one function to be
6328     * called when the whole animation ends. This last function is useful to
6329     * set the definitive layout for the box, usually the same as the end
6330     * layout for the animation, but could be used to start another transition.
6331     *
6332     * @param start_layout The layout function that will be used to start the animation
6333     * @param start_layout_data The data to be passed the @p start_layout function
6334     * @param start_layout_free_data Function to free @p start_layout_data
6335     * @param end_layout The layout function that will be used to end the animation
6336     * @param end_layout_free_data The data to be passed the @p end_layout function
6337     * @param end_layout_free_data Function to free @p end_layout_data
6338     * @param transition_end_cb Callback function called when animation ends
6339     * @param transition_end_data Data to be passed to @p transition_end_cb
6340     * @return An instance of ::Elm_Box_Transition
6341     *
6342     * @see elm_box_transition_new
6343     * @see elm_box_layout_transition
6344     */
6345    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);
6346    /**
6347     * Free a Elm_Box_Transition instance created with elm_box_transition_new().
6348     *
6349     * This function is mostly useful as the @c free_data parameter in
6350     * elm_box_layout_set() when elm_box_layout_transition().
6351     *
6352     * @param data The Elm_Box_Transition instance to be freed.
6353     *
6354     * @see elm_box_transition_new
6355     * @see elm_box_layout_transition
6356     */
6357    EAPI void                elm_box_transition_free(void *data);
6358    /**
6359     * @}
6360     */
6361
6362    /* button */
6363    /**
6364     * @defgroup Button Button
6365     *
6366     * @image html img/widget/button/preview-00.png
6367     * @image latex img/widget/button/preview-00.eps
6368     * @image html img/widget/button/preview-01.png
6369     * @image latex img/widget/button/preview-01.eps
6370     * @image html img/widget/button/preview-02.png
6371     * @image latex img/widget/button/preview-02.eps
6372     *
6373     * This is a push-button. Press it and run some function. It can contain
6374     * a simple label and icon object and it also has an autorepeat feature.
6375     *
6376     * This widgets emits the following signals:
6377     * @li "clicked": the user clicked the button (press/release).
6378     * @li "repeated": the user pressed the button without releasing it.
6379     * @li "pressed": button was pressed.
6380     * @li "unpressed": button was released after being pressed.
6381     * In all three cases, the @c event parameter of the callback will be
6382     * @c NULL.
6383     *
6384     * Also, defined in the default theme, the button has the following styles
6385     * available:
6386     * @li default: a normal button.
6387     * @li anchor: Like default, but the button fades away when the mouse is not
6388     * over it, leaving only the text or icon.
6389     * @li hoversel_vertical: Internally used by @ref Hoversel to give a
6390     * continuous look across its options.
6391     * @li hoversel_vertical_entry: Another internal for @ref Hoversel.
6392     *
6393     * Default contents parts of the button widget that you can use for are:
6394     * @li "icon" - A icon of the button
6395     *
6396     * Default text parts of the button widget that you can use for are:
6397     * @li "default" - Label of the button
6398     *
6399     * Follow through a complete example @ref button_example_01 "here".
6400     * @{
6401     */
6402
6403    typedef enum
6404      {
6405         UIControlStateDefault,
6406         UIControlStateHighlighted,
6407         UIControlStateDisabled,
6408         UIControlStateFocused,
6409         UIControlStateReserved
6410      } UIControlState;
6411
6412    /**
6413     * Add a new button to the parent's canvas
6414     *
6415     * @param parent The parent object
6416     * @return The new object or NULL if it cannot be created
6417     */
6418    EAPI Evas_Object *elm_button_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6419    /**
6420     * Set the label used in the button
6421     *
6422     * The passed @p label can be NULL to clean any existing text in it and
6423     * leave the button as an icon only object.
6424     *
6425     * @param obj The button object
6426     * @param label The text will be written on the button
6427     * @deprecated use elm_object_text_set() instead.
6428     */
6429    EINA_DEPRECATED EAPI void         elm_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
6430    /**
6431     * Get the label set for the button
6432     *
6433     * The string returned is an internal pointer and should not be freed or
6434     * altered. It will also become invalid when the button is destroyed.
6435     * The string returned, if not NULL, is a stringshare, so if you need to
6436     * keep it around even after the button is destroyed, you can use
6437     * eina_stringshare_ref().
6438     *
6439     * @param obj The button object
6440     * @return The text set to the label, or NULL if nothing is set
6441     * @deprecated use elm_object_text_set() instead.
6442     */
6443    EINA_DEPRECATED EAPI const char  *elm_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6444    /**
6445     * Set the icon used for the button
6446     *
6447     * Setting a new icon will delete any other that was previously set, making
6448     * any reference to them invalid. If you need to maintain the previous
6449     * object alive, unset it first with elm_button_icon_unset().
6450     *
6451     * @param obj The button object
6452     * @param icon The icon object for the button
6453     * @deprecated use elm_object_part_content_set() instead.
6454     */
6455    WILL_DEPRECATE  EAPI void         elm_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
6456    /**
6457     * Get the icon used for the button
6458     *
6459     * Return the icon object which is set for this widget. If the button is
6460     * destroyed or another icon is set, the returned object will be deleted
6461     * and any reference to it will be invalid.
6462     *
6463     * @param obj The button object
6464     * @return The icon object that is being used
6465     *
6466     * @deprecated use elm_object_part_content_get() instead
6467     */
6468    WILL_DEPRECATE  EAPI Evas_Object *elm_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6469    /**
6470     * Remove the icon set without deleting it and return the object
6471     *
6472     * This function drops the reference the button holds of the icon object
6473     * and returns this last object. It is used in case you want to remove any
6474     * icon, or set another one, without deleting the actual object. The button
6475     * will be left without an icon set.
6476     *
6477     * @param obj The button object
6478     * @return The icon object that was being used
6479     * @deprecated use elm_object_part_content_unset() instead.
6480     */
6481    WILL_DEPRECATE  EAPI Evas_Object *elm_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
6482    /**
6483     * Turn on/off the autorepeat event generated when the button is kept pressed
6484     *
6485     * When off, no autorepeat is performed and buttons emit a normal @c clicked
6486     * signal when they are clicked.
6487     *
6488     * When on, keeping a button pressed will continuously emit a @c repeated
6489     * signal until the button is released. The time it takes until it starts
6490     * emitting the signal is given by
6491     * elm_button_autorepeat_initial_timeout_set(), and the time between each
6492     * new emission by elm_button_autorepeat_gap_timeout_set().
6493     *
6494     * @param obj The button object
6495     * @param on  A bool to turn on/off the event
6496     */
6497    EAPI void         elm_button_autorepeat_set(Evas_Object *obj, Eina_Bool on) EINA_ARG_NONNULL(1);
6498    /**
6499     * Get whether the autorepeat feature is enabled
6500     *
6501     * @param obj The button object
6502     * @return EINA_TRUE if autorepeat is on, EINA_FALSE otherwise
6503     *
6504     * @see elm_button_autorepeat_set()
6505     */
6506    EAPI Eina_Bool    elm_button_autorepeat_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6507    /**
6508     * Set the initial timeout before the autorepeat event is generated
6509     *
6510     * Sets the timeout, in seconds, since the button is pressed until the
6511     * first @c repeated signal is emitted. If @p t is 0.0 or less, there
6512     * won't be any delay and the even will be fired the moment the button is
6513     * pressed.
6514     *
6515     * @param obj The button object
6516     * @param t   Timeout in seconds
6517     *
6518     * @see elm_button_autorepeat_set()
6519     * @see elm_button_autorepeat_gap_timeout_set()
6520     */
6521    EAPI void         elm_button_autorepeat_initial_timeout_set(Evas_Object *obj, double t) EINA_ARG_NONNULL(1);
6522    /**
6523     * Get the initial timeout before the autorepeat event is generated
6524     *
6525     * @param obj The button object
6526     * @return Timeout in seconds
6527     *
6528     * @see elm_button_autorepeat_initial_timeout_set()
6529     */
6530    EAPI double       elm_button_autorepeat_initial_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6531    /**
6532     * Set the interval between each generated autorepeat event
6533     *
6534     * After the first @c repeated event is fired, all subsequent ones will
6535     * follow after a delay of @p t seconds for each.
6536     *
6537     * @param obj The button object
6538     * @param t   Interval in seconds
6539     *
6540     * @see elm_button_autorepeat_initial_timeout_set()
6541     */
6542    EAPI void         elm_button_autorepeat_gap_timeout_set(Evas_Object *obj, double t) EINA_ARG_NONNULL(1);
6543    /**
6544     * Get the interval between each generated autorepeat event
6545     *
6546     * @param obj The button object
6547     * @return Interval in seconds
6548     */
6549    EAPI double       elm_button_autorepeat_gap_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6550    /**
6551     * @}
6552     */
6553
6554    /**
6555     * @defgroup File_Selector_Button File Selector Button
6556     *
6557     * @image html img/widget/fileselector_button/preview-00.png
6558     * @image latex img/widget/fileselector_button/preview-00.eps
6559     * @image html img/widget/fileselector_button/preview-01.png
6560     * @image latex img/widget/fileselector_button/preview-01.eps
6561     * @image html img/widget/fileselector_button/preview-02.png
6562     * @image latex img/widget/fileselector_button/preview-02.eps
6563     *
6564     * This is a button that, when clicked, creates an Elementary
6565     * window (or inner window) <b> with a @ref Fileselector "file
6566     * selector widget" within</b>. When a file is chosen, the (inner)
6567     * window is closed and the button emits a signal having the
6568     * selected file as it's @c event_info.
6569     *
6570     * This widget encapsulates operations on its internal file
6571     * selector on its own API. There is less control over its file
6572     * selector than that one would have instatiating one directly.
6573     *
6574     * The following styles are available for this button:
6575     * @li @c "default"
6576     * @li @c "anchor"
6577     * @li @c "hoversel_vertical"
6578     * @li @c "hoversel_vertical_entry"
6579     *
6580     * Smart callbacks one can register to:
6581     * - @c "file,chosen" - the user has selected a path, whose string
6582     *   pointer comes as the @c event_info data (a stringshared
6583     *   string)
6584     *
6585     * Here is an example on its usage:
6586     * @li @ref fileselector_button_example
6587     *
6588     * @see @ref File_Selector_Entry for a similar widget.
6589     * @{
6590     */
6591
6592    /**
6593     * Add a new file selector button widget to the given parent
6594     * Elementary (container) object
6595     *
6596     * @param parent The parent object
6597     * @return a new file selector button widget handle or @c NULL, on
6598     * errors
6599     */
6600    EAPI Evas_Object *elm_fileselector_button_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6601
6602    /**
6603     * Set the label for a given file selector button widget
6604     *
6605     * @param obj The file selector button widget
6606     * @param label The text label to be displayed on @p obj
6607     *
6608     * @deprecated use elm_object_text_set() instead.
6609     */
6610    EINA_DEPRECATED EAPI void         elm_fileselector_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
6611
6612    /**
6613     * Get the label set for a given file selector button widget
6614     *
6615     * @param obj The file selector button widget
6616     * @return The button label
6617     *
6618     * @deprecated use elm_object_text_set() instead.
6619     */
6620    EINA_DEPRECATED EAPI const char  *elm_fileselector_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6621
6622    /**
6623     * Set the icon on a given file selector button widget
6624     *
6625     * @param obj The file selector button widget
6626     * @param icon The icon object for the button
6627     *
6628     * Once the icon object is set, a previously set one will be
6629     * deleted. If you want to keep the latter, use the
6630     * elm_fileselector_button_icon_unset() function.
6631     *
6632     * @see elm_fileselector_button_icon_get()
6633     */
6634    EAPI void         elm_fileselector_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
6635
6636    /**
6637     * Get the icon set for a given file selector button widget
6638     *
6639     * @param obj The file selector button widget
6640     * @return The icon object currently set on @p obj or @c NULL, if
6641     * none is
6642     *
6643     * @see elm_fileselector_button_icon_set()
6644     */
6645    EAPI Evas_Object *elm_fileselector_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6646
6647    /**
6648     * Unset the icon used in a given file selector button widget
6649     *
6650     * @param obj The file selector button widget
6651     * @return The icon object that was being used on @p obj or @c
6652     * NULL, on errors
6653     *
6654     * Unparent and return the icon object which was set for this
6655     * widget.
6656     *
6657     * @see elm_fileselector_button_icon_set()
6658     */
6659    EAPI Evas_Object *elm_fileselector_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
6660
6661    /**
6662     * Set the title for a given file selector button widget's window
6663     *
6664     * @param obj The file selector button widget
6665     * @param title The title string
6666     *
6667     * This will change the window's title, when the file selector pops
6668     * out after a click on the button. Those windows have the default
6669     * (unlocalized) value of @c "Select a file" as titles.
6670     *
6671     * @note It will only take any effect if the file selector
6672     * button widget is @b not under "inwin mode".
6673     *
6674     * @see elm_fileselector_button_window_title_get()
6675     */
6676    EAPI void         elm_fileselector_button_window_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
6677
6678    /**
6679     * Get the title set for a given file selector button widget's
6680     * window
6681     *
6682     * @param obj The file selector button widget
6683     * @return Title of the file selector button's window
6684     *
6685     * @see elm_fileselector_button_window_title_get() for more details
6686     */
6687    EAPI const char  *elm_fileselector_button_window_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6688
6689    /**
6690     * Set the size of a given file selector button widget's window,
6691     * holding the file selector itself.
6692     *
6693     * @param obj The file selector button widget
6694     * @param width The window's width
6695     * @param height The window's height
6696     *
6697     * @note it will only take any effect if the file selector button
6698     * widget is @b not under "inwin mode". The default size for the
6699     * window (when applicable) is 400x400 pixels.
6700     *
6701     * @see elm_fileselector_button_window_size_get()
6702     */
6703    EAPI void         elm_fileselector_button_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
6704
6705    /**
6706     * Get the size of a given file selector button widget's window,
6707     * holding the file selector itself.
6708     *
6709     * @param obj The file selector button widget
6710     * @param width Pointer into which to store the width value
6711     * @param height Pointer into which to store the height value
6712     *
6713     * @note Use @c NULL pointers on the size values you're not
6714     * interested in: they'll be ignored by the function.
6715     *
6716     * @see elm_fileselector_button_window_size_set(), for more details
6717     */
6718    EAPI void         elm_fileselector_button_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
6719
6720    /**
6721     * Set the initial file system path for a given file selector
6722     * button widget
6723     *
6724     * @param obj The file selector button widget
6725     * @param path The path string
6726     *
6727     * It must be a <b>directory</b> path, which will have the contents
6728     * displayed initially in the file selector's view, when invoked
6729     * from @p obj. The default initial path is the @c "HOME"
6730     * environment variable's value.
6731     *
6732     * @see elm_fileselector_button_path_get()
6733     */
6734    EAPI void         elm_fileselector_button_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
6735
6736    /**
6737     * Get the initial file system path set for a given file selector
6738     * button widget
6739     *
6740     * @param obj The file selector button widget
6741     * @return path The path string
6742     *
6743     * @see elm_fileselector_button_path_set() for more details
6744     */
6745    EAPI const char  *elm_fileselector_button_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6746
6747    /**
6748     * Enable/disable a tree view in the given file selector button
6749     * widget's internal file selector
6750     *
6751     * @param obj The file selector button widget
6752     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
6753     * disable
6754     *
6755     * This has the same effect as elm_fileselector_expandable_set(),
6756     * but now applied to a file selector button's internal file
6757     * selector.
6758     *
6759     * @note There's no way to put a file selector button's internal
6760     * file selector in "grid mode", as one may do with "pure" file
6761     * selectors.
6762     *
6763     * @see elm_fileselector_expandable_get()
6764     */
6765    EAPI void         elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6766
6767    /**
6768     * Get whether tree view is enabled for the given file selector
6769     * button widget's internal file selector
6770     *
6771     * @param obj The file selector button widget
6772     * @return @c EINA_TRUE if @p obj widget's internal file selector
6773     * is in tree view, @c EINA_FALSE otherwise (and or errors)
6774     *
6775     * @see elm_fileselector_expandable_set() for more details
6776     */
6777    EAPI Eina_Bool    elm_fileselector_button_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6778
6779    /**
6780     * Set whether a given file selector button widget's internal file
6781     * selector is to display folders only or the directory contents,
6782     * as well.
6783     *
6784     * @param obj The file selector button widget
6785     * @param only @c EINA_TRUE to make @p obj widget's internal file
6786     * selector only display directories, @c EINA_FALSE to make files
6787     * to be displayed in it too
6788     *
6789     * This has the same effect as elm_fileselector_folder_only_set(),
6790     * but now applied to a file selector button's internal file
6791     * selector.
6792     *
6793     * @see elm_fileselector_folder_only_get()
6794     */
6795    EAPI void         elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6796
6797    /**
6798     * Get whether a given file selector button widget's internal file
6799     * selector is displaying folders only or the directory contents,
6800     * as well.
6801     *
6802     * @param obj The file selector button widget
6803     * @return @c EINA_TRUE if @p obj widget's internal file
6804     * selector is only displaying directories, @c EINA_FALSE if files
6805     * are being displayed in it too (and on errors)
6806     *
6807     * @see elm_fileselector_button_folder_only_set() for more details
6808     */
6809    EAPI Eina_Bool    elm_fileselector_button_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6810
6811    /**
6812     * Enable/disable the file name entry box where the user can type
6813     * in a name for a file, in a given file selector button widget's
6814     * internal file selector.
6815     *
6816     * @param obj The file selector button widget
6817     * @param is_save @c EINA_TRUE to make @p obj widget's internal
6818     * file selector a "saving dialog", @c EINA_FALSE otherwise
6819     *
6820     * This has the same effect as elm_fileselector_is_save_set(),
6821     * but now applied to a file selector button's internal file
6822     * selector.
6823     *
6824     * @see elm_fileselector_is_save_get()
6825     */
6826    EAPI void         elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6827
6828    /**
6829     * Get whether the given file selector button widget's internal
6830     * file selector is in "saving dialog" mode
6831     *
6832     * @param obj The file selector button widget
6833     * @return @c EINA_TRUE, if @p obj widget's internal file selector
6834     * is in "saving dialog" mode, @c EINA_FALSE otherwise (and on
6835     * errors)
6836     *
6837     * @see elm_fileselector_button_is_save_set() for more details
6838     */
6839    EAPI Eina_Bool    elm_fileselector_button_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6840
6841    /**
6842     * Set whether a given file selector button widget's internal file
6843     * selector will raise an Elementary "inner window", instead of a
6844     * dedicated Elementary window. By default, it won't.
6845     *
6846     * @param obj The file selector button widget
6847     * @param value @c EINA_TRUE to make it use an inner window, @c
6848     * EINA_TRUE to make it use a dedicated window
6849     *
6850     * @see elm_win_inwin_add() for more information on inner windows
6851     * @see elm_fileselector_button_inwin_mode_get()
6852     */
6853    EAPI void         elm_fileselector_button_inwin_mode_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
6854
6855    /**
6856     * Get whether a given file selector button widget's internal file
6857     * selector will raise an Elementary "inner window", instead of a
6858     * dedicated Elementary window.
6859     *
6860     * @param obj The file selector button widget
6861     * @return @c EINA_TRUE if will use an inner window, @c EINA_TRUE
6862     * if it will use a dedicated window
6863     *
6864     * @see elm_fileselector_button_inwin_mode_set() for more details
6865     */
6866    EAPI Eina_Bool    elm_fileselector_button_inwin_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6867
6868    /**
6869     * @}
6870     */
6871
6872     /**
6873     * @defgroup File_Selector_Entry File Selector Entry
6874     *
6875     * @image html img/widget/fileselector_entry/preview-00.png
6876     * @image latex img/widget/fileselector_entry/preview-00.eps
6877     *
6878     * This is an entry made to be filled with or display a <b>file
6879     * system path string</b>. Besides the entry itself, the widget has
6880     * a @ref File_Selector_Button "file selector button" on its side,
6881     * which will raise an internal @ref Fileselector "file selector widget",
6882     * when clicked, for path selection aided by file system
6883     * navigation.
6884     *
6885     * This file selector may appear in an Elementary window or in an
6886     * inner window. When a file is chosen from it, the (inner) window
6887     * is closed and the selected file's path string is exposed both as
6888     * an smart event and as the new text on the entry.
6889     *
6890     * This widget encapsulates operations on its internal file
6891     * selector on its own API. There is less control over its file
6892     * selector than that one would have instatiating one directly.
6893     *
6894     * Smart callbacks one can register to:
6895     * - @c "changed" - The text within the entry was changed
6896     * - @c "activated" - The entry has had editing finished and
6897     *   changes are to be "committed"
6898     * - @c "press" - The entry has been clicked
6899     * - @c "longpressed" - The entry has been clicked (and held) for a
6900     *   couple seconds
6901     * - @c "clicked" - The entry has been clicked
6902     * - @c "clicked,double" - The entry has been double clicked
6903     * - @c "focused" - The entry has received focus
6904     * - @c "unfocused" - The entry has lost focus
6905     * - @c "selection,paste" - A paste action has occurred on the
6906     *   entry
6907     * - @c "selection,copy" - A copy action has occurred on the entry
6908     * - @c "selection,cut" - A cut action has occurred on the entry
6909     * - @c "unpressed" - The file selector entry's button was released
6910     *   after being pressed.
6911     * - @c "file,chosen" - The user has selected a path via the file
6912     *   selector entry's internal file selector, whose string pointer
6913     *   comes as the @c event_info data (a stringshared string)
6914     *
6915     * Here is an example on its usage:
6916     * @li @ref fileselector_entry_example
6917     *
6918     * @see @ref File_Selector_Button for a similar widget.
6919     * @{
6920     */
6921
6922    /**
6923     * Add a new file selector entry widget to the given parent
6924     * Elementary (container) object
6925     *
6926     * @param parent The parent object
6927     * @return a new file selector entry widget handle or @c NULL, on
6928     * errors
6929     */
6930    EAPI Evas_Object *elm_fileselector_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
6931
6932    /**
6933     * Set the label for a given file selector entry widget's button
6934     *
6935     * @param obj The file selector entry widget
6936     * @param label The text label to be displayed on @p obj widget's
6937     * button
6938     *
6939     * @deprecated use elm_object_text_set() instead.
6940     */
6941    EINA_DEPRECATED EAPI void         elm_fileselector_entry_button_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
6942
6943    /**
6944     * Get the label set for a given file selector entry widget's button
6945     *
6946     * @param obj The file selector entry widget
6947     * @return The widget button's label
6948     *
6949     * @deprecated use elm_object_text_set() instead.
6950     */
6951    EINA_DEPRECATED EAPI const char  *elm_fileselector_entry_button_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6952
6953    /**
6954     * Set the icon on a given file selector entry widget's button
6955     *
6956     * @param obj The file selector entry widget
6957     * @param icon The icon object for the entry's button
6958     *
6959     * Once the icon object is set, a previously set one will be
6960     * deleted. If you want to keep the latter, use the
6961     * elm_fileselector_entry_button_icon_unset() function.
6962     *
6963     * @see elm_fileselector_entry_button_icon_get()
6964     */
6965    EAPI void         elm_fileselector_entry_button_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
6966
6967    /**
6968     * Get the icon set for a given file selector entry widget's button
6969     *
6970     * @param obj The file selector entry widget
6971     * @return The icon object currently set on @p obj widget's button
6972     * or @c NULL, if none is
6973     *
6974     * @see elm_fileselector_entry_button_icon_set()
6975     */
6976    EAPI Evas_Object *elm_fileselector_entry_button_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
6977
6978    /**
6979     * Unset the icon used in a given file selector entry widget's
6980     * button
6981     *
6982     * @param obj The file selector entry widget
6983     * @return The icon object that was being used on @p obj widget's
6984     * button or @c NULL, on errors
6985     *
6986     * Unparent and return the icon object which was set for this
6987     * widget's button.
6988     *
6989     * @see elm_fileselector_entry_button_icon_set()
6990     */
6991    EAPI Evas_Object *elm_fileselector_entry_button_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
6992
6993    /**
6994     * Set the title for a given file selector entry widget's window
6995     *
6996     * @param obj The file selector entry widget
6997     * @param title The title string
6998     *
6999     * This will change the window's title, when the file selector pops
7000     * out after a click on the entry's button. Those windows have the
7001     * default (unlocalized) value of @c "Select a file" as titles.
7002     *
7003     * @note It will only take any effect if the file selector
7004     * entry widget is @b not under "inwin mode".
7005     *
7006     * @see elm_fileselector_entry_window_title_get()
7007     */
7008    EAPI void         elm_fileselector_entry_window_title_set(Evas_Object *obj, const char *title) EINA_ARG_NONNULL(1);
7009
7010    /**
7011     * Get the title set for a given file selector entry widget's
7012     * window
7013     *
7014     * @param obj The file selector entry widget
7015     * @return Title of the file selector entry's window
7016     *
7017     * @see elm_fileselector_entry_window_title_get() for more details
7018     */
7019    EAPI const char  *elm_fileselector_entry_window_title_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7020
7021    /**
7022     * Set the size of a given file selector entry widget's window,
7023     * holding the file selector itself.
7024     *
7025     * @param obj The file selector entry widget
7026     * @param width The window's width
7027     * @param height The window's height
7028     *
7029     * @note it will only take any effect if the file selector entry
7030     * widget is @b not under "inwin mode". The default size for the
7031     * window (when applicable) is 400x400 pixels.
7032     *
7033     * @see elm_fileselector_entry_window_size_get()
7034     */
7035    EAPI void         elm_fileselector_entry_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height) EINA_ARG_NONNULL(1);
7036
7037    /**
7038     * Get the size of a given file selector entry widget's window,
7039     * holding the file selector itself.
7040     *
7041     * @param obj The file selector entry widget
7042     * @param width Pointer into which to store the width value
7043     * @param height Pointer into which to store the height value
7044     *
7045     * @note Use @c NULL pointers on the size values you're not
7046     * interested in: they'll be ignored by the function.
7047     *
7048     * @see elm_fileselector_entry_window_size_set(), for more details
7049     */
7050    EAPI void         elm_fileselector_entry_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height) EINA_ARG_NONNULL(1);
7051
7052    /**
7053     * Set the initial file system path and the entry's path string for
7054     * a given file selector entry widget
7055     *
7056     * @param obj The file selector entry widget
7057     * @param path The path string
7058     *
7059     * It must be a <b>directory</b> path, which will have the contents
7060     * displayed initially in the file selector's view, when invoked
7061     * from @p obj. The default initial path is the @c "HOME"
7062     * environment variable's value.
7063     *
7064     * @see elm_fileselector_entry_path_get()
7065     */
7066    EAPI void         elm_fileselector_entry_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
7067
7068    /**
7069     * Get the entry's path string for a given file selector entry
7070     * widget
7071     *
7072     * @param obj The file selector entry widget
7073     * @return path The path string
7074     *
7075     * @see elm_fileselector_entry_path_set() for more details
7076     */
7077    EAPI const char  *elm_fileselector_entry_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7078
7079    /**
7080     * Enable/disable a tree view in the given file selector entry
7081     * widget's internal file selector
7082     *
7083     * @param obj The file selector entry widget
7084     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
7085     * disable
7086     *
7087     * This has the same effect as elm_fileselector_expandable_set(),
7088     * but now applied to a file selector entry's internal file
7089     * selector.
7090     *
7091     * @note There's no way to put a file selector entry's internal
7092     * file selector in "grid mode", as one may do with "pure" file
7093     * selectors.
7094     *
7095     * @see elm_fileselector_expandable_get()
7096     */
7097    EAPI void         elm_fileselector_entry_expandable_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
7098
7099    /**
7100     * Get whether tree view is enabled for the given file selector
7101     * entry widget's internal file selector
7102     *
7103     * @param obj The file selector entry widget
7104     * @return @c EINA_TRUE if @p obj widget's internal file selector
7105     * is in tree view, @c EINA_FALSE otherwise (and or errors)
7106     *
7107     * @see elm_fileselector_expandable_set() for more details
7108     */
7109    EAPI Eina_Bool    elm_fileselector_entry_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7110
7111    /**
7112     * Set whether a given file selector entry widget's internal file
7113     * selector is to display folders only or the directory contents,
7114     * as well.
7115     *
7116     * @param obj The file selector entry widget
7117     * @param only @c EINA_TRUE to make @p obj widget's internal file
7118     * selector only display directories, @c EINA_FALSE to make files
7119     * to be displayed in it too
7120     *
7121     * This has the same effect as elm_fileselector_folder_only_set(),
7122     * but now applied to a file selector entry's internal file
7123     * selector.
7124     *
7125     * @see elm_fileselector_folder_only_get()
7126     */
7127    EAPI void         elm_fileselector_entry_folder_only_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
7128
7129    /**
7130     * Get whether a given file selector entry widget's internal file
7131     * selector is displaying folders only or the directory contents,
7132     * as well.
7133     *
7134     * @param obj The file selector entry widget
7135     * @return @c EINA_TRUE if @p obj widget's internal file
7136     * selector is only displaying directories, @c EINA_FALSE if files
7137     * are being displayed in it too (and on errors)
7138     *
7139     * @see elm_fileselector_entry_folder_only_set() for more details
7140     */
7141    EAPI Eina_Bool    elm_fileselector_entry_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7142
7143    /**
7144     * Enable/disable the file name entry box where the user can type
7145     * in a name for a file, in a given file selector entry widget's
7146     * internal file selector.
7147     *
7148     * @param obj The file selector entry widget
7149     * @param is_save @c EINA_TRUE to make @p obj widget's internal
7150     * file selector a "saving dialog", @c EINA_FALSE otherwise
7151     *
7152     * This has the same effect as elm_fileselector_is_save_set(),
7153     * but now applied to a file selector entry's internal file
7154     * selector.
7155     *
7156     * @see elm_fileselector_is_save_get()
7157     */
7158    EAPI void         elm_fileselector_entry_is_save_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
7159
7160    /**
7161     * Get whether the given file selector entry widget's internal
7162     * file selector is in "saving dialog" mode
7163     *
7164     * @param obj The file selector entry widget
7165     * @return @c EINA_TRUE, if @p obj widget's internal file selector
7166     * is in "saving dialog" mode, @c EINA_FALSE otherwise (and on
7167     * errors)
7168     *
7169     * @see elm_fileselector_entry_is_save_set() for more details
7170     */
7171    EAPI Eina_Bool    elm_fileselector_entry_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7172
7173    /**
7174     * Set whether a given file selector entry widget's internal file
7175     * selector will raise an Elementary "inner window", instead of a
7176     * dedicated Elementary window. By default, it won't.
7177     *
7178     * @param obj The file selector entry widget
7179     * @param value @c EINA_TRUE to make it use an inner window, @c
7180     * EINA_TRUE to make it use a dedicated window
7181     *
7182     * @see elm_win_inwin_add() for more information on inner windows
7183     * @see elm_fileselector_entry_inwin_mode_get()
7184     */
7185    EAPI void         elm_fileselector_entry_inwin_mode_set(Evas_Object *obj, Eina_Bool value) EINA_ARG_NONNULL(1);
7186
7187    /**
7188     * Get whether a given file selector entry widget's internal file
7189     * selector will raise an Elementary "inner window", instead of a
7190     * dedicated Elementary window.
7191     *
7192     * @param obj The file selector entry widget
7193     * @return @c EINA_TRUE if will use an inner window, @c EINA_TRUE
7194     * if it will use a dedicated window
7195     *
7196     * @see elm_fileselector_entry_inwin_mode_set() for more details
7197     */
7198    EAPI Eina_Bool    elm_fileselector_entry_inwin_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7199
7200    /**
7201     * Set the initial file system path for a given file selector entry
7202     * widget
7203     *
7204     * @param obj The file selector entry widget
7205     * @param path The path string
7206     *
7207     * It must be a <b>directory</b> path, which will have the contents
7208     * displayed initially in the file selector's view, when invoked
7209     * from @p obj. The default initial path is the @c "HOME"
7210     * environment variable's value.
7211     *
7212     * @see elm_fileselector_entry_path_get()
7213     */
7214    EAPI void         elm_fileselector_entry_selected_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
7215
7216    /**
7217     * Get the parent directory's path to the latest file selection on
7218     * a given filer selector entry widget
7219     *
7220     * @param obj The file selector object
7221     * @return The (full) path of the directory of the last selection
7222     * on @p obj widget, a @b stringshared string
7223     *
7224     * @see elm_fileselector_entry_path_set()
7225     */
7226    EAPI const char  *elm_fileselector_entry_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7227
7228    /**
7229     * @}
7230     */
7231
7232    /**
7233     * @defgroup Scroller Scroller
7234     *
7235     * A scroller holds a single object and "scrolls it around". This means that
7236     * it allows the user to use a scrollbar (or a finger) to drag the viewable
7237     * region around, allowing to move through a much larger object that is
7238     * contained in the scroller. The scroller will always have a small minimum
7239     * size by default as it won't be limited by the contents of the scroller.
7240     *
7241     * Signals that you can add callbacks for are:
7242     * @li "edge,left" - the left edge of the content has been reached
7243     * @li "edge,right" - the right edge of the content has been reached
7244     * @li "edge,top" - the top edge of the content has been reached
7245     * @li "edge,bottom" - the bottom edge of the content has been reached
7246     * @li "scroll" - the content has been scrolled (moved)
7247     * @li "scroll,anim,start" - scrolling animation has started
7248     * @li "scroll,anim,stop" - scrolling animation has stopped
7249     * @li "scroll,drag,start" - dragging the contents around has started
7250     * @li "scroll,drag,stop" - dragging the contents around has stopped
7251     * @note The "scroll,anim,*" and "scroll,drag,*" signals are only emitted by
7252     * user intervetion.
7253     *
7254     * @note When Elemementary is in embedded mode the scrollbars will not be
7255     * dragable, they appear merely as indicators of how much has been scrolled.
7256     * @note When Elementary is in desktop mode the thumbscroll(a.k.a.
7257     * fingerscroll) won't work.
7258     *
7259     * Default contents parts of the scroller widget that you can use for are:
7260     * @li "default" - A content of the scroller
7261     *
7262     * In @ref tutorial_scroller you'll find an example of how to use most of
7263     * this API.
7264     * @{
7265     */
7266    /**
7267     * @brief Type that controls when scrollbars should appear.
7268     *
7269     * @see elm_scroller_policy_set()
7270     */
7271    typedef enum _Elm_Scroller_Policy
7272      {
7273         ELM_SCROLLER_POLICY_AUTO = 0, /**< Show scrollbars as needed */
7274         ELM_SCROLLER_POLICY_ON, /**< Always show scrollbars */
7275         ELM_SCROLLER_POLICY_OFF, /**< Never show scrollbars */
7276         ELM_SCROLLER_POLICY_LAST
7277      } Elm_Scroller_Policy;
7278    /**
7279     * @brief Add a new scroller to the parent
7280     *
7281     * @param parent The parent object
7282     * @return The new object or NULL if it cannot be created
7283     */
7284    EAPI Evas_Object *elm_scroller_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7285    /**
7286     * @brief Set the content of the scroller widget (the object to be scrolled around).
7287     *
7288     * @param obj The scroller object
7289     * @param content The new content object
7290     *
7291     * Once the content object is set, a previously set one will be deleted.
7292     * If you want to keep that old content object, use the
7293     * elm_scroller_content_unset() function.
7294     * @deprecated use elm_object_content_set() instead
7295     */
7296    WILL_DEPRECATE  EAPI void elm_scroller_content_set(Evas_Object *obj, Evas_Object *child) EINA_ARG_NONNULL(1);
7297    /**
7298     * @brief Get the content of the scroller widget
7299     *
7300     * @param obj The slider object
7301     * @return The content that is being used
7302     *
7303     * Return the content object which is set for this widget
7304     *
7305     * @see elm_scroller_content_set()
7306     * @deprecated use elm_object_content_get() instead.
7307     */
7308    WILL_DEPRECATE  EAPI Evas_Object *elm_scroller_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7309    /**
7310     * @brief Unset the content of the scroller widget
7311     *
7312     * @param obj The slider object
7313     * @return The content that was being used
7314     *
7315     * Unparent and return the content object which was set for this widget
7316     *
7317     * @see elm_scroller_content_set()
7318     * @deprecated use elm_object_content_unset() instead.
7319     */
7320    WILL_DEPRECATE  EAPI Evas_Object *elm_scroller_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
7321    /**
7322     * @brief Set custom theme elements for the scroller
7323     *
7324     * @param obj The scroller object
7325     * @param widget The widget name to use (default is "scroller")
7326     * @param base The base name to use (default is "base")
7327     */
7328    EAPI void         elm_scroller_custom_widget_base_theme_set(Evas_Object *obj, const char *widget, const char *base) EINA_ARG_NONNULL(1, 2, 3);
7329    /**
7330     * @brief Make the scroller minimum size limited to the minimum size of the content
7331     *
7332     * @param obj The scroller object
7333     * @param w Enable limiting minimum size horizontally
7334     * @param h Enable limiting minimum size vertically
7335     *
7336     * By default the scroller will be as small as its design allows,
7337     * irrespective of its content. This will make the scroller minimum size the
7338     * right size horizontally and/or vertically to perfectly fit its content in
7339     * that direction.
7340     */
7341    EAPI void         elm_scroller_content_min_limit(Evas_Object *obj, Eina_Bool w, Eina_Bool h) EINA_ARG_NONNULL(1);
7342    /**
7343     * @brief Show a specific virtual region within the scroller content object
7344     *
7345     * @param obj The scroller object
7346     * @param x X coordinate of the region
7347     * @param y Y coordinate of the region
7348     * @param w Width of the region
7349     * @param h Height of the region
7350     *
7351     * This will ensure all (or part if it does not fit) of the designated
7352     * region in the virtual content object (0, 0 starting at the top-left of the
7353     * virtual content object) is shown within the scroller.
7354     */
7355    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);
7356    /**
7357     * @brief Set the scrollbar visibility policy
7358     *
7359     * @param obj The scroller object
7360     * @param policy_h Horizontal scrollbar policy
7361     * @param policy_v Vertical scrollbar policy
7362     *
7363     * This sets the scrollbar visibility policy for the given scroller.
7364     * ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it is
7365     * needed, and otherwise kept hidden. ELM_SCROLLER_POLICY_ON turns it on all
7366     * the time, and ELM_SCROLLER_POLICY_OFF always keeps it off. This applies
7367     * respectively for the horizontal and vertical scrollbars.
7368     */
7369    EAPI void         elm_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
7370    /**
7371     * @brief Gets scrollbar visibility policy
7372     *
7373     * @param obj The scroller object
7374     * @param policy_h Horizontal scrollbar policy
7375     * @param policy_v Vertical scrollbar policy
7376     *
7377     * @see elm_scroller_policy_set()
7378     */
7379    EAPI void         elm_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) EINA_ARG_NONNULL(1);
7380    /**
7381     * @brief Get the currently visible content region
7382     *
7383     * @param obj The scroller object
7384     * @param x X coordinate of the region
7385     * @param y Y coordinate of the region
7386     * @param w Width of the region
7387     * @param h Height of the region
7388     *
7389     * This gets the current region in the content object that is visible through
7390     * the scroller. The region co-ordinates are returned in the @p x, @p y, @p
7391     * w, @p h values pointed to.
7392     *
7393     * @note All coordinates are relative to the content.
7394     *
7395     * @see elm_scroller_region_show()
7396     */
7397    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);
7398    /**
7399     * @brief Get the size of the content object
7400     *
7401     * @param obj The scroller object
7402     * @param w Width of the content object.
7403     * @param h Height of the content object.
7404     *
7405     * This gets the size of the content object of the scroller.
7406     */
7407    EAPI void         elm_scroller_child_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
7408    /**
7409     * @brief Set bouncing behavior
7410     *
7411     * @param obj The scroller object
7412     * @param h_bounce Allow bounce horizontally
7413     * @param v_bounce Allow bounce vertically
7414     *
7415     * When scrolling, the scroller may "bounce" when reaching an edge of the
7416     * content object. This is a visual way to indicate the end has been reached.
7417     * This is enabled by default for both axis. This API will set if it is enabled
7418     * for the given axis with the boolean parameters for each axis.
7419     */
7420    EAPI void         elm_scroller_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
7421    /**
7422     * @brief Get the bounce behaviour
7423     *
7424     * @param obj The Scroller object
7425     * @param h_bounce Will the scroller bounce horizontally or not
7426     * @param v_bounce Will the scroller bounce vertically or not
7427     *
7428     * @see elm_scroller_bounce_set()
7429     */
7430    EAPI void         elm_scroller_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
7431    /**
7432     * @brief Set scroll page size relative to viewport size.
7433     *
7434     * @param obj The scroller object
7435     * @param h_pagerel The horizontal page relative size
7436     * @param v_pagerel The vertical page relative size
7437     *
7438     * The scroller is capable of limiting scrolling by the user to "pages". That
7439     * is to jump by and only show a "whole page" at a time as if the continuous
7440     * area of the scroller content is split into page sized pieces. This sets
7441     * the size of a page relative to the viewport of the scroller. 1.0 is "1
7442     * viewport" is size (horizontally or vertically). 0.0 turns it off in that
7443     * axis. This is mutually exclusive with page size
7444     * (see elm_scroller_page_size_set()  for more information). Likewise 0.5
7445     * is "half a viewport". Sane usable values are normally between 0.0 and 1.0
7446     * including 1.0. If you only want 1 axis to be page "limited", use 0.0 for
7447     * the other axis.
7448     */
7449    EAPI void         elm_scroller_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel) EINA_ARG_NONNULL(1);
7450    /**
7451     * @brief Set scroll page size.
7452     *
7453     * @param obj The scroller object
7454     * @param h_pagesize The horizontal page size
7455     * @param v_pagesize The vertical page size
7456     *
7457     * This sets the page size to an absolute fixed value, with 0 turning it off
7458     * for that axis.
7459     *
7460     * @see elm_scroller_page_relative_set()
7461     */
7462    EAPI void         elm_scroller_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize) EINA_ARG_NONNULL(1);
7463    /**
7464     * @brief Get scroll current page number.
7465     *
7466     * @param obj The scroller object
7467     * @param h_pagenumber The horizontal page number
7468     * @param v_pagenumber The vertical page number
7469     *
7470     * The page number starts from 0. 0 is the first page.
7471     * Current page means the page which meets the top-left of the viewport.
7472     * If there are two or more pages in the viewport, it returns the number of the page
7473     * which meets the top-left of the viewport.
7474     *
7475     * @see elm_scroller_last_page_get()
7476     * @see elm_scroller_page_show()
7477     * @see elm_scroller_page_brint_in()
7478     */
7479    EAPI void         elm_scroller_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
7480    /**
7481     * @brief Get scroll last page number.
7482     *
7483     * @param obj The scroller object
7484     * @param h_pagenumber The horizontal page number
7485     * @param v_pagenumber The vertical page number
7486     *
7487     * The page number starts from 0. 0 is the first page.
7488     * This returns the last page number among the pages.
7489     *
7490     * @see elm_scroller_current_page_get()
7491     * @see elm_scroller_page_show()
7492     * @see elm_scroller_page_brint_in()
7493     */
7494    EAPI void         elm_scroller_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber) EINA_ARG_NONNULL(1);
7495    /**
7496     * Show a specific virtual region within the scroller content object by page number.
7497     *
7498     * @param obj The scroller object
7499     * @param h_pagenumber The horizontal page number
7500     * @param v_pagenumber The vertical page number
7501     *
7502     * 0, 0 of the indicated page is located at the top-left of the viewport.
7503     * This will jump to the page directly without animation.
7504     *
7505     * Example of usage:
7506     *
7507     * @code
7508     * sc = elm_scroller_add(win);
7509     * elm_scroller_content_set(sc, content);
7510     * elm_scroller_page_relative_set(sc, 1, 0);
7511     * elm_scroller_current_page_get(sc, &h_page, &v_page);
7512     * elm_scroller_page_show(sc, h_page + 1, v_page);
7513     * @endcode
7514     *
7515     * @see elm_scroller_page_bring_in()
7516     */
7517    EAPI void         elm_scroller_page_show(Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
7518    /**
7519     * Show a specific virtual region within the scroller content object by page number.
7520     *
7521     * @param obj The scroller object
7522     * @param h_pagenumber The horizontal page number
7523     * @param v_pagenumber The vertical page number
7524     *
7525     * 0, 0 of the indicated page is located at the top-left of the viewport.
7526     * This will slide to the page with animation.
7527     *
7528     * Example of usage:
7529     *
7530     * @code
7531     * sc = elm_scroller_add(win);
7532     * elm_scroller_content_set(sc, content);
7533     * elm_scroller_page_relative_set(sc, 1, 0);
7534     * elm_scroller_last_page_get(sc, &h_page, &v_page);
7535     * elm_scroller_page_bring_in(sc, h_page, v_page);
7536     * @endcode
7537     *
7538     * @see elm_scroller_page_show()
7539     */
7540    EAPI void         elm_scroller_page_bring_in(Evas_Object *obj, int h_pagenumber, int v_pagenumber) EINA_ARG_NONNULL(1);
7541    /**
7542     * @brief Show a specific virtual region within the scroller content object.
7543     *
7544     * @param obj The scroller object
7545     * @param x X coordinate of the region
7546     * @param y Y coordinate of the region
7547     * @param w Width of the region
7548     * @param h Height of the region
7549     *
7550     * This will ensure all (or part if it does not fit) of the designated
7551     * region in the virtual content object (0, 0 starting at the top-left of the
7552     * virtual content object) is shown within the scroller. Unlike
7553     * elm_scroller_region_show(), this allow the scroller to "smoothly slide"
7554     * to this location (if configuration in general calls for transitions). It
7555     * may not jump immediately to the new location and make take a while and
7556     * show other content along the way.
7557     *
7558     * @see elm_scroller_region_show()
7559     */
7560    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);
7561    /**
7562     * @brief Set event propagation on a scroller
7563     *
7564     * @param obj The scroller object
7565     * @param propagation If propagation is enabled or not
7566     *
7567     * This enables or disabled event propagation from the scroller content to
7568     * the scroller and its parent. By default event propagation is disabled.
7569     */
7570    EAPI void         elm_scroller_propagate_events_set(Evas_Object *obj, Eina_Bool propagation) EINA_ARG_NONNULL(1);
7571    /**
7572     * @brief Get event propagation for a scroller
7573     *
7574     * @param obj The scroller object
7575     * @return The propagation state
7576     *
7577     * This gets the event propagation for a scroller.
7578     *
7579     * @see elm_scroller_propagate_events_set()
7580     */
7581    EAPI Eina_Bool    elm_scroller_propagate_events_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7582    /**
7583     * @brief Set scrolling gravity on a scroller
7584     *
7585     * @param obj The scroller object
7586     * @param x The scrolling horizontal gravity
7587     * @param y The scrolling vertical gravity
7588     *
7589     * The gravity, defines how the scroller will adjust its view
7590     * when the size of the scroller contents increase.
7591     *
7592     * The scroller will adjust the view to glue itself as follows.
7593     *
7594     *  x=0.0, for showing the left most region of the content.
7595     *  x=1.0, for showing the right most region of the content.
7596     *  y=0.0, for showing the bottom most region of the content.
7597     *  y=1.0, for showing the top most region of the content.
7598     *
7599     * Default values for x and y are 0.0
7600     */
7601    EAPI void         elm_scroller_gravity_set(Evas_Object *obj, double x, double y) EINA_ARG_NONNULL(1);
7602    /**
7603     * @brief Get scrolling gravity values for a scroller
7604     *
7605     * @param obj The scroller object
7606     * @param x The scrolling horizontal gravity
7607     * @param y The scrolling vertical gravity
7608     *
7609     * This gets gravity values for a scroller.
7610     *
7611     * @see elm_scroller_gravity_set()
7612     *
7613     */
7614    EAPI void         elm_scroller_gravity_get(const Evas_Object *obj, double *x, double *y) EINA_ARG_NONNULL(1);
7615    /**
7616     * @}
7617     */
7618
7619    /**
7620     * @defgroup Label Label
7621     *
7622     * @image html img/widget/label/preview-00.png
7623     * @image latex img/widget/label/preview-00.eps
7624     *
7625     * @brief Widget to display text, with simple html-like markup.
7626     *
7627     * The Label widget @b doesn't allow text to overflow its boundaries, if the
7628     * text doesn't fit the geometry of the label it will be ellipsized or be
7629     * cut. Elementary provides several styles for this widget:
7630     * @li default - No animation
7631     * @li marker - Centers the text in the label and make it bold by default
7632     * @li slide_long - The entire text appears from the right of the screen and
7633     * slides until it disappears in the left of the screen(reappering on the
7634     * right again).
7635     * @li slide_short - The text appears in the left of the label and slides to
7636     * the right to show the overflow. When all of the text has been shown the
7637     * position is reset.
7638     * @li slide_bounce - The text appears in the left of the label and slides to
7639     * the right to show the overflow. When all of the text has been shown the
7640     * animation reverses, moving the text to the left.
7641     *
7642     * Custom themes can of course invent new markup tags and style them any way
7643     * they like.
7644     *
7645     * The following signals may be emitted by the label widget:
7646     * @li "language,changed": The program's language changed.
7647     *
7648     * See @ref tutorial_label for a demonstration of how to use a label widget.
7649     * @{
7650     */
7651    /**
7652     * @brief Add a new label to the parent
7653     *
7654     * @param parent The parent object
7655     * @return The new object or NULL if it cannot be created
7656     */
7657    EAPI Evas_Object *elm_label_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7658    /**
7659     * @brief Set the label on the label object
7660     *
7661     * @param obj The label object
7662     * @param label The label will be used on the label object
7663     * @deprecated See elm_object_text_set()
7664     */
7665    EINA_DEPRECATED EAPI void elm_label_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1); /* deprecated, use elm_object_text_set instead */
7666    /**
7667     * @brief Get the label used on the label object
7668     *
7669     * @param obj The label object
7670     * @return The string inside the label
7671     * @deprecated See elm_object_text_get()
7672     */
7673    EINA_DEPRECATED EAPI const char *elm_label_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1); /* deprecated, use elm_object_text_get instead */
7674    /**
7675     * @brief Set the wrapping behavior of the label
7676     *
7677     * @param obj The label object
7678     * @param wrap To wrap text or not
7679     *
7680     * By default no wrapping is done. Possible values for @p wrap are:
7681     * @li ELM_WRAP_NONE - No wrapping
7682     * @li ELM_WRAP_CHAR - wrap between characters
7683     * @li ELM_WRAP_WORD - wrap between words
7684     * @li ELM_WRAP_MIXED - Word wrap, and if that fails, char wrap
7685     */
7686    EAPI void         elm_label_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
7687    /**
7688     * @brief Get the wrapping behavior of the label
7689     *
7690     * @param obj The label object
7691     * @return Wrap type
7692     *
7693     * @see elm_label_line_wrap_set()
7694     */
7695    EAPI Elm_Wrap_Type elm_label_line_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7696    /**
7697     * @brief Set wrap width of the label
7698     *
7699     * @param obj The label object
7700     * @param w The wrap width in pixels at a minimum where words need to wrap
7701     *
7702     * This function sets the maximum width size hint of the label.
7703     *
7704     * @warning This is only relevant if the label is inside a container.
7705     */
7706    EAPI void         elm_label_wrap_width_set(Evas_Object *obj, Evas_Coord w) EINA_ARG_NONNULL(1);
7707    /**
7708     * @brief Get wrap width of the label
7709     *
7710     * @param obj The label object
7711     * @return The wrap width in pixels at a minimum where words need to wrap
7712     *
7713     * @see elm_label_wrap_width_set()
7714     */
7715    EAPI Evas_Coord   elm_label_wrap_width_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7716    /**
7717     * @brief Set wrap height of the label
7718     *
7719     * @param obj The label object
7720     * @param h The wrap height in pixels at a minimum where words need to wrap
7721     *
7722     * This function sets the maximum height size hint of the label.
7723     *
7724     * @warning This is only relevant if the label is inside a container.
7725     */
7726    EAPI void         elm_label_wrap_height_set(Evas_Object *obj, Evas_Coord h) EINA_ARG_NONNULL(1);
7727    /**
7728     * @brief get wrap width of the label
7729     *
7730     * @param obj The label object
7731     * @return The wrap height in pixels at a minimum where words need to wrap
7732     */
7733    EAPI Evas_Coord   elm_label_wrap_height_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7734    /**
7735     * @brief Set the font size on the label object.
7736     *
7737     * @param obj The label object
7738     * @param size font size
7739     *
7740     * @warning NEVER use this. It is for hyper-special cases only. use styles
7741     * instead. e.g. "default", "marker", "slide_long" etc.
7742     */
7743    EAPI void         elm_label_fontsize_set(Evas_Object *obj, int fontsize) EINA_ARG_NONNULL(1);
7744    /**
7745     * @brief Set the text color on the label object
7746     *
7747     * @param obj The label object
7748     * @param r Red property background color of The label object
7749     * @param g Green property background color of The label object
7750     * @param b Blue property background color of The label object
7751     * @param a Alpha property background color of The label object
7752     *
7753     * @warning NEVER use this. It is for hyper-special cases only. use styles
7754     * instead. e.g. "default", "marker", "slide_long" etc.
7755     */
7756    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);
7757    /**
7758     * @brief Set the text align on the label object
7759     *
7760     * @param obj The label object
7761     * @param align align mode ("left", "center", "right")
7762     *
7763     * @warning NEVER use this. It is for hyper-special cases only. use styles
7764     * instead. e.g. "default", "marker", "slide_long" etc.
7765     */
7766    EAPI void         elm_label_text_align_set(Evas_Object *obj, const char *alignmode) EINA_ARG_NONNULL(1);
7767    /**
7768     * @brief Set background color of the label
7769     *
7770     * @param obj The label object
7771     * @param r Red property background color of The label object
7772     * @param g Green property background color of The label object
7773     * @param b Blue property background color of The label object
7774     * @param a Alpha property background alpha of The label object
7775     *
7776     * @warning NEVER use this. It is for hyper-special cases only. use styles
7777     * instead. e.g. "default", "marker", "slide_long" etc.
7778     */
7779    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);
7780    /**
7781     * @brief Set the ellipsis behavior of the label
7782     *
7783     * @param obj The label object
7784     * @param ellipsis To ellipsis text or not
7785     *
7786     * If set to true and the text doesn't fit in the label an ellipsis("...")
7787     * will be shown at the end of the widget.
7788     *
7789     * @warning This doesn't work with slide(elm_label_slide_set()) or if the
7790     * choosen wrap method was ELM_WRAP_WORD.
7791     */
7792    EAPI void         elm_label_ellipsis_set(Evas_Object *obj, Eina_Bool ellipsis) EINA_ARG_NONNULL(1);
7793    /**
7794     * @brief Set the text slide of the label
7795     *
7796     * @param obj The label object
7797     * @param slide To start slide or stop
7798     *
7799     * If set to true, the text of the label will slide/scroll through the length of
7800     * label.
7801     *
7802     * @warning This only works with the themes "slide_short", "slide_long" and
7803     * "slide_bounce".
7804     */
7805    EAPI void         elm_label_slide_set(Evas_Object *obj, Eina_Bool slide) EINA_ARG_NONNULL(1);
7806    /**
7807     * @brief Get the text slide mode of the label
7808     *
7809     * @param obj The label object
7810     * @return slide slide mode value
7811     *
7812     * @see elm_label_slide_set()
7813     */
7814    EAPI Eina_Bool    elm_label_slide_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
7815    /**
7816     * @brief Set the slide duration(speed) of the label
7817     *
7818     * @param obj The label object
7819     * @return The duration in seconds in moving text from slide begin position
7820     * to slide end position
7821     */
7822    EAPI void         elm_label_slide_duration_set(Evas_Object *obj, double duration) EINA_ARG_NONNULL(1);
7823    /**
7824     * @brief Get the slide duration(speed) of the label
7825     *
7826     * @param obj The label object
7827     * @return The duration time in moving text from slide begin position to slide end position
7828     *
7829     * @see elm_label_slide_duration_set()
7830     */
7831    EAPI double       elm_label_slide_duration_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
7832    /**
7833     * @}
7834     */
7835
7836    /**
7837     * @defgroup Frame Frame
7838     *
7839     * @image html img/widget/frame/preview-00.png
7840     * @image latex img/widget/frame/preview-00.eps
7841     *
7842     * @brief Frame is a widget that holds some content and has a title.
7843     *
7844     * The default look is a frame with a title, but Frame supports multple
7845     * styles:
7846     * @li default
7847     * @li pad_small
7848     * @li pad_medium
7849     * @li pad_large
7850     * @li pad_huge
7851     * @li outdent_top
7852     * @li outdent_bottom
7853     *
7854     * Of all this styles only default shows the title. Frame emits no signals.
7855     *
7856     * Default contents parts of the frame widget that you can use for are:
7857     * @li "default" - A content of the frame
7858     *
7859     * Default text parts of the frame widget that you can use for are:
7860     * @li "elm.text" - Label of the frame
7861     *
7862     * For a detailed example see the @ref tutorial_frame.
7863     *
7864     * @{
7865     */
7866    /**
7867     * @brief Add a new frame to the parent
7868     *
7869     * @param parent The parent object
7870     * @return The new object or NULL if it cannot be created
7871     */
7872    EAPI Evas_Object *elm_frame_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7873    /**
7874     * @brief Set the frame label
7875     *
7876     * @param obj The frame object
7877     * @param label The label of this frame object
7878     *
7879     * @deprecated use elm_object_text_set() instead.
7880     */
7881    EINA_DEPRECATED EAPI void         elm_frame_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
7882    /**
7883     * @brief Get the frame label
7884     *
7885     * @param obj The frame object
7886     *
7887     * @return The label of this frame objet or NULL if unable to get frame
7888     *
7889     * @deprecated use elm_object_text_get() instead.
7890     */
7891    EINA_DEPRECATED EAPI const char  *elm_frame_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7892    /**
7893     * @brief Set the content of the frame widget
7894     *
7895     * Once the content object is set, a previously set one will be deleted.
7896     * If you want to keep that old content object, use the
7897     * elm_frame_content_unset() function.
7898     *
7899     * @param obj The frame object
7900     * @param content The content will be filled in this frame object
7901     *
7902     * @deprecated use elm_object_content_set() instead.
7903     */
7904    WILL_DEPRECATE  EAPI void         elm_frame_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
7905    /**
7906     * @brief Get the content of the frame widget
7907     *
7908     * Return the content object which is set for this widget
7909     *
7910     * @param obj The frame object
7911     * @return The content that is being used
7912     *
7913     * @deprecated use elm_object_content_get() instead.
7914     */
7915    WILL_DEPRECATE  EAPI Evas_Object *elm_frame_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7916    /**
7917     * @brief Unset the content of the frame widget
7918     *
7919     * Unparent and return the content object which was set for this widget
7920     *
7921     * @param obj The frame object
7922     * @return The content that was being used
7923     *
7924     * @deprecated use elm_object_content_unset() instead.
7925     */
7926    WILL_DEPRECATE  EAPI Evas_Object *elm_frame_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
7927    /**
7928     * @}
7929     */
7930
7931    /**
7932     * @defgroup Table Table
7933     *
7934     * A container widget to arrange other widgets in a table where items can
7935     * also span multiple columns or rows - even overlap (and then be raised or
7936     * lowered accordingly to adjust stacking if they do overlap).
7937     *
7938     * For a Table widget the row/column count is not fixed.
7939     * The table widget adjusts itself when subobjects are added to it dynamically.
7940     *
7941     * The followin are examples of how to use a table:
7942     * @li @ref tutorial_table_01
7943     * @li @ref tutorial_table_02
7944     *
7945     * @{
7946     */
7947    /**
7948     * @brief Add a new table to the parent
7949     *
7950     * @param parent The parent object
7951     * @return The new object or NULL if it cannot be created
7952     */
7953    EAPI Evas_Object *elm_table_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
7954    /**
7955     * @brief Set the homogeneous layout in the table
7956     *
7957     * @param obj The layout object
7958     * @param homogeneous A boolean to set if the layout is homogeneous in the
7959     * table (EINA_TRUE = homogeneous,  EINA_FALSE = no homogeneous)
7960     */
7961    EAPI void         elm_table_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
7962    /**
7963     * @brief Get the current table homogeneous mode.
7964     *
7965     * @param obj The table object
7966     * @return A boolean to indicating if the layout is homogeneous in the table
7967     * (EINA_TRUE = homogeneous,  EINA_FALSE = no homogeneous)
7968     */
7969    EAPI Eina_Bool    elm_table_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7970    /**
7971     * @warning <b>Use elm_table_homogeneous_set() instead</b>
7972     */
7973    EINA_DEPRECATED EAPI void elm_table_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
7974    /**
7975     * @warning <b>Use elm_table_homogeneous_get() instead</b>
7976     */
7977    EINA_DEPRECATED EAPI Eina_Bool elm_table_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
7978    /**
7979     * @brief Set padding between cells.
7980     *
7981     * @param obj The layout object.
7982     * @param horizontal set the horizontal padding.
7983     * @param vertical set the vertical padding.
7984     *
7985     * Default value is 0.
7986     */
7987    EAPI void         elm_table_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical) EINA_ARG_NONNULL(1);
7988    /**
7989     * @brief Get padding between cells.
7990     *
7991     * @param obj The layout object.
7992     * @param horizontal set the horizontal padding.
7993     * @param vertical set the vertical padding.
7994     */
7995    EAPI void         elm_table_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical) EINA_ARG_NONNULL(1);
7996    /**
7997     * @brief Add a subobject on the table with the coordinates passed
7998     *
7999     * @param obj The table object
8000     * @param subobj The subobject to be added to the table
8001     * @param x Row number
8002     * @param y Column number
8003     * @param w rowspan
8004     * @param h colspan
8005     *
8006     * @note All positioning inside the table is relative to rows and columns, so
8007     * a value of 0 for x and y, means the top left cell of the table, and a
8008     * value of 1 for w and h means @p subobj only takes that 1 cell.
8009     */
8010    EAPI void         elm_table_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
8011    /**
8012     * @brief Remove child from table.
8013     *
8014     * @param obj The table object
8015     * @param subobj The subobject
8016     */
8017    EAPI void         elm_table_unpack(Evas_Object *obj, Evas_Object *subobj) EINA_ARG_NONNULL(1);
8018    /**
8019     * @brief Faster way to remove all child objects from a table object.
8020     *
8021     * @param obj The table object
8022     * @param clear If true, will delete children, else just remove from table.
8023     */
8024    EAPI void         elm_table_clear(Evas_Object *obj, Eina_Bool clear) EINA_ARG_NONNULL(1);
8025    /**
8026     * @brief Set the packing location of an existing child of the table
8027     *
8028     * @param subobj The subobject to be modified in the table
8029     * @param x Row number
8030     * @param y Column number
8031     * @param w rowspan
8032     * @param h colspan
8033     *
8034     * Modifies the position of an object already in the table.
8035     *
8036     * @note All positioning inside the table is relative to rows and columns, so
8037     * a value of 0 for x and y, means the top left cell of the table, and a
8038     * value of 1 for w and h means @p subobj only takes that 1 cell.
8039     */
8040    EAPI void         elm_table_pack_set(Evas_Object *subobj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
8041    /**
8042     * @brief Get the packing location of an existing child of the table
8043     *
8044     * @param subobj The subobject to be modified in the table
8045     * @param x Row number
8046     * @param y Column number
8047     * @param w rowspan
8048     * @param h colspan
8049     *
8050     * @see elm_table_pack_set()
8051     */
8052    EAPI void         elm_table_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
8053    /**
8054     * @}
8055     */
8056
8057    /**
8058     * @defgroup Gengrid Gengrid (Generic grid)
8059     *
8060     * This widget aims to position objects in a grid layout while
8061     * actually creating and rendering only the visible ones, using the
8062     * same idea as the @ref Genlist "genlist": the user defines a @b
8063     * class for each item, specifying functions that will be called at
8064     * object creation, deletion, etc. When those items are selected by
8065     * the user, a callback function is issued. Users may interact with
8066     * a gengrid via the mouse (by clicking on items to select them and
8067     * clicking on the grid's viewport and swiping to pan the whole
8068     * view) or via the keyboard, navigating through item with the
8069     * arrow keys.
8070     *
8071     * @section Gengrid_Layouts Gengrid layouts
8072     *
8073     * Gengrid may layout its items in one of two possible layouts:
8074     * - horizontal or
8075     * - vertical.
8076     *
8077     * When in "horizontal mode", items will be placed in @b columns,
8078     * from top to bottom and, when the space for a column is filled,
8079     * another one is started on the right, thus expanding the grid
8080     * horizontally, making for horizontal scrolling. When in "vertical
8081     * mode" , though, items will be placed in @b rows, from left to
8082     * right and, when the space for a row is filled, another one is
8083     * started below, thus expanding the grid vertically (and making
8084     * for vertical scrolling).
8085     *
8086     * @section Gengrid_Items Gengrid items
8087     *
8088     * An item in a gengrid can have 0 or more text labels (they can be
8089     * regular text or textblock Evas objects - that's up to the style
8090     * to determine), 0 or more icons (which are simply objects
8091     * swallowed into the gengrid item's theming Edje object) and 0 or
8092     * more <b>boolean states</b>, which have the behavior left to the
8093     * user to define. The Edje part names for each of these properties
8094     * will be looked up, in the theme file for the gengrid, under the
8095     * Edje (string) data items named @c "labels", @c "icons" and @c
8096     * "states", respectively. For each of those properties, if more
8097     * than one part is provided, they must have names listed separated
8098     * by spaces in the data fields. For the default gengrid item
8099     * theme, we have @b one label part (@c "elm.text"), @b two icon
8100     * parts (@c "elm.swalllow.icon" and @c "elm.swallow.end") and @b
8101     * no state parts.
8102     *
8103     * A gengrid item may be at one of several styles. Elementary
8104     * provides one by default - "default", but this can be extended by
8105     * system or application custom themes/overlays/extensions (see
8106     * @ref Theme "themes" for more details).
8107     *
8108     * @section Gengrid_Item_Class Gengrid item classes
8109     *
8110     * In order to have the ability to add and delete items on the fly,
8111     * gengrid implements a class (callback) system where the
8112     * application provides a structure with information about that
8113     * type of item (gengrid may contain multiple different items with
8114     * different classes, states and styles). Gengrid will call the
8115     * functions in this struct (methods) when an item is "realized"
8116     * (i.e., created dynamically, while the user is scrolling the
8117     * grid). All objects will simply be deleted when no longer needed
8118     * with evas_object_del(). The #Elm_GenGrid_Item_Class structure
8119     * contains the following members:
8120     * - @c item_style - This is a constant string and simply defines
8121     * the name of the item style. It @b must be specified and the
8122     * default should be @c "default".
8123     * - @c func.label_get - This function is called when an item
8124     * object is actually created. The @c data parameter will point to
8125     * the same data passed to elm_gengrid_item_append() and related
8126     * item creation functions. The @c obj parameter is the gengrid
8127     * object itself, while the @c part one is the name string of one
8128     * of the existing text parts in the Edje group implementing the
8129     * item's theme. This function @b must return a strdup'()ed string,
8130     * as the caller will free() it when done. See
8131     * #Elm_Gengrid_Item_Label_Get_Cb.
8132     * - @c func.content_get - This function is called when an item object
8133     * is actually created. The @c data parameter will point to the
8134     * same data passed to elm_gengrid_item_append() and related item
8135     * creation functions. The @c obj parameter is the gengrid object
8136     * itself, while the @c part one is the name string of one of the
8137     * existing (content) swallow parts in the Edje group implementing the
8138     * item's theme. It must return @c NULL, when no content is desired,
8139     * or a valid object handle, otherwise. The object will be deleted
8140     * by the gengrid on its deletion or when the item is "unrealized".
8141     * See #Elm_Gengrid_Item_Content_Get_Cb.
8142     * - @c func.state_get - This function is called when an item
8143     * object is actually created. The @c data parameter will point to
8144     * the same data passed to elm_gengrid_item_append() and related
8145     * item creation functions. The @c obj parameter is the gengrid
8146     * object itself, while the @c part one is the name string of one
8147     * of the state parts in the Edje group implementing the item's
8148     * theme. Return @c EINA_FALSE for false/off or @c EINA_TRUE for
8149     * true/on. Gengrids will emit a signal to its theming Edje object
8150     * with @c "elm,state,XXX,active" and @c "elm" as "emission" and
8151     * "source" arguments, respectively, when the state is true (the
8152     * default is false), where @c XXX is the name of the (state) part.
8153     * See #Elm_Gengrid_Item_State_Get_Cb.
8154     * - @c func.del - This is called when elm_gengrid_item_del() is
8155     * called on an item or elm_gengrid_clear() is called on the
8156     * gengrid. This is intended for use when gengrid items are
8157     * deleted, so any data attached to the item (e.g. its data
8158     * parameter on creation) can be deleted. See #Elm_Gengrid_Item_Del_Cb.
8159     *
8160     * @section Gengrid_Usage_Hints Usage hints
8161     *
8162     * If the user wants to have multiple items selected at the same
8163     * time, elm_gengrid_multi_select_set() will permit it. If the
8164     * gengrid is single-selection only (the default), then
8165     * elm_gengrid_select_item_get() will return the selected item or
8166     * @c NULL, if none is selected. If the gengrid is under
8167     * multi-selection, then elm_gengrid_selected_items_get() will
8168     * return a list (that is only valid as long as no items are
8169     * modified (added, deleted, selected or unselected) of child items
8170     * on a gengrid.
8171     *
8172     * If an item changes (internal (boolean) state, label or content 
8173     * changes), then use elm_gengrid_item_update() to have gengrid
8174     * update the item with the new state. A gengrid will re-"realize"
8175     * the item, thus calling the functions in the
8176     * #Elm_Gengrid_Item_Class set for that item.
8177     *
8178     * To programmatically (un)select an item, use
8179     * elm_gengrid_item_selected_set(). To get its selected state use
8180     * elm_gengrid_item_selected_get(). To make an item disabled
8181     * (unable to be selected and appear differently) use
8182     * elm_gengrid_item_disabled_set() to set this and
8183     * elm_gengrid_item_disabled_get() to get the disabled state.
8184     *
8185     * Grid cells will only have their selection smart callbacks called
8186     * when firstly getting selected. Any further clicks will do
8187     * nothing, unless you enable the "always select mode", with
8188     * elm_gengrid_always_select_mode_set(), thus making every click to
8189     * issue selection callbacks. elm_gengrid_no_select_mode_set() will
8190     * turn off the ability to select items entirely in the widget and
8191     * they will neither appear selected nor call the selection smart
8192     * callbacks.
8193     *
8194     * Remember that you can create new styles and add your own theme
8195     * augmentation per application with elm_theme_extension_add(). If
8196     * you absolutely must have a specific style that overrides any
8197     * theme the user or system sets up you can use
8198     * elm_theme_overlay_add() to add such a file.
8199     *
8200     * @section Gengrid_Smart_Events Gengrid smart events
8201     *
8202     * Smart events that you can add callbacks for are:
8203     * - @c "activated" - The user has double-clicked or pressed
8204     *   (enter|return|spacebar) on an item. The @c event_info parameter
8205     *   is the gengrid item that was activated.
8206     * - @c "clicked,double" - The user has double-clicked an item.
8207     *   The @c event_info parameter is the gengrid item that was double-clicked.
8208     * - @c "longpressed" - This is called when the item is pressed for a certain
8209     *   amount of time. By default it's 1 second.
8210     * - @c "selected" - The user has made an item selected. The
8211     *   @c event_info parameter is the gengrid item that was selected.
8212     * - @c "unselected" - The user has made an item unselected. The
8213     *   @c event_info parameter is the gengrid item that was unselected.
8214     * - @c "realized" - This is called when the item in the gengrid
8215     *   has its implementing Evas object instantiated, de facto. @c
8216     *   event_info is the gengrid item that was created. The object
8217     *   may be deleted at any time, so it is highly advised to the
8218     *   caller @b not to use the object pointer returned from
8219     *   elm_gengrid_item_object_get(), because it may point to freed
8220     *   objects.
8221     * - @c "unrealized" - This is called when the implementing Evas
8222     *   object for this item is deleted. @c event_info is the gengrid
8223     *   item that was deleted.
8224     * - @c "changed" - Called when an item is added, removed, resized
8225     *   or moved and when the gengrid is resized or gets "horizontal"
8226     *   property changes.
8227     * - @c "scroll,anim,start" - This is called when scrolling animation has
8228     *   started.
8229     * - @c "scroll,anim,stop" - This is called when scrolling animation has
8230     *   stopped.
8231     * - @c "drag,start,up" - Called when the item in the gengrid has
8232     *   been dragged (not scrolled) up.
8233     * - @c "drag,start,down" - Called when the item in the gengrid has
8234     *   been dragged (not scrolled) down.
8235     * - @c "drag,start,left" - Called when the item in the gengrid has
8236     *   been dragged (not scrolled) left.
8237     * - @c "drag,start,right" - Called when the item in the gengrid has
8238     *   been dragged (not scrolled) right.
8239     * - @c "drag,stop" - Called when the item in the gengrid has
8240     *   stopped being dragged.
8241     * - @c "drag" - Called when the item in the gengrid is being
8242     *   dragged.
8243     * - @c "scroll" - called when the content has been scrolled
8244     *   (moved).
8245     * - @c "scroll,drag,start" - called when dragging the content has
8246     *   started.
8247     * - @c "scroll,drag,stop" - called when dragging the content has
8248     *   stopped.
8249     * - @c "edge,top" - This is called when the gengrid is scrolled until
8250     *   the top edge.
8251     * - @c "edge,bottom" - This is called when the gengrid is scrolled
8252     *   until the bottom edge.
8253     * - @c "edge,left" - This is called when the gengrid is scrolled
8254     *   until the left edge.
8255     * - @c "edge,right" - This is called when the gengrid is scrolled
8256     *   until the right edge.
8257     *
8258     * List of gengrid examples:
8259     * @li @ref gengrid_example
8260     */
8261
8262    /**
8263     * @addtogroup Gengrid
8264     * @{
8265     */
8266
8267    typedef struct _Elm_Gengrid_Item_Class Elm_Gengrid_Item_Class; /**< Gengrid item class definition structs */
8268    typedef struct _Elm_Gengrid_Item Elm_Gengrid_Item; /**< Gengrid item handles */
8269    typedef struct _Elm_Gengrid_Item_Class_Func Elm_Gengrid_Item_Class_Func; /**< Class functions for gengrid item classes. */
8270    /**
8271     * Label fetching class function for Elm_Gen_Item_Class.
8272     * @param data The data passed in the item creation function
8273     * @param obj The base widget object
8274     * @param part The part name of the swallow
8275     * @return The allocated (NOT stringshared) string to set as the label
8276     */
8277    typedef char        *(*Elm_Gengrid_Item_Label_Get_Cb) (void *data, Evas_Object *obj, const char *part);
8278    /**
8279     * Content (swallowed object) fetching class function for Elm_Gen_Item_Class.
8280     * @param data The data passed in the item creation function
8281     * @param obj The base widget object
8282     * @param part The part name of the swallow
8283     * @return The content object to swallow
8284     */
8285    typedef Evas_Object *(*Elm_Gengrid_Item_Content_Get_Cb)  (void *data, Evas_Object *obj, const char *part);
8286    /**
8287     * State fetching class function for Elm_Gen_Item_Class.
8288     * @param data The data passed in the item creation function
8289     * @param obj The base widget object
8290     * @param part The part name of the swallow
8291     * @return The hell if I know
8292     */
8293    typedef Eina_Bool    (*Elm_Gengrid_Item_State_Get_Cb) (void *data, Evas_Object *obj, const char *part);
8294    /**
8295     * Deletion class function for Elm_Gen_Item_Class.
8296     * @param data The data passed in the item creation function
8297     * @param obj The base widget object
8298     */
8299    typedef void         (*Elm_Gengrid_Item_Del_Cb)      (void *data, Evas_Object *obj);
8300
8301    /* temporary compatibility code */
8302    typedef Elm_Gengrid_Item_Label_Get_Cb GridItemLabelGetFunc EINA_DEPRECATED;
8303    typedef Elm_Gengrid_Item_Content_Get_Cb GridItemIconGetFunc EINA_DEPRECATED;
8304    typedef Elm_Gengrid_Item_State_Get_Cb GridItemStateGetFunc EINA_DEPRECATED;
8305    typedef Elm_Gengrid_Item_Del_Cb GridItemDelFunc EINA_DEPRECATED;
8306
8307    /**
8308     * @struct _Elm_Gengrid_Item_Class
8309     *
8310     * Gengrid item class definition. See @ref Gengrid_Item_Class for
8311     * field details.
8312     */
8313    struct _Elm_Gengrid_Item_Class
8314      {
8315         const char             *item_style;
8316         struct _Elm_Gengrid_Item_Class_Func
8317           {
8318              Elm_Gengrid_Item_Label_Get_Cb label_get;
8319              union { /* temporary compatibility code */
8320                Elm_Gengrid_Item_Content_Get_Cb icon_get EINA_DEPRECATED;
8321                Elm_Gengrid_Item_Content_Get_Cb content_get;
8322              };
8323              Elm_Gengrid_Item_State_Get_Cb state_get;
8324              Elm_Gengrid_Item_Del_Cb       del;
8325           } func;
8326      }; /**< #Elm_Gengrid_Item_Class member definitions */
8327    /**
8328     * Add a new gengrid widget to the given parent Elementary
8329     * (container) object
8330     *
8331     * @param parent The parent object
8332     * @return a new gengrid widget handle or @c NULL, on errors
8333     *
8334     * This function inserts a new gengrid widget on the canvas.
8335     *
8336     * @see elm_gengrid_item_size_set()
8337     * @see elm_gengrid_group_item_size_set()
8338     * @see elm_gengrid_horizontal_set()
8339     * @see elm_gengrid_item_append()
8340     * @see elm_gengrid_item_del()
8341     * @see elm_gengrid_clear()
8342     *
8343     * @ingroup Gengrid
8344     */
8345    EAPI Evas_Object       *elm_gengrid_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
8346
8347    /**
8348     * Set the size for the items of a given gengrid widget
8349     *
8350     * @param obj The gengrid object.
8351     * @param w The items' width.
8352     * @param h The items' height;
8353     *
8354     * A gengrid, after creation, has still no information on the size
8355     * to give to each of its cells. So, you most probably will end up
8356     * with squares one @ref Fingers "finger" wide, the default
8357     * size. Use this function to force a custom size for you items,
8358     * making them as big as you wish.
8359     *
8360     * @see elm_gengrid_item_size_get()
8361     *
8362     * @ingroup Gengrid
8363     */
8364    EAPI void               elm_gengrid_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h) EINA_ARG_NONNULL(1);
8365
8366    /**
8367     * Get the size set for the items of a given gengrid widget
8368     *
8369     * @param obj The gengrid object.
8370     * @param w Pointer to a variable where to store the items' width.
8371     * @param h Pointer to a variable where to store the items' height.
8372     *
8373     * @note Use @c NULL pointers on the size values you're not
8374     * interested in: they'll be ignored by the function.
8375     *
8376     * @see elm_gengrid_item_size_get() for more details
8377     *
8378     * @ingroup Gengrid
8379     */
8380    EAPI void               elm_gengrid_item_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) EINA_ARG_NONNULL(1);
8381
8382    /**
8383     * Set the items grid's alignment within a given gengrid widget
8384     *
8385     * @param obj The gengrid object.
8386     * @param align_x Alignment in the horizontal axis (0 <= align_x <= 1).
8387     * @param align_y Alignment in the vertical axis (0 <= align_y <= 1).
8388     *
8389     * This sets the alignment of the whole grid of items of a gengrid
8390     * within its given viewport. By default, those values are both
8391     * 0.5, meaning that the gengrid will have its items grid placed
8392     * exactly in the middle of its viewport.
8393     *
8394     * @note If given alignment values are out of the cited ranges,
8395     * they'll be changed to the nearest boundary values on the valid
8396     * ranges.
8397     *
8398     * @see elm_gengrid_align_get()
8399     *
8400     * @ingroup Gengrid
8401     */
8402    EAPI void               elm_gengrid_align_set(Evas_Object *obj, double align_x, double align_y) EINA_ARG_NONNULL(1);
8403
8404    /**
8405     * Get the items grid's alignment values within a given gengrid
8406     * widget
8407     *
8408     * @param obj The gengrid object.
8409     * @param align_x Pointer to a variable where to store the
8410     * horizontal alignment.
8411     * @param align_y Pointer to a variable where to store the vertical
8412     * alignment.
8413     *
8414     * @note Use @c NULL pointers on the alignment values you're not
8415     * interested in: they'll be ignored by the function.
8416     *
8417     * @see elm_gengrid_align_set() for more details
8418     *
8419     * @ingroup Gengrid
8420     */
8421    EAPI void               elm_gengrid_align_get(const Evas_Object *obj, double *align_x, double *align_y) EINA_ARG_NONNULL(1);
8422
8423    /**
8424     * Set whether a given gengrid widget is or not able have items
8425     * @b reordered
8426     *
8427     * @param obj The gengrid object
8428     * @param reorder_mode Use @c EINA_TRUE to turn reoderding on,
8429     * @c EINA_FALSE to turn it off
8430     *
8431     * If a gengrid is set to allow reordering, a click held for more
8432     * than 0.5 over a given item will highlight it specially,
8433     * signalling the gengrid has entered the reordering state. From
8434     * that time on, the user will be able to, while still holding the
8435     * mouse button down, move the item freely in the gengrid's
8436     * viewport, replacing to said item to the locations it goes to.
8437     * The replacements will be animated and, whenever the user
8438     * releases the mouse button, the item being replaced gets a new
8439     * definitive place in the grid.
8440     *
8441     * @see elm_gengrid_reorder_mode_get()
8442     *
8443     * @ingroup Gengrid
8444     */
8445    EAPI void               elm_gengrid_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) EINA_ARG_NONNULL(1);
8446
8447    /**
8448     * Get whether a given gengrid widget is or not able have items
8449     * @b reordered
8450     *
8451     * @param obj The gengrid object
8452     * @return @c EINA_TRUE, if reoderding is on, @c EINA_FALSE if it's
8453     * off
8454     *
8455     * @see elm_gengrid_reorder_mode_set() for more details
8456     *
8457     * @ingroup Gengrid
8458     */
8459    EAPI Eina_Bool          elm_gengrid_reorder_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8460
8461    /**
8462     * Append a new item in a given gengrid widget.
8463     *
8464     * @param obj The gengrid object.
8465     * @param gic The item class for the item.
8466     * @param data The item data.
8467     * @param func Convenience function called when the item is
8468     * selected.
8469     * @param func_data Data to be passed to @p func.
8470     * @return A handle to the item added or @c NULL, on errors.
8471     *
8472     * This adds an item to the beginning of the gengrid.
8473     *
8474     * @see elm_gengrid_item_prepend()
8475     * @see elm_gengrid_item_insert_before()
8476     * @see elm_gengrid_item_insert_after()
8477     * @see elm_gengrid_item_del()
8478     *
8479     * @ingroup Gengrid
8480     */
8481    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);
8482
8483    /**
8484     * Prepend a new item in a given gengrid widget.
8485     *
8486     * @param obj The gengrid object.
8487     * @param gic The item class for the item.
8488     * @param data The item data.
8489     * @param func Convenience function called when the item is
8490     * selected.
8491     * @param func_data Data to be passed to @p func.
8492     * @return A handle to the item added or @c NULL, on errors.
8493     *
8494     * This adds an item to the end of the gengrid.
8495     *
8496     * @see elm_gengrid_item_append()
8497     * @see elm_gengrid_item_insert_before()
8498     * @see elm_gengrid_item_insert_after()
8499     * @see elm_gengrid_item_del()
8500     *
8501     * @ingroup Gengrid
8502     */
8503    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);
8504
8505    /**
8506     * Insert an item before another in a gengrid widget
8507     *
8508     * @param obj The gengrid object.
8509     * @param gic The item class for the item.
8510     * @param data The item data.
8511     * @param relative The item to place this new one before.
8512     * @param func Convenience function called when the item is
8513     * selected.
8514     * @param func_data Data to be passed to @p func.
8515     * @return A handle to the item added or @c NULL, on errors.
8516     *
8517     * This inserts an item before another in the gengrid.
8518     *
8519     * @see elm_gengrid_item_append()
8520     * @see elm_gengrid_item_prepend()
8521     * @see elm_gengrid_item_insert_after()
8522     * @see elm_gengrid_item_del()
8523     *
8524     * @ingroup Gengrid
8525     */
8526    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);
8527
8528    /**
8529     * Insert an item after another in a gengrid widget
8530     *
8531     * @param obj The gengrid object.
8532     * @param gic The item class for the item.
8533     * @param data The item data.
8534     * @param relative The item to place this new one after.
8535     * @param func Convenience function called when the item is
8536     * selected.
8537     * @param func_data Data to be passed to @p func.
8538     * @return A handle to the item added or @c NULL, on errors.
8539     *
8540     * This inserts an item after another in the gengrid.
8541     *
8542     * @see elm_gengrid_item_append()
8543     * @see elm_gengrid_item_prepend()
8544     * @see elm_gengrid_item_insert_after()
8545     * @see elm_gengrid_item_del()
8546     *
8547     * @ingroup Gengrid
8548     */
8549    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);
8550
8551    /**
8552     * Insert an item in a gengrid widget using a user-defined sort function.
8553     *
8554     * @param obj The gengrid object.
8555     * @param gic The item class for the item.
8556     * @param data The item data.
8557     * @param comp User defined comparison function that defines the sort order based on
8558     * Elm_Gen_Item and its data param.
8559     * @param func Convenience function called when the item is selected.
8560     * @param func_data Data to be passed to @p func.
8561     * @return A handle to the item added or @c NULL, on errors.
8562     *
8563     * This inserts an item in the gengrid based on user defined comparison function.
8564     *
8565     * @see elm_gengrid_item_append()
8566     * @see elm_gengrid_item_prepend()
8567     * @see elm_gengrid_item_insert_after()
8568     * @see elm_gengrid_item_del()
8569     * @see elm_gengrid_item_direct_sorted_insert()
8570     *
8571     * @ingroup Gengrid
8572     */
8573    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);
8574
8575    /**
8576     * Insert an item in a gengrid widget using a user-defined sort function.
8577     *
8578     * @param obj The gengrid object.
8579     * @param gic The item class for the item.
8580     * @param data The item data.
8581     * @param comp User defined comparison function that defines the sort order based on
8582     * Elm_Gen_Item.
8583     * @param func Convenience function called when the item is selected.
8584     * @param func_data Data to be passed to @p func.
8585     * @return A handle to the item added or @c NULL, on errors.
8586     *
8587     * This inserts an item in the gengrid based on user defined comparison function.
8588     *
8589     * @see elm_gengrid_item_append()
8590     * @see elm_gengrid_item_prepend()
8591     * @see elm_gengrid_item_insert_after()
8592     * @see elm_gengrid_item_del()
8593     * @see elm_gengrid_item_sorted_insert()
8594     *
8595     * @ingroup Gengrid
8596     */
8597    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);
8598
8599    /**
8600     * Set whether items on a given gengrid widget are to get their
8601     * selection callbacks issued for @b every subsequent selection
8602     * click on them or just for the first click.
8603     *
8604     * @param obj The gengrid object
8605     * @param always_select @c EINA_TRUE to make items "always
8606     * selected", @c EINA_FALSE, otherwise
8607     *
8608     * By default, grid items will only call their selection callback
8609     * function when firstly getting selected, any subsequent further
8610     * clicks will do nothing. With this call, you make those
8611     * subsequent clicks also to issue the selection callbacks.
8612     *
8613     * @note <b>Double clicks</b> will @b always be reported on items.
8614     *
8615     * @see elm_gengrid_always_select_mode_get()
8616     *
8617     * @ingroup Gengrid
8618     */
8619    WILL_DEPRECATE  EAPI void               elm_gengrid_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
8620
8621    /**
8622     * Get whether items on a given gengrid widget have their selection
8623     * callbacks issued for @b every subsequent selection click on them
8624     * or just for the first click.
8625     *
8626     * @param obj The gengrid object.
8627     * @return @c EINA_TRUE if the gengrid items are "always selected",
8628     * @c EINA_FALSE, otherwise
8629     *
8630     * @see elm_gengrid_always_select_mode_set() for more details
8631     *
8632     * @ingroup Gengrid
8633     */
8634    WILL_DEPRECATE  EAPI Eina_Bool          elm_gengrid_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8635
8636    /**
8637     * Set whether items on a given gengrid widget can be selected or not.
8638     *
8639     * @param obj The gengrid object
8640     * @param no_select @c EINA_TRUE to make items selectable,
8641     * @c EINA_FALSE otherwise
8642     *
8643     * This will make items in @p obj selectable or not. In the latter
8644     * case, any user interaction on the gengrid items will neither make
8645     * them appear selected nor them call their selection callback
8646     * functions.
8647     *
8648     * @see elm_gengrid_no_select_mode_get()
8649     *
8650     * @ingroup Gengrid
8651     */
8652    WILL_DEPRECATE  EAPI void               elm_gengrid_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
8653
8654    /**
8655     * Get whether items on a given gengrid widget can be selected or
8656     * not.
8657     *
8658     * @param obj The gengrid object
8659     * @return @c EINA_TRUE, if items are selectable, @c EINA_FALSE
8660     * otherwise
8661     *
8662     * @see elm_gengrid_no_select_mode_set() for more details
8663     *
8664     * @ingroup Gengrid
8665     */
8666    WILL_DEPRECATE  EAPI Eina_Bool          elm_gengrid_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8667
8668    /**
8669     * Enable or disable multi-selection in a given gengrid widget
8670     *
8671     * @param obj The gengrid object.
8672     * @param multi @c EINA_TRUE, to enable multi-selection,
8673     * @c EINA_FALSE to disable it.
8674     *
8675     * Multi-selection is the ability to have @b more than one
8676     * item selected, on a given gengrid, simultaneously. When it is
8677     * enabled, a sequence of clicks on different items will make them
8678     * all selected, progressively. A click on an already selected item
8679     * will unselect it. If interacting via the keyboard,
8680     * multi-selection is enabled while holding the "Shift" key.
8681     *
8682     * @note By default, multi-selection is @b disabled on gengrids
8683     *
8684     * @see elm_gengrid_multi_select_get()
8685     *
8686     * @ingroup Gengrid
8687     */
8688    EAPI void               elm_gengrid_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
8689
8690    /**
8691     * Get whether multi-selection is enabled or disabled for a given
8692     * gengrid widget
8693     *
8694     * @param obj The gengrid object.
8695     * @return @c EINA_TRUE, if multi-selection is enabled, @c
8696     * EINA_FALSE otherwise
8697     *
8698     * @see elm_gengrid_multi_select_set() for more details
8699     *
8700     * @ingroup Gengrid
8701     */
8702    EAPI Eina_Bool          elm_gengrid_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8703
8704    /**
8705     * Enable or disable bouncing effect for a given gengrid widget
8706     *
8707     * @param obj The gengrid object
8708     * @param h_bounce @c EINA_TRUE, to enable @b horizontal bouncing,
8709     * @c EINA_FALSE to disable it
8710     * @param v_bounce @c EINA_TRUE, to enable @b vertical bouncing,
8711     * @c EINA_FALSE to disable it
8712     *
8713     * The bouncing effect occurs whenever one reaches the gengrid's
8714     * edge's while panning it -- it will scroll past its limits a
8715     * little bit and return to the edge again, in a animated for,
8716     * automatically.
8717     *
8718     * @note By default, gengrids have bouncing enabled on both axis
8719     *
8720     * @see elm_gengrid_bounce_get()
8721     *
8722     * @ingroup Gengrid
8723     */
8724    WILL_DEPRECATE  EAPI void               elm_gengrid_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
8725
8726    /**
8727     * Get whether bouncing effects are enabled or disabled, for a
8728     * given gengrid widget, on each axis
8729     *
8730     * @param obj The gengrid object
8731     * @param h_bounce Pointer to a variable where to store the
8732     * horizontal bouncing flag.
8733     * @param v_bounce Pointer to a variable where to store the
8734     * vertical bouncing flag.
8735     *
8736     * @see elm_gengrid_bounce_set() for more details
8737     *
8738     * @ingroup Gengrid
8739     */
8740    WILL_DEPRECATE  EAPI void               elm_gengrid_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
8741
8742    /**
8743     * Set a given gengrid widget's scrolling page size, relative to
8744     * its viewport size.
8745     *
8746     * @param obj The gengrid object
8747     * @param h_pagerel The horizontal page (relative) size
8748     * @param v_pagerel The vertical page (relative) size
8749     *
8750     * The gengrid's scroller is capable of binding scrolling by the
8751     * user to "pages". It means that, while scrolling and, specially
8752     * after releasing the mouse button, the grid will @b snap to the
8753     * nearest displaying page's area. When page sizes are set, the
8754     * grid's continuous content area is split into (equal) page sized
8755     * pieces.
8756     *
8757     * This function sets the size of a page <b>relatively to the
8758     * viewport dimensions</b> of the gengrid, for each axis. A value
8759     * @c 1.0 means "the exact viewport's size", in that axis, while @c
8760     * 0.0 turns paging off in that axis. Likewise, @c 0.5 means "half
8761     * a viewport". Sane usable values are, than, between @c 0.0 and @c
8762     * 1.0. Values beyond those will make it behave behave
8763     * inconsistently. If you only want one axis to snap to pages, use
8764     * the value @c 0.0 for the other one.
8765     *
8766     * There is a function setting page size values in @b absolute
8767     * values, too -- elm_gengrid_page_size_set(). Naturally, its use
8768     * is mutually exclusive to this one.
8769     *
8770     * @see elm_gengrid_page_relative_get()
8771     *
8772     * @ingroup Gengrid
8773     */
8774    WILL_DEPRECATE  EAPI void               elm_gengrid_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel) EINA_ARG_NONNULL(1);
8775
8776    /**
8777     * Get a given gengrid widget's scrolling page size, relative to
8778     * its viewport size.
8779     *
8780     * @param obj The gengrid object
8781     * @param h_pagerel Pointer to a variable where to store the
8782     * horizontal page (relative) size
8783     * @param v_pagerel Pointer to a variable where to store the
8784     * vertical page (relative) size
8785     *
8786     * @see elm_gengrid_page_relative_set() for more details
8787     *
8788     * @ingroup Gengrid
8789     */
8790    WILL_DEPRECATE  EAPI void               elm_gengrid_page_relative_get(const Evas_Object *obj, double *h_pagerel, double *v_pagerel) EINA_ARG_NONNULL(1);
8791
8792    /**
8793     * Set a given gengrid widget's scrolling page size
8794     *
8795     * @param obj The gengrid object
8796     * @param h_pagerel The horizontal page size, in pixels
8797     * @param v_pagerel The vertical page size, in pixels
8798     *
8799     * The gengrid's scroller is capable of binding scrolling by the
8800     * user to "pages". It means that, while scrolling and, specially
8801     * after releasing the mouse button, the grid will @b snap to the
8802     * nearest displaying page's area. When page sizes are set, the
8803     * grid's continuous content area is split into (equal) page sized
8804     * pieces.
8805     *
8806     * This function sets the size of a page of the gengrid, in pixels,
8807     * for each axis. Sane usable values are, between @c 0 and the
8808     * dimensions of @p obj, for each axis. Values beyond those will
8809     * make it behave behave inconsistently. If you only want one axis
8810     * to snap to pages, use the value @c 0 for the other one.
8811     *
8812     * There is a function setting page size values in @b relative
8813     * values, too -- elm_gengrid_page_relative_set(). Naturally, its
8814     * use is mutually exclusive to this one.
8815     *
8816     * @ingroup Gengrid
8817     */
8818    EAPI void               elm_gengrid_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize) EINA_ARG_NONNULL(1);
8819
8820    /**
8821     * Set the direction in which a given gengrid widget will expand while
8822     * placing its items.
8823     *
8824     * @param obj The gengrid object.
8825     * @param setting @c EINA_TRUE to make the gengrid expand
8826     * horizontally, @c EINA_FALSE to expand vertically.
8827     *
8828     * When in "horizontal mode" (@c EINA_TRUE), items will be placed
8829     * in @b columns, from top to bottom and, when the space for a
8830     * column is filled, another one is started on the right, thus
8831     * expanding the grid horizontally. When in "vertical mode"
8832     * (@c EINA_FALSE), though, items will be placed in @b rows, from left
8833     * to right and, when the space for a row is filled, another one is
8834     * started below, thus expanding the grid vertically.
8835     *
8836     * @see elm_gengrid_horizontal_get()
8837     *
8838     * @ingroup Gengrid
8839     */
8840    EAPI void               elm_gengrid_horizontal_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
8841
8842    /**
8843     * Get for what direction a given gengrid widget will expand while
8844     * placing its items.
8845     *
8846     * @param obj The gengrid object.
8847     * @return @c EINA_TRUE, if @p obj is set to expand horizontally,
8848     * @c EINA_FALSE if it's set to expand vertically.
8849     *
8850     * @see elm_gengrid_horizontal_set() for more detais
8851     *
8852     * @ingroup Gengrid
8853     */
8854    EAPI Eina_Bool          elm_gengrid_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8855
8856    /**
8857     * Get the first item in a given gengrid widget
8858     *
8859     * @param obj The gengrid object
8860     * @return The first item's handle or @c NULL, if there are no
8861     * items in @p obj (and on errors)
8862     *
8863     * This returns the first item in the @p obj's internal list of
8864     * items.
8865     *
8866     * @see elm_gengrid_last_item_get()
8867     *
8868     * @ingroup Gengrid
8869     */
8870    WILL_DEPRECATE EAPI Elm_Gengrid_Item  *elm_gengrid_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8871
8872    /**
8873     * Get the last item in a given gengrid widget
8874     *
8875     * @param obj The gengrid object
8876     * @return The last item's handle or @c NULL, if there are no
8877     * items in @p obj (and on errors)
8878     *
8879     * This returns the last item in the @p obj's internal list of
8880     * items.
8881     *
8882     * @see elm_gengrid_first_item_get()
8883     *
8884     * @ingroup Gengrid
8885     */
8886    WILL_DEPRECATE EAPI Elm_Gengrid_Item  *elm_gengrid_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
8887
8888    /**
8889     * Get the @b next item in a gengrid widget's internal list of items,
8890     * given a handle to one of those items.
8891     *
8892     * @param item The gengrid item to fetch next from
8893     * @return The item after @p item, or @c NULL if there's none (and
8894     * on errors)
8895     *
8896     * This returns the item placed after the @p item, on the container
8897     * gengrid.
8898     *
8899     * @see elm_gengrid_item_prev_get()
8900     *
8901     * @ingroup Gengrid
8902     */
8903    WILL_DEPRECATE EAPI Elm_Gengrid_Item  *elm_gengrid_item_next_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8904
8905    /**
8906     * Get the @b previous item in a gengrid widget's internal list of items,
8907     * given a handle to one of those items.
8908     *
8909     * @param item The gengrid item to fetch previous from
8910     * @return The item before @p item, or @c NULL if there's none (and
8911     * on errors)
8912     *
8913     * This returns the item placed before the @p item, on the container
8914     * gengrid.
8915     *
8916     * @see elm_gengrid_item_next_get()
8917     *
8918     * @ingroup Gengrid
8919     */
8920    WILL_DEPRECATE EAPI Elm_Gengrid_Item  *elm_gengrid_item_prev_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8921
8922    /**
8923     * Get the gengrid object's handle which contains a given gengrid
8924     * item
8925     *
8926     * @param item The item to fetch the container from
8927     * @return The gengrid (parent) object
8928     *
8929     * This returns the gengrid object itself that an item belongs to.
8930     *
8931     * @ingroup Gengrid
8932     */
8933    WILL_DEPRECATE EAPI Evas_Object       *elm_gengrid_item_gengrid_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8934
8935    /**
8936     * Remove a gengrid item from its parent, deleting it.
8937     *
8938     * @param item The item to be removed.
8939     * @return @c EINA_TRUE on success or @c EINA_FALSE, otherwise.
8940     *
8941     * @see elm_gengrid_clear(), to remove all items in a gengrid at
8942     * once.
8943     *
8944     * @ingroup Gengrid
8945     */
8946    EAPI void               elm_gengrid_item_del(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8947
8948    /**
8949     * Update the contents of a given gengrid item
8950     *
8951     * @param item The gengrid item
8952     *
8953     * This updates an item by calling all the item class functions
8954     * again to get the contents, labels and states. Use this when the
8955     * original item data has changed and you want the changes to be
8956     * reflected.
8957     *
8958     * @ingroup Gengrid
8959     */
8960    EAPI void               elm_gengrid_item_update(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8961
8962    /**
8963     * Get the Gengrid Item class for the given Gengrid Item.
8964     *
8965     * @param item The gengrid item
8966     *
8967     * This returns the Gengrid_Item_Class for the given item. It can be used to examine
8968     * the function pointers and item_style.
8969     *
8970     * @ingroup Gengrid
8971     */
8972    EAPI const Elm_Gengrid_Item_Class *elm_gengrid_item_item_class_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
8973
8974    /**
8975     * Get the Gengrid Item class for the given Gengrid Item.
8976     *
8977     * This sets the Gengrid_Item_Class for the given item. It can be used to examine
8978     * the function pointers and item_style.
8979     *
8980     * @param item The gengrid item
8981     * @param gic The gengrid item class describing the function pointers and the item style.
8982     *
8983     * @ingroup Gengrid
8984     */
8985    EAPI void               elm_gengrid_item_item_class_set(Elm_Gengrid_Item *item, const Elm_Gengrid_Item_Class *gic) EINA_ARG_NONNULL(1, 2);
8986
8987    /**
8988     * Return the data associated to a given gengrid item
8989     *
8990     * @param item The gengrid item.
8991     * @return the data associated with this item.
8992     *
8993     * This returns the @c data value passed on the
8994     * elm_gengrid_item_append() and related item addition calls.
8995     *
8996     * @see elm_gengrid_item_append()
8997     * @see elm_gengrid_item_data_set()
8998     *
8999     * @ingroup Gengrid
9000     */
9001    EAPI void              *elm_gengrid_item_data_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9002
9003    /**
9004     * Set the data associated with a given gengrid item
9005     *
9006     * @param item The gengrid item
9007     * @param data The data pointer to set on it
9008     *
9009     * This @b overrides the @c data value passed on the
9010     * elm_gengrid_item_append() and related item addition calls. This
9011     * function @b won't call elm_gengrid_item_update() automatically,
9012     * so you'd issue it afterwards if you want to have the item
9013     * updated to reflect the new data.
9014     *
9015     * @see elm_gengrid_item_data_get()
9016     * @see elm_gengrid_item_update()
9017     *
9018     * @ingroup Gengrid
9019     */
9020    EAPI void               elm_gengrid_item_data_set(Elm_Gengrid_Item *item, const void *data) EINA_ARG_NONNULL(1);
9021
9022    /**
9023     * Get a given gengrid item's position, relative to the whole
9024     * gengrid's grid area.
9025     *
9026     * @param item The Gengrid item.
9027     * @param x Pointer to variable to store the item's <b>row number</b>.
9028     * @param y Pointer to variable to store the item's <b>column number</b>.
9029     *
9030     * This returns the "logical" position of the item within the
9031     * gengrid. For example, @c (0, 1) would stand for first row,
9032     * second column.
9033     *
9034     * @ingroup Gengrid
9035     */
9036    EAPI void               elm_gengrid_item_pos_get(const Elm_Gengrid_Item *item, unsigned int *x, unsigned int *y) EINA_ARG_NONNULL(1);
9037
9038    /**
9039     * Set whether a given gengrid item is selected or not
9040     *
9041     * @param item The gengrid item
9042     * @param selected Use @c EINA_TRUE, to make it selected, @c
9043     * EINA_FALSE to make it unselected
9044     *
9045     * This sets the selected state of an item. If multi-selection is
9046     * not enabled on the containing gengrid and @p selected is @c
9047     * EINA_TRUE, any other previously selected items will get
9048     * unselected in favor of this new one.
9049     *
9050     * @see elm_gengrid_item_selected_get()
9051     *
9052     * @ingroup Gengrid
9053     */
9054    WILL_DEPRECATE EAPI void elm_gengrid_item_selected_set(Elm_Gengrid_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
9055
9056    /**
9057     * Get whether a given gengrid item is selected or not
9058     *
9059     * @param item The gengrid item
9060     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
9061     *
9062     * This API returns EINA_TRUE for all the items selected in multi-select mode as well.
9063     *
9064     * @see elm_gengrid_item_selected_set() for more details
9065     *
9066     * @ingroup Gengrid
9067     */
9068    WILL_DEPRECATE EAPI Eina_Bool elm_gengrid_item_selected_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9069
9070    /**
9071     * Get the real Evas object created to implement the view of a
9072     * given gengrid item
9073     *
9074     * @param item The gengrid item.
9075     * @return the Evas object implementing this item's view.
9076     *
9077     * This returns the actual Evas object used to implement the
9078     * specified gengrid item's view. This may be @c NULL, as it may
9079     * not have been created or may have been deleted, at any time, by
9080     * the gengrid. <b>Do not modify this object</b> (move, resize,
9081     * show, hide, etc.), as the gengrid is controlling it. This
9082     * function is for querying, emitting custom signals or hooking
9083     * lower level callbacks for events on that object. Do not delete
9084     * this object under any circumstances.
9085     *
9086     * @see elm_gengrid_item_data_get()
9087     *
9088     * @ingroup Gengrid
9089     */
9090    EAPI const Evas_Object *elm_gengrid_item_object_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9091
9092    /**
9093     * Show the portion of a gengrid's internal grid containing a given
9094     * item, @b immediately.
9095     *
9096     * @param item The item to display
9097     *
9098     * This causes gengrid to @b redraw its viewport's contents to the
9099     * region contining the given @p item item, if it is not fully
9100     * visible.
9101     *
9102     * @see elm_gengrid_item_bring_in()
9103     *
9104     * @ingroup Gengrid
9105     */
9106    EAPI void               elm_gengrid_item_show(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9107
9108    /**
9109     * Animatedly bring in, to the visible area of a gengrid, a given
9110     * item on it.
9111     *
9112     * @param item The gengrid item to display
9113     *
9114     * This causes gengrid to jump to the given @p item and show
9115     * it (by scrolling), if it is not fully visible. This will use
9116     * animation to do so and take a period of time to complete.
9117     *
9118     * @see elm_gengrid_item_show()
9119     *
9120     * @ingroup Gengrid
9121     */
9122    EAPI void               elm_gengrid_item_bring_in(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9123
9124    /**
9125     * Set whether a given gengrid item is disabled or not.
9126     *
9127     * @param item The gengrid item
9128     * @param disabled Use @c EINA_TRUE, true disable it, @c EINA_FALSE
9129     * to enable it back.
9130     *
9131     * A disabled item cannot be selected or unselected. It will also
9132     * change its appearance, to signal the user it's disabled.
9133     *
9134     * @see elm_gengrid_item_disabled_get()
9135     *
9136     * @ingroup Gengrid
9137     */
9138    EAPI void               elm_gengrid_item_disabled_set(Elm_Gengrid_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
9139
9140    /**
9141     * Get whether a given gengrid item is disabled or not.
9142     *
9143     * @param item The gengrid item
9144     * @return @c EINA_TRUE, if it's disabled, @c EINA_FALSE otherwise
9145     * (and on errors).
9146     *
9147     * @see elm_gengrid_item_disabled_set() for more details
9148     *
9149     * @ingroup Gengrid
9150     */
9151    EAPI Eina_Bool          elm_gengrid_item_disabled_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9152
9153    /**
9154     * Set the text to be shown in a given gengrid item's tooltips.
9155     *
9156     * @param item The gengrid item
9157     * @param text The text to set in the content
9158     *
9159     * This call will setup the text to be used as tooltip to that item
9160     * (analogous to elm_object_tooltip_text_set(), but being item
9161     * tooltips with higher precedence than object tooltips). It can
9162     * have only one tooltip at a time, so any previous tooltip data
9163     * will get removed.
9164     *
9165     * @ingroup Gengrid
9166     */
9167    EAPI void               elm_gengrid_item_tooltip_text_set(Elm_Gengrid_Item *item, const char *text) EINA_ARG_NONNULL(1);
9168
9169    /**
9170     * Set the content to be shown in a given gengrid item's tooltip
9171     *
9172     * @param item The gengrid item.
9173     * @param func The function returning the tooltip contents.
9174     * @param data What to provide to @a func as callback data/context.
9175     * @param del_cb Called when data is not needed anymore, either when
9176     *        another callback replaces @p func, the tooltip is unset with
9177     *        elm_gengrid_item_tooltip_unset() or the owner @p item
9178     *        dies. This callback receives as its first parameter the
9179     *        given @p data, being @c event_info the item handle.
9180     *
9181     * This call will setup the tooltip's contents to @p item
9182     * (analogous to elm_object_tooltip_content_cb_set(), but being
9183     * item tooltips with higher precedence than object tooltips). It
9184     * can have only one tooltip at a time, so any previous tooltip
9185     * content will get removed. @p func (with @p data) will be called
9186     * every time Elementary needs to show the tooltip and it should
9187     * return a valid Evas object, which will be fully managed by the
9188     * tooltip system, getting deleted when the tooltip is gone.
9189     *
9190     * @ingroup Gengrid
9191     */
9192    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);
9193
9194    /**
9195     * Unset a tooltip from a given gengrid item
9196     *
9197     * @param item gengrid item to remove a previously set tooltip from.
9198     *
9199     * This call removes any tooltip set on @p item. The callback
9200     * provided as @c del_cb to
9201     * elm_gengrid_item_tooltip_content_cb_set() will be called to
9202     * notify it is not used anymore (and have resources cleaned, if
9203     * need be).
9204     *
9205     * @see elm_gengrid_item_tooltip_content_cb_set()
9206     *
9207     * @ingroup Gengrid
9208     */
9209    EAPI void               elm_gengrid_item_tooltip_unset(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9210
9211    /**
9212     * Set a different @b style for a given gengrid item's tooltip.
9213     *
9214     * @param item gengrid item with tooltip set
9215     * @param style the <b>theme style</b> to use on tooltips (e.g. @c
9216     * "default", @c "transparent", etc)
9217     *
9218     * Tooltips can have <b>alternate styles</b> to be displayed on,
9219     * which are defined by the theme set on Elementary. This function
9220     * works analogously as elm_object_tooltip_style_set(), but here
9221     * applied only to gengrid item objects. The default style for
9222     * tooltips is @c "default".
9223     *
9224     * @note before you set a style you should define a tooltip with
9225     *       elm_gengrid_item_tooltip_content_cb_set() or
9226     *       elm_gengrid_item_tooltip_text_set()
9227     *
9228     * @see elm_gengrid_item_tooltip_style_get()
9229     *
9230     * @ingroup Gengrid
9231     */
9232    EAPI void               elm_gengrid_item_tooltip_style_set(Elm_Gengrid_Item *item, const char *style) EINA_ARG_NONNULL(1);
9233
9234    /**
9235     * Get the style set a given gengrid item's tooltip.
9236     *
9237     * @param item gengrid item with tooltip already set on.
9238     * @return style the theme style in use, which defaults to
9239     *         "default". If the object does not have a tooltip set,
9240     *         then @c NULL is returned.
9241     *
9242     * @see elm_gengrid_item_tooltip_style_set() for more details
9243     *
9244     * @ingroup Gengrid
9245     */
9246    EAPI const char        *elm_gengrid_item_tooltip_style_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9247    /**
9248     * @brief Disable size restrictions on an object's tooltip
9249     * @param item The tooltip's anchor object
9250     * @param disable If EINA_TRUE, size restrictions are disabled
9251     * @return EINA_FALSE on failure, EINA_TRUE on success
9252     *
9253     * This function allows a tooltip to expand beyond its parant window's canvas.
9254     * It will instead be limited only by the size of the display.
9255     */
9256    EAPI Eina_Bool          elm_gengrid_item_tooltip_size_restrict_disable(Elm_Gengrid_Item *item, Eina_Bool disable);
9257    /**
9258     * @brief Retrieve size restriction state of an object's tooltip
9259     * @param item The tooltip's anchor object
9260     * @return If EINA_TRUE, size restrictions are disabled
9261     *
9262     * This function returns whether a tooltip is allowed to expand beyond
9263     * its parant window's canvas.
9264     * It will instead be limited only by the size of the display.
9265     */
9266    EAPI Eina_Bool          elm_gengrid_item_tooltip_size_restrict_disabled_get(const Elm_Gengrid_Item *item);
9267    /**
9268     * Set the type of mouse pointer/cursor decoration to be shown,
9269     * when the mouse pointer is over the given gengrid widget item
9270     *
9271     * @param item gengrid item to customize cursor on
9272     * @param cursor the cursor type's name
9273     *
9274     * This function works analogously as elm_object_cursor_set(), but
9275     * here the cursor's changing area is restricted to the item's
9276     * area, and not the whole widget's. Note that that item cursors
9277     * have precedence over widget cursors, so that a mouse over @p
9278     * item will always show cursor @p type.
9279     *
9280     * If this function is called twice for an object, a previously set
9281     * cursor will be unset on the second call.
9282     *
9283     * @see elm_object_cursor_set()
9284     * @see elm_gengrid_item_cursor_get()
9285     * @see elm_gengrid_item_cursor_unset()
9286     *
9287     * @ingroup Gengrid
9288     */
9289    EAPI void               elm_gengrid_item_cursor_set(Elm_Gengrid_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
9290
9291    /**
9292     * Get the type of mouse pointer/cursor decoration set to be shown,
9293     * when the mouse pointer is over the given gengrid widget item
9294     *
9295     * @param item gengrid item with custom cursor set
9296     * @return the cursor type's name or @c NULL, if no custom cursors
9297     * were set to @p item (and on errors)
9298     *
9299     * @see elm_object_cursor_get()
9300     * @see elm_gengrid_item_cursor_set() for more details
9301     * @see elm_gengrid_item_cursor_unset()
9302     *
9303     * @ingroup Gengrid
9304     */
9305    EAPI const char        *elm_gengrid_item_cursor_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9306
9307    /**
9308     * Unset any custom mouse pointer/cursor decoration set to be
9309     * shown, when the mouse pointer is over the given gengrid widget
9310     * item, thus making it show the @b default cursor again.
9311     *
9312     * @param item a gengrid item
9313     *
9314     * Use this call to undo any custom settings on this item's cursor
9315     * decoration, bringing it back to defaults (no custom style set).
9316     *
9317     * @see elm_object_cursor_unset()
9318     * @see elm_gengrid_item_cursor_set() for more details
9319     *
9320     * @ingroup Gengrid
9321     */
9322    EAPI void               elm_gengrid_item_cursor_unset(Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9323
9324    /**
9325     * Set a different @b style for a given custom cursor set for a
9326     * gengrid item.
9327     *
9328     * @param item gengrid item with custom cursor set
9329     * @param style the <b>theme style</b> to use (e.g. @c "default",
9330     * @c "transparent", etc)
9331     *
9332     * This function only makes sense when one is using custom mouse
9333     * cursor decorations <b>defined in a theme file</b> , which can
9334     * have, given a cursor name/type, <b>alternate styles</b> on
9335     * it. It works analogously as elm_object_cursor_style_set(), but
9336     * here applied only to gengrid item objects.
9337     *
9338     * @warning Before you set a cursor style you should have defined a
9339     *       custom cursor previously on the item, with
9340     *       elm_gengrid_item_cursor_set()
9341     *
9342     * @see elm_gengrid_item_cursor_engine_only_set()
9343     * @see elm_gengrid_item_cursor_style_get()
9344     *
9345     * @ingroup Gengrid
9346     */
9347    EAPI void               elm_gengrid_item_cursor_style_set(Elm_Gengrid_Item *item, const char *style) EINA_ARG_NONNULL(1);
9348
9349    /**
9350     * Get the current @b style set for a given gengrid item's custom
9351     * cursor
9352     *
9353     * @param item gengrid item with custom cursor set.
9354     * @return style the cursor style in use. If the object does not
9355     *         have a cursor set, then @c NULL is returned.
9356     *
9357     * @see elm_gengrid_item_cursor_style_set() for more details
9358     *
9359     * @ingroup Gengrid
9360     */
9361    EAPI const char        *elm_gengrid_item_cursor_style_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9362
9363    /**
9364     * Set if the (custom) cursor for a given gengrid item should be
9365     * searched in its theme, also, or should only rely on the
9366     * rendering engine.
9367     *
9368     * @param item item with custom (custom) cursor already set on
9369     * @param engine_only Use @c EINA_TRUE to have cursors looked for
9370     * only on those provided by the rendering engine, @c EINA_FALSE to
9371     * have them searched on the widget's theme, as well.
9372     *
9373     * @note This call is of use only if you've set a custom cursor
9374     * for gengrid items, with elm_gengrid_item_cursor_set().
9375     *
9376     * @note By default, cursors will only be looked for between those
9377     * provided by the rendering engine.
9378     *
9379     * @ingroup Gengrid
9380     */
9381    EAPI void               elm_gengrid_item_cursor_engine_only_set(Elm_Gengrid_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
9382
9383    /**
9384     * Get if the (custom) cursor for a given gengrid item is being
9385     * searched in its theme, also, or is only relying on the rendering
9386     * engine.
9387     *
9388     * @param item a gengrid item
9389     * @return @c EINA_TRUE, if cursors are being looked for only on
9390     * those provided by the rendering engine, @c EINA_FALSE if they
9391     * are being searched on the widget's theme, as well.
9392     *
9393     * @see elm_gengrid_item_cursor_engine_only_set(), for more details
9394     *
9395     * @ingroup Gengrid
9396     */
9397    EAPI Eina_Bool          elm_gengrid_item_cursor_engine_only_get(const Elm_Gengrid_Item *item) EINA_ARG_NONNULL(1);
9398
9399    /**
9400     * Remove all items from a given gengrid widget
9401     *
9402     * @param obj The gengrid object.
9403     *
9404     * This removes (and deletes) all items in @p obj, leaving it
9405     * empty.
9406     *
9407     * @see elm_gengrid_item_del(), to remove just one item.
9408     *
9409     * @ingroup Gengrid
9410     */
9411    WILL_DEPRECATE EAPI void elm_gengrid_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
9412
9413    /**
9414     * Get the selected item in a given gengrid widget
9415     *
9416     * @param obj The gengrid object.
9417     * @return The selected item's handleor @c NULL, if none is
9418     * selected at the moment (and on errors)
9419     *
9420     * This returns the selected item in @p obj. If multi selection is
9421     * enabled on @p obj (@see elm_gengrid_multi_select_set()), only
9422     * the first item in the list is selected, which might not be very
9423     * useful. For that case, see elm_gengrid_selected_items_get().
9424     *
9425     * @ingroup Gengrid
9426     */
9427    EAPI Elm_Gengrid_Item  *elm_gengrid_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9428
9429    /**
9430     * Get <b>a list</b> of selected items in a given gengrid
9431     *
9432     * @param obj The gengrid object.
9433     * @return The list of selected items or @c NULL, if none is
9434     * selected at the moment (and on errors)
9435     *
9436     * This returns a list of the selected items, in the order that
9437     * they appear in the grid. This list is only valid as long as no
9438     * more items are selected or unselected (or unselected implictly
9439     * by deletion). The list contains #Elm_Gengrid_Item pointers as
9440     * data, naturally.
9441     *
9442     * @see elm_gengrid_selected_item_get()
9443     *
9444     * @ingroup Gengrid
9445     */
9446    EAPI const Eina_List   *elm_gengrid_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9447
9448    /**
9449     * @}
9450     */
9451
9452    /**
9453     * @defgroup Clock Clock
9454     *
9455     * @image html img/widget/clock/preview-00.png
9456     * @image latex img/widget/clock/preview-00.eps
9457     *
9458     * This is a @b digital clock widget. In its default theme, it has a
9459     * vintage "flipping numbers clock" appearance, which will animate
9460     * sheets of individual algarisms individually as time goes by.
9461     *
9462     * A newly created clock will fetch system's time (already
9463     * considering local time adjustments) to start with, and will tick
9464     * accondingly. It may or may not show seconds.
9465     *
9466     * Clocks have an @b edition mode. When in it, the sheets will
9467     * display extra arrow indications on the top and bottom and the
9468     * user may click on them to raise or lower the time values. After
9469     * it's told to exit edition mode, it will keep ticking with that
9470     * new time set (it keeps the difference from local time).
9471     *
9472     * Also, when under edition mode, user clicks on the cited arrows
9473     * which are @b held for some time will make the clock to flip the
9474     * sheet, thus editing the time, continuosly and automatically for
9475     * the user. The interval between sheet flips will keep growing in
9476     * time, so that it helps the user to reach a time which is distant
9477     * from the one set.
9478     *
9479     * The time display is, by default, in military mode (24h), but an
9480     * am/pm indicator may be optionally shown, too, when it will
9481     * switch to 12h.
9482     *
9483     * Smart callbacks one can register to:
9484     * - "changed" - the clock's user changed the time
9485     *
9486     * Here is an example on its usage:
9487     * @li @ref clock_example
9488     */
9489
9490    /**
9491     * @addtogroup Clock
9492     * @{
9493     */
9494
9495    /**
9496     * Identifiers for which clock digits should be editable, when a
9497     * clock widget is in edition mode. Values may be ORed together to
9498     * make a mask, naturally.
9499     *
9500     * @see elm_clock_edit_set()
9501     * @see elm_clock_digit_edit_set()
9502     */
9503    typedef enum _Elm_Clock_Digedit
9504      {
9505         ELM_CLOCK_NONE         = 0, /**< Default value. Means that all digits are editable, when in edition mode. */
9506         ELM_CLOCK_HOUR_DECIMAL = 1 << 0, /**< Decimal algarism of hours value should be editable */
9507         ELM_CLOCK_HOUR_UNIT    = 1 << 1, /**< Unit algarism of hours value should be editable */
9508         ELM_CLOCK_MIN_DECIMAL  = 1 << 2, /**< Decimal algarism of minutes value should be editable */
9509         ELM_CLOCK_MIN_UNIT     = 1 << 3, /**< Unit algarism of minutes value should be editable */
9510         ELM_CLOCK_SEC_DECIMAL  = 1 << 4, /**< Decimal algarism of seconds value should be editable */
9511         ELM_CLOCK_SEC_UNIT     = 1 << 5, /**< Unit algarism of seconds value should be editable */
9512         ELM_CLOCK_ALL          = (1 << 6) - 1 /**< All digits should be editable */
9513      } Elm_Clock_Digedit;
9514
9515    /**
9516     * Add a new clock widget to the given parent Elementary
9517     * (container) object
9518     *
9519     * @param parent The parent object
9520     * @return a new clock widget handle or @c NULL, on errors
9521     *
9522     * This function inserts a new clock widget on the canvas.
9523     *
9524     * @ingroup Clock
9525     */
9526    EAPI Evas_Object      *elm_clock_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
9527
9528    /**
9529     * Set a clock widget's time, programmatically
9530     *
9531     * @param obj The clock widget object
9532     * @param hrs The hours to set
9533     * @param min The minutes to set
9534     * @param sec The secondes to set
9535     *
9536     * This function updates the time that is showed by the clock
9537     * widget.
9538     *
9539     *  Values @b must be set within the following ranges:
9540     * - 0 - 23, for hours
9541     * - 0 - 59, for minutes
9542     * - 0 - 59, for seconds,
9543     *
9544     * even if the clock is not in "military" mode.
9545     *
9546     * @warning The behavior for values set out of those ranges is @b
9547     * undefined.
9548     *
9549     * @ingroup Clock
9550     */
9551    EAPI void              elm_clock_time_set(Evas_Object *obj, int hrs, int min, int sec) EINA_ARG_NONNULL(1);
9552
9553    /**
9554     * Get a clock widget's time values
9555     *
9556     * @param obj The clock object
9557     * @param[out] hrs Pointer to the variable to get the hours value
9558     * @param[out] min Pointer to the variable to get the minutes value
9559     * @param[out] sec Pointer to the variable to get the seconds value
9560     *
9561     * This function gets the time set for @p obj, returning
9562     * it on the variables passed as the arguments to function
9563     *
9564     * @note Use @c NULL pointers on the time values you're not
9565     * interested in: they'll be ignored by the function.
9566     *
9567     * @ingroup Clock
9568     */
9569    EAPI void              elm_clock_time_get(const Evas_Object *obj, int *hrs, int *min, int *sec) EINA_ARG_NONNULL(1);
9570
9571    /**
9572     * Set whether a given clock widget is under <b>edition mode</b> or
9573     * under (default) displaying-only mode.
9574     *
9575     * @param obj The clock object
9576     * @param edit @c EINA_TRUE to put it in edition, @c EINA_FALSE to
9577     * put it back to "displaying only" mode
9578     *
9579     * This function makes a clock's time to be editable or not <b>by
9580     * user interaction</b>. When in edition mode, clocks @b stop
9581     * ticking, until one brings them back to canonical mode. The
9582     * elm_clock_digit_edit_set() function will influence which digits
9583     * of the clock will be editable. By default, all of them will be
9584     * (#ELM_CLOCK_NONE).
9585     *
9586     * @note am/pm sheets, if being shown, will @b always be editable
9587     * under edition mode.
9588     *
9589     * @see elm_clock_edit_get()
9590     *
9591     * @ingroup Clock
9592     */
9593    EAPI void              elm_clock_edit_set(Evas_Object *obj, Eina_Bool edit) EINA_ARG_NONNULL(1);
9594
9595    /**
9596     * Retrieve whether a given clock widget is under <b>edition
9597     * mode</b> or under (default) displaying-only mode.
9598     *
9599     * @param obj The clock object
9600     * @param edit @c EINA_TRUE, if it's in edition mode, @c EINA_FALSE
9601     * otherwise
9602     *
9603     * This function retrieves whether the clock's time can be edited
9604     * or not by user interaction.
9605     *
9606     * @see elm_clock_edit_set() for more details
9607     *
9608     * @ingroup Clock
9609     */
9610    EAPI Eina_Bool         elm_clock_edit_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9611
9612    /**
9613     * Set what digits of the given clock widget should be editable
9614     * when in edition mode.
9615     *
9616     * @param obj The clock object
9617     * @param digedit Bit mask indicating the digits to be editable
9618     * (values in #Elm_Clock_Digedit).
9619     *
9620     * If the @p digedit param is #ELM_CLOCK_NONE, editing will be
9621     * disabled on @p obj (same effect as elm_clock_edit_set(), with @c
9622     * EINA_FALSE).
9623     *
9624     * @see elm_clock_digit_edit_get()
9625     *
9626     * @ingroup Clock
9627     */
9628    EAPI void              elm_clock_digit_edit_set(Evas_Object *obj, Elm_Clock_Digedit digedit) EINA_ARG_NONNULL(1);
9629
9630    /**
9631     * Retrieve what digits of the given clock widget should be
9632     * editable when in edition mode.
9633     *
9634     * @param obj The clock object
9635     * @return Bit mask indicating the digits to be editable
9636     * (values in #Elm_Clock_Digedit).
9637     *
9638     * @see elm_clock_digit_edit_set() for more details
9639     *
9640     * @ingroup Clock
9641     */
9642    EAPI Elm_Clock_Digedit elm_clock_digit_edit_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9643
9644    /**
9645     * Set if the given clock widget must show hours in military or
9646     * am/pm mode
9647     *
9648     * @param obj The clock object
9649     * @param am_pm @c EINA_TRUE to put it in am/pm mode, @c EINA_FALSE
9650     * to military mode
9651     *
9652     * This function sets if the clock must show hours in military or
9653     * am/pm mode. In some countries like Brazil the military mode
9654     * (00-24h-format) is used, in opposition to the USA, where the
9655     * am/pm mode is more commonly used.
9656     *
9657     * @see elm_clock_show_am_pm_get()
9658     *
9659     * @ingroup Clock
9660     */
9661    EAPI void              elm_clock_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm) EINA_ARG_NONNULL(1);
9662
9663    /**
9664     * Get if the given clock widget shows hours in military or am/pm
9665     * mode
9666     *
9667     * @param obj The clock object
9668     * @return @c EINA_TRUE, if in am/pm mode, @c EINA_FALSE if in
9669     * military
9670     *
9671     * This function gets if the clock shows hours in military or am/pm
9672     * mode.
9673     *
9674     * @see elm_clock_show_am_pm_set() for more details
9675     *
9676     * @ingroup Clock
9677     */
9678    EAPI Eina_Bool         elm_clock_show_am_pm_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9679
9680    /**
9681     * Set if the given clock widget must show time with seconds or not
9682     *
9683     * @param obj The clock object
9684     * @param seconds @c EINA_TRUE to show seconds, @c EINA_FALSE otherwise
9685     *
9686     * This function sets if the given clock must show or not elapsed
9687     * seconds. By default, they are @b not shown.
9688     *
9689     * @see elm_clock_show_seconds_get()
9690     *
9691     * @ingroup Clock
9692     */
9693    EAPI void              elm_clock_show_seconds_set(Evas_Object *obj, Eina_Bool seconds) EINA_ARG_NONNULL(1);
9694
9695    /**
9696     * Get whether the given clock widget is showing time with seconds
9697     * or not
9698     *
9699     * @param obj The clock object
9700     * @return @c EINA_TRUE if it's showing seconds, @c EINA_FALSE otherwise
9701     *
9702     * This function gets whether @p obj is showing or not the elapsed
9703     * seconds.
9704     *
9705     * @see elm_clock_show_seconds_set()
9706     *
9707     * @ingroup Clock
9708     */
9709    EAPI Eina_Bool         elm_clock_show_seconds_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9710
9711    /**
9712     * Set the interval on time updates for an user mouse button hold
9713     * on clock widgets' time edition.
9714     *
9715     * @param obj The clock object
9716     * @param interval The (first) interval value in seconds
9717     *
9718     * This interval value is @b decreased while the user holds the
9719     * mouse pointer either incrementing or decrementing a given the
9720     * clock digit's value.
9721     *
9722     * This helps the user to get to a given time distant from the
9723     * current one easier/faster, as it will start to flip quicker and
9724     * quicker on mouse button holds.
9725     *
9726     * The calculation for the next flip interval value, starting from
9727     * the one set with this call, is the previous interval divided by
9728     * 1.05, so it decreases a little bit.
9729     *
9730     * The default starting interval value for automatic flips is
9731     * @b 0.85 seconds.
9732     *
9733     * @see elm_clock_interval_get()
9734     *
9735     * @ingroup Clock
9736     */
9737    EAPI void              elm_clock_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
9738
9739    /**
9740     * Get the interval on time updates for an user mouse button hold
9741     * on clock widgets' time edition.
9742     *
9743     * @param obj The clock object
9744     * @return The (first) interval value, in seconds, set on it
9745     *
9746     * @see elm_clock_interval_set() for more details
9747     *
9748     * @ingroup Clock
9749     */
9750    EAPI double            elm_clock_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
9751
9752    /**
9753     * @}
9754     */
9755
9756    /**
9757     * @defgroup Layout Layout
9758     *
9759     * @image html img/widget/layout/preview-00.png
9760     * @image latex img/widget/layout/preview-00.eps width=\textwidth
9761     *
9762     * @image html img/layout-predefined.png
9763     * @image latex img/layout-predefined.eps width=\textwidth
9764     *
9765     * This is a container widget that takes a standard Edje design file and
9766     * wraps it very thinly in a widget.
9767     *
9768     * An Edje design (theme) file has a very wide range of possibilities to
9769     * describe the behavior of elements added to the Layout. Check out the Edje
9770     * documentation and the EDC reference to get more information about what can
9771     * be done with Edje.
9772     *
9773     * Just like @ref List, @ref Box, and other container widgets, any
9774     * object added to the Layout will become its child, meaning that it will be
9775     * deleted if the Layout is deleted, move if the Layout is moved, and so on.
9776     *
9777     * The Layout widget can contain as many Contents, Boxes or Tables as
9778     * described in its theme file. For instance, objects can be added to
9779     * different Tables by specifying the respective Table part names. The same
9780     * is valid for Content and Box.
9781     *
9782     * The objects added as child of the Layout will behave as described in the
9783     * part description where they were added. There are 3 possible types of
9784     * parts where a child can be added:
9785     *
9786     * @section secContent Content (SWALLOW part)
9787     *
9788     * Only one object can be added to the @c SWALLOW part (but you still can
9789     * have many @c SWALLOW parts and one object on each of them). Use the @c
9790     * elm_object_content_set/get/unset functions to set, retrieve and unset 
9791     * objects as content of the @c SWALLOW. After being set to this part, the 
9792     * object size, position, visibility, clipping and other description 
9793     * properties will be totally controlled by the description of the given part
9794     * (inside the Edje theme file).
9795     *
9796     * One can use @c evas_object_size_hint_* functions on the child to have some
9797     * kind of control over its behavior, but the resulting behavior will still
9798     * depend heavily on the @c SWALLOW part description.
9799     *
9800     * The Edje theme also can change the part description, based on signals or
9801     * scripts running inside the theme. This change can also be animated. All of
9802     * this will affect the child object set as content accordingly. The object
9803     * size will be changed if the part size is changed, it will animate move if
9804     * the part is moving, and so on.
9805     *
9806     * The following picture demonstrates a Layout widget with a child object
9807     * added to its @c SWALLOW:
9808     *
9809     * @image html layout_swallow.png
9810     * @image latex layout_swallow.eps width=\textwidth
9811     *
9812     * @section secBox Box (BOX part)
9813     *
9814     * An Edje @c BOX part is very similar to the Elementary @ref Box widget. It
9815     * allows one to add objects to the box and have them distributed along its
9816     * area, accordingly to the specified @a layout property (now by @a layout we
9817     * mean the chosen layouting design of the Box, not the Layout widget
9818     * itself).
9819     *
9820     * A similar effect for having a box with its position, size and other things
9821     * controlled by the Layout theme would be to create an Elementary @ref Box
9822     * widget and add it as a Content in the @c SWALLOW part.
9823     *
9824     * The main difference of using the Layout Box is that its behavior, the box
9825     * properties like layouting format, padding, align, etc. will be all
9826     * controlled by the theme. This means, for example, that a signal could be
9827     * sent to the Layout theme (with elm_object_signal_emit()) and the theme
9828     * handled the signal by changing the box padding, or align, or both. Using
9829     * the Elementary @ref Box widget is not necessarily harder or easier, it
9830     * just depends on the circunstances and requirements.
9831     *
9832     * The Layout Box can be used through the @c elm_layout_box_* set of
9833     * functions.
9834     *
9835     * The following picture demonstrates a Layout widget with many child objects
9836     * added to its @c BOX part:
9837     *
9838     * @image html layout_box.png
9839     * @image latex layout_box.eps width=\textwidth
9840     *
9841     * @section secTable Table (TABLE part)
9842     *
9843     * Just like the @ref secBox, the Layout Table is very similar to the
9844     * Elementary @ref Table widget. It allows one to add objects to the Table
9845     * specifying the row and column where the object should be added, and any
9846     * column or row span if necessary.
9847     *
9848     * Again, we could have this design by adding a @ref Table widget to the @c
9849     * SWALLOW part using elm_object_part_content_set(). The same difference happens
9850     * here when choosing to use the Layout Table (a @c TABLE part) instead of
9851     * the @ref Table plus @c SWALLOW part. It's just a matter of convenience.
9852     *
9853     * The Layout Table can be used through the @c elm_layout_table_* set of
9854     * functions.
9855     *
9856     * The following picture demonstrates a Layout widget with many child objects
9857     * added to its @c TABLE part:
9858     *
9859     * @image html layout_table.png
9860     * @image latex layout_table.eps width=\textwidth
9861     *
9862     * @section secPredef Predefined Layouts
9863     *
9864     * Another interesting thing about the Layout widget is that it offers some
9865     * predefined themes that come with the default Elementary theme. These
9866     * themes can be set by the call elm_layout_theme_set(), and provide some
9867     * basic functionality depending on the theme used.
9868     *
9869     * Most of them already send some signals, some already provide a toolbar or
9870     * back and next buttons.
9871     *
9872     * These are available predefined theme layouts. All of them have class = @c
9873     * layout, group = @c application, and style = one of the following options:
9874     *
9875     * @li @c toolbar-content - application with toolbar and main content area
9876     * @li @c toolbar-content-back - application with toolbar and main content
9877     * area with a back button and title area
9878     * @li @c toolbar-content-back-next - application with toolbar and main
9879     * content area with a back and next buttons and title area
9880     * @li @c content-back - application with a main content area with a back
9881     * button and title area
9882     * @li @c content-back-next - application with a main content area with a
9883     * back and next buttons and title area
9884     * @li @c toolbar-vbox - application with toolbar and main content area as a
9885     * vertical box
9886     * @li @c toolbar-table - application with toolbar and main content area as a
9887     * table
9888     *
9889     * @section secExamples Examples
9890     *
9891     * Some examples of the Layout widget can be found here:
9892     * @li @ref layout_example_01
9893     * @li @ref layout_example_02
9894     * @li @ref layout_example_03
9895     * @li @ref layout_example_edc
9896     *
9897     */
9898
9899    /**
9900     * Add a new layout to the parent
9901     *
9902     * @param parent The parent object
9903     * @return The new object or NULL if it cannot be created
9904     *
9905     * @see elm_layout_file_set()
9906     * @see elm_layout_theme_set()
9907     *
9908     * @ingroup Layout
9909     */
9910    EAPI Evas_Object       *elm_layout_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
9911    /**
9912     * Set the file that will be used as layout
9913     *
9914     * @param obj The layout object
9915     * @param file The path to file (edj) that will be used as layout
9916     * @param group The group that the layout belongs in edje file
9917     *
9918     * @return (1 = success, 0 = error)
9919     *
9920     * @ingroup Layout
9921     */
9922    EAPI Eina_Bool          elm_layout_file_set(Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1);
9923    /**
9924     * Set the edje group from the elementary theme that will be used as layout
9925     *
9926     * @param obj The layout object
9927     * @param clas the clas of the group
9928     * @param group the group
9929     * @param style the style to used
9930     *
9931     * @return (1 = success, 0 = error)
9932     *
9933     * @ingroup Layout
9934     */
9935    EAPI Eina_Bool          elm_layout_theme_set(Evas_Object *obj, const char *clas, const char *group, const char *style) EINA_ARG_NONNULL(1);
9936    /**
9937     * Set the layout content.
9938     *
9939     * @param obj The layout object
9940     * @param swallow The swallow part name in the edje file
9941     * @param content The child that will be added in this layout object
9942     *
9943     * Once the content object is set, a previously set one will be deleted.
9944     * If you want to keep that old content object, use the
9945     * elm_object_part_content_unset() function.
9946     *
9947     * @note In an Edje theme, the part used as a content container is called @c
9948     * SWALLOW. This is why the parameter name is called @p swallow, but it is
9949     * expected to be a part name just like the second parameter of
9950     * elm_layout_box_append().
9951     *
9952     * @see elm_layout_box_append()
9953     * @see elm_object_part_content_get()
9954     * @see elm_object_part_content_unset()
9955     * @see @ref secBox
9956     * @deprecated use elm_object_part_content_set() instead
9957     *
9958     * @ingroup Layout
9959     */
9960    WILL_DEPRECATE EAPI void               elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content) EINA_ARG_NONNULL(1);
9961    /**
9962     * Get the child object in the given content part.
9963     *
9964     * @param obj The layout object
9965     * @param swallow The SWALLOW part to get its content
9966     *
9967     * @return The swallowed object or NULL if none or an error occurred
9968     *
9969     * @deprecated use elm_object_part_content_get() instead
9970     *
9971     * @ingroup Layout
9972     */
9973    WILL_DEPRECATE EAPI Evas_Object       *elm_layout_content_get(const Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
9974    /**
9975     * Unset the layout content.
9976     *
9977     * @param obj The layout object
9978     * @param swallow The swallow part name in the edje file
9979     * @return The content that was being used
9980     *
9981     * Unparent and return the content object which was set for this part.
9982     *
9983     * @deprecated use elm_object_part_content_unset() instead
9984     *
9985     * @ingroup Layout
9986     */
9987    WILL_DEPRECATE EAPI Evas_Object       *elm_layout_content_unset(Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
9988    /**
9989     * Set the text of the given part
9990     *
9991     * @param obj The layout object
9992     * @param part The TEXT part where to set the text
9993     * @param text The text to set
9994     *
9995     * @ingroup Layout
9996     * @deprecated use elm_object_part_text_set() instead.
9997     */
9998    EINA_DEPRECATED EAPI void               elm_layout_text_set(Evas_Object *obj, const char *part, const char *text) EINA_ARG_NONNULL(1);
9999    /**
10000     * Get the text set in the given part
10001     *
10002     * @param obj The layout object
10003     * @param part The TEXT part to retrieve the text off
10004     *
10005     * @return The text set in @p part
10006     *
10007     * @ingroup Layout
10008     * @deprecated use elm_object_part_text_get() instead.
10009     */
10010    EINA_DEPRECATED EAPI const char        *elm_layout_text_get(const Evas_Object *obj, const char *part) EINA_ARG_NONNULL(1);
10011    /**
10012     * Append child to layout box part.
10013     *
10014     * @param obj the layout object
10015     * @param part the box part to which the object will be appended.
10016     * @param child the child object to append to box.
10017     *
10018     * Once the object is appended, it will become child of the layout. Its
10019     * lifetime will be bound to the layout, whenever the layout dies the child
10020     * will be deleted automatically. One should use elm_layout_box_remove() to
10021     * make this layout forget about the object.
10022     *
10023     * @see elm_layout_box_prepend()
10024     * @see elm_layout_box_insert_before()
10025     * @see elm_layout_box_insert_at()
10026     * @see elm_layout_box_remove()
10027     *
10028     * @ingroup Layout
10029     */
10030    EAPI void               elm_layout_box_append(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1);
10031    /**
10032     * Prepend child to layout box part.
10033     *
10034     * @param obj the layout object
10035     * @param part the box part to prepend.
10036     * @param child the child object to prepend to box.
10037     *
10038     * Once the object is prepended, it will become child of the layout. Its
10039     * lifetime will be bound to the layout, whenever the layout dies the child
10040     * will be deleted automatically. One should use elm_layout_box_remove() to
10041     * make this layout forget about the object.
10042     *
10043     * @see elm_layout_box_append()
10044     * @see elm_layout_box_insert_before()
10045     * @see elm_layout_box_insert_at()
10046     * @see elm_layout_box_remove()
10047     *
10048     * @ingroup Layout
10049     */
10050    EAPI void               elm_layout_box_prepend(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1);
10051    /**
10052     * Insert child to layout box part before a reference object.
10053     *
10054     * @param obj the layout object
10055     * @param part the box part to insert.
10056     * @param child the child object to insert into box.
10057     * @param reference another reference object to insert before in box.
10058     *
10059     * Once the object is inserted, it will become child of the layout. Its
10060     * lifetime will be bound to the layout, whenever the layout dies the child
10061     * will be deleted automatically. One should use elm_layout_box_remove() to
10062     * make this layout forget about the object.
10063     *
10064     * @see elm_layout_box_append()
10065     * @see elm_layout_box_prepend()
10066     * @see elm_layout_box_insert_before()
10067     * @see elm_layout_box_remove()
10068     *
10069     * @ingroup Layout
10070     */
10071    EAPI void               elm_layout_box_insert_before(Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference) EINA_ARG_NONNULL(1);
10072    /**
10073     * Insert child to layout box part at a given position.
10074     *
10075     * @param obj the layout object
10076     * @param part the box part to insert.
10077     * @param child the child object to insert into box.
10078     * @param pos the numeric position >=0 to insert the child.
10079     *
10080     * Once the object is inserted, it will become child of the layout. Its
10081     * lifetime will be bound to the layout, whenever the layout dies the child
10082     * will be deleted automatically. One should use elm_layout_box_remove() to
10083     * make this layout forget about the object.
10084     *
10085     * @see elm_layout_box_append()
10086     * @see elm_layout_box_prepend()
10087     * @see elm_layout_box_insert_before()
10088     * @see elm_layout_box_remove()
10089     *
10090     * @ingroup Layout
10091     */
10092    EAPI void               elm_layout_box_insert_at(Evas_Object *obj, const char *part, Evas_Object *child, unsigned int pos) EINA_ARG_NONNULL(1);
10093    /**
10094     * Remove a child of the given part box.
10095     *
10096     * @param obj The layout object
10097     * @param part The box part name to remove child.
10098     * @param child The object to remove from box.
10099     * @return The object that was being used, or NULL if not found.
10100     *
10101     * The object will be removed from the box part and its lifetime will
10102     * not be handled by the layout anymore. This is equivalent to
10103     * elm_object_part_content_unset() for box.
10104     *
10105     * @see elm_layout_box_append()
10106     * @see elm_layout_box_remove_all()
10107     *
10108     * @ingroup Layout
10109     */
10110    EAPI Evas_Object       *elm_layout_box_remove(Evas_Object *obj, const char *part, Evas_Object *child) EINA_ARG_NONNULL(1, 2, 3);
10111    /**
10112     * Remove all children of the given part box.
10113     *
10114     * @param obj The layout object
10115     * @param part The box part name to remove child.
10116     * @param clear If EINA_TRUE, then all objects will be deleted as
10117     *        well, otherwise they will just be removed and will be
10118     *        dangling on the canvas.
10119     *
10120     * The objects will be removed from the box part and their lifetime will
10121     * not be handled by the layout anymore. This is equivalent to
10122     * elm_layout_box_remove() for all box children.
10123     *
10124     * @see elm_layout_box_append()
10125     * @see elm_layout_box_remove()
10126     *
10127     * @ingroup Layout
10128     */
10129    EAPI void               elm_layout_box_remove_all(Evas_Object *obj, const char *part, Eina_Bool clear) EINA_ARG_NONNULL(1, 2);
10130    /**
10131     * Insert child to layout table part.
10132     *
10133     * @param obj the layout object
10134     * @param part the box part to pack child.
10135     * @param child_obj the child object to pack into table.
10136     * @param col the column to which the child should be added. (>= 0)
10137     * @param row the row to which the child should be added. (>= 0)
10138     * @param colspan how many columns should be used to store this object. (>=
10139     *        1)
10140     * @param rowspan how many rows should be used to store this object. (>= 1)
10141     *
10142     * Once the object is inserted, it will become child of the table. Its
10143     * lifetime will be bound to the layout, and whenever the layout dies the
10144     * child will be deleted automatically. One should use
10145     * elm_layout_table_remove() to make this layout forget about the object.
10146     *
10147     * If @p colspan or @p rowspan are bigger than 1, that object will occupy
10148     * more space than a single cell. For instance, the following code:
10149     * @code
10150     * elm_layout_table_pack(layout, "table_part", child, 0, 1, 3, 1);
10151     * @endcode
10152     *
10153     * Would result in an object being added like the following picture:
10154     *
10155     * @image html layout_colspan.png
10156     * @image latex layout_colspan.eps width=\textwidth
10157     *
10158     * @see elm_layout_table_unpack()
10159     * @see elm_layout_table_clear()
10160     *
10161     * @ingroup Layout
10162     */
10163    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);
10164    /**
10165     * Unpack (remove) a child of the given part table.
10166     *
10167     * @param obj The layout object
10168     * @param part The table part name to remove child.
10169     * @param child_obj The object to remove from table.
10170     * @return The object that was being used, or NULL if not found.
10171     *
10172     * The object will be unpacked from the table part and its lifetime
10173     * will not be handled by the layout anymore. This is equivalent to
10174     * elm_object_part_content_unset() for table.
10175     *
10176     * @see elm_layout_table_pack()
10177     * @see elm_layout_table_clear()
10178     *
10179     * @ingroup Layout
10180     */
10181    EAPI Evas_Object       *elm_layout_table_unpack(Evas_Object *obj, const char *part, Evas_Object *child_obj) EINA_ARG_NONNULL(1, 2, 3);
10182    /**
10183     * Remove all the child objects of the given part table.
10184     *
10185     * @param obj The layout object
10186     * @param part The table part name to remove child.
10187     * @param clear If EINA_TRUE, then all objects will be deleted as
10188     *        well, otherwise they will just be removed and will be
10189     *        dangling on the canvas.
10190     *
10191     * The objects will be removed from the table part and their lifetime will
10192     * not be handled by the layout anymore. This is equivalent to
10193     * elm_layout_table_unpack() for all table children.
10194     *
10195     * @see elm_layout_table_pack()
10196     * @see elm_layout_table_unpack()
10197     *
10198     * @ingroup Layout
10199     */
10200    EAPI void               elm_layout_table_clear(Evas_Object *obj, const char *part, Eina_Bool clear) EINA_ARG_NONNULL(1, 2);
10201    /**
10202     * Get the edje layout
10203     *
10204     * @param obj The layout object
10205     *
10206     * @return A Evas_Object with the edje layout settings loaded
10207     * with function elm_layout_file_set
10208     *
10209     * This returns the edje object. It is not expected to be used to then
10210     * swallow objects via edje_object_part_swallow() for example. Use
10211     * elm_object_part_content_set() instead so child object handling and sizing is
10212     * done properly.
10213     *
10214     * @note This function should only be used if you really need to call some
10215     * low level Edje function on this edje object. All the common stuff (setting
10216     * text, emitting signals, hooking callbacks to signals, etc.) can be done
10217     * with proper elementary functions.
10218     *
10219     * @see elm_object_signal_callback_add()
10220     * @see elm_object_signal_emit()
10221     * @see elm_object_part_text_set()
10222     * @see elm_object_part_content_set()
10223     * @see elm_layout_box_append()
10224     * @see elm_layout_table_pack()
10225     * @see elm_layout_data_get()
10226     *
10227     * @ingroup Layout
10228     */
10229    EAPI Evas_Object       *elm_layout_edje_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10230    /**
10231     * Get the edje data from the given layout
10232     *
10233     * @param obj The layout object
10234     * @param key The data key
10235     *
10236     * @return The edje data string
10237     *
10238     * This function fetches data specified inside the edje theme of this layout.
10239     * This function return NULL if data is not found.
10240     *
10241     * In EDC this comes from a data block within the group block that @p
10242     * obj was loaded from. E.g.
10243     *
10244     * @code
10245     * collections {
10246     *   group {
10247     *     name: "a_group";
10248     *     data {
10249     *       item: "key1" "value1";
10250     *       item: "key2" "value2";
10251     *     }
10252     *   }
10253     * }
10254     * @endcode
10255     *
10256     * @ingroup Layout
10257     */
10258    EAPI const char        *elm_layout_data_get(const Evas_Object *obj, const char *key) EINA_ARG_NONNULL(1, 2);
10259    /**
10260     * Eval sizing
10261     *
10262     * @param obj The layout object
10263     *
10264     * Manually forces a sizing re-evaluation. This is useful when the minimum
10265     * size required by the edje theme of this layout has changed. The change on
10266     * the minimum size required by the edje theme is not immediately reported to
10267     * the elementary layout, so one needs to call this function in order to tell
10268     * the widget (layout) that it needs to reevaluate its own size.
10269     *
10270     * The minimum size of the theme is calculated based on minimum size of
10271     * parts, the size of elements inside containers like box and table, etc. All
10272     * of this can change due to state changes, and that's when this function
10273     * should be called.
10274     *
10275     * Also note that a standard signal of "size,eval" "elm" emitted from the
10276     * edje object will cause this to happen too.
10277     *
10278     * @ingroup Layout
10279     */
10280    EAPI void               elm_layout_sizing_eval(Evas_Object *obj) EINA_ARG_NONNULL(1);
10281
10282    /**
10283     * Sets a specific cursor for an edje part.
10284     *
10285     * @param obj The layout object.
10286     * @param part_name a part from loaded edje group.
10287     * @param cursor cursor name to use, see Elementary_Cursor.h
10288     *
10289     * @return EINA_TRUE on success or EINA_FALSE on failure, that may be
10290     *         part not exists or it has "mouse_events: 0".
10291     *
10292     * @ingroup Layout
10293     */
10294    EAPI Eina_Bool          elm_layout_part_cursor_set(Evas_Object *obj, const char *part_name, const char *cursor) EINA_ARG_NONNULL(1, 2);
10295
10296    /**
10297     * Get the cursor to be shown when mouse is over an edje part
10298     *
10299     * @param obj The layout object.
10300     * @param part_name a part from loaded edje group.
10301     * @return the cursor name.
10302     *
10303     * @ingroup Layout
10304     */
10305    EAPI const char        *elm_layout_part_cursor_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10306
10307    /**
10308     * Unsets a cursor previously set with elm_layout_part_cursor_set().
10309     *
10310     * @param obj The layout object.
10311     * @param part_name a part from loaded edje group, that had a cursor set
10312     *        with elm_layout_part_cursor_set().
10313     *
10314     * @ingroup Layout
10315     */
10316    EAPI void               elm_layout_part_cursor_unset(Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10317
10318    /**
10319     * Sets a specific cursor style for an edje part.
10320     *
10321     * @param obj The layout object.
10322     * @param part_name a part from loaded edje group.
10323     * @param style the theme style to use (default, transparent, ...)
10324     *
10325     * @return EINA_TRUE on success or EINA_FALSE on failure, that may be
10326     *         part not exists or it did not had a cursor set.
10327     *
10328     * @ingroup Layout
10329     */
10330    EAPI Eina_Bool          elm_layout_part_cursor_style_set(Evas_Object *obj, const char *part_name, const char *style) EINA_ARG_NONNULL(1, 2);
10331
10332    /**
10333     * Gets a specific cursor style for an edje part.
10334     *
10335     * @param obj The layout object.
10336     * @param part_name a part from loaded edje group.
10337     *
10338     * @return the theme style in use, defaults to "default". If the
10339     *         object does not have a cursor set, then NULL is returned.
10340     *
10341     * @ingroup Layout
10342     */
10343    EAPI const char        *elm_layout_part_cursor_style_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10344
10345    /**
10346     * Sets if the cursor set should be searched on the theme or should use
10347     * the provided by the engine, only.
10348     *
10349     * @note before you set if should look on theme you should define a
10350     * cursor with elm_layout_part_cursor_set(). By default it will only
10351     * look for cursors provided by the engine.
10352     *
10353     * @param obj The layout object.
10354     * @param part_name a part from loaded edje group.
10355     * @param engine_only if cursors should be just provided by the engine (EINA_TRUE)
10356     *        or should also search on widget's theme as well (EINA_FALSE)
10357     *
10358     * @return EINA_TRUE on success or EINA_FALSE on failure, that may be
10359     *         part not exists or it did not had a cursor set.
10360     *
10361     * @ingroup Layout
10362     */
10363    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);
10364
10365    /**
10366     * Gets a specific cursor engine_only for an edje part.
10367     *
10368     * @param obj The layout object.
10369     * @param part_name a part from loaded edje group.
10370     *
10371     * @return whenever the cursor is just provided by engine or also from theme.
10372     *
10373     * @ingroup Layout
10374     */
10375    EAPI Eina_Bool          elm_layout_part_cursor_engine_only_get(const Evas_Object *obj, const char *part_name) EINA_ARG_NONNULL(1, 2);
10376
10377 /**
10378  * @def elm_layout_icon_set
10379  * Convenience macro to set the icon object in a layout that follows the
10380  * Elementary naming convention for its parts.
10381  *
10382  * @ingroup Layout
10383  */
10384 #define elm_layout_icon_set(_ly, _obj) \
10385   do { \
10386     const char *sig; \
10387     elm_object_part_content_set((_ly), "elm.swallow.icon", (_obj)); \
10388     if ((_obj)) sig = "elm,state,icon,visible"; \
10389     else sig = "elm,state,icon,hidden"; \
10390     elm_object_signal_emit((_ly), sig, "elm"); \
10391   } while (0)
10392
10393 /**
10394  * @def elm_layout_icon_get
10395  * Convienience macro to get the icon object from a layout that follows the
10396  * Elementary naming convention for its parts.
10397  *
10398  * @ingroup Layout
10399  */
10400 #define elm_layout_icon_get(_ly) \
10401   elm_object_part_content_get((_ly), "elm.swallow.icon")
10402
10403 /**
10404  * @def elm_layout_end_set
10405  * Convienience macro to set the end object in a layout that follows the
10406  * Elementary naming convention for its parts.
10407  *
10408  * @ingroup Layout
10409  */
10410 #define elm_layout_end_set(_ly, _obj) \
10411   do { \
10412     const char *sig; \
10413     elm_object_part_content_set((_ly), "elm.swallow.end", (_obj)); \
10414     if ((_obj)) sig = "elm,state,end,visible"; \
10415     else sig = "elm,state,end,hidden"; \
10416     elm_object_signal_emit((_ly), sig, "elm"); \
10417   } while (0)
10418
10419 /**
10420  * @def elm_layout_end_get
10421  * Convienience macro to get the end object in a layout that follows the
10422  * Elementary naming convention for its parts.
10423  *
10424  * @ingroup Layout
10425  */
10426 #define elm_layout_end_get(_ly) \
10427   elm_object_part_content_get((_ly), "elm.swallow.end")
10428
10429 /**
10430  * @def elm_layout_label_set
10431  * Convienience macro to set the label in a layout that follows the
10432  * Elementary naming convention for its parts.
10433  *
10434  * @ingroup Layout
10435  * @deprecated use elm_object_text_set() instead.
10436  */
10437 #define elm_layout_label_set(_ly, _txt) \
10438   elm_layout_text_set((_ly), "elm.text", (_txt))
10439
10440 /**
10441  * @def elm_layout_label_get
10442  * Convenience macro to get the label in a layout that follows the
10443  * Elementary naming convention for its parts.
10444  *
10445  * @ingroup Layout
10446  * @deprecated use elm_object_text_set() instead.
10447  */
10448 #define elm_layout_label_get(_ly) \
10449   elm_layout_text_get((_ly), "elm.text")
10450
10451    /* smart callbacks called:
10452     * "theme,changed" - when elm theme is changed.
10453     */
10454
10455    /**
10456     * @defgroup Notify Notify
10457     *
10458     * @image html img/widget/notify/preview-00.png
10459     * @image latex img/widget/notify/preview-00.eps
10460     *
10461     * Display a container in a particular region of the parent(top, bottom,
10462     * etc).  A timeout can be set to automatically hide the notify. This is so
10463     * that, after an evas_object_show() on a notify object, if a timeout was set
10464     * on it, it will @b automatically get hidden after that time.
10465     *
10466     * Signals that you can add callbacks for are:
10467     * @li "timeout" - when timeout happens on notify and it's hidden
10468     * @li "block,clicked" - when a click outside of the notify happens
10469     *
10470     * Default contents parts of the notify widget that you can use for are:
10471     * @li "default" - A content of the notify
10472     *
10473     * @ref tutorial_notify show usage of the API.
10474     *
10475     * @{
10476     */
10477    /**
10478     * @brief Possible orient values for notify.
10479     *
10480     * This values should be used in conjunction to elm_notify_orient_set() to
10481     * set the position in which the notify should appear(relative to its parent)
10482     * and in conjunction with elm_notify_orient_get() to know where the notify
10483     * is appearing.
10484     */
10485    typedef enum _Elm_Notify_Orient
10486      {
10487         ELM_NOTIFY_ORIENT_TOP, /**< Notify should appear in the top of parent, default */
10488         ELM_NOTIFY_ORIENT_CENTER, /**< Notify should appear in the center of parent */
10489         ELM_NOTIFY_ORIENT_BOTTOM, /**< Notify should appear in the bottom of parent */
10490         ELM_NOTIFY_ORIENT_LEFT, /**< Notify should appear in the left of parent */
10491         ELM_NOTIFY_ORIENT_RIGHT, /**< Notify should appear in the right of parent */
10492         ELM_NOTIFY_ORIENT_TOP_LEFT, /**< Notify should appear in the top left of parent */
10493         ELM_NOTIFY_ORIENT_TOP_RIGHT, /**< Notify should appear in the top right of parent */
10494         ELM_NOTIFY_ORIENT_BOTTOM_LEFT, /**< Notify should appear in the bottom left of parent */
10495         ELM_NOTIFY_ORIENT_BOTTOM_RIGHT, /**< Notify should appear in the bottom right of parent */
10496         ELM_NOTIFY_ORIENT_LAST /**< Sentinel value, @b don't use */
10497      } Elm_Notify_Orient;
10498    /**
10499     * @brief Add a new notify to the parent
10500     *
10501     * @param parent The parent object
10502     * @return The new object or NULL if it cannot be created
10503     */
10504    EAPI Evas_Object      *elm_notify_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
10505    /**
10506     * @brief Set the content of the notify widget
10507     *
10508     * @param obj The notify object
10509     * @param content The content will be filled in this notify object
10510     *
10511     * Once the content object is set, a previously set one will be deleted. If
10512     * you want to keep that old content object, use the
10513     * elm_notify_content_unset() function.
10514     *
10515     * @deprecated use elm_object_content_set() instead
10516     *
10517     */
10518    WILL_DEPRECATE  EAPI void              elm_notify_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
10519    /**
10520     * @brief Unset the content of the notify widget
10521     *
10522     * @param obj The notify object
10523     * @return The content that was being used
10524     *
10525     * Unparent and return the content object which was set for this widget
10526     *
10527     * @see elm_notify_content_set()
10528     * @deprecated use elm_object_content_unset() instead
10529     *
10530     */
10531    WILL_DEPRECATE  EAPI Evas_Object      *elm_notify_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
10532    /**
10533     * @brief Return the content of the notify widget
10534     *
10535     * @param obj The notify object
10536     * @return The content that is being used
10537     *
10538     * @see elm_notify_content_set()
10539     * @deprecated use elm_object_content_get() instead
10540     *
10541     */
10542    WILL_DEPRECATE  EAPI Evas_Object      *elm_notify_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10543    /**
10544     * @brief Set the notify parent
10545     *
10546     * @param obj The notify object
10547     * @param content The new parent
10548     *
10549     * Once the parent object is set, a previously set one will be disconnected
10550     * and replaced.
10551     */
10552    EAPI void              elm_notify_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
10553    /**
10554     * @brief Get the notify parent
10555     *
10556     * @param obj The notify object
10557     * @return The parent
10558     *
10559     * @see elm_notify_parent_set()
10560     */
10561    EAPI Evas_Object      *elm_notify_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10562    /**
10563     * @brief Set the orientation
10564     *
10565     * @param obj The notify object
10566     * @param orient The new orientation
10567     *
10568     * Sets the position in which the notify will appear in its parent.
10569     *
10570     * @see @ref Elm_Notify_Orient for possible values.
10571     */
10572    EAPI void              elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient) EINA_ARG_NONNULL(1);
10573    /**
10574     * @brief Return the orientation
10575     * @param obj The notify object
10576     * @return The orientation of the notification
10577     *
10578     * @see elm_notify_orient_set()
10579     * @see Elm_Notify_Orient
10580     */
10581    EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10582    /**
10583     * @brief Set the time interval after which the notify window is going to be
10584     * hidden.
10585     *
10586     * @param obj The notify object
10587     * @param time The timeout in seconds
10588     *
10589     * This function sets a timeout and starts the timer controlling when the
10590     * notify is hidden. Since calling evas_object_show() on a notify restarts
10591     * the timer controlling when the notify is hidden, setting this before the
10592     * notify is shown will in effect mean starting the timer when the notify is
10593     * shown.
10594     *
10595     * @note Set a value <= 0.0 to disable a running timer.
10596     *
10597     * @note If the value > 0.0 and the notify is previously visible, the
10598     * timer will be started with this value, canceling any running timer.
10599     */
10600    EAPI void              elm_notify_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
10601    /**
10602     * @brief Return the timeout value (in seconds)
10603     * @param obj the notify object
10604     *
10605     * @see elm_notify_timeout_set()
10606     */
10607    EAPI double            elm_notify_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10608    /**
10609     * @brief Sets whether events should be passed to by a click outside
10610     * its area.
10611     *
10612     * @param obj The notify object
10613     * @param repeats EINA_TRUE Events are repeats, else no
10614     *
10615     * When true if the user clicks outside the window the events will be caught
10616     * by the others widgets, else the events are blocked.
10617     *
10618     * @note The default value is EINA_TRUE.
10619     */
10620    EAPI void              elm_notify_repeat_events_set(Evas_Object *obj, Eina_Bool repeat) EINA_ARG_NONNULL(1);
10621    /**
10622     * @brief Return true if events are repeat below the notify object
10623     * @param obj the notify object
10624     *
10625     * @see elm_notify_repeat_events_set()
10626     */
10627    EAPI Eina_Bool         elm_notify_repeat_events_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10628    /**
10629     * @}
10630     */
10631
10632    /**
10633     * @defgroup Hover Hover
10634     *
10635     * @image html img/widget/hover/preview-00.png
10636     * @image latex img/widget/hover/preview-00.eps
10637     *
10638     * A Hover object will hover over its @p parent object at the @p target
10639     * location. Anything in the background will be given a darker coloring to
10640     * indicate that the hover object is on top (at the default theme). When the
10641     * hover is clicked it is dismissed(hidden), if the contents of the hover are
10642     * clicked that @b doesn't cause the hover to be dismissed.
10643     *
10644     * A Hover object has two parents. One parent that owns it during creation
10645     * and the other parent being the one over which the hover object spans.
10646     *
10647     *
10648     * @note The hover object will take up the entire space of @p target
10649     * object.
10650     *
10651     * Elementary has the following styles for the hover widget:
10652     * @li default
10653     * @li popout
10654     * @li menu
10655     * @li hoversel_vertical
10656     *
10657     * The following are the available position for content:
10658     * @li left
10659     * @li top-left
10660     * @li top
10661     * @li top-right
10662     * @li right
10663     * @li bottom-right
10664     * @li bottom
10665     * @li bottom-left
10666     * @li middle
10667     * @li smart
10668     *
10669     * Signals that you can add callbacks for are:
10670     * @li "clicked" - the user clicked the empty space in the hover to dismiss
10671     * @li "smart,changed" - a content object placed under the "smart"
10672     *                   policy was replaced to a new slot direction.
10673     *
10674     * See @ref tutorial_hover for more information.
10675     *
10676     * @{
10677     */
10678    typedef enum _Elm_Hover_Axis
10679      {
10680         ELM_HOVER_AXIS_NONE, /**< ELM_HOVER_AXIS_NONE -- no prefered orientation */
10681         ELM_HOVER_AXIS_HORIZONTAL, /**< ELM_HOVER_AXIS_HORIZONTAL -- horizontal */
10682         ELM_HOVER_AXIS_VERTICAL, /**< ELM_HOVER_AXIS_VERTICAL -- vertical */
10683         ELM_HOVER_AXIS_BOTH /**< ELM_HOVER_AXIS_BOTH -- both */
10684      } Elm_Hover_Axis;
10685    /**
10686     * @brief Adds a hover object to @p parent
10687     *
10688     * @param parent The parent object
10689     * @return The hover object or NULL if one could not be created
10690     */
10691    EAPI Evas_Object *elm_hover_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
10692    /**
10693     * @brief Sets the target object for the hover.
10694     *
10695     * @param obj The hover object
10696     * @param target The object to center the hover onto.
10697     *
10698     * This function will cause the hover to be centered on the target object.
10699     */
10700    EAPI void         elm_hover_target_set(Evas_Object *obj, Evas_Object *target) EINA_ARG_NONNULL(1);
10701    /**
10702     * @brief Gets the target object for the hover.
10703     *
10704     * @param obj The hover object
10705     * @return The target object for the hover.
10706     *
10707     * @see elm_hover_target_set()
10708     */
10709    EAPI Evas_Object *elm_hover_target_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10710    /**
10711     * @brief Sets the parent object for the hover.
10712     *
10713     * @param obj The hover object
10714     * @param parent The object to locate the hover over.
10715     *
10716     * This function will cause the hover to take up the entire space that the
10717     * parent object fills.
10718     */
10719    EAPI void         elm_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
10720    /**
10721     * @brief Gets the parent object for the hover.
10722     *
10723     * @param obj The hover object
10724     * @return The parent object to locate the hover over.
10725     *
10726     * @see elm_hover_parent_set()
10727     */
10728    EAPI Evas_Object *elm_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
10729    /**
10730     * @brief Sets the content of the hover object and the direction in which it
10731     * will pop out.
10732     *
10733     * @param obj The hover object
10734     * @param swallow The direction that the object will be displayed
10735     * at. Accepted values are "left", "top-left", "top", "top-right",
10736     * "right", "bottom-right", "bottom", "bottom-left", "middle" and
10737     * "smart".
10738     * @param content The content to place at @p swallow
10739     *
10740     * Once the content object is set for a given direction, a previously
10741     * set one (on the same direction) will be deleted. If you want to
10742     * keep that old content object, use the elm_hover_content_unset()
10743     * function.
10744     *
10745     * All directions may have contents at the same time, except for
10746     * "smart". This is a special placement hint and its use case
10747     * independs of the calculations coming from
10748     * elm_hover_best_content_location_get(). Its use is for cases when
10749     * one desires only one hover content, but with a dynamic special
10750     * placement within the hover area. The content's geometry, whenever
10751     * it changes, will be used to decide on a best location, not
10752     * extrapolating the hover's parent object view to show it in (still
10753     * being the hover's target determinant of its medium part -- move and
10754     * resize it to simulate finger sizes, for example). If one of the
10755     * directions other than "smart" are used, a previously content set
10756     * using it will be deleted, and vice-versa.
10757     */
10758    EAPI void         elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content) EINA_ARG_NONNULL(1);
10759    /**
10760     * @brief Get the content of the hover object, in a given direction.
10761     *
10762     * Return the content object which was set for this widget in the
10763     * @p swallow direction.
10764     *
10765     * @param obj The hover object
10766     * @param swallow The direction that the object was display at.
10767     * @return The content that was being used
10768     *
10769     * @see elm_hover_content_set()
10770     */
10771    EAPI Evas_Object *elm_hover_content_get(const Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
10772    /**
10773     * @brief Unset the content of the hover object, in a given direction.
10774     *
10775     * Unparent and return the content object set at @p swallow direction.
10776     *
10777     * @param obj The hover object
10778     * @param swallow The direction that the object was display at.
10779     * @return The content that was being used.
10780     *
10781     * @see elm_hover_content_set()
10782     */
10783    EAPI Evas_Object *elm_hover_content_unset(Evas_Object *obj, const char *swallow) EINA_ARG_NONNULL(1);
10784    /**
10785     * @brief Returns the best swallow location for content in the hover.
10786     *
10787     * @param obj The hover object
10788     * @param pref_axis The preferred orientation axis for the hover object to use
10789     * @return The edje location to place content into the hover or @c
10790     *         NULL, on errors.
10791     *
10792     * Best is defined here as the location at which there is the most available
10793     * space.
10794     *
10795     * @p pref_axis may be one of
10796     * - @c ELM_HOVER_AXIS_NONE -- no prefered orientation
10797     * - @c ELM_HOVER_AXIS_HORIZONTAL -- horizontal
10798     * - @c ELM_HOVER_AXIS_VERTICAL -- vertical
10799     * - @c ELM_HOVER_AXIS_BOTH -- both
10800     *
10801     * If ELM_HOVER_AXIS_HORIZONTAL is choosen the returned position will
10802     * nescessarily be along the horizontal axis("left" or "right"). If
10803     * ELM_HOVER_AXIS_VERTICAL is choosen the returned position will nescessarily
10804     * be along the vertical axis("top" or "bottom"). Chossing
10805     * ELM_HOVER_AXIS_BOTH or ELM_HOVER_AXIS_NONE has the same effect and the
10806     * returned position may be in either axis.
10807     *
10808     * @see elm_hover_content_set()
10809     */
10810    EAPI const char  *elm_hover_best_content_location_get(const Evas_Object *obj, Elm_Hover_Axis pref_axis) EINA_ARG_NONNULL(1);
10811    /**
10812     * @}
10813     */
10814
10815    /* entry */
10816    /**
10817     * @defgroup Entry Entry
10818     *
10819     * @image html img/widget/entry/preview-00.png
10820     * @image latex img/widget/entry/preview-00.eps width=\textwidth
10821     * @image html img/widget/entry/preview-01.png
10822     * @image latex img/widget/entry/preview-01.eps width=\textwidth
10823     * @image html img/widget/entry/preview-02.png
10824     * @image latex img/widget/entry/preview-02.eps width=\textwidth
10825     * @image html img/widget/entry/preview-03.png
10826     * @image latex img/widget/entry/preview-03.eps width=\textwidth
10827     *
10828     * An entry is a convenience widget which shows a box that the user can
10829     * enter text into. Entries by default don't scroll, so they grow to
10830     * accomodate the entire text, resizing the parent window as needed. This
10831     * can be changed with the elm_entry_scrollable_set() function.
10832     *
10833     * They can also be single line or multi line (the default) and when set
10834     * to multi line mode they support text wrapping in any of the modes
10835     * indicated by #Elm_Wrap_Type.
10836     *
10837     * Other features include password mode, filtering of inserted text with
10838     * elm_entry_text_filter_append() and related functions, inline "items" and
10839     * formatted markup text.
10840     *
10841     * @section entry-markup Formatted text
10842     *
10843     * The markup tags supported by the Entry are defined by the theme, but
10844     * even when writing new themes or extensions it's a good idea to stick to
10845     * a sane default, to maintain coherency and avoid application breakages.
10846     * Currently defined by the default theme are the following tags:
10847     * @li \<br\>: Inserts a line break.
10848     * @li \<ps\>: Inserts a paragraph separator. This is preferred over line
10849     * breaks.
10850     * @li \<tab\>: Inserts a tab.
10851     * @li \<em\>...\</em\>: Emphasis. Sets the @em oblique style for the
10852     * enclosed text.
10853     * @li \<b\>...\</b\>: Sets the @b bold style for the enclosed text.
10854     * @li \<link\>...\</link\>: Underlines the enclosed text.
10855     * @li \<hilight\>...\</hilight\>: Hilights the enclosed text.
10856     *
10857     * @section entry-special Special markups
10858     *
10859     * Besides those used to format text, entries support two special markup
10860     * tags used to insert clickable portions of text or items inlined within
10861     * the text.
10862     *
10863     * @subsection entry-anchors Anchors
10864     *
10865     * Anchors are similar to HTML anchors. Text can be surrounded by \<a\> and
10866     * \</a\> tags and an event will be generated when this text is clicked,
10867     * like this:
10868     *
10869     * @code
10870     * This text is outside <a href=anc-01>but this one is an anchor</a>
10871     * @endcode
10872     *
10873     * The @c href attribute in the opening tag gives the name that will be
10874     * used to identify the anchor and it can be any valid utf8 string.
10875     *
10876     * When an anchor is clicked, an @c "anchor,clicked" signal is emitted with
10877     * an #Elm_Entry_Anchor_Info in the @c event_info parameter for the
10878     * callback function. The same applies for "anchor,in" (mouse in), "anchor,out"
10879     * (mouse out), "anchor,down" (mouse down), and "anchor,up" (mouse up) events on
10880     * an anchor.
10881     *
10882     * @subsection entry-items Items
10883     *
10884     * Inlined in the text, any other @c Evas_Object can be inserted by using
10885     * \<item\> tags this way:
10886     *
10887     * @code
10888     * <item size=16x16 vsize=full href=emoticon/haha></item>
10889     * @endcode
10890     *
10891     * Just like with anchors, the @c href identifies each item, but these need,
10892     * in addition, to indicate their size, which is done using any one of
10893     * @c size, @c absize or @c relsize attributes. These attributes take their
10894     * value in the WxH format, where W is the width and H the height of the
10895     * item.
10896     *
10897     * @li absize: Absolute pixel size for the item. Whatever value is set will
10898     * be the item's size regardless of any scale value the object may have
10899     * been set to. The final line height will be adjusted to fit larger items.
10900     * @li size: Similar to @c absize, but it's adjusted to the scale value set
10901     * for the object.
10902     * @li relsize: Size is adjusted for the item to fit within the current
10903     * line height.
10904     *
10905     * Besides their size, items are specificed a @c vsize value that affects
10906     * how their final size and position are calculated. The possible values
10907     * are:
10908     * @li ascent: Item will be placed within the line's baseline and its
10909     * ascent. That is, the height between the line where all characters are
10910     * positioned and the highest point in the line. For @c size and @c absize
10911     * items, the descent value will be added to the total line height to make
10912     * them fit. @c relsize items will be adjusted to fit within this space.
10913     * @li full: Items will be placed between the descent and ascent, or the
10914     * lowest point in the line and its highest.
10915     *
10916     * The next image shows different configurations of items and how
10917     * the previously mentioned options affect their sizes. In all cases,
10918     * the green line indicates the ascent, blue for the baseline and red for
10919     * the descent.
10920     *
10921     * @image html entry_item.png
10922     * @image latex entry_item.eps width=\textwidth
10923     *
10924     * And another one to show how size differs from absize. In the first one,
10925     * the scale value is set to 1.0, while the second one is using one of 2.0.
10926     *
10927     * @image html entry_item_scale.png
10928     * @image latex entry_item_scale.eps width=\textwidth
10929     *
10930     * After the size for an item is calculated, the entry will request an
10931     * object to place in its space. For this, the functions set with
10932     * elm_entry_item_provider_append() and related functions will be called
10933     * in order until one of them returns a @c non-NULL value. If no providers
10934     * are available, or all of them return @c NULL, then the entry falls back
10935     * to one of the internal defaults, provided the name matches with one of
10936     * them.
10937     *
10938     * All of the following are currently supported:
10939     *
10940     * - emoticon/angry
10941     * - emoticon/angry-shout
10942     * - emoticon/crazy-laugh
10943     * - emoticon/evil-laugh
10944     * - emoticon/evil
10945     * - emoticon/goggle-smile
10946     * - emoticon/grumpy
10947     * - emoticon/grumpy-smile
10948     * - emoticon/guilty
10949     * - emoticon/guilty-smile
10950     * - emoticon/haha
10951     * - emoticon/half-smile
10952     * - emoticon/happy-panting
10953     * - emoticon/happy
10954     * - emoticon/indifferent
10955     * - emoticon/kiss
10956     * - emoticon/knowing-grin
10957     * - emoticon/laugh
10958     * - emoticon/little-bit-sorry
10959     * - emoticon/love-lots
10960     * - emoticon/love
10961     * - emoticon/minimal-smile
10962     * - emoticon/not-happy
10963     * - emoticon/not-impressed
10964     * - emoticon/omg
10965     * - emoticon/opensmile
10966     * - emoticon/smile
10967     * - emoticon/sorry
10968     * - emoticon/squint-laugh
10969     * - emoticon/surprised
10970     * - emoticon/suspicious
10971     * - emoticon/tongue-dangling
10972     * - emoticon/tongue-poke
10973     * - emoticon/uh
10974     * - emoticon/unhappy
10975     * - emoticon/very-sorry
10976     * - emoticon/what
10977     * - emoticon/wink
10978     * - emoticon/worried
10979     * - emoticon/wtf
10980     *
10981     * Alternatively, an item may reference an image by its path, using
10982     * the URI form @c file:///path/to/an/image.png and the entry will then
10983     * use that image for the item.
10984     *
10985     * @section entry-files Loading and saving files
10986     *
10987     * Entries have convinience functions to load text from a file and save
10988     * changes back to it after a short delay. The automatic saving is enabled
10989     * by default, but can be disabled with elm_entry_autosave_set() and files
10990     * can be loaded directly as plain text or have any markup in them
10991     * recognized. See elm_entry_file_set() for more details.
10992     *
10993     * @section entry-signals Emitted signals
10994     *
10995     * This widget emits the following signals:
10996     *
10997     * @li "changed": The text within the entry was changed.
10998     * @li "changed,user": The text within the entry was changed because of user interaction.
10999     * @li "activated": The enter key was pressed on a single line entry.
11000     * @li "press": A mouse button has been pressed on the entry.
11001     * @li "longpressed": A mouse button has been pressed and held for a couple
11002     * seconds.
11003     * @li "clicked": The entry has been clicked (mouse press and release).
11004     * @li "clicked,double": The entry has been double clicked.
11005     * @li "clicked,triple": The entry has been triple clicked.
11006     * @li "focused": The entry has received focus.
11007     * @li "unfocused": The entry has lost focus.
11008     * @li "selection,paste": A paste of the clipboard contents was requested.
11009     * @li "selection,copy": A copy of the selected text into the clipboard was
11010     * requested.
11011     * @li "selection,cut": A cut of the selected text into the clipboard was
11012     * requested.
11013     * @li "selection,start": A selection has begun and no previous selection
11014     * existed.
11015     * @li "selection,changed": The current selection has changed.
11016     * @li "selection,cleared": The current selection has been cleared.
11017     * @li "cursor,changed": The cursor has changed position.
11018     * @li "anchor,clicked": An anchor has been clicked. The event_info
11019     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
11020     * @li "anchor,in": Mouse cursor has moved into an anchor. The event_info
11021     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
11022     * @li "anchor,out": Mouse cursor has moved out of an anchor. The event_info
11023     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
11024     * @li "anchor,up": Mouse button has been unpressed on an anchor. The event_info
11025     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
11026     * @li "anchor,down": Mouse button has been pressed on an anchor. The event_info
11027     * parameter for the callback will be an #Elm_Entry_Anchor_Info.
11028     * @li "preedit,changed": The preedit string has changed.
11029     * @li "language,changed": Program language changed.
11030     *
11031     * @section entry-examples
11032     *
11033     * An overview of the Entry API can be seen in @ref entry_example_01
11034     *
11035     * @{
11036     */
11037    /**
11038     * @typedef Elm_Entry_Anchor_Info
11039     *
11040     * The info sent in the callback for the "anchor,clicked" signals emitted
11041     * by entries.
11042     */
11043    typedef struct _Elm_Entry_Anchor_Info Elm_Entry_Anchor_Info;
11044    /**
11045     * @struct _Elm_Entry_Anchor_Info
11046     *
11047     * The info sent in the callback for the "anchor,clicked" signals emitted
11048     * by entries.
11049     */
11050    struct _Elm_Entry_Anchor_Info
11051      {
11052         const char *name; /**< The name of the anchor, as stated in its href */
11053         int         button; /**< The mouse button used to click on it */
11054         Evas_Coord  x, /**< Anchor geometry, relative to canvas */
11055                     y, /**< Anchor geometry, relative to canvas */
11056                     w, /**< Anchor geometry, relative to canvas */
11057                     h; /**< Anchor geometry, relative to canvas */
11058      };
11059    /**
11060     * @typedef Elm_Entry_Filter_Cb
11061     * This callback type is used by entry filters to modify text.
11062     * @param data The data specified as the last param when adding the filter
11063     * @param entry The entry object
11064     * @param text A pointer to the location of the text being filtered. This data can be modified,
11065     * but any additional allocations must be managed by the user.
11066     * @see elm_entry_text_filter_append
11067     * @see elm_entry_text_filter_prepend
11068     */
11069    typedef void (*Elm_Entry_Filter_Cb)(void *data, Evas_Object *entry, char **text);
11070
11071    /**
11072     * This adds an entry to @p parent object.
11073     *
11074     * By default, entries are:
11075     * @li not scrolled
11076     * @li multi-line
11077     * @li word wrapped
11078     * @li autosave is enabled
11079     *
11080     * @param parent The parent object
11081     * @return The new object or NULL if it cannot be created
11082     */
11083    EAPI Evas_Object *elm_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
11084    /**
11085     * Sets the entry to single line mode.
11086     *
11087     * In single line mode, entries don't ever wrap when the text reaches the
11088     * edge, and instead they keep growing horizontally. Pressing the @c Enter
11089     * key will generate an @c "activate" event instead of adding a new line.
11090     *
11091     * When @p single_line is @c EINA_FALSE, line wrapping takes effect again
11092     * and pressing enter will break the text into a different line
11093     * without generating any events.
11094     *
11095     * @param obj The entry object
11096     * @param single_line If true, the text in the entry
11097     * will be on a single line.
11098     */
11099    EAPI void         elm_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line) EINA_ARG_NONNULL(1);
11100    /**
11101     * Gets whether the entry is set to be single line.
11102     *
11103     * @param obj The entry object
11104     * @return single_line If true, the text in the entry is set to display
11105     * on a single line.
11106     *
11107     * @see elm_entry_single_line_set()
11108     */
11109    EAPI Eina_Bool    elm_entry_single_line_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11110    /**
11111     * Sets the entry to password mode.
11112     *
11113     * In password mode, entries are implicitly single line and the display of
11114     * any text in them is replaced with asterisks (*).
11115     *
11116     * @param obj The entry object
11117     * @param password If true, password mode is enabled.
11118     */
11119    EAPI void         elm_entry_password_set(Evas_Object *obj, Eina_Bool password) EINA_ARG_NONNULL(1);
11120    /**
11121     * Gets whether the entry is set to password mode.
11122     *
11123     * @param obj The entry object
11124     * @return If true, the entry is set to display all characters
11125     * as asterisks (*).
11126     *
11127     * @see elm_entry_password_set()
11128     */
11129    EAPI Eina_Bool    elm_entry_password_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11130    /**
11131     * This sets the text displayed within the entry to @p entry.
11132     *
11133     * @param obj The entry object
11134     * @param entry The text to be displayed
11135     *
11136     * @deprecated Use elm_object_text_set() instead.
11137     * @note Using this function bypasses text filters
11138     */
11139    EAPI void         elm_entry_entry_set(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
11140    /**
11141     * This returns the text currently shown in object @p entry.
11142     * See also elm_entry_entry_set().
11143     *
11144     * @param obj The entry object
11145     * @return The currently displayed text or NULL on failure
11146     *
11147     * @deprecated Use elm_object_text_get() instead.
11148     */
11149    EAPI const char  *elm_entry_entry_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11150    /**
11151     * Appends @p entry to the text of the entry.
11152     *
11153     * Adds the text in @p entry to the end of any text already present in the
11154     * widget.
11155     *
11156     * The appended text is subject to any filters set for the widget.
11157     *
11158     * @param obj The entry object
11159     * @param entry The text to be displayed
11160     *
11161     * @see elm_entry_text_filter_append()
11162     */
11163    EAPI void         elm_entry_entry_append(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
11164    /**
11165     * Gets whether the entry is empty.
11166     *
11167     * Empty means no text at all. If there are any markup tags, like an item
11168     * tag for which no provider finds anything, and no text is displayed, this
11169     * function still returns EINA_FALSE.
11170     *
11171     * @param obj The entry object
11172     * @return EINA_TRUE if the entry is empty, EINA_FALSE otherwise.
11173     */
11174    EAPI Eina_Bool    elm_entry_is_empty(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11175    /**
11176     * Gets any selected text within the entry.
11177     *
11178     * If there's any selected text in the entry, this function returns it as
11179     * a string in markup format. NULL is returned if no selection exists or
11180     * if an error occurred.
11181     *
11182     * The returned value points to an internal string and should not be freed
11183     * or modified in any way. If the @p entry object is deleted or its
11184     * contents are changed, the returned pointer should be considered invalid.
11185     *
11186     * @param obj The entry object
11187     * @return The selected text within the entry or NULL on failure
11188     */
11189    EAPI const char  *elm_entry_selection_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11190    /**
11191     * Returns the actual textblock object of the entry.
11192     *
11193     * This function exposes the internal textblock object that actually
11194     * contains and draws the text. This should be used for low-level
11195     * manipulations that are otherwise not possible.
11196     *
11197     * Changing the textblock directly from here will not notify edje/elm to
11198     * recalculate the textblock size automatically, so any modifications
11199     * done to the textblock returned by this function should be followed by
11200     * a call to elm_entry_calc_force().
11201     *
11202     * The return value is marked as const as an additional warning.
11203     * One should not use the returned object with any of the generic evas
11204     * functions (geometry_get/resize/move and etc), but only with the textblock
11205     * functions; The former will either not work at all, or break the correct
11206     * functionality.
11207     *
11208     * IMPORTANT: Many functions may change (i.e delete and create a new one)
11209     * the internal textblock object. Do NOT cache the returned object, and try
11210     * not to mix calls on this object with regular elm_entry calls (which may
11211     * change the internal textblock object). This applies to all cursors
11212     * returned from textblock calls, and all the other derivative values.
11213     *
11214     * @param obj The entry object
11215     * @return The textblock object.
11216     */
11217    EAPI const Evas_Object *elm_entry_textblock_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11218    /**
11219     * Forces calculation of the entry size and text layouting.
11220     *
11221     * This should be used after modifying the textblock object directly. See
11222     * elm_entry_textblock_get() for more information.
11223     *
11224     * @param obj The entry object
11225     *
11226     * @see elm_entry_textblock_get()
11227     */
11228    EAPI void elm_entry_calc_force(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11229    /**
11230     * Inserts the given text into the entry at the current cursor position.
11231     *
11232     * This inserts text at the cursor position as if it was typed
11233     * by the user (note that this also allows markup which a user
11234     * can't just "type" as it would be converted to escaped text, so this
11235     * call can be used to insert things like emoticon items or bold push/pop
11236     * tags, other font and color change tags etc.)
11237     *
11238     * If any selection exists, it will be replaced by the inserted text.
11239     *
11240     * The inserted text is subject to any filters set for the widget.
11241     *
11242     * @param obj The entry object
11243     * @param entry The text to insert
11244     *
11245     * @see elm_entry_text_filter_append()
11246     */
11247    EAPI void         elm_entry_entry_insert(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
11248    /**
11249     * Set the line wrap type to use on multi-line entries.
11250     *
11251     * Sets the wrap type used by the entry to any of the specified in
11252     * #Elm_Wrap_Type. This tells how the text will be implicitly cut into a new
11253     * line (without inserting a line break or paragraph separator) when it
11254     * reaches the far edge of the widget.
11255     *
11256     * Note that this only makes sense for multi-line entries. A widget set
11257     * to be single line will never wrap.
11258     *
11259     * @param obj The entry object
11260     * @param wrap The wrap mode to use. See #Elm_Wrap_Type for details on them
11261     */
11262    EAPI void         elm_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
11263    EINA_DEPRECATED EAPI void         elm_entry_line_char_wrap_set(Evas_Object *obj, Eina_Bool wrap) EINA_ARG_NONNULL(1);
11264    /**
11265     * Gets the wrap mode the entry was set to use.
11266     *
11267     * @param obj The entry object
11268     * @return Wrap type
11269     *
11270     * @see also elm_entry_line_wrap_set()
11271     */
11272    EAPI Elm_Wrap_Type elm_entry_line_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11273    /**
11274     * Sets if the entry is to be editable or not.
11275     *
11276     * By default, entries are editable and when focused, any text input by the
11277     * user will be inserted at the current cursor position. But calling this
11278     * function with @p editable as EINA_FALSE will prevent the user from
11279     * inputting text into the entry.
11280     *
11281     * The only way to change the text of a non-editable entry is to use
11282     * elm_object_text_set(), elm_entry_entry_insert() and other related
11283     * functions.
11284     *
11285     * @param obj The entry object
11286     * @param editable If EINA_TRUE, user input will be inserted in the entry,
11287     * if not, the entry is read-only and no user input is allowed.
11288     */
11289    EAPI void         elm_entry_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
11290    /**
11291     * Gets whether the entry is editable or not.
11292     *
11293     * @param obj The entry object
11294     * @return If true, the entry is editable by the user.
11295     * If false, it is not editable by the user
11296     *
11297     * @see elm_entry_editable_set()
11298     */
11299    EAPI Eina_Bool    elm_entry_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11300    /**
11301     * This drops any existing text selection within the entry.
11302     *
11303     * @param obj The entry object
11304     */
11305    EAPI void         elm_entry_select_none(Evas_Object *obj) EINA_ARG_NONNULL(1);
11306    /**
11307     * This selects all text within the entry.
11308     *
11309     * @param obj The entry object
11310     */
11311    EAPI void         elm_entry_select_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
11312    /**
11313     * This moves the cursor one place to the right within the entry.
11314     *
11315     * @param obj The entry object
11316     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11317     */
11318    EAPI Eina_Bool    elm_entry_cursor_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
11319    /**
11320     * This moves the cursor one place to the left within the entry.
11321     *
11322     * @param obj The entry object
11323     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11324     */
11325    EAPI Eina_Bool    elm_entry_cursor_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
11326    /**
11327     * This moves the cursor one line up within the entry.
11328     *
11329     * @param obj The entry object
11330     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11331     */
11332    EAPI Eina_Bool    elm_entry_cursor_up(Evas_Object *obj) EINA_ARG_NONNULL(1);
11333    /**
11334     * This moves the cursor one line down within the entry.
11335     *
11336     * @param obj The entry object
11337     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11338     */
11339    EAPI Eina_Bool    elm_entry_cursor_down(Evas_Object *obj) EINA_ARG_NONNULL(1);
11340    /**
11341     * This moves the cursor to the beginning of the entry.
11342     *
11343     * @param obj The entry object
11344     */
11345    EAPI void         elm_entry_cursor_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
11346    /**
11347     * This moves the cursor to the end of the entry.
11348     *
11349     * @param obj The entry object
11350     */
11351    EAPI void         elm_entry_cursor_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
11352    /**
11353     * This moves the cursor to the beginning of the current line.
11354     *
11355     * @param obj The entry object
11356     */
11357    EAPI void         elm_entry_cursor_line_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
11358    /**
11359     * This moves the cursor to the end of the current line.
11360     *
11361     * @param obj The entry object
11362     */
11363    EAPI void         elm_entry_cursor_line_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
11364    /**
11365     * This begins a selection within the entry as though
11366     * the user were holding down the mouse button to make a selection.
11367     *
11368     * @param obj The entry object
11369     */
11370    EAPI void         elm_entry_cursor_selection_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
11371    /**
11372     * This ends a selection within the entry as though
11373     * the user had just released the mouse button while making a selection.
11374     *
11375     * @param obj The entry object
11376     */
11377    EAPI void         elm_entry_cursor_selection_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
11378    /**
11379     * Gets whether a format node exists at the current cursor position.
11380     *
11381     * A format node is anything that defines how the text is rendered. It can
11382     * be a visible format node, such as a line break or a paragraph separator,
11383     * or an invisible one, such as bold begin or end tag.
11384     * This function returns whether any format node exists at the current
11385     * cursor position.
11386     *
11387     * @param obj The entry object
11388     * @return EINA_TRUE if the current cursor position contains a format node,
11389     * EINA_FALSE otherwise.
11390     *
11391     * @see elm_entry_cursor_is_visible_format_get()
11392     */
11393    EAPI Eina_Bool    elm_entry_cursor_is_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11394    /**
11395     * Gets if the current cursor position holds a visible format node.
11396     *
11397     * @param obj The entry object
11398     * @return EINA_TRUE if the current cursor is a visible format, EINA_FALSE
11399     * if it's an invisible one or no format exists.
11400     *
11401     * @see elm_entry_cursor_is_format_get()
11402     */
11403    EAPI Eina_Bool    elm_entry_cursor_is_visible_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11404    /**
11405     * Gets the character pointed by the cursor at its current position.
11406     *
11407     * This function returns a string with the utf8 character stored at the
11408     * current cursor position.
11409     * Only the text is returned, any format that may exist will not be part
11410     * of the return value.
11411     *
11412     * @param obj The entry object
11413     * @return The text pointed by the cursors.
11414     */
11415    EAPI const char  *elm_entry_cursor_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11416    /**
11417     * This function returns the geometry of the cursor.
11418     *
11419     * It's useful if you want to draw something on the cursor (or where it is),
11420     * or for example in the case of scrolled entry where you want to show the
11421     * cursor.
11422     *
11423     * @param obj The entry object
11424     * @param x returned geometry
11425     * @param y returned geometry
11426     * @param w returned geometry
11427     * @param h returned geometry
11428     * @return EINA_TRUE upon success, EINA_FALSE upon failure
11429     */
11430    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);
11431    /**
11432     * Sets the cursor position in the entry to the given value
11433     *
11434     * The value in @p pos is the index of the character position within the
11435     * contents of the string as returned by elm_entry_cursor_pos_get().
11436     *
11437     * @param obj The entry object
11438     * @param pos The position of the cursor
11439     */
11440    EAPI void         elm_entry_cursor_pos_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
11441    /**
11442     * Retrieves the current position of the cursor in the entry
11443     *
11444     * @param obj The entry object
11445     * @return The cursor position
11446     */
11447    EAPI int          elm_entry_cursor_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11448    /**
11449     * This executes a "cut" action on the selected text in the entry.
11450     *
11451     * @param obj The entry object
11452     */
11453    EAPI void         elm_entry_selection_cut(Evas_Object *obj) EINA_ARG_NONNULL(1);
11454    /**
11455     * This executes a "copy" action on the selected text in the entry.
11456     *
11457     * @param obj The entry object
11458     */
11459    EAPI void         elm_entry_selection_copy(Evas_Object *obj) EINA_ARG_NONNULL(1);
11460    /**
11461     * This executes a "paste" action in the entry.
11462     *
11463     * @param obj The entry object
11464     */
11465    EAPI void         elm_entry_selection_paste(Evas_Object *obj) EINA_ARG_NONNULL(1);
11466    /**
11467     * This clears and frees the items in a entry's contextual (longpress)
11468     * menu.
11469     *
11470     * @param obj The entry object
11471     *
11472     * @see elm_entry_context_menu_item_add()
11473     */
11474    EAPI void         elm_entry_context_menu_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
11475    /**
11476     * This adds an item to the entry's contextual menu.
11477     *
11478     * A longpress on an entry will make the contextual menu show up, if this
11479     * hasn't been disabled with elm_entry_context_menu_disabled_set().
11480     * By default, this menu provides a few options like enabling selection mode,
11481     * which is useful on embedded devices that need to be explicit about it,
11482     * and when a selection exists it also shows the copy and cut actions.
11483     *
11484     * With this function, developers can add other options to this menu to
11485     * perform any action they deem necessary.
11486     *
11487     * @param obj The entry object
11488     * @param label The item's text label
11489     * @param icon_file The item's icon file
11490     * @param icon_type The item's icon type
11491     * @param func The callback to execute when the item is clicked
11492     * @param data The data to associate with the item for related functions
11493     */
11494    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);
11495    /**
11496     * This disables the entry's contextual (longpress) menu.
11497     *
11498     * @param obj The entry object
11499     * @param disabled If true, the menu is disabled
11500     */
11501    EAPI void         elm_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
11502    /**
11503     * This returns whether the entry's contextual (longpress) menu is
11504     * disabled.
11505     *
11506     * @param obj The entry object
11507     * @return If true, the menu is disabled
11508     */
11509    EAPI Eina_Bool    elm_entry_context_menu_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11510    /**
11511     * This disables the entry's magnifer feature.
11512     *
11513     * @param obj The entry object
11514     * @param disabled If true, the magnifier is not displayed
11515     */
11516    EAPI void         elm_entry_magnifier_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
11517    /**
11518     * This returns whether the entry's magnifier feature is disabled.
11519     *
11520     * @param obj The entry object
11521     * @return If true, the feature is disabled
11522     */
11523    EAPI Eina_Bool    elm_entry_magnifier_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11524    /**
11525     * This appends a custom item provider to the list for that entry
11526     *
11527     * This appends the given callback. The list is walked from beginning to end
11528     * with each function called given the item href string in the text. If the
11529     * function returns an object handle other than NULL (it should create an
11530     * object to do this), then this object is used to replace that item. If
11531     * not the next provider is called until one provides an item object, or the
11532     * default provider in entry does.
11533     *
11534     * @param obj The entry object
11535     * @param func The function called to provide the item object
11536     * @param data The data passed to @p func
11537     *
11538     * @see @ref entry-items
11539     */
11540    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);
11541    /**
11542     * This prepends a custom item provider to the list for that entry
11543     *
11544     * This prepends the given callback. See elm_entry_item_provider_append() for
11545     * more information
11546     *
11547     * @param obj The entry object
11548     * @param func The function called to provide the item object
11549     * @param data The data passed to @p func
11550     */
11551    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);
11552    /**
11553     * This removes a custom item provider to the list for that entry
11554     *
11555     * This removes the given callback. See elm_entry_item_provider_append() for
11556     * more information
11557     *
11558     * @param obj The entry object
11559     * @param func The function called to provide the item object
11560     * @param data The data passed to @p func
11561     */
11562    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);
11563    /**
11564     * Append a filter function for text inserted in the entry
11565     *
11566     * Append the given callback to the list. This functions will be called
11567     * whenever any text is inserted into the entry, with the text to be inserted
11568     * as a parameter. The callback function is free to alter the text in any way
11569     * it wants, but it must remember to free the given pointer and update it.
11570     * If the new text is to be discarded, the function can free it and set its
11571     * text parameter to NULL. This will also prevent any following filters from
11572     * being called.
11573     *
11574     * @param obj The entry object
11575     * @param func The function to use as text filter
11576     * @param data User data to pass to @p func
11577     */
11578    EAPI void         elm_entry_text_filter_append(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
11579    /**
11580     * Prepend a filter function for text insdrted in the entry
11581     *
11582     * Prepend the given callback to the list. See elm_entry_text_filter_append()
11583     * for more information
11584     *
11585     * @param obj The entry object
11586     * @param func The function to use as text filter
11587     * @param data User data to pass to @p func
11588     */
11589    EAPI void         elm_entry_text_filter_prepend(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
11590    /**
11591     * Remove a filter from the list
11592     *
11593     * Removes the given callback from the filter list. See
11594     * elm_entry_text_filter_append() for more information.
11595     *
11596     * @param obj The entry object
11597     * @param func The filter function to remove
11598     * @param data The user data passed when adding the function
11599     */
11600    EAPI void         elm_entry_text_filter_remove(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data) EINA_ARG_NONNULL(1, 2);
11601    /**
11602     * This converts a markup (HTML-like) string into UTF-8.
11603     *
11604     * The returned string is a malloc'ed buffer and it should be freed when
11605     * not needed anymore.
11606     *
11607     * @param s The string (in markup) to be converted
11608     * @return The converted string (in UTF-8). It should be freed.
11609     */
11610    EAPI char        *elm_entry_markup_to_utf8(const char *s) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
11611    /**
11612     * This converts a UTF-8 string into markup (HTML-like).
11613     *
11614     * The returned string is a malloc'ed buffer and it should be freed when
11615     * not needed anymore.
11616     *
11617     * @param s The string (in UTF-8) to be converted
11618     * @return The converted string (in markup). It should be freed.
11619     */
11620    EAPI char        *elm_entry_utf8_to_markup(const char *s) EINA_MALLOC EINA_WARN_UNUSED_RESULT;
11621    /**
11622     * This sets the file (and implicitly loads it) for the text to display and
11623     * then edit. All changes are written back to the file after a short delay if
11624     * the entry object is set to autosave (which is the default).
11625     *
11626     * If the entry had any other file set previously, any changes made to it
11627     * will be saved if the autosave feature is enabled, otherwise, the file
11628     * will be silently discarded and any non-saved changes will be lost.
11629     *
11630     * @param obj The entry object
11631     * @param file The path to the file to load and save
11632     * @param format The file format
11633     */
11634    EAPI void         elm_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format) EINA_ARG_NONNULL(1);
11635    /**
11636     * Gets the file being edited by the entry.
11637     *
11638     * This function can be used to retrieve any file set on the entry for
11639     * edition, along with the format used to load and save it.
11640     *
11641     * @param obj The entry object
11642     * @param file The path to the file to load and save
11643     * @param format The file format
11644     */
11645    EAPI void         elm_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format) EINA_ARG_NONNULL(1);
11646    /**
11647     * This function writes any changes made to the file set with
11648     * elm_entry_file_set()
11649     *
11650     * @param obj The entry object
11651     */
11652    EAPI void         elm_entry_file_save(Evas_Object *obj) EINA_ARG_NONNULL(1);
11653    /**
11654     * This sets the entry object to 'autosave' the loaded text file or not.
11655     *
11656     * @param obj The entry object
11657     * @param autosave Autosave the loaded file or not
11658     *
11659     * @see elm_entry_file_set()
11660     */
11661    EAPI void         elm_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave) EINA_ARG_NONNULL(1);
11662    /**
11663     * This gets the entry object's 'autosave' status.
11664     *
11665     * @param obj The entry object
11666     * @return Autosave the loaded file or not
11667     *
11668     * @see elm_entry_file_set()
11669     */
11670    EAPI Eina_Bool    elm_entry_autosave_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11671
11672    /**
11673     * @enum _Elm_CNP_Mode
11674     * @typedef Elm_CNP_Mode
11675     * Enum of entry's copy & paste policy.
11676     *
11677     * @see elm_entry_cnp_mode_set()
11678     * @see elm_entry_cnp_mode_get()
11679     */
11680    typedef enum _Elm_CNP_Mode {
11681       ELM_CNP_MODE_MARKUP = 0,       /**< copy & paste text with markup tag */
11682       ELM_CNP_MODE_NO_IMAGE = 1,     /**< copy & paste text without item(image) tag */
11683       ELM_CNP_MODE_PLAINTEXT = 2     /**< copy & paste text without markup tag */
11684    } Elm_CNP_Mode;
11685
11686    /**
11687     * Control pasting of text and images for the widget.
11688     *
11689     * Normally the entry allows both text and images to be pasted.
11690     * By setting textonly to be ELM_CNP_MODE_NO_IMAGE, this prevents images from being copy or past.
11691     * By setting textonly to be ELM_CNP_MODE_PLAINTEXT, this remove all tags in text .
11692     *
11693     * @note this only changes the behaviour of text.
11694     *
11695     * @param obj The entry object
11696     * @param mode One of #Elm_CNP_Mode: #ELM_CNP_MODE_MARKUP,
11697     * #ELM_CNP_MODE_NO_IMAGE, #ELM_CNP_MODE_PLAINTEXT.
11698     */
11699    EAPI void         elm_entry_cnp_mode_set(Evas_Object *obj, Elm_CNP_Mode cnp_mode) EINA_ARG_NONNULL(1);
11700    /**
11701     * Getting elm_entry text paste/drop mode.
11702     *
11703     * Normally the entry allows both text and images to be pasted.
11704     * This gets the copy & paste mode of the entry.
11705     *
11706     * @param obj The entry object
11707     * @return mode One of #Elm_CNP_Mode: #ELM_CNP_MODE_MARKUP,
11708     * #ELM_CNP_MODE_NO_IMAGE, #ELM_CNP_MODE_PLAINTEXT.
11709     */
11710    EAPI Elm_CNP_Mode elm_entry_cnp_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11711
11712    /**
11713     * Control pasting of text and images for the widget.
11714     *
11715     * Normally the entry allows both text and images to be pasted.  By setting
11716     * textonly to be true, this prevents images from being pasted.
11717     *
11718     * Note this only changes the behaviour of text.
11719     *
11720     * @param obj The entry object
11721     * @param textonly paste mode - EINA_TRUE is text only, EINA_FALSE is
11722     * text+image+other.
11723     */
11724    EAPI void         elm_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly) EINA_ARG_NONNULL(1);
11725    /**
11726     * Getting elm_entry text paste/drop mode.
11727     *
11728     * In textonly mode, only text may be pasted or dropped into the widget.
11729     *
11730     * @param obj The entry object
11731     * @return If the widget only accepts text from pastes.
11732     */
11733    EAPI Eina_Bool    elm_entry_cnp_textonly_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
11734    /**
11735     * Enable or disable scrolling in entry
11736     *
11737     * Normally the entry is not scrollable unless you enable it with this call.
11738     *
11739     * @param obj The entry object
11740     * @param scroll EINA_TRUE if it is to be scrollable, EINA_FALSE otherwise
11741     */
11742    EAPI void         elm_entry_scrollable_set(Evas_Object *obj, Eina_Bool scroll);
11743    /**
11744     * Get the scrollable state of the entry
11745     *
11746     * Normally the entry is not scrollable. This gets the scrollable state
11747     * of the entry. See elm_entry_scrollable_set() for more information.
11748     *
11749     * @param obj The entry object
11750     * @return The scrollable state
11751     */
11752    EAPI Eina_Bool    elm_entry_scrollable_get(const Evas_Object *obj);
11753    /**
11754     * This sets a widget to be displayed to the left of a scrolled entry.
11755     *
11756     * @param obj The scrolled entry object
11757     * @param icon The widget to display on the left side of the scrolled
11758     * entry.
11759     *
11760     * @note A previously set widget will be destroyed.
11761     * @note If the object being set does not have minimum size hints set,
11762     * it won't get properly displayed.
11763     *
11764     * @see elm_entry_end_set()
11765     */
11766    EAPI void         elm_entry_icon_set(Evas_Object *obj, Evas_Object *icon);
11767    /**
11768     * Gets the leftmost widget of the scrolled entry. This object is
11769     * owned by the scrolled entry and should not be modified.
11770     *
11771     * @param obj The scrolled entry object
11772     * @return the left widget inside the scroller
11773     */
11774    EAPI Evas_Object *elm_entry_icon_get(const Evas_Object *obj);
11775    /**
11776     * Unset the leftmost widget of the scrolled entry, unparenting and
11777     * returning it.
11778     *
11779     * @param obj The scrolled entry object
11780     * @return the previously set icon sub-object of this entry, on
11781     * success.
11782     *
11783     * @see elm_entry_icon_set()
11784     */
11785    EAPI Evas_Object *elm_entry_icon_unset(Evas_Object *obj);
11786    /**
11787     * Sets the visibility of the left-side widget of the scrolled entry,
11788     * set by elm_entry_icon_set().
11789     *
11790     * @param obj The scrolled entry object
11791     * @param setting EINA_TRUE if the object should be displayed,
11792     * EINA_FALSE if not.
11793     */
11794    EAPI void         elm_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting);
11795    /**
11796     * This sets a widget to be displayed to the end of a scrolled entry.
11797     *
11798     * @param obj The scrolled entry object
11799     * @param end The widget to display on the right side of the scrolled
11800     * entry.
11801     *
11802     * @note A previously set widget will be destroyed.
11803     * @note If the object being set does not have minimum size hints set,
11804     * it won't get properly displayed.
11805     *
11806     * @see elm_entry_icon_set
11807     */
11808    EAPI void         elm_entry_end_set(Evas_Object *obj, Evas_Object *end);
11809    /**
11810     * Gets the endmost widget of the scrolled entry. This object is owned
11811     * by the scrolled entry and should not be modified.
11812     *
11813     * @param obj The scrolled entry object
11814     * @return the right widget inside the scroller
11815     */
11816    EAPI Evas_Object *elm_entry_end_get(const Evas_Object *obj);
11817    /**
11818     * Unset the endmost widget of the scrolled entry, unparenting and
11819     * returning it.
11820     *
11821     * @param obj The scrolled entry object
11822     * @return the previously set icon sub-object of this entry, on
11823     * success.
11824     *
11825     * @see elm_entry_icon_set()
11826     */
11827    EAPI Evas_Object *elm_entry_end_unset(Evas_Object *obj);
11828    /**
11829     * Sets the visibility of the end widget of the scrolled entry, set by
11830     * elm_entry_end_set().
11831     *
11832     * @param obj The scrolled entry object
11833     * @param setting EINA_TRUE if the object should be displayed,
11834     * EINA_FALSE if not.
11835     */
11836    EAPI void         elm_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting);
11837    /**
11838     * This sets the scrolled entry's scrollbar policy (ie. enabling/disabling
11839     * them).
11840     *
11841     * Setting an entry to single-line mode with elm_entry_single_line_set()
11842     * will automatically disable the display of scrollbars when the entry
11843     * moves inside its scroller.
11844     *
11845     * @param obj The scrolled entry object
11846     * @param h The horizontal scrollbar policy to apply
11847     * @param v The vertical scrollbar policy to apply
11848     */
11849    EAPI void         elm_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v);
11850    /**
11851     * This enables/disables bouncing within the entry.
11852     *
11853     * This function sets whether the entry will bounce when scrolling reaches
11854     * the end of the contained entry.
11855     *
11856     * @param obj The scrolled entry object
11857     * @param h The horizontal bounce state
11858     * @param v The vertical bounce state
11859     */
11860    EAPI void         elm_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
11861    /**
11862     * Get the bounce mode
11863     *
11864     * @param obj The Entry object
11865     * @param h_bounce Allow bounce horizontally
11866     * @param v_bounce Allow bounce vertically
11867     */
11868    EAPI void         elm_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
11869
11870    /* pre-made filters for entries */
11871    /**
11872     * @typedef Elm_Entry_Filter_Limit_Size
11873     *
11874     * Data for the elm_entry_filter_limit_size() entry filter.
11875     */
11876    typedef struct _Elm_Entry_Filter_Limit_Size Elm_Entry_Filter_Limit_Size;
11877    /**
11878     * @struct _Elm_Entry_Filter_Limit_Size
11879     *
11880     * Data for the elm_entry_filter_limit_size() entry filter.
11881     */
11882    struct _Elm_Entry_Filter_Limit_Size
11883      {
11884         int max_char_count; /**< The maximum number of characters allowed. */
11885         int max_byte_count; /**< The maximum number of bytes allowed*/
11886      };
11887    /**
11888     * Filter inserted text based on user defined character and byte limits
11889     *
11890     * Add this filter to an entry to limit the characters that it will accept
11891     * based the the contents of the provided #Elm_Entry_Filter_Limit_Size.
11892     * The funtion works on the UTF-8 representation of the string, converting
11893     * it from the set markup, thus not accounting for any format in it.
11894     *
11895     * The user must create an #Elm_Entry_Filter_Limit_Size structure and pass
11896     * it as data when setting the filter. In it, it's possible to set limits
11897     * by character count or bytes (any of them is disabled if 0), and both can
11898     * be set at the same time. In that case, it first checks for characters,
11899     * then bytes.
11900     *
11901     * The function will cut the inserted text in order to allow only the first
11902     * number of characters that are still allowed. The cut is made in
11903     * characters, even when limiting by bytes, in order to always contain
11904     * valid ones and avoid half unicode characters making it in.
11905     *
11906     * This filter, like any others, does not apply when setting the entry text
11907     * directly with elm_object_text_set() (or the deprecated
11908     * elm_entry_entry_set()).
11909     */
11910    EAPI void         elm_entry_filter_limit_size(void *data, Evas_Object *entry, char **text) EINA_ARG_NONNULL(1, 2, 3);
11911    /**
11912     * @typedef Elm_Entry_Filter_Accept_Set
11913     *
11914     * Data for the elm_entry_filter_accept_set() entry filter.
11915     */
11916    typedef struct _Elm_Entry_Filter_Accept_Set Elm_Entry_Filter_Accept_Set;
11917    /**
11918     * @struct _Elm_Entry_Filter_Accept_Set
11919     *
11920     * Data for the elm_entry_filter_accept_set() entry filter.
11921     */
11922    struct _Elm_Entry_Filter_Accept_Set
11923      {
11924         const char *accepted; /**< Set of characters accepted in the entry. */
11925         const char *rejected; /**< Set of characters rejected from the entry. */
11926      };
11927    /**
11928     * Filter inserted text based on accepted or rejected sets of characters
11929     *
11930     * Add this filter to an entry to restrict the set of accepted characters
11931     * based on the sets in the provided #Elm_Entry_Filter_Accept_Set.
11932     * This structure contains both accepted and rejected sets, but they are
11933     * mutually exclusive.
11934     *
11935     * The @c accepted set takes preference, so if it is set, the filter will
11936     * only work based on the accepted characters, ignoring anything in the
11937     * @c rejected value. If @c accepted is @c NULL, then @c rejected is used.
11938     *
11939     * In both cases, the function filters by matching utf8 characters to the
11940     * raw markup text, so it can be used to remove formatting tags.
11941     *
11942     * This filter, like any others, does not apply when setting the entry text
11943     * directly with elm_object_text_set() (or the deprecated
11944     * elm_entry_entry_set()).
11945     */
11946    EAPI void         elm_entry_filter_accept_set(void *data, Evas_Object *entry, char **text) EINA_ARG_NONNULL(1, 3);
11947    /**
11948     * Set the input panel layout of the entry
11949     *
11950     * @param obj The entry object
11951     * @param layout layout type
11952     */
11953    EAPI void elm_entry_input_panel_layout_set(Evas_Object *obj, Elm_Input_Panel_Layout layout) EINA_ARG_NONNULL(1);
11954    /**
11955     * Get the input panel layout of the entry
11956     *
11957     * @param obj The entry object
11958     * @return layout type
11959     *
11960     * @see elm_entry_input_panel_layout_set
11961     */
11962    EAPI Elm_Input_Panel_Layout elm_entry_input_panel_layout_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
11963    /**
11964     * Set the autocapitalization type on the immodule.
11965     *
11966     * @param obj The entry object
11967     * @param autocapital_type The type of autocapitalization
11968     */
11969    EAPI void         elm_entry_autocapital_type_set(Evas_Object *obj, Elm_Autocapital_Type autocapital_type) EINA_ARG_NONNULL(1);
11970    /**
11971     * Retrieve the autocapitalization type on the immodule.
11972     *
11973     * @param obj The entry object
11974     * @return autocapitalization type
11975     */
11976    EAPI Elm_Autocapital_Type elm_entry_autocapital_type_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
11977    /**
11978     * Sets the attribute to show the input panel automatically.
11979     *
11980     * @param obj The entry object
11981     * @param enabled If true, the input panel is appeared when entry is clicked or has a focus
11982     */
11983    EAPI void elm_entry_input_panel_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
11984    /**
11985     * Retrieve the attribute to show the input panel automatically.
11986     *
11987     * @param obj The entry object
11988     * @return EINA_TRUE if input panel will be appeared when the entry is clicked or has a focus, EINA_FALSE otherwise
11989     */
11990    EAPI Eina_Bool elm_entry_input_panel_enabled_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
11991
11992    EINA_DEPRECATED EAPI void elm_entry_background_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a);
11993    EAPI void         elm_entry_autocapitalization_set(Evas_Object *obj, Eina_Bool autocap);
11994    EAPI void         elm_entry_autoperiod_set(Evas_Object *obj, Eina_Bool autoperiod);
11995    EAPI void         elm_entry_autoenable_returnkey_set(Evas_Object *obj, Eina_Bool on);
11996    EAPI Ecore_IMF_Context *elm_entry_imf_context_get(Evas_Object *obj);
11997    EAPI void         elm_entry_matchlist_set(Evas_Object *obj, Eina_List *match_list, Eina_Bool case_sensitive);
11998    EAPI void         elm_entry_magnifier_type_set(Evas_Object *obj, int type) EINA_ARG_NONNULL(1);
11999
12000    /**
12001     * @}
12002     */
12003
12004    /* composite widgets - these basically put together basic widgets above
12005     * in convenient packages that do more than basic stuff */
12006
12007    /* anchorview */
12008    /**
12009     * @defgroup Anchorview Anchorview
12010     *
12011     * @image html img/widget/anchorview/preview-00.png
12012     * @image latex img/widget/anchorview/preview-00.eps
12013     *
12014     * Anchorview is for displaying text that contains markup with anchors
12015     * like <c>\<a href=1234\>something\</\></c> in it.
12016     *
12017     * Besides being styled differently, the anchorview widget provides the
12018     * necessary functionality so that clicking on these anchors brings up a
12019     * popup with user defined content such as "call", "add to contacts" or
12020     * "open web page". This popup is provided using the @ref Hover widget.
12021     *
12022     * This widget is very similar to @ref Anchorblock, so refer to that
12023     * widget for an example. The only difference Anchorview has is that the
12024     * widget is already provided with scrolling functionality, so if the
12025     * text set to it is too large to fit in the given space, it will scroll,
12026     * whereas the @ref Anchorblock widget will keep growing to ensure all the
12027     * text can be displayed.
12028     *
12029     * This widget emits the following signals:
12030     * @li "anchor,clicked": will be called when an anchor is clicked. The
12031     * @p event_info parameter on the callback will be a pointer of type
12032     * ::Elm_Entry_Anchorview_Info.
12033     *
12034     * See @ref Anchorblock for an example on how to use both of them.
12035     *
12036     * @see Anchorblock
12037     * @see Entry
12038     * @see Hover
12039     *
12040     * @{
12041     */
12042    /**
12043     * @typedef Elm_Entry_Anchorview_Info
12044     *
12045     * The info sent in the callback for "anchor,clicked" signals emitted by
12046     * the Anchorview widget.
12047     */
12048    typedef struct _Elm_Entry_Anchorview_Info Elm_Entry_Anchorview_Info;
12049    /**
12050     * @struct _Elm_Entry_Anchorview_Info
12051     *
12052     * The info sent in the callback for "anchor,clicked" signals emitted by
12053     * the Anchorview widget.
12054     */
12055    struct _Elm_Entry_Anchorview_Info
12056      {
12057         const char     *name; /**< Name of the anchor, as indicated in its href
12058                                    attribute */
12059         int             button; /**< The mouse button used to click on it */
12060         Evas_Object    *hover; /**< The hover object to use for the popup */
12061         struct {
12062              Evas_Coord    x, y, w, h;
12063         } anchor, /**< Geometry selection of text used as anchor */
12064           hover_parent; /**< Geometry of the object used as parent by the
12065                              hover */
12066         Eina_Bool       hover_left : 1; /**< Hint indicating if there's space
12067                                              for content on the left side of
12068                                              the hover. Before calling the
12069                                              callback, the widget will make the
12070                                              necessary calculations to check
12071                                              which sides are fit to be set with
12072                                              content, based on the position the
12073                                              hover is activated and its distance
12074                                              to the edges of its parent object
12075                                              */
12076         Eina_Bool       hover_right : 1; /**< Hint indicating content fits on
12077                                               the right side of the hover.
12078                                               See @ref hover_left */
12079         Eina_Bool       hover_top : 1; /**< Hint indicating content fits on top
12080                                             of the hover. See @ref hover_left */
12081         Eina_Bool       hover_bottom : 1; /**< Hint indicating content fits
12082                                                below the hover. See @ref
12083                                                hover_left */
12084      };
12085    /**
12086     * Add a new Anchorview object
12087     *
12088     * @param parent The parent object
12089     * @return The new object or NULL if it cannot be created
12090     */
12091    EAPI Evas_Object *elm_anchorview_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12092    /**
12093     * Set the text to show in the anchorview
12094     *
12095     * Sets the text of the anchorview to @p text. This text can include markup
12096     * format tags, including <c>\<a href=anchorname\></c> to begin a segment of
12097     * text that will be specially styled and react to click events, ended with
12098     * either of \</a\> or \</\>. When clicked, the anchor will emit an
12099     * "anchor,clicked" signal that you can attach a callback to with
12100     * evas_object_smart_callback_add(). The name of the anchor given in the
12101     * event info struct will be the one set in the href attribute, in this
12102     * case, anchorname.
12103     *
12104     * Other markup can be used to style the text in different ways, but it's
12105     * up to the style defined in the theme which tags do what.
12106     * @deprecated use elm_object_text_set() instead.
12107     */
12108    EINA_DEPRECATED EAPI void         elm_anchorview_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1);
12109    /**
12110     * Get the markup text set for the anchorview
12111     *
12112     * Retrieves the text set on the anchorview, with markup tags included.
12113     *
12114     * @param obj The anchorview object
12115     * @return The markup text set or @c NULL if nothing was set or an error
12116     * occurred
12117     * @deprecated use elm_object_text_set() instead.
12118     */
12119    EINA_DEPRECATED EAPI const char  *elm_anchorview_text_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12120    /**
12121     * Set the parent of the hover popup
12122     *
12123     * Sets the parent object to use by the hover created by the anchorview
12124     * when an anchor is clicked. See @ref Hover for more details on this.
12125     * If no parent is set, the same anchorview object will be used.
12126     *
12127     * @param obj The anchorview object
12128     * @param parent The object to use as parent for the hover
12129     */
12130    EAPI void         elm_anchorview_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
12131    /**
12132     * Get the parent of the hover popup
12133     *
12134     * Get the object used as parent for the hover created by the anchorview
12135     * widget. See @ref Hover for more details on this.
12136     *
12137     * @param obj The anchorview object
12138     * @return The object used as parent for the hover, NULL if none is set.
12139     */
12140    EAPI Evas_Object *elm_anchorview_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12141    /**
12142     * Set the style that the hover should use
12143     *
12144     * When creating the popup hover, anchorview will request that it's
12145     * themed according to @p style.
12146     *
12147     * @param obj The anchorview object
12148     * @param style The style to use for the underlying hover
12149     *
12150     * @see elm_object_style_set()
12151     */
12152    EAPI void         elm_anchorview_hover_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
12153    /**
12154     * Get the style that the hover should use
12155     *
12156     * Get the style the hover created by anchorview will use.
12157     *
12158     * @param obj The anchorview object
12159     * @return The style to use by the hover. NULL means the default is used.
12160     *
12161     * @see elm_object_style_set()
12162     */
12163    EAPI const char  *elm_anchorview_hover_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12164    /**
12165     * Ends the hover popup in the anchorview
12166     *
12167     * When an anchor is clicked, the anchorview widget will create a hover
12168     * object to use as a popup with user provided content. This function
12169     * terminates this popup, returning the anchorview to its normal state.
12170     *
12171     * @param obj The anchorview object
12172     */
12173    EAPI void         elm_anchorview_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
12174    /**
12175     * Set bouncing behaviour when the scrolled content reaches an edge
12176     *
12177     * Tell the internal scroller object whether it should bounce or not
12178     * when it reaches the respective edges for each axis.
12179     *
12180     * @param obj The anchorview object
12181     * @param h_bounce Whether to bounce or not in the horizontal axis
12182     * @param v_bounce Whether to bounce or not in the vertical axis
12183     *
12184     * @see elm_scroller_bounce_set()
12185     */
12186    EAPI void         elm_anchorview_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
12187    /**
12188     * Get the set bouncing behaviour of the internal scroller
12189     *
12190     * Get whether the internal scroller should bounce when the edge of each
12191     * axis is reached scrolling.
12192     *
12193     * @param obj The anchorview object
12194     * @param h_bounce Pointer where to store the bounce state of the horizontal
12195     *                 axis
12196     * @param v_bounce Pointer where to store the bounce state of the vertical
12197     *                 axis
12198     *
12199     * @see elm_scroller_bounce_get()
12200     */
12201    EAPI void         elm_anchorview_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
12202    /**
12203     * Appends a custom item provider to the given anchorview
12204     *
12205     * Appends the given function to the list of items providers. This list is
12206     * called, one function at a time, with the given @p data pointer, the
12207     * anchorview object and, in the @p item parameter, the item name as
12208     * referenced in its href string. Following functions in the list will be
12209     * called in order until one of them returns something different to NULL,
12210     * which should be an Evas_Object which will be used in place of the item
12211     * element.
12212     *
12213     * Items in the markup text take the form \<item relsize=16x16 vsize=full
12214     * href=item/name\>\</item\>
12215     *
12216     * @param obj The anchorview object
12217     * @param func The function to add to the list of providers
12218     * @param data User data that will be passed to the callback function
12219     *
12220     * @see elm_entry_item_provider_append()
12221     */
12222    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);
12223    /**
12224     * Prepend a custom item provider to the given anchorview
12225     *
12226     * Like elm_anchorview_item_provider_append(), but it adds the function
12227     * @p func to the beginning of the list, instead of the end.
12228     *
12229     * @param obj The anchorview object
12230     * @param func The function to add to the list of providers
12231     * @param data User data that will be passed to the callback function
12232     */
12233    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);
12234    /**
12235     * Remove a custom item provider from the list of the given anchorview
12236     *
12237     * Removes the function and data pairing that matches @p func and @p data.
12238     * That is, unless the same function and same user data are given, the
12239     * function will not be removed from the list. This allows us to add the
12240     * same callback several times, with different @p data pointers and be
12241     * able to remove them later without conflicts.
12242     *
12243     * @param obj The anchorview object
12244     * @param func The function to remove from the list
12245     * @param data The data matching the function to remove from the list
12246     */
12247    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);
12248    /**
12249     * @}
12250     */
12251
12252    /* anchorblock */
12253    /**
12254     * @defgroup Anchorblock Anchorblock
12255     *
12256     * @image html img/widget/anchorblock/preview-00.png
12257     * @image latex img/widget/anchorblock/preview-00.eps
12258     *
12259     * Anchorblock is for displaying text that contains markup with anchors
12260     * like <c>\<a href=1234\>something\</\></c> in it.
12261     *
12262     * Besides being styled differently, the anchorblock widget provides the
12263     * necessary functionality so that clicking on these anchors brings up a
12264     * popup with user defined content such as "call", "add to contacts" or
12265     * "open web page". This popup is provided using the @ref Hover widget.
12266     *
12267     * This widget emits the following signals:
12268     * @li "anchor,clicked": will be called when an anchor is clicked. The
12269     * @p event_info parameter on the callback will be a pointer of type
12270     * ::Elm_Entry_Anchorblock_Info.
12271     *
12272     * @see Anchorview
12273     * @see Entry
12274     * @see Hover
12275     *
12276     * Since examples are usually better than plain words, we might as well
12277     * try @ref tutorial_anchorblock_example "one".
12278     */
12279    /**
12280     * @addtogroup Anchorblock
12281     * @{
12282     */
12283    /**
12284     * @typedef Elm_Entry_Anchorblock_Info
12285     *
12286     * The info sent in the callback for "anchor,clicked" signals emitted by
12287     * the Anchorblock widget.
12288     */
12289    typedef struct _Elm_Entry_Anchorblock_Info Elm_Entry_Anchorblock_Info;
12290    /**
12291     * @struct _Elm_Entry_Anchorblock_Info
12292     *
12293     * The info sent in the callback for "anchor,clicked" signals emitted by
12294     * the Anchorblock widget.
12295     */
12296    struct _Elm_Entry_Anchorblock_Info
12297      {
12298         const char     *name; /**< Name of the anchor, as indicated in its href
12299                                    attribute */
12300         int             button; /**< The mouse button used to click on it */
12301         Evas_Object    *hover; /**< The hover object to use for the popup */
12302         struct {
12303              Evas_Coord    x, y, w, h;
12304         } anchor, /**< Geometry selection of text used as anchor */
12305           hover_parent; /**< Geometry of the object used as parent by the
12306                              hover */
12307         Eina_Bool       hover_left : 1; /**< Hint indicating if there's space
12308                                              for content on the left side of
12309                                              the hover. Before calling the
12310                                              callback, the widget will make the
12311                                              necessary calculations to check
12312                                              which sides are fit to be set with
12313                                              content, based on the position the
12314                                              hover is activated and its distance
12315                                              to the edges of its parent object
12316                                              */
12317         Eina_Bool       hover_right : 1; /**< Hint indicating content fits on
12318                                               the right side of the hover.
12319                                               See @ref hover_left */
12320         Eina_Bool       hover_top : 1; /**< Hint indicating content fits on top
12321                                             of the hover. See @ref hover_left */
12322         Eina_Bool       hover_bottom : 1; /**< Hint indicating content fits
12323                                                below the hover. See @ref
12324                                                hover_left */
12325      };
12326    /**
12327     * Add a new Anchorblock object
12328     *
12329     * @param parent The parent object
12330     * @return The new object or NULL if it cannot be created
12331     */
12332    EAPI Evas_Object *elm_anchorblock_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12333    /**
12334     * Set the text to show in the anchorblock
12335     *
12336     * Sets the text of the anchorblock to @p text. This text can include markup
12337     * format tags, including <c>\<a href=anchorname\></a></c> to begin a segment
12338     * of text that will be specially styled and react to click events, ended
12339     * with either of \</a\> or \</\>. When clicked, the anchor will emit an
12340     * "anchor,clicked" signal that you can attach a callback to with
12341     * evas_object_smart_callback_add(). The name of the anchor given in the
12342     * event info struct will be the one set in the href attribute, in this
12343     * case, anchorname.
12344     *
12345     * Other markup can be used to style the text in different ways, but it's
12346     * up to the style defined in the theme which tags do what.
12347     * @deprecated use elm_object_text_set() instead.
12348     */
12349    EINA_DEPRECATED EAPI void         elm_anchorblock_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1);
12350    /**
12351     * Get the markup text set for the anchorblock
12352     *
12353     * Retrieves the text set on the anchorblock, with markup tags included.
12354     *
12355     * @param obj The anchorblock object
12356     * @return The markup text set or @c NULL if nothing was set or an error
12357     * occurred
12358     * @deprecated use elm_object_text_set() instead.
12359     */
12360    EINA_DEPRECATED EAPI const char  *elm_anchorblock_text_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12361    /**
12362     * Set the parent of the hover popup
12363     *
12364     * Sets the parent object to use by the hover created by the anchorblock
12365     * when an anchor is clicked. See @ref Hover for more details on this.
12366     *
12367     * @param obj The anchorblock object
12368     * @param parent The object to use as parent for the hover
12369     */
12370    EAPI void         elm_anchorblock_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
12371    /**
12372     * Get the parent of the hover popup
12373     *
12374     * Get the object used as parent for the hover created by the anchorblock
12375     * widget. See @ref Hover for more details on this.
12376     * If no parent is set, the same anchorblock object will be used.
12377     *
12378     * @param obj The anchorblock object
12379     * @return The object used as parent for the hover, NULL if none is set.
12380     */
12381    EAPI Evas_Object *elm_anchorblock_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12382    /**
12383     * Set the style that the hover should use
12384     *
12385     * When creating the popup hover, anchorblock will request that it's
12386     * themed according to @p style.
12387     *
12388     * @param obj The anchorblock object
12389     * @param style The style to use for the underlying hover
12390     *
12391     * @see elm_object_style_set()
12392     */
12393    EAPI void         elm_anchorblock_hover_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
12394    /**
12395     * Get the style that the hover should use
12396     *
12397     * Get the style, the hover created by anchorblock will use.
12398     *
12399     * @param obj The anchorblock object
12400     * @return The style to use by the hover. NULL means the default is used.
12401     *
12402     * @see elm_object_style_set()
12403     */
12404    EAPI const char  *elm_anchorblock_hover_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12405    /**
12406     * Ends the hover popup in the anchorblock
12407     *
12408     * When an anchor is clicked, the anchorblock widget will create a hover
12409     * object to use as a popup with user provided content. This function
12410     * terminates this popup, returning the anchorblock to its normal state.
12411     *
12412     * @param obj The anchorblock object
12413     */
12414    EAPI void         elm_anchorblock_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
12415    /**
12416     * Appends a custom item provider to the given anchorblock
12417     *
12418     * Appends the given function to the list of items providers. This list is
12419     * called, one function at a time, with the given @p data pointer, the
12420     * anchorblock object and, in the @p item parameter, the item name as
12421     * referenced in its href string. Following functions in the list will be
12422     * called in order until one of them returns something different to NULL,
12423     * which should be an Evas_Object which will be used in place of the item
12424     * element.
12425     *
12426     * Items in the markup text take the form \<item relsize=16x16 vsize=full
12427     * href=item/name\>\</item\>
12428     *
12429     * @param obj The anchorblock object
12430     * @param func The function to add to the list of providers
12431     * @param data User data that will be passed to the callback function
12432     *
12433     * @see elm_entry_item_provider_append()
12434     */
12435    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);
12436    /**
12437     * Prepend a custom item provider to the given anchorblock
12438     *
12439     * Like elm_anchorblock_item_provider_append(), but it adds the function
12440     * @p func to the beginning of the list, instead of the end.
12441     *
12442     * @param obj The anchorblock object
12443     * @param func The function to add to the list of providers
12444     * @param data User data that will be passed to the callback function
12445     */
12446    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);
12447    /**
12448     * Remove a custom item provider from the list of the given anchorblock
12449     *
12450     * Removes the function and data pairing that matches @p func and @p data.
12451     * That is, unless the same function and same user data are given, the
12452     * function will not be removed from the list. This allows us to add the
12453     * same callback several times, with different @p data pointers and be
12454     * able to remove them later without conflicts.
12455     *
12456     * @param obj The anchorblock object
12457     * @param func The function to remove from the list
12458     * @param data The data matching the function to remove from the list
12459     */
12460    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);
12461    /**
12462     * @}
12463     */
12464
12465    /**
12466     * @defgroup Bubble Bubble
12467     *
12468     * @image html img/widget/bubble/preview-00.png
12469     * @image latex img/widget/bubble/preview-00.eps
12470     * @image html img/widget/bubble/preview-01.png
12471     * @image latex img/widget/bubble/preview-01.eps
12472     * @image html img/widget/bubble/preview-02.png
12473     * @image latex img/widget/bubble/preview-02.eps
12474     *
12475     * @brief The Bubble is a widget to show text similar to how speech is
12476     * represented in comics.
12477     *
12478     * The bubble widget contains 5 important visual elements:
12479     * @li The frame is a rectangle with rounded edjes and an "arrow".
12480     * @li The @p icon is an image to which the frame's arrow points to.
12481     * @li The @p label is a text which appears to the right of the icon if the
12482     * corner is "top_left" or "bottom_left" and is right aligned to the frame
12483     * otherwise.
12484     * @li The @p info is a text which appears to the right of the label. Info's
12485     * font is of a ligther color than label.
12486     * @li The @p content is an evas object that is shown inside the frame.
12487     *
12488     * The position of the arrow, icon, label and info depends on which corner is
12489     * selected. The four available corners are:
12490     * @li "top_left" - Default
12491     * @li "top_right"
12492     * @li "bottom_left"
12493     * @li "bottom_right"
12494     *
12495     * Signals that you can add callbacks for are:
12496     * @li "clicked" - This is called when a user has clicked the bubble.
12497     *
12498     * Default contents parts of the bubble that you can use for are:
12499     * @li "default" - A content of the bubble
12500     * @li "icon" - An icon of the bubble
12501     *
12502     * Default text parts of the button widget that you can use for are:
12503     * @li NULL - Label of the bubble
12504     * 
12505          * For an example of using a buble see @ref bubble_01_example_page "this".
12506     *
12507     * @{
12508     */
12509
12510    /**
12511     * Add a new bubble to the parent
12512     *
12513     * @param parent The parent object
12514     * @return The new object or NULL if it cannot be created
12515     *
12516     * This function adds a text bubble to the given parent evas object.
12517     */
12518    EAPI Evas_Object *elm_bubble_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12519    /**
12520     * Set the label of the bubble
12521     *
12522     * @param obj The bubble object
12523     * @param label The string to set in the label
12524     *
12525     * This function sets the title of the bubble. Where this appears depends on
12526     * the selected corner.
12527     * @deprecated use elm_object_text_set() instead.
12528     */
12529    EINA_DEPRECATED EAPI void         elm_bubble_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
12530    /**
12531     * Get the label of the bubble
12532     *
12533     * @param obj The bubble object
12534     * @return The string of set in the label
12535     *
12536     * This function gets the title of the bubble.
12537     * @deprecated use elm_object_text_get() instead.
12538     */
12539    EINA_DEPRECATED EAPI const char  *elm_bubble_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12540    /**
12541     * Set the info of the bubble
12542     *
12543     * @param obj The bubble object
12544     * @param info The given info about the bubble
12545     *
12546     * This function sets the info of the bubble. Where this appears depends on
12547     * the selected corner.
12548     * @deprecated use elm_object_part_text_set() instead. (with "info" as the parameter).
12549     */
12550    EINA_DEPRECATED EAPI void         elm_bubble_info_set(Evas_Object *obj, const char *info) EINA_ARG_NONNULL(1);
12551    /**
12552     * Get the info of the bubble
12553     *
12554     * @param obj The bubble object
12555     *
12556     * @return The "info" string of the bubble
12557     *
12558     * This function gets the info text.
12559     * @deprecated use elm_object_part_text_get() instead. (with "info" as the parameter).
12560     */
12561    EINA_DEPRECATED EAPI const char  *elm_bubble_info_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12562    /**
12563     * Set the content to be shown in the bubble
12564     *
12565     * Once the content object is set, a previously set one will be deleted.
12566     * If you want to keep the old content object, use the
12567     * elm_bubble_content_unset() function.
12568     *
12569     * @param obj The bubble object
12570     * @param content The given content of the bubble
12571     *
12572     * This function sets the content shown on the middle of the bubble.
12573     * 
12574     * @deprecated use elm_object_content_set() instead
12575     *
12576     */
12577    WILL_DEPRECATE  EAPI void         elm_bubble_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
12578    /**
12579     * Get the content shown in the bubble
12580     *
12581     * Return the content object which is set for this widget.
12582     *
12583     * @param obj The bubble object
12584     * @return The content that is being used
12585     *
12586     * @deprecated use elm_object_content_get() instead
12587     *
12588     */
12589    WILL_DEPRECATE  EAPI Evas_Object *elm_bubble_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12590    /**
12591     * Unset the content shown in the bubble
12592     *
12593     * Unparent and return the content object which was set for this widget.
12594     *
12595     * @param obj The bubble object
12596     * @return The content that was being used
12597     *
12598     * @deprecated use elm_object_content_unset() instead
12599     *
12600     */
12601    WILL_DEPRECATE  EAPI Evas_Object *elm_bubble_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
12602    /**
12603     * Set the icon of the bubble
12604     *
12605     * Once the icon object is set, a previously set one will be deleted.
12606     * If you want to keep the old content object, use the
12607     * elm_icon_content_unset() function.
12608     *
12609     * @param obj The bubble object
12610     * @param icon The given icon for the bubble
12611     *
12612     * @deprecated use elm_object_part_content_set() instead
12613     *
12614     */
12615    EINA_DEPRECATED EAPI void         elm_bubble_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
12616    /**
12617     * Get the icon of the bubble
12618     *
12619     * @param obj The bubble object
12620     * @return The icon for the bubble
12621     *
12622     * This function gets the icon shown on the top left of bubble.
12623     *
12624     * @deprecated use elm_object_part_content_get() instead
12625     *
12626     */
12627    EINA_DEPRECATED EAPI Evas_Object *elm_bubble_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12628    /**
12629     * Unset the icon of the bubble
12630     *
12631     * Unparent and return the icon object which was set for this widget.
12632     *
12633     * @param obj The bubble object
12634     * @return The icon that was being used
12635     *
12636     * @deprecated use elm_object_part_content_unset() instead
12637     *
12638     */
12639    EINA_DEPRECATED EAPI Evas_Object *elm_bubble_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
12640    /**
12641     * Set the corner of the bubble
12642     *
12643     * @param obj The bubble object.
12644     * @param corner The given corner for the bubble.
12645     *
12646     * This function sets the corner of the bubble. The corner will be used to
12647     * determine where the arrow in the frame points to and where label, icon and
12648     * info are shown.
12649     *
12650     * Possible values for corner are:
12651     * @li "top_left" - Default
12652     * @li "top_right"
12653     * @li "bottom_left"
12654     * @li "bottom_right"
12655     */
12656    EAPI void         elm_bubble_corner_set(Evas_Object *obj, const char *corner) EINA_ARG_NONNULL(1, 2);
12657    /**
12658     * Get the corner of the bubble
12659     *
12660     * @param obj The bubble object.
12661     * @return The given corner for the bubble.
12662     *
12663     * This function gets the selected corner of the bubble.
12664     */
12665    EAPI const char  *elm_bubble_corner_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
12666
12667    /**
12668     * @}
12669     */
12670
12671    /**
12672     * @defgroup Photo Photo
12673     *
12674     * For displaying the photo of a person (contact). Simple, yet
12675     * with a very specific purpose.
12676     *
12677     * Signals that you can add callbacks for are:
12678     *
12679     * "clicked" - This is called when a user has clicked the photo
12680     * "drag,start" - Someone started dragging the image out of the object
12681     * "drag,end" - Dragged item was dropped (somewhere)
12682     *
12683     * @{
12684     */
12685
12686    /**
12687     * Add a new photo to the parent
12688     *
12689     * @param parent The parent object
12690     * @return The new object or NULL if it cannot be created
12691     *
12692     * @ingroup Photo
12693     */
12694    EAPI Evas_Object *elm_photo_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
12695
12696    /**
12697     * Set the file that will be used as photo
12698     *
12699     * @param obj The photo object
12700     * @param file The path to file that will be used as photo
12701     *
12702     * @return (1 = success, 0 = error)
12703     *
12704     * @ingroup Photo
12705     */
12706    EAPI Eina_Bool    elm_photo_file_set(Evas_Object *obj, const char *file) EINA_ARG_NONNULL(1);
12707
12708     /**
12709     * Set the file that will be used as thumbnail in the photo.
12710     *
12711     * @param obj The photo object.
12712     * @param file The path to file that will be used as thumb.
12713     * @param group The key used in case of an EET file.
12714     *
12715     * @ingroup Photo
12716     */
12717    EAPI void         elm_photo_thumb_set(const Evas_Object *obj, const char *file, const char *group) EINA_ARG_NONNULL(1, 2);
12718
12719    /**
12720     * Set the size that will be used on the photo
12721     *
12722     * @param obj The photo object
12723     * @param size The size that the photo will be
12724     *
12725     * @ingroup Photo
12726     */
12727    EAPI void         elm_photo_size_set(Evas_Object *obj, int size) EINA_ARG_NONNULL(1);
12728
12729    /**
12730     * Set if the photo should be completely visible or not.
12731     *
12732     * @param obj The photo object
12733     * @param fill if true the photo will be completely visible
12734     *
12735     * @ingroup Photo
12736     */
12737    EAPI void         elm_photo_fill_inside_set(Evas_Object *obj, Eina_Bool fill) EINA_ARG_NONNULL(1);
12738
12739    /**
12740     * Set editability of the photo.
12741     *
12742     * An editable photo can be dragged to or from, and can be cut or
12743     * pasted too.  Note that pasting an image or dropping an item on
12744     * the image will delete the existing content.
12745     *
12746     * @param obj The photo object.
12747     * @param set To set of clear editablity.
12748     */
12749    EAPI void         elm_photo_editable_set(Evas_Object *obj, Eina_Bool set) EINA_ARG_NONNULL(1);
12750
12751    /**
12752     * @}
12753     */
12754
12755    /* gesture layer */
12756    /**
12757     * @defgroup Elm_Gesture_Layer Gesture Layer
12758     * Gesture Layer Usage:
12759     *
12760     * Use Gesture Layer to detect gestures.
12761     * The advantage is that you don't have to implement
12762     * gesture detection, just set callbacks of gesture state.
12763     * By using gesture layer we make standard interface.
12764     *
12765     * In order to use Gesture Layer you start with @ref elm_gesture_layer_add
12766     * with a parent object parameter.
12767     * Next 'activate' gesture layer with a @ref elm_gesture_layer_attach
12768     * call. Usually with same object as target (2nd parameter).
12769     *
12770     * Now you need to tell gesture layer what gestures you follow.
12771     * This is done with @ref elm_gesture_layer_cb_set call.
12772     * By setting the callback you actually saying to gesture layer:
12773     * I would like to know when the gesture @ref Elm_Gesture_Types
12774     * switches to state @ref Elm_Gesture_State.
12775     *
12776     * Next, you need to implement the actual action that follows the input
12777     * in your callback.
12778     *
12779     * Note that if you like to stop being reported about a gesture, just set
12780     * all callbacks referring this gesture to NULL.
12781     * (again with @ref elm_gesture_layer_cb_set)
12782     *
12783     * The information reported by gesture layer to your callback is depending
12784     * on @ref Elm_Gesture_Types:
12785     * @ref Elm_Gesture_Taps_Info is the info reported for tap gestures:
12786     * @ref ELM_GESTURE_N_TAPS, @ref ELM_GESTURE_N_LONG_TAPS,
12787     * @ref ELM_GESTURE_N_DOUBLE_TAPS, @ref ELM_GESTURE_N_TRIPLE_TAPS.
12788     *
12789     * @ref Elm_Gesture_Momentum_Info is info reported for momentum gestures:
12790     * @ref ELM_GESTURE_MOMENTUM.
12791     *
12792     * @ref Elm_Gesture_Line_Info is the info reported for line gestures:
12793     * (this also contains @ref Elm_Gesture_Momentum_Info internal structure)
12794     * @ref ELM_GESTURE_N_LINES, @ref ELM_GESTURE_N_FLICKS.
12795     * Note that we consider a flick as a line-gesture that should be completed
12796     * in flick-time-limit as defined in @ref Config.
12797     *
12798     * @ref Elm_Gesture_Zoom_Info is the info reported for @ref ELM_GESTURE_ZOOM gesture.
12799     *
12800     * @ref Elm_Gesture_Rotate_Info is the info reported for @ref ELM_GESTURE_ROTATE gesture.
12801     *
12802     *
12803     * Gesture Layer Tweaks:
12804     *
12805     * Note that line, flick, gestures can start without the need to remove fingers from surface.
12806     * When user fingers rests on same-spot gesture is ended and starts again when fingers moved.
12807     *
12808     * Setting glayer_continues_enable to false in @ref Config will change this behavior
12809     * so gesture starts when user touches (a *DOWN event) touch-surface
12810     * and ends when no fingers touches surface (a *UP event).
12811     */
12812
12813    /**
12814     * @enum _Elm_Gesture_Types
12815     * Enum of supported gesture types.
12816     * @ingroup Elm_Gesture_Layer
12817     */
12818    enum _Elm_Gesture_Types
12819      {
12820         ELM_GESTURE_FIRST = 0,
12821
12822         ELM_GESTURE_N_TAPS, /**< N fingers single taps */
12823         ELM_GESTURE_N_LONG_TAPS, /**< N fingers single long-taps */
12824         ELM_GESTURE_N_DOUBLE_TAPS, /**< N fingers double-single taps */
12825         ELM_GESTURE_N_TRIPLE_TAPS, /**< N fingers triple-single taps */
12826
12827         ELM_GESTURE_MOMENTUM, /**< Reports momentum in the dircetion of move */
12828
12829         ELM_GESTURE_N_LINES, /**< N fingers line gesture */
12830         ELM_GESTURE_N_FLICKS, /**< N fingers flick gesture */
12831
12832         ELM_GESTURE_ZOOM, /**< Zoom */
12833         ELM_GESTURE_ROTATE, /**< Rotate */
12834
12835         ELM_GESTURE_LAST
12836      };
12837
12838    /**
12839     * @typedef Elm_Gesture_Types
12840     * gesture types enum
12841     * @ingroup Elm_Gesture_Layer
12842     */
12843    typedef enum _Elm_Gesture_Types Elm_Gesture_Types;
12844
12845    /**
12846     * @enum _Elm_Gesture_State
12847     * Enum of gesture states.
12848     * @ingroup Elm_Gesture_Layer
12849     */
12850    enum _Elm_Gesture_State
12851      {
12852         ELM_GESTURE_STATE_UNDEFINED = -1, /**< Gesture not STARTed */
12853         ELM_GESTURE_STATE_START,          /**< Gesture STARTed     */
12854         ELM_GESTURE_STATE_MOVE,           /**< Gesture is ongoing  */
12855         ELM_GESTURE_STATE_END,            /**< Gesture completed   */
12856         ELM_GESTURE_STATE_ABORT    /**< Onging gesture was ABORTed */
12857      };
12858
12859    /**
12860     * @typedef Elm_Gesture_State
12861     * gesture states enum
12862     * @ingroup Elm_Gesture_Layer
12863     */
12864    typedef enum _Elm_Gesture_State Elm_Gesture_State;
12865
12866    /**
12867     * @struct _Elm_Gesture_Taps_Info
12868     * Struct holds taps info for user
12869     * @ingroup Elm_Gesture_Layer
12870     */
12871    struct _Elm_Gesture_Taps_Info
12872      {
12873         Evas_Coord x, y;         /**< Holds center point between fingers */
12874         unsigned int n;          /**< Number of fingers tapped           */
12875         unsigned int timestamp;  /**< event timestamp       */
12876      };
12877
12878    /**
12879     * @typedef Elm_Gesture_Taps_Info
12880     * holds taps info for user
12881     * @ingroup Elm_Gesture_Layer
12882     */
12883    typedef struct _Elm_Gesture_Taps_Info Elm_Gesture_Taps_Info;
12884
12885    /**
12886     * @struct _Elm_Gesture_Momentum_Info
12887     * Struct holds momentum info for user
12888     * x1 and y1 are not necessarily in sync
12889     * x1 holds x value of x direction starting point
12890     * and same holds for y1.
12891     * This is noticeable when doing V-shape movement
12892     * @ingroup Elm_Gesture_Layer
12893     */
12894    struct _Elm_Gesture_Momentum_Info
12895      {  /* Report line ends, timestamps, and momentum computed        */
12896         Evas_Coord x1; /**< Final-swipe direction starting point on X */
12897         Evas_Coord y1; /**< Final-swipe direction starting point on Y */
12898         Evas_Coord x2; /**< Final-swipe direction ending point on X   */
12899         Evas_Coord y2; /**< Final-swipe direction ending point on Y   */
12900
12901         unsigned int tx; /**< Timestamp of start of final x-swipe */
12902         unsigned int ty; /**< Timestamp of start of final y-swipe */
12903
12904         Evas_Coord mx; /**< Momentum on X */
12905         Evas_Coord my; /**< Momentum on Y */
12906
12907         unsigned int n;  /**< Number of fingers */
12908      };
12909
12910    /**
12911     * @typedef Elm_Gesture_Momentum_Info
12912     * holds momentum info for user
12913     * @ingroup Elm_Gesture_Layer
12914     */
12915     typedef struct _Elm_Gesture_Momentum_Info Elm_Gesture_Momentum_Info;
12916
12917    /**
12918     * @struct _Elm_Gesture_Line_Info
12919     * Struct holds line info for user
12920     * @ingroup Elm_Gesture_Layer
12921     */
12922    struct _Elm_Gesture_Line_Info
12923      {  /* Report line ends, timestamps, and momentum computed      */
12924         Elm_Gesture_Momentum_Info momentum; /**< Line momentum info */
12925         double angle;              /**< Angle (direction) of lines  */
12926      };
12927
12928    /**
12929     * @typedef Elm_Gesture_Line_Info
12930     * Holds line info for user
12931     * @ingroup Elm_Gesture_Layer
12932     */
12933     typedef struct  _Elm_Gesture_Line_Info Elm_Gesture_Line_Info;
12934
12935    /**
12936     * @struct _Elm_Gesture_Zoom_Info
12937     * Struct holds zoom info for user
12938     * @ingroup Elm_Gesture_Layer
12939     */
12940    struct _Elm_Gesture_Zoom_Info
12941      {
12942         Evas_Coord x, y;       /**< Holds zoom center point reported to user  */
12943         Evas_Coord radius; /**< Holds radius between fingers reported to user */
12944         double zoom;            /**< Zoom value: 1.0 means no zoom             */
12945         double momentum;        /**< Zoom momentum: zoom growth per second (NOT YET SUPPORTED) */
12946      };
12947
12948    /**
12949     * @typedef Elm_Gesture_Zoom_Info
12950     * Holds zoom info for user
12951     * @ingroup Elm_Gesture_Layer
12952     */
12953    typedef struct _Elm_Gesture_Zoom_Info Elm_Gesture_Zoom_Info;
12954
12955    /**
12956     * @struct _Elm_Gesture_Rotate_Info
12957     * Struct holds rotation info for user
12958     * @ingroup Elm_Gesture_Layer
12959     */
12960    struct _Elm_Gesture_Rotate_Info
12961      {
12962         Evas_Coord x, y;   /**< Holds zoom center point reported to user      */
12963         Evas_Coord radius; /**< Holds radius between fingers reported to user */
12964         double base_angle; /**< Holds start-angle */
12965         double angle;      /**< Rotation value: 0.0 means no rotation         */
12966         double momentum;   /**< Rotation momentum: rotation done per second (NOT YET SUPPORTED) */
12967      };
12968
12969    /**
12970     * @typedef Elm_Gesture_Rotate_Info
12971     * Holds rotation info for user
12972     * @ingroup Elm_Gesture_Layer
12973     */
12974    typedef struct _Elm_Gesture_Rotate_Info Elm_Gesture_Rotate_Info;
12975
12976    /**
12977     * @typedef Elm_Gesture_Event_Cb
12978     * User callback used to stream gesture info from gesture layer
12979     * @param data user data
12980     * @param event_info gesture report info
12981     * Returns a flag field to be applied on the causing event.
12982     * You should probably return EVAS_EVENT_FLAG_ON_HOLD if your widget acted
12983     * upon the event, in an irreversible way.
12984     *
12985     * @ingroup Elm_Gesture_Layer
12986     */
12987    typedef Evas_Event_Flags (*Elm_Gesture_Event_Cb) (void *data, void *event_info);
12988
12989    /**
12990     * Use function to set callbacks to be notified about
12991     * change of state of gesture.
12992     * When a user registers a callback with this function
12993     * this means this gesture has to be tested.
12994     *
12995     * When ALL callbacks for a gesture are set to NULL
12996     * it means user isn't interested in gesture-state
12997     * and it will not be tested.
12998     *
12999     * @param obj Pointer to gesture-layer.
13000     * @param idx The gesture you would like to track its state.
13001     * @param cb callback function pointer.
13002     * @param cb_type what event this callback tracks: START, MOVE, END, ABORT.
13003     * @param data user info to be sent to callback (usually, Smart Data)
13004     *
13005     * @ingroup Elm_Gesture_Layer
13006     */
13007    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);
13008
13009    /**
13010     * Call this function to get repeat-events settings.
13011     *
13012     * @param obj Pointer to gesture-layer.
13013     *
13014     * @return repeat events settings.
13015     * @see elm_gesture_layer_hold_events_set()
13016     * @ingroup Elm_Gesture_Layer
13017     */
13018    EAPI Eina_Bool elm_gesture_layer_hold_events_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
13019
13020    /**
13021     * This function called in order to make gesture-layer repeat events.
13022     * Set this of you like to get the raw events only if gestures were not detected.
13023     * Clear this if you like gesture layer to fwd events as testing gestures.
13024     *
13025     * @param obj Pointer to gesture-layer.
13026     * @param r Repeat: TRUE/FALSE
13027     *
13028     * @ingroup Elm_Gesture_Layer
13029     */
13030    EAPI void elm_gesture_layer_hold_events_set(Evas_Object *obj, Eina_Bool r) EINA_ARG_NONNULL(1);
13031
13032    /**
13033     * This function sets step-value for zoom action.
13034     * Set step to any positive value.
13035     * Cancel step setting by setting to 0.0
13036     *
13037     * @param obj Pointer to gesture-layer.
13038     * @param s new zoom step value.
13039     *
13040     * @ingroup Elm_Gesture_Layer
13041     */
13042    EAPI void elm_gesture_layer_zoom_step_set(Evas_Object *obj, double s) EINA_ARG_NONNULL(1);
13043
13044    /**
13045     * This function sets step-value for rotate action.
13046     * Set step to any positive value.
13047     * Cancel step setting by setting to 0.0
13048     *
13049     * @param obj Pointer to gesture-layer.
13050     * @param s new roatate step value.
13051     *
13052     * @ingroup Elm_Gesture_Layer
13053     */
13054    EAPI void elm_gesture_layer_rotate_step_set(Evas_Object *obj, double s) EINA_ARG_NONNULL(1);
13055
13056    /**
13057     * This function called to attach gesture-layer to an Evas_Object.
13058     * @param obj Pointer to gesture-layer.
13059     * @param t Pointer to underlying object (AKA Target)
13060     *
13061     * @return TRUE, FALSE on success, failure.
13062     *
13063     * @ingroup Elm_Gesture_Layer
13064     */
13065    EAPI Eina_Bool elm_gesture_layer_attach(Evas_Object *obj, Evas_Object *t) EINA_ARG_NONNULL(1, 2);
13066
13067    /**
13068     * Call this function to construct a new gesture-layer object.
13069     * This does not activate the gesture layer. You have to
13070     * call elm_gesture_layer_attach in order to 'activate' gesture-layer.
13071     *
13072     * @param parent the parent object.
13073     *
13074     * @return Pointer to new gesture-layer object.
13075     *
13076     * @ingroup Elm_Gesture_Layer
13077     */
13078    EAPI Evas_Object *elm_gesture_layer_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
13079
13080    /**
13081     * @defgroup Thumb Thumb
13082     *
13083     * @image html img/widget/thumb/preview-00.png
13084     * @image latex img/widget/thumb/preview-00.eps
13085     *
13086     * A thumb object is used for displaying the thumbnail of an image or video.
13087     * You must have compiled Elementary with Ethumb_Client support and the DBus
13088     * service must be present and auto-activated in order to have thumbnails to
13089     * be generated.
13090     *
13091     * Once the thumbnail object becomes visible, it will check if there is a
13092     * previously generated thumbnail image for the file set on it. If not, it
13093     * will start generating this thumbnail.
13094     *
13095     * Different config settings will cause different thumbnails to be generated
13096     * even on the same file.
13097     *
13098     * Generated thumbnails are stored under @c $HOME/.thumbnails/. Check the
13099     * Ethumb documentation to change this path, and to see other configuration
13100     * options.
13101     *
13102     * Signals that you can add callbacks for are:
13103     *
13104     * - "clicked" - This is called when a user has clicked the thumb without dragging
13105     *             around.
13106     * - "clicked,double" - This is called when a user has double-clicked the thumb.
13107     * - "press" - This is called when a user has pressed down the thumb.
13108     * - "generate,start" - The thumbnail generation started.
13109     * - "generate,stop" - The generation process stopped.
13110     * - "generate,error" - The generation failed.
13111     * - "load,error" - The thumbnail image loading failed.
13112     *
13113     * available styles:
13114     * - default
13115     * - noframe
13116     *
13117     * An example of use of thumbnail:
13118     *
13119     * - @ref thumb_example_01
13120     */
13121
13122    /**
13123     * @addtogroup Thumb
13124     * @{
13125     */
13126
13127    /**
13128     * @enum _Elm_Thumb_Animation_Setting
13129     * @typedef Elm_Thumb_Animation_Setting
13130     *
13131     * Used to set if a video thumbnail is animating or not.
13132     *
13133     * @ingroup Thumb
13134     */
13135    typedef enum _Elm_Thumb_Animation_Setting
13136      {
13137         ELM_THUMB_ANIMATION_START = 0, /**< Play animation once */
13138         ELM_THUMB_ANIMATION_LOOP,      /**< Keep playing animation until stop is requested */
13139         ELM_THUMB_ANIMATION_STOP,      /**< Stop playing the animation */
13140         ELM_THUMB_ANIMATION_LAST
13141      } Elm_Thumb_Animation_Setting;
13142
13143    /**
13144     * Add a new thumb object to the parent.
13145     *
13146     * @param parent The parent object.
13147     * @return The new object or NULL if it cannot be created.
13148     *
13149     * @see elm_thumb_file_set()
13150     * @see elm_thumb_ethumb_client_get()
13151     *
13152     * @ingroup Thumb
13153     */
13154    EAPI Evas_Object                 *elm_thumb_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
13155    /**
13156     * Reload thumbnail if it was generated before.
13157     *
13158     * @param obj The thumb object to reload
13159     *
13160     * This is useful if the ethumb client configuration changed, like its
13161     * size, aspect or any other property one set in the handle returned
13162     * by elm_thumb_ethumb_client_get().
13163     *
13164     * If the options didn't change, the thumbnail won't be generated again, but
13165     * the old one will still be used.
13166     *
13167     * @see elm_thumb_file_set()
13168     *
13169     * @ingroup Thumb
13170     */
13171    EAPI void                         elm_thumb_reload(Evas_Object *obj) EINA_ARG_NONNULL(1);
13172    /**
13173     * Set the file that will be used as thumbnail.
13174     *
13175     * @param obj The thumb object.
13176     * @param file The path to file that will be used as thumb.
13177     * @param key The key used in case of an EET file.
13178     *
13179     * The file can be an image or a video (in that case, acceptable extensions are:
13180     * avi, mp4, ogv, mov, mpg and wmv). To start the video animation, use the
13181     * function elm_thumb_animate().
13182     *
13183     * @see elm_thumb_file_get()
13184     * @see elm_thumb_reload()
13185     * @see elm_thumb_animate()
13186     *
13187     * @ingroup Thumb
13188     */
13189    EAPI void                         elm_thumb_file_set(Evas_Object *obj, const char *file, const char *key) EINA_ARG_NONNULL(1);
13190    /**
13191     * Get the image or video path and key used to generate the thumbnail.
13192     *
13193     * @param obj The thumb object.
13194     * @param file Pointer to filename.
13195     * @param key Pointer to key.
13196     *
13197     * @see elm_thumb_file_set()
13198     * @see elm_thumb_path_get()
13199     *
13200     * @ingroup Thumb
13201     */
13202    EAPI void                         elm_thumb_file_get(const Evas_Object *obj, const char **file, const char **key) EINA_ARG_NONNULL(1);
13203    /**
13204     * Get the path and key to the image or video generated by ethumb.
13205     *
13206     * One just need to make sure that the thumbnail was generated before getting
13207     * its path; otherwise, the path will be NULL. One way to do that is by asking
13208     * for the path when/after the "generate,stop" smart callback is called.
13209     *
13210     * @param obj The thumb object.
13211     * @param file Pointer to thumb path.
13212     * @param key Pointer to thumb key.
13213     *
13214     * @see elm_thumb_file_get()
13215     *
13216     * @ingroup Thumb
13217     */
13218    EAPI void                         elm_thumb_path_get(const Evas_Object *obj, const char **file, const char **key) EINA_ARG_NONNULL(1);
13219    /**
13220     * Set the animation state for the thumb object. If its content is an animated
13221     * video, you may start/stop the animation or tell it to play continuously and
13222     * looping.
13223     *
13224     * @param obj The thumb object.
13225     * @param setting The animation setting.
13226     *
13227     * @see elm_thumb_file_set()
13228     *
13229     * @ingroup Thumb
13230     */
13231    EAPI void                         elm_thumb_animate_set(Evas_Object *obj, Elm_Thumb_Animation_Setting s) EINA_ARG_NONNULL(1);
13232    /**
13233     * Get the animation state for the thumb object.
13234     *
13235     * @param obj The thumb object.
13236     * @return getting The animation setting or @c ELM_THUMB_ANIMATION_LAST,
13237     * on errors.
13238     *
13239     * @see elm_thumb_animate_set()
13240     *
13241     * @ingroup Thumb
13242     */
13243    EAPI Elm_Thumb_Animation_Setting  elm_thumb_animate_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13244    /**
13245     * Get the ethumb_client handle so custom configuration can be made.
13246     *
13247     * @return Ethumb_Client instance or NULL.
13248     *
13249     * This must be called before the objects are created to be sure no object is
13250     * visible and no generation started.
13251     *
13252     * Example of usage:
13253     *
13254     * @code
13255     * #include <Elementary.h>
13256     * #ifndef ELM_LIB_QUICKLAUNCH
13257     * EAPI_MAIN int
13258     * elm_main(int argc, char **argv)
13259     * {
13260     *    Ethumb_Client *client;
13261     *
13262     *    elm_need_ethumb();
13263     *
13264     *    // ... your code
13265     *
13266     *    client = elm_thumb_ethumb_client_get();
13267     *    if (!client)
13268     *      {
13269     *         ERR("could not get ethumb_client");
13270     *         return 1;
13271     *      }
13272     *    ethumb_client_size_set(client, 100, 100);
13273     *    ethumb_client_crop_align_set(client, 0.5, 0.5);
13274     *    // ... your code
13275     *
13276     *    // Create elm_thumb objects here
13277     *
13278     *    elm_run();
13279     *    elm_shutdown();
13280     *    return 0;
13281     * }
13282     * #endif
13283     * ELM_MAIN()
13284     * @endcode
13285     *
13286     * @note There's only one client handle for Ethumb, so once a configuration
13287     * change is done to it, any other request for thumbnails (for any thumbnail
13288     * object) will use that configuration. Thus, this configuration is global.
13289     *
13290     * @ingroup Thumb
13291     */
13292    EAPI void                        *elm_thumb_ethumb_client_get(void);
13293    /**
13294     * Get the ethumb_client connection state.
13295     *
13296     * @return EINA_TRUE if the client is connected to the server or EINA_FALSE
13297     * otherwise.
13298     */
13299    EAPI Eina_Bool                    elm_thumb_ethumb_client_connected(void);
13300    /**
13301     * Make the thumbnail 'editable'.
13302     *
13303     * @param obj Thumb object.
13304     * @param set Turn on or off editability. Default is @c EINA_FALSE.
13305     *
13306     * This means the thumbnail is a valid drag target for drag and drop, and can be
13307     * cut or pasted too.
13308     *
13309     * @see elm_thumb_editable_get()
13310     *
13311     * @ingroup Thumb
13312     */
13313    EAPI Eina_Bool                    elm_thumb_editable_set(Evas_Object *obj, Eina_Bool edit) EINA_ARG_NONNULL(1);
13314    EAPI Eina_Bool                    elm_thumb_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13315    /**
13316     * Make the thumbnail 'editable'.
13317     *
13318     * @param obj Thumb object.
13319     * @return Editability.
13320     *
13321     * This means the thumbnail is a valid drag target for drag and drop, and can be
13322     * cut or pasted too.
13323     *
13324     * @see elm_thumb_editable_set()
13325     *
13326     * @ingroup Thumb
13327     */
13328    EAPI Eina_Bool                    elm_thumb_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13329
13330    /**
13331     * @}
13332     */
13333
13334    /**
13335     * @defgroup Web Web
13336     *
13337     * @image html img/widget/web/preview-00.png
13338     * @image latex img/widget/web/preview-00.eps
13339     *
13340     * A web object is used for displaying web pages (HTML/CSS/JS)
13341     * using WebKit-EFL. You must have compiled Elementary with
13342     * ewebkit support.
13343     *
13344     * Signals that you can add callbacks for are:
13345     * @li "download,request": A file download has been requested. Event info is
13346     * a pointer to a Elm_Web_Download
13347     * @li "editorclient,contents,changed": Editor client's contents changed
13348     * @li "editorclient,selection,changed": Editor client's selection changed
13349     * @li "frame,created": A new frame was created. Event info is an
13350     * Evas_Object which can be handled with WebKit's ewk_frame API
13351     * @li "icon,received": An icon was received by the main frame
13352     * @li "inputmethod,changed": Input method changed. Event info is an
13353     * Eina_Bool indicating whether it's enabled or not
13354     * @li "js,windowobject,clear": JS window object has been cleared
13355     * @li "link,hover,in": Mouse cursor is hovering over a link. Event info
13356     * is a char *link[2], where the first string contains the URL the link
13357     * points to, and the second one the title of the link
13358     * @li "link,hover,out": Mouse cursor left the link
13359     * @li "load,document,finished": Loading of a document finished. Event info
13360     * is the frame that finished loading
13361     * @li "load,error": Load failed. Event info is a pointer to
13362     * Elm_Web_Frame_Load_Error
13363     * @li "load,finished": Load finished. Event info is NULL on success, on
13364     * error it's a pointer to Elm_Web_Frame_Load_Error
13365     * @li "load,newwindow,show": A new window was created and is ready to be
13366     * shown
13367     * @li "load,progress": Overall load progress. Event info is a pointer to
13368     * a double containing a value between 0.0 and 1.0
13369     * @li "load,provisional": Started provisional load
13370     * @li "load,started": Loading of a document started
13371     * @li "menubar,visible,get": Queries if the menubar is visible. Event info
13372     * is a pointer to Eina_Bool where the callback should set EINA_TRUE if
13373     * the menubar is visible, or EINA_FALSE in case it's not
13374     * @li "menubar,visible,set": Informs menubar visibility. Event info is
13375     * an Eina_Bool indicating the visibility
13376     * @li "popup,created": A dropdown widget was activated, requesting its
13377     * popup menu to be created. Event info is a pointer to Elm_Web_Menu
13378     * @li "popup,willdelete": The web object is ready to destroy the popup
13379     * object created. Event info is a pointer to Elm_Web_Menu
13380     * @li "ready": Page is fully loaded
13381     * @li "scrollbars,visible,get": Queries visibility of scrollbars. Event
13382     * info is a pointer to Eina_Bool where the visibility state should be set
13383     * @li "scrollbars,visible,set": Informs scrollbars visibility. Event info
13384     * is an Eina_Bool with the visibility state set
13385     * @li "statusbar,text,set": Text of the statusbar changed. Even info is
13386     * a string with the new text
13387     * @li "statusbar,visible,get": Queries visibility of the status bar.
13388     * Event info is a pointer to Eina_Bool where the visibility state should be
13389     * set.
13390     * @li "statusbar,visible,set": Informs statusbar visibility. Event info is
13391     * an Eina_Bool with the visibility value
13392     * @li "title,changed": Title of the main frame changed. Event info is a
13393     * string with the new title
13394     * @li "toolbars,visible,get": Queries visibility of toolbars. Event info
13395     * is a pointer to Eina_Bool where the visibility state should be set
13396     * @li "toolbars,visible,set": Informs the visibility of toolbars. Event
13397     * info is an Eina_Bool with the visibility state
13398     * @li "tooltip,text,set": Show and set text of a tooltip. Event info is
13399     * a string with the text to show
13400     * @li "uri,changed": URI of the main frame changed. Event info is a string
13401     * with the new URI
13402     * @li "view,resized": The web object internal's view changed sized
13403     * @li "windows,close,request": A JavaScript request to close the current
13404     * window was requested
13405     * @li "zoom,animated,end": Animated zoom finished
13406     *
13407     * available styles:
13408     * - default
13409     *
13410     * An example of use of web:
13411     *
13412     * - @ref web_example_01 TBD
13413     */
13414
13415    /**
13416     * @addtogroup Web
13417     * @{
13418     */
13419
13420    /**
13421     * Structure used to report load errors.
13422     *
13423     * Load errors are reported as signal by elm_web. All the strings are
13424     * temporary references and should @b not be used after the signal
13425     * callback returns. If it's required, make copies with strdup() or
13426     * eina_stringshare_add() (they are not even guaranteed to be
13427     * stringshared, so must use eina_stringshare_add() and not
13428     * eina_stringshare_ref()).
13429     */
13430    typedef struct _Elm_Web_Frame_Load_Error Elm_Web_Frame_Load_Error;
13431    /**
13432     * Structure used to report load errors.
13433     *
13434     * Load errors are reported as signal by elm_web. All the strings are
13435     * temporary references and should @b not be used after the signal
13436     * callback returns. If it's required, make copies with strdup() or
13437     * eina_stringshare_add() (they are not even guaranteed to be
13438     * stringshared, so must use eina_stringshare_add() and not
13439     * eina_stringshare_ref()).
13440     */
13441    struct _Elm_Web_Frame_Load_Error
13442      {
13443         int code; /**< Numeric error code */
13444         Eina_Bool is_cancellation; /**< Error produced by cancelling a request */
13445         const char *domain; /**< Error domain name */
13446         const char *description; /**< Error description (already localized) */
13447         const char *failing_url; /**< The URL that failed to load */
13448         Evas_Object *frame; /**< Frame object that produced the error */
13449      };
13450
13451    /**
13452     * The possibles types that the items in a menu can be
13453     */
13454    typedef enum _Elm_Web_Menu_Item_Type
13455      {
13456         ELM_WEB_MENU_SEPARATOR,
13457         ELM_WEB_MENU_GROUP,
13458         ELM_WEB_MENU_OPTION
13459      } Elm_Web_Menu_Item_Type;
13460
13461    /**
13462     * Structure describing the items in a menu
13463     */
13464    typedef struct _Elm_Web_Menu_Item Elm_Web_Menu_Item;
13465    /**
13466     * Structure describing the items in a menu
13467     */
13468    struct _Elm_Web_Menu_Item
13469      {
13470         const char *text; /**< The text for the item */
13471         Elm_Web_Menu_Item_Type type; /**< The type of the item */
13472      };
13473
13474    /**
13475     * Structure describing the menu of a popup
13476     *
13477     * This structure will be passed as the @c event_info for the "popup,create"
13478     * signal, which is emitted when a dropdown menu is opened. Users wanting
13479     * to handle these popups by themselves should listen to this signal and
13480     * set the @c handled property of the struct to @c EINA_TRUE. Leaving this
13481     * property as @c EINA_FALSE means that the user will not handle the popup
13482     * and the default implementation will be used.
13483     *
13484     * When the popup is ready to be dismissed, a "popup,willdelete" signal
13485     * will be emitted to notify the user that it can destroy any objects and
13486     * free all data related to it.
13487     *
13488     * @see elm_web_popup_selected_set()
13489     * @see elm_web_popup_destroy()
13490     */
13491    typedef struct _Elm_Web_Menu Elm_Web_Menu;
13492    /**
13493     * Structure describing the menu of a popup
13494     *
13495     * This structure will be passed as the @c event_info for the "popup,create"
13496     * signal, which is emitted when a dropdown menu is opened. Users wanting
13497     * to handle these popups by themselves should listen to this signal and
13498     * set the @c handled property of the struct to @c EINA_TRUE. Leaving this
13499     * property as @c EINA_FALSE means that the user will not handle the popup
13500     * and the default implementation will be used.
13501     *
13502     * When the popup is ready to be dismissed, a "popup,willdelete" signal
13503     * will be emitted to notify the user that it can destroy any objects and
13504     * free all data related to it.
13505     *
13506     * @see elm_web_popup_selected_set()
13507     * @see elm_web_popup_destroy()
13508     */
13509    struct _Elm_Web_Menu
13510      {
13511         Eina_List *items; /**< List of #Elm_Web_Menu_Item */
13512         int x; /**< The X position of the popup, relative to the elm_web object */
13513         int y; /**< The Y position of the popup, relative to the elm_web object */
13514         int width; /**< Width of the popup menu */
13515         int height; /**< Height of the popup menu */
13516
13517         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. */
13518      };
13519
13520    typedef struct _Elm_Web_Download Elm_Web_Download;
13521    struct _Elm_Web_Download
13522      {
13523         const char *url;
13524      };
13525
13526    /**
13527     * Types of zoom available.
13528     */
13529    typedef enum _Elm_Web_Zoom_Mode
13530      {
13531         ELM_WEB_ZOOM_MODE_MANUAL = 0, /**< Zoom controlled normally by elm_web_zoom_set */
13532         ELM_WEB_ZOOM_MODE_AUTO_FIT, /**< Zoom until content fits in web object */
13533         ELM_WEB_ZOOM_MODE_AUTO_FILL, /**< Zoom until content fills web object */
13534         ELM_WEB_ZOOM_MODE_LAST
13535      } Elm_Web_Zoom_Mode;
13536    /**
13537     * Opaque handler containing the features (such as statusbar, menubar, etc)
13538     * that are to be set on a newly requested window.
13539     */
13540    typedef struct _Elm_Web_Window_Features Elm_Web_Window_Features;
13541    /**
13542     * Callback type for the create_window hook.
13543     *
13544     * The function parameters are:
13545     * @li @p data User data pointer set when setting the hook function
13546     * @li @p obj The elm_web object requesting the new window
13547     * @li @p js Set to @c EINA_TRUE if the request was originated from
13548     * JavaScript. @c EINA_FALSE otherwise.
13549     * @li @p window_features A pointer of #Elm_Web_Window_Features indicating
13550     * the features requested for the new window.
13551     *
13552     * The returned value of the function should be the @c elm_web widget where
13553     * the request will be loaded. That is, if a new window or tab is created,
13554     * the elm_web widget in it should be returned, and @b NOT the window
13555     * object.
13556     * Returning @c NULL should cancel the request.
13557     *
13558     * @see elm_web_window_create_hook_set()
13559     */
13560    typedef Evas_Object *(*Elm_Web_Window_Open)(void *data, Evas_Object *obj, Eina_Bool js, const Elm_Web_Window_Features *window_features);
13561    /**
13562     * Callback type for the JS alert hook.
13563     *
13564     * The function parameters are:
13565     * @li @p data User data pointer set when setting the hook function
13566     * @li @p obj The elm_web object requesting the new window
13567     * @li @p message The message to show in the alert dialog
13568     *
13569     * The function should return the object representing the alert dialog.
13570     * Elm_Web will run a second main loop to handle the dialog and normal
13571     * flow of the application will be restored when the object is deleted, so
13572     * the user should handle the popup properly in order to delete the object
13573     * when the action is finished.
13574     * If the function returns @c NULL the popup will be ignored.
13575     *
13576     * @see elm_web_dialog_alert_hook_set()
13577     */
13578    typedef Evas_Object *(*Elm_Web_Dialog_Alert)(void *data, Evas_Object *obj, const char *message);
13579    /**
13580     * Callback type for the JS confirm hook.
13581     *
13582     * The function parameters are:
13583     * @li @p data User data pointer set when setting the hook function
13584     * @li @p obj The elm_web object requesting the new window
13585     * @li @p message The message to show in the confirm dialog
13586     * @li @p ret Pointer where to store the user selection. @c EINA_TRUE if
13587     * the user selected @c Ok, @c EINA_FALSE otherwise.
13588     *
13589     * The function should return the object representing the confirm dialog.
13590     * Elm_Web will run a second main loop to handle the dialog and normal
13591     * flow of the application will be restored when the object is deleted, so
13592     * the user should handle the popup properly in order to delete the object
13593     * when the action is finished.
13594     * If the function returns @c NULL the popup will be ignored.
13595     *
13596     * @see elm_web_dialog_confirm_hook_set()
13597     */
13598    typedef Evas_Object *(*Elm_Web_Dialog_Confirm)(void *data, Evas_Object *obj, const char *message, Eina_Bool *ret);
13599    /**
13600     * Callback type for the JS prompt hook.
13601     *
13602     * The function parameters are:
13603     * @li @p data User data pointer set when setting the hook function
13604     * @li @p obj The elm_web object requesting the new window
13605     * @li @p message The message to show in the prompt dialog
13606     * @li @p def_value The default value to present the user in the entry
13607     * @li @p value Pointer where to store the value given by the user. Must
13608     * be a malloc'ed string or @c NULL if the user cancelled the popup.
13609     * @li @p ret Pointer where to store the user selection. @c EINA_TRUE if
13610     * the user selected @c Ok, @c EINA_FALSE otherwise.
13611     *
13612     * The function should return the object representing the prompt dialog.
13613     * Elm_Web will run a second main loop to handle the dialog and normal
13614     * flow of the application will be restored when the object is deleted, so
13615     * the user should handle the popup properly in order to delete the object
13616     * when the action is finished.
13617     * If the function returns @c NULL the popup will be ignored.
13618     *
13619     * @see elm_web_dialog_prompt_hook_set()
13620     */
13621    typedef Evas_Object *(*Elm_Web_Dialog_Prompt)(void *data, Evas_Object *obj, const char *message, const char *def_value, char **value, Eina_Bool *ret);
13622    /**
13623     * Callback type for the JS file selector hook.
13624     *
13625     * The function parameters are:
13626     * @li @p data User data pointer set when setting the hook function
13627     * @li @p obj The elm_web object requesting the new window
13628     * @li @p allows_multiple @c EINA_TRUE if multiple files can be selected.
13629     * @li @p accept_types Mime types accepted
13630     * @li @p selected Pointer where to store the list of malloc'ed strings
13631     * containing the path to each file selected. Must be @c NULL if the file
13632     * dialog is cancelled
13633     * @li @p ret Pointer where to store the user selection. @c EINA_TRUE if
13634     * the user selected @c Ok, @c EINA_FALSE otherwise.
13635     *
13636     * The function should return the object representing the file selector
13637     * dialog.
13638     * Elm_Web will run a second main loop to handle the dialog and normal
13639     * flow of the application will be restored when the object is deleted, so
13640     * the user should handle the popup properly in order to delete the object
13641     * when the action is finished.
13642     * If the function returns @c NULL the popup will be ignored.
13643     *
13644     * @see elm_web_dialog_file selector_hook_set()
13645     */
13646    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);
13647    /**
13648     * Callback type for the JS console message hook.
13649     *
13650     * When a console message is added from JavaScript, any set function to the
13651     * console message hook will be called for the user to handle. There is no
13652     * default implementation of this hook.
13653     *
13654     * The function parameters are:
13655     * @li @p data User data pointer set when setting the hook function
13656     * @li @p obj The elm_web object that originated the message
13657     * @li @p message The message sent
13658     * @li @p line_number The line number
13659     * @li @p source_id Source id
13660     *
13661     * @see elm_web_console_message_hook_set()
13662     */
13663    typedef void (*Elm_Web_Console_Message)(void *data, Evas_Object *obj, const char *message, unsigned int line_number, const char *source_id);
13664    /**
13665     * Add a new web object to the parent.
13666     *
13667     * @param parent The parent object.
13668     * @return The new object or NULL if it cannot be created.
13669     *
13670     * @see elm_web_uri_set()
13671     * @see elm_web_webkit_view_get()
13672     */
13673    EAPI Evas_Object                 *elm_web_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
13674
13675    /**
13676     * Get internal ewk_view object from web object.
13677     *
13678     * Elementary may not provide some low level features of EWebKit,
13679     * instead of cluttering the API with proxy methods we opted to
13680     * return the internal reference. Be careful using it as it may
13681     * interfere with elm_web behavior.
13682     *
13683     * @param obj The web object.
13684     * @return The internal ewk_view object or NULL if it does not
13685     *         exist. (Failure to create or Elementary compiled without
13686     *         ewebkit)
13687     *
13688     * @see elm_web_add()
13689     */
13690    EAPI Evas_Object                 *elm_web_webkit_view_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
13691
13692    /**
13693     * Sets the function to call when a new window is requested
13694     *
13695     * This hook will be called when a request to create a new window is
13696     * issued from the web page loaded.
13697     * There is no default implementation for this feature, so leaving this
13698     * unset or passing @c NULL in @p func will prevent new windows from
13699     * opening.
13700     *
13701     * @param obj The web object where to set the hook function
13702     * @param func The hook function to be called when a window is requested
13703     * @param data User data
13704     */
13705    EAPI void                         elm_web_window_create_hook_set(Evas_Object *obj, Elm_Web_Window_Open func, void *data);
13706    /**
13707     * Sets the function to call when an alert dialog
13708     *
13709     * This hook will be called when a JavaScript alert dialog is requested.
13710     * If no function is set or @c NULL is passed in @p func, the default
13711     * implementation will take place.
13712     *
13713     * @param obj The web object where to set the hook function
13714     * @param func The callback function to be used
13715     * @param data User data
13716     *
13717     * @see elm_web_inwin_mode_set()
13718     */
13719    EAPI void                         elm_web_dialog_alert_hook_set(Evas_Object *obj, Elm_Web_Dialog_Alert func, void *data);
13720    /**
13721     * Sets the function to call when an confirm dialog
13722     *
13723     * This hook will be called when a JavaScript confirm dialog is requested.
13724     * If no function is set or @c NULL is passed in @p func, the default
13725     * implementation will take place.
13726     *
13727     * @param obj The web object where to set the hook function
13728     * @param func The callback function to be used
13729     * @param data User data
13730     *
13731     * @see elm_web_inwin_mode_set()
13732     */
13733    EAPI void                         elm_web_dialog_confirm_hook_set(Evas_Object *obj, Elm_Web_Dialog_Confirm func, void *data);
13734    /**
13735     * Sets the function to call when an prompt dialog
13736     *
13737     * This hook will be called when a JavaScript prompt dialog is requested.
13738     * If no function is set or @c NULL is passed in @p func, the default
13739     * implementation will take place.
13740     *
13741     * @param obj The web object where to set the hook function
13742     * @param func The callback function to be used
13743     * @param data User data
13744     *
13745     * @see elm_web_inwin_mode_set()
13746     */
13747    EAPI void                         elm_web_dialog_prompt_hook_set(Evas_Object *obj, Elm_Web_Dialog_Prompt func, void *data);
13748    /**
13749     * Sets the function to call when an file selector dialog
13750     *
13751     * This hook will be called when a JavaScript file selector dialog is
13752     * requested.
13753     * If no function is set or @c NULL is passed in @p func, the default
13754     * implementation will take place.
13755     *
13756     * @param obj The web object where to set the hook function
13757     * @param func The callback function to be used
13758     * @param data User data
13759     *
13760     * @see elm_web_inwin_mode_set()
13761     */
13762    EAPI void                         elm_web_dialog_file_selector_hook_set(Evas_Object *obj, Elm_Web_Dialog_File_Selector func, void *data);
13763    /**
13764     * Sets the function to call when a console message is emitted from JS
13765     *
13766     * This hook will be called when a console message is emitted from
13767     * JavaScript. There is no default implementation for this feature.
13768     *
13769     * @param obj The web object where to set the hook function
13770     * @param func The callback function to be used
13771     * @param data User data
13772     */
13773    EAPI void                         elm_web_console_message_hook_set(Evas_Object *obj, Elm_Web_Console_Message func, void *data);
13774    /**
13775     * Gets the status of the tab propagation
13776     *
13777     * @param obj The web object to query
13778     * @return EINA_TRUE if tab propagation is enabled, EINA_FALSE otherwise
13779     *
13780     * @see elm_web_tab_propagate_set()
13781     */
13782    EAPI Eina_Bool                    elm_web_tab_propagate_get(const Evas_Object *obj);
13783    /**
13784     * Sets whether to use tab propagation
13785     *
13786     * If tab propagation is enabled, whenever the user presses the Tab key,
13787     * Elementary will handle it and switch focus to the next widget.
13788     * The default value is disabled, where WebKit will handle the Tab key to
13789     * cycle focus though its internal objects, jumping to the next widget
13790     * only when that cycle ends.
13791     *
13792     * @param obj The web object
13793     * @param propagate Whether to propagate Tab keys to Elementary or not
13794     */
13795    EAPI void                         elm_web_tab_propagate_set(Evas_Object *obj, Eina_Bool propagate);
13796    /**
13797     * Sets the URI for the web object
13798     *
13799     * It must be a full URI, with resource included, in the form
13800     * http://www.enlightenment.org or file:///tmp/something.html
13801     *
13802     * @param obj The web object
13803     * @param uri The URI to set
13804     * @return EINA_TRUE if the URI could be, EINA_FALSE if an error occurred
13805     */
13806    EAPI Eina_Bool                    elm_web_uri_set(Evas_Object *obj, const char *uri);
13807    /**
13808     * Gets the current URI for the object
13809     *
13810     * The returned string must not be freed and is guaranteed to be
13811     * stringshared.
13812     *
13813     * @param obj The web object
13814     * @return A stringshared internal string with the current URI, or NULL on
13815     * failure
13816     */
13817    EAPI const char                  *elm_web_uri_get(const Evas_Object *obj);
13818    /**
13819     * Gets the current title
13820     *
13821     * The returned string must not be freed and is guaranteed to be
13822     * stringshared.
13823     *
13824     * @param obj The web object
13825     * @return A stringshared internal string with the current title, or NULL on
13826     * failure
13827     */
13828    EAPI const char                  *elm_web_title_get(const Evas_Object *obj);
13829    /**
13830     * Sets the background color to be used by the web object
13831     *
13832     * This is the color that will be used by default when the loaded page
13833     * does not set it's own. Color values are pre-multiplied.
13834     *
13835     * @param obj The web object
13836     * @param r Red component
13837     * @param g Green component
13838     * @param b Blue component
13839     * @param a Alpha component
13840     */
13841    EAPI void                         elm_web_bg_color_set(Evas_Object *obj, int r, int g, int b, int a);
13842    /**
13843     * Gets the background color to be used by the web object
13844     *
13845     * This is the color that will be used by default when the loaded page
13846     * does not set it's own. Color values are pre-multiplied.
13847     *
13848     * @param obj The web object
13849     * @param r Red component
13850     * @param g Green component
13851     * @param b Blue component
13852     * @param a Alpha component
13853     */
13854    EAPI void                         elm_web_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b, int *a);
13855    /**
13856     * Gets a copy of the currently selected text
13857     *
13858     * The string returned must be freed by the user when it's done with it.
13859     *
13860     * @param obj The web object
13861     * @return A newly allocated string, or NULL if nothing is selected or an
13862     * error occurred
13863     */
13864    EAPI char                        *elm_view_selection_get(const Evas_Object *obj);
13865    /**
13866     * Tells the web object which index in the currently open popup was selected
13867     *
13868     * When the user handles the popup creation from the "popup,created" signal,
13869     * it needs to tell the web object which item was selected by calling this
13870     * function with the index corresponding to the item.
13871     *
13872     * @param obj The web object
13873     * @param index The index selected
13874     *
13875     * @see elm_web_popup_destroy()
13876     */
13877    EAPI void                         elm_web_popup_selected_set(Evas_Object *obj, int index);
13878    /**
13879     * Dismisses an open dropdown popup
13880     *
13881     * When the popup from a dropdown widget is to be dismissed, either after
13882     * selecting an option or to cancel it, this function must be called, which
13883     * will later emit an "popup,willdelete" signal to notify the user that
13884     * any memory and objects related to this popup can be freed.
13885     *
13886     * @param obj The web object
13887     * @return EINA_TRUE if the menu was successfully destroyed, or EINA_FALSE
13888     * if there was no menu to destroy
13889     */
13890    EAPI Eina_Bool                    elm_web_popup_destroy(Evas_Object *obj);
13891    /**
13892     * Searches the given string in a document.
13893     *
13894     * @param obj The web object where to search the text
13895     * @param string String to search
13896     * @param case_sensitive If search should be case sensitive or not
13897     * @param forward If search is from cursor and on or backwards
13898     * @param wrap If search should wrap at the end
13899     *
13900     * @return @c EINA_TRUE if the given string was found, @c EINA_FALSE if not
13901     * or failure
13902     */
13903    EAPI Eina_Bool                    elm_web_text_search(const Evas_Object *obj, const char *string, Eina_Bool case_sensitive, Eina_Bool forward, Eina_Bool wrap);
13904    /**
13905     * Marks matches of the given string in a document.
13906     *
13907     * @param obj The web object where to search text
13908     * @param string String to match
13909     * @param case_sensitive If match should be case sensitive or not
13910     * @param highlight If matches should be highlighted
13911     * @param limit Maximum amount of matches, or zero to unlimited
13912     *
13913     * @return number of matched @a string
13914     */
13915    EAPI unsigned int                 elm_web_text_matches_mark(Evas_Object *obj, const char *string, Eina_Bool case_sensitive, Eina_Bool highlight, unsigned int limit);
13916    /**
13917     * Clears all marked matches in the document
13918     *
13919     * @param obj The web object
13920     *
13921     * @return EINA_TRUE on success, EINA_FALSE otherwise
13922     */
13923    EAPI Eina_Bool                    elm_web_text_matches_unmark_all(Evas_Object *obj);
13924    /**
13925     * Sets whether to highlight the matched marks
13926     *
13927     * If enabled, marks set with elm_web_text_matches_mark() will be
13928     * highlighted.
13929     *
13930     * @param obj The web object
13931     * @param highlight Whether to highlight the marks or not
13932     *
13933     * @return EINA_TRUE on success, EINA_FALSE otherwise
13934     */
13935    EAPI Eina_Bool                    elm_web_text_matches_highlight_set(Evas_Object *obj, Eina_Bool highlight);
13936    /**
13937     * Gets whether highlighting marks is enabled
13938     *
13939     * @param The web object
13940     *
13941     * @return EINA_TRUE is marks are set to be highlighted, EINA_FALSE
13942     * otherwise
13943     */
13944    EAPI Eina_Bool                    elm_web_text_matches_highlight_get(const Evas_Object *obj);
13945    /**
13946     * Gets the overall loading progress of the page
13947     *
13948     * Returns the estimated loading progress of the page, with a value between
13949     * 0.0 and 1.0. This is an estimated progress accounting for all the frames
13950     * included in the page.
13951     *
13952     * @param The web object
13953     *
13954     * @return A value between 0.0 and 1.0 indicating the progress, or -1.0 on
13955     * failure
13956     */
13957    EAPI double                       elm_web_load_progress_get(const Evas_Object *obj);
13958    /**
13959     * Stops loading the current page
13960     *
13961     * Cancels the loading of the current page in the web object. This will
13962     * cause a "load,error" signal to be emitted, with the is_cancellation
13963     * flag set to EINA_TRUE.
13964     *
13965     * @param obj The web object
13966     *
13967     * @return EINA_TRUE if the cancel was successful, EINA_FALSE otherwise
13968     */
13969    EAPI Eina_Bool                    elm_web_stop(Evas_Object *obj);
13970    /**
13971     * Requests a reload of the current document in the object
13972     *
13973     * @param obj The web object
13974     *
13975     * @return EINA_TRUE on success, EINA_FALSE otherwise
13976     */
13977    EAPI Eina_Bool                    elm_web_reload(Evas_Object *obj);
13978    /**
13979     * Requests a reload of the current document, avoiding any existing caches
13980     *
13981     * @param obj The web object
13982     *
13983     * @return EINA_TRUE on success, EINA_FALSE otherwise
13984     */
13985    EAPI Eina_Bool                    elm_web_reload_full(Evas_Object *obj);
13986    /**
13987     * Goes back one step in the browsing history
13988     *
13989     * This is equivalent to calling elm_web_object_navigate(obj, -1);
13990     *
13991     * @param obj The web object
13992     *
13993     * @return EINA_TRUE on success, EINA_FALSE otherwise
13994     *
13995     * @see elm_web_history_enable_set()
13996     * @see elm_web_back_possible()
13997     * @see elm_web_forward()
13998     * @see elm_web_navigate()
13999     */
14000    EAPI Eina_Bool                    elm_web_back(Evas_Object *obj);
14001    /**
14002     * Goes forward one step in the browsing history
14003     *
14004     * This is equivalent to calling elm_web_object_navigate(obj, 1);
14005     *
14006     * @param obj The web object
14007     *
14008     * @return EINA_TRUE on success, EINA_FALSE otherwise
14009     *
14010     * @see elm_web_history_enable_set()
14011     * @see elm_web_forward_possible()
14012     * @see elm_web_back()
14013     * @see elm_web_navigate()
14014     */
14015    EAPI Eina_Bool                    elm_web_forward(Evas_Object *obj);
14016    /**
14017     * Jumps the given number of steps in the browsing history
14018     *
14019     * The @p steps value can be a negative integer to back in history, or a
14020     * positive to move forward.
14021     *
14022     * @param obj The web object
14023     * @param steps The number of steps to jump
14024     *
14025     * @return EINA_TRUE on success, EINA_FALSE on error or if not enough
14026     * history exists to jump the given number of steps
14027     *
14028     * @see elm_web_history_enable_set()
14029     * @see elm_web_navigate_possible()
14030     * @see elm_web_back()
14031     * @see elm_web_forward()
14032     */
14033    EAPI Eina_Bool                    elm_web_navigate(Evas_Object *obj, int steps);
14034    /**
14035     * Queries whether it's possible to go back in history
14036     *
14037     * @param obj The web object
14038     *
14039     * @return EINA_TRUE if it's possible to back in history, EINA_FALSE
14040     * otherwise
14041     */
14042    EAPI Eina_Bool                    elm_web_back_possible(Evas_Object *obj);
14043    /**
14044     * Queries whether it's possible to go forward in history
14045     *
14046     * @param obj The web object
14047     *
14048     * @return EINA_TRUE if it's possible to forward in history, EINA_FALSE
14049     * otherwise
14050     */
14051    EAPI Eina_Bool                    elm_web_forward_possible(Evas_Object *obj);
14052    /**
14053     * Queries whether it's possible to jump the given number of steps
14054     *
14055     * The @p steps value can be a negative integer to back in history, or a
14056     * positive to move forward.
14057     *
14058     * @param obj The web object
14059     * @param steps The number of steps to check for
14060     *
14061     * @return EINA_TRUE if enough history exists to perform the given jump,
14062     * EINA_FALSE otherwise
14063     */
14064    EAPI Eina_Bool                    elm_web_navigate_possible(Evas_Object *obj, int steps);
14065    /**
14066     * Gets whether browsing history is enabled for the given object
14067     *
14068     * @param obj The web object
14069     *
14070     * @return EINA_TRUE if history is enabled, EINA_FALSE otherwise
14071     */
14072    EAPI Eina_Bool                    elm_web_history_enable_get(const Evas_Object *obj);
14073    /**
14074     * Enables or disables the browsing history
14075     *
14076     * @param obj The web object
14077     * @param enable Whether to enable or disable the browsing history
14078     */
14079    EAPI void                         elm_web_history_enable_set(Evas_Object *obj, Eina_Bool enable);
14080    /**
14081     * Sets the zoom level of the web object
14082     *
14083     * Zoom level matches the Webkit API, so 1.0 means normal zoom, with higher
14084     * values meaning zoom in and lower meaning zoom out. This function will
14085     * only affect the zoom level if the mode set with elm_web_zoom_mode_set()
14086     * is ::ELM_WEB_ZOOM_MODE_MANUAL.
14087     *
14088     * @param obj The web object
14089     * @param zoom The zoom level to set
14090     */
14091    EAPI void                         elm_web_zoom_set(Evas_Object *obj, double zoom);
14092    /**
14093     * Gets the current zoom level set on the web object
14094     *
14095     * Note that this is the zoom level set on the web object and not that
14096     * of the underlying Webkit one. In the ::ELM_WEB_ZOOM_MODE_MANUAL mode,
14097     * the two zoom levels should match, but for the other two modes the
14098     * Webkit zoom is calculated internally to match the chosen mode without
14099     * changing the zoom level set for the web object.
14100     *
14101     * @param obj The web object
14102     *
14103     * @return The zoom level set on the object
14104     */
14105    EAPI double                       elm_web_zoom_get(const Evas_Object *obj);
14106    /**
14107     * Sets the zoom mode to use
14108     *
14109     * The modes can be any of those defined in ::Elm_Web_Zoom_Mode, except
14110     * ::ELM_WEB_ZOOM_MODE_LAST. The default is ::ELM_WEB_ZOOM_MODE_MANUAL.
14111     *
14112     * ::ELM_WEB_ZOOM_MODE_MANUAL means the zoom level will be controlled
14113     * with the elm_web_zoom_set() function.
14114     * ::ELM_WEB_ZOOM_MODE_AUTO_FIT will calculate the needed zoom level to
14115     * make sure the entirety of the web object's contents are shown.
14116     * ::ELM_WEB_ZOOM_MODE_AUTO_FILL will calculate the needed zoom level to
14117     * fit the contents in the web object's size, without leaving any space
14118     * unused.
14119     *
14120     * @param obj The web object
14121     * @param mode The mode to set
14122     */
14123    EAPI void                         elm_web_zoom_mode_set(Evas_Object *obj, Elm_Web_Zoom_Mode mode);
14124    /**
14125     * Gets the currently set zoom mode
14126     *
14127     * @param obj The web object
14128     *
14129     * @return The current zoom mode set for the object, or
14130     * ::ELM_WEB_ZOOM_MODE_LAST on error
14131     */
14132    EAPI Elm_Web_Zoom_Mode            elm_web_zoom_mode_get(const Evas_Object *obj);
14133    /**
14134     * Shows the given region in the web object
14135     *
14136     * @param obj The web object
14137     * @param x The x coordinate of the region to show
14138     * @param y The y coordinate of the region to show
14139     * @param w The width of the region to show
14140     * @param h The height of the region to show
14141     */
14142    EAPI void                         elm_web_region_show(Evas_Object *obj, int x, int y, int w, int h);
14143    /**
14144     * Brings in the region to the visible area
14145     *
14146     * Like elm_web_region_show(), but it animates the scrolling of the object
14147     * to show the area
14148     *
14149     * @param obj The web object
14150     * @param x The x coordinate of the region to show
14151     * @param y The y coordinate of the region to show
14152     * @param w The width of the region to show
14153     * @param h The height of the region to show
14154     */
14155    EAPI void                         elm_web_region_bring_in(Evas_Object *obj, int x, int y, int w, int h);
14156    /**
14157     * Sets the default dialogs to use an Inwin instead of a normal window
14158     *
14159     * If set, then the default implementation for the JavaScript dialogs and
14160     * file selector will be opened in an Inwin. Otherwise they will use a
14161     * normal separated window.
14162     *
14163     * @param obj The web object
14164     * @param value EINA_TRUE to use Inwin, EINA_FALSE to use a normal window
14165     */
14166    EAPI void                         elm_web_inwin_mode_set(Evas_Object *obj, Eina_Bool value);
14167    /**
14168     * Gets whether Inwin mode is set for the current object
14169     *
14170     * @param obj The web object
14171     *
14172     * @return EINA_TRUE if Inwin mode is set, EINA_FALSE otherwise
14173     */
14174    EAPI Eina_Bool                    elm_web_inwin_mode_get(const Evas_Object *obj);
14175
14176    EAPI void                         elm_web_window_features_ref(Elm_Web_Window_Features *wf);
14177    EAPI void                         elm_web_window_features_unref(Elm_Web_Window_Features *wf);
14178    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);
14179    EAPI void                         elm_web_window_features_int_property_get(const Elm_Web_Window_Features *wf, int *x, int *y, int *w, int *h);
14180
14181    /**
14182     * @}
14183     */
14184
14185    /**
14186     * @defgroup Hoversel Hoversel
14187     *
14188     * @image html img/widget/hoversel/preview-00.png
14189     * @image latex img/widget/hoversel/preview-00.eps
14190     *
14191     * A hoversel is a button that pops up a list of items (automatically
14192     * choosing the direction to display) that have a label and, optionally, an
14193     * icon to select from. It is a convenience widget to avoid the need to do
14194     * all the piecing together yourself. It is intended for a small number of
14195     * items in the hoversel menu (no more than 8), though is capable of many
14196     * more.
14197     *
14198     * Signals that you can add callbacks for are:
14199     * "clicked" - the user clicked the hoversel button and popped up the sel
14200     * "selected" - an item in the hoversel list is selected. event_info is the item
14201     * "dismissed" - the hover is dismissed
14202     *
14203     * See @ref tutorial_hoversel for an example.
14204     * @{
14205     */
14206    typedef struct _Elm_Hoversel_Item Elm_Hoversel_Item; /**< Item of Elm_Hoversel. Sub-type of Elm_Widget_Item */
14207    /**
14208     * @brief Add a new Hoversel object
14209     *
14210     * @param parent The parent object
14211     * @return The new object or NULL if it cannot be created
14212     */
14213    EAPI Evas_Object       *elm_hoversel_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
14214    /**
14215     * @brief This sets the hoversel to expand horizontally.
14216     *
14217     * @param obj The hoversel object
14218     * @param horizontal If true, the hover will expand horizontally to the
14219     * right.
14220     *
14221     * @note The initial button will display horizontally regardless of this
14222     * setting.
14223     */
14224    EAPI void               elm_hoversel_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
14225    /**
14226     * @brief This returns whether the hoversel is set to expand horizontally.
14227     *
14228     * @param obj The hoversel object
14229     * @return If true, the hover will expand horizontally to the right.
14230     *
14231     * @see elm_hoversel_horizontal_set()
14232     */
14233    EAPI Eina_Bool          elm_hoversel_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14234    /**
14235     * @brief Set the Hover parent
14236     *
14237     * @param obj The hoversel object
14238     * @param parent The parent to use
14239     *
14240     * Sets the hover parent object, the area that will be darkened when the
14241     * hoversel is clicked. Should probably be the window that the hoversel is
14242     * in. See @ref Hover objects for more information.
14243     */
14244    EAPI void               elm_hoversel_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
14245    /**
14246     * @brief Get the Hover parent
14247     *
14248     * @param obj The hoversel object
14249     * @return The used parent
14250     *
14251     * Gets the hover parent object.
14252     *
14253     * @see elm_hoversel_hover_parent_set()
14254     */
14255    EAPI Evas_Object       *elm_hoversel_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14256    /**
14257     * @brief Set the hoversel button label
14258     *
14259     * @param obj The hoversel object
14260     * @param label The label text.
14261     *
14262     * This sets the label of the button that is always visible (before it is
14263     * clicked and expanded).
14264     *
14265     * @deprecated elm_object_text_set()
14266     */
14267    EINA_DEPRECATED EAPI void               elm_hoversel_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
14268    /**
14269     * @brief Get the hoversel button label
14270     *
14271     * @param obj The hoversel object
14272     * @return The label text.
14273     *
14274     * @deprecated elm_object_text_get()
14275     */
14276    EINA_DEPRECATED EAPI const char        *elm_hoversel_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14277    /**
14278     * @brief Set the icon of the hoversel button
14279     *
14280     * @param obj The hoversel object
14281     * @param icon The icon object
14282     *
14283     * Sets the icon of the button that is always visible (before it is clicked
14284     * and expanded).  Once the icon object is set, a previously set one will be
14285     * deleted, if you want to keep that old content object, use the
14286     * elm_hoversel_icon_unset() function.
14287     *
14288     * @see elm_object_content_set() for the button widget
14289     */
14290    EAPI void               elm_hoversel_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
14291    /**
14292     * @brief Get the icon of the hoversel button
14293     *
14294     * @param obj The hoversel object
14295     * @return The icon object
14296     *
14297     * Get the icon of the button that is always visible (before it is clicked
14298     * and expanded). Also see elm_object_content_get() for the button widget.
14299     *
14300     * @see elm_hoversel_icon_set()
14301     */
14302    EAPI Evas_Object       *elm_hoversel_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14303    /**
14304     * @brief Get and unparent the icon of the hoversel button
14305     *
14306     * @param obj The hoversel object
14307     * @return The icon object that was being used
14308     *
14309     * Unparent and return the icon of the button that is always visible
14310     * (before it is clicked and expanded).
14311     *
14312     * @see elm_hoversel_icon_set()
14313     * @see elm_object_content_unset() for the button widget
14314     */
14315    EAPI Evas_Object       *elm_hoversel_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
14316    /**
14317     * @brief This triggers the hoversel popup from code, the same as if the user
14318     * had clicked the button.
14319     *
14320     * @param obj The hoversel object
14321     */
14322    EAPI void               elm_hoversel_hover_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
14323    /**
14324     * @brief This dismisses the hoversel popup as if the user had clicked
14325     * outside the hover.
14326     *
14327     * @param obj The hoversel object
14328     */
14329    EAPI void               elm_hoversel_hover_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
14330    /**
14331     * @brief Returns whether the hoversel is expanded.
14332     *
14333     * @param obj The hoversel object
14334     * @return  This will return EINA_TRUE if the hoversel is expanded or
14335     * EINA_FALSE if it is not expanded.
14336     */
14337    EAPI Eina_Bool          elm_hoversel_expanded_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14338    /**
14339     * @brief This will remove all the children items from the hoversel.
14340     *
14341     * @param obj The hoversel object
14342     *
14343     * @warning Should @b not be called while the hoversel is active; use
14344     * elm_hoversel_expanded_get() to check first.
14345     *
14346     * @see elm_hoversel_item_del_cb_set()
14347     * @see elm_hoversel_item_del()
14348     */
14349    EAPI void               elm_hoversel_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
14350    /**
14351     * @brief Get the list of items within the given hoversel.
14352     *
14353     * @param obj The hoversel object
14354     * @return Returns a list of Elm_Hoversel_Item*
14355     *
14356     * @see elm_hoversel_item_add()
14357     */
14358    EAPI const Eina_List   *elm_hoversel_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14359    /**
14360     * @brief Add an item to the hoversel button
14361     *
14362     * @param obj The hoversel object
14363     * @param label The text label to use for the item (NULL if not desired)
14364     * @param icon_file An image file path on disk to use for the icon or standard
14365     * icon name (NULL if not desired)
14366     * @param icon_type The icon type if relevant
14367     * @param func Convenience function to call when this item is selected
14368     * @param data Data to pass to item-related functions
14369     * @return A handle to the item added.
14370     *
14371     * This adds an item to the hoversel to show when it is clicked. Note: if you
14372     * need to use an icon from an edje file then use
14373     * elm_hoversel_item_icon_set() right after the this function, and set
14374     * icon_file to NULL here.
14375     *
14376     * For more information on what @p icon_file and @p icon_type are see the
14377     * @ref Icon "icon documentation".
14378     */
14379    EAPI Elm_Hoversel_Item *elm_hoversel_item_add(Evas_Object *obj, const char *label, const char *icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
14380    /**
14381     * @brief Delete an item from the hoversel
14382     *
14383     * @param item The item to delete
14384     *
14385     * This deletes the item from the hoversel (should not be called while the
14386     * hoversel is active; use elm_hoversel_expanded_get() to check first).
14387     *
14388     * @see elm_hoversel_item_add()
14389     * @see elm_hoversel_item_del_cb_set()
14390     */
14391    EAPI void               elm_hoversel_item_del(Elm_Hoversel_Item *item) EINA_ARG_NONNULL(1);
14392    /**
14393     * @brief Set the function to be called when an item from the hoversel is
14394     * freed.
14395     *
14396     * @param item The item to set the callback on
14397     * @param func The function called
14398     *
14399     * That function will receive these parameters:
14400     * @li void *item_data
14401     * @li Evas_Object *the_item_object
14402     * @li Elm_Hoversel_Item *the_object_struct
14403     *
14404     * @see elm_hoversel_item_add()
14405     */
14406    EAPI void               elm_hoversel_item_del_cb_set(Elm_Hoversel_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
14407    /**
14408     * @brief This returns the data pointer supplied with elm_hoversel_item_add()
14409     * that will be passed to associated function callbacks.
14410     *
14411     * @param item The item to get the data from
14412     * @return The data pointer set with elm_hoversel_item_add()
14413     *
14414     * @see elm_hoversel_item_add()
14415     */
14416    EAPI void              *elm_hoversel_item_data_get(const Elm_Hoversel_Item *it) EINA_ARG_NONNULL(1);
14417    /**
14418     * @brief This returns the label text of the given hoversel item.
14419     *
14420     * @param item The item to get the label
14421     * @return The label text of the hoversel item
14422     *
14423     * @see elm_hoversel_item_add()
14424     */
14425    EAPI const char        *elm_hoversel_item_label_get(const Elm_Hoversel_Item *it) EINA_ARG_NONNULL(1);
14426    /**
14427     * @brief This sets the icon for the given hoversel item.
14428     *
14429     * @param item The item to set the icon
14430     * @param icon_file An image file path on disk to use for the icon or standard
14431     * icon name
14432     * @param icon_group The edje group to use if @p icon_file is an edje file. Set this
14433     * to NULL if the icon is not an edje file
14434     * @param icon_type The icon type
14435     *
14436     * The icon can be loaded from the standard set, from an image file, or from
14437     * an edje file.
14438     *
14439     * @see elm_hoversel_item_add()
14440     */
14441    EAPI void               elm_hoversel_item_icon_set(Elm_Hoversel_Item *it, const char *icon_file, const char *icon_group, Elm_Icon_Type icon_type) EINA_ARG_NONNULL(1);
14442    /**
14443     * @brief Get the icon object of the hoversel item
14444     *
14445     * @param item The item to get the icon from
14446     * @param icon_file The image file path on disk used for the icon or standard
14447     * icon name
14448     * @param icon_group The edje group used if @p icon_file is an edje file. NULL
14449     * if the icon is not an edje file
14450     * @param icon_type The icon type
14451     *
14452     * @see elm_hoversel_item_icon_set()
14453     * @see elm_hoversel_item_add()
14454     */
14455    EAPI void               elm_hoversel_item_icon_get(const Elm_Hoversel_Item *it, const char **icon_file, const char **icon_group, Elm_Icon_Type *icon_type) EINA_ARG_NONNULL(1);
14456    /**
14457     * @}
14458     */
14459
14460    /**
14461     * @defgroup Toolbar Toolbar
14462     * @ingroup Elementary
14463     *
14464     * @image html img/widget/toolbar/preview-00.png
14465     * @image latex img/widget/toolbar/preview-00.eps width=\textwidth
14466     *
14467     * @image html img/toolbar.png
14468     * @image latex img/toolbar.eps width=\textwidth
14469     *
14470     * A toolbar is a widget that displays a list of items inside
14471     * a box. It can be scrollable, show a menu with items that don't fit
14472     * to toolbar size or even crop them.
14473     *
14474     * Only one item can be selected at a time.
14475     *
14476     * Items can have multiple states, or show menus when selected by the user.
14477     *
14478     * Smart callbacks one can listen to:
14479     * - "clicked" - when the user clicks on a toolbar item and becomes selected.
14480     * - "language,changed" - when the program language changes
14481     *
14482     * Available styles for it:
14483     * - @c "default"
14484     * - @c "transparent" - no background or shadow, just show the content
14485     *
14486     * List of examples:
14487     * @li @ref toolbar_example_01
14488     * @li @ref toolbar_example_02
14489     * @li @ref toolbar_example_03
14490     */
14491
14492    /**
14493     * @addtogroup Toolbar
14494     * @{
14495     */
14496
14497    /**
14498     * @enum _Elm_Toolbar_Shrink_Mode
14499     * @typedef Elm_Toolbar_Shrink_Mode
14500     *
14501     * Set toolbar's items display behavior, it can be scrollabel,
14502     * show a menu with exceeding items, or simply hide them.
14503     *
14504     * @note Default value is #ELM_TOOLBAR_SHRINK_MENU. It reads value
14505     * from elm config.
14506     *
14507     * Values <b> don't </b> work as bitmask, only one can be choosen.
14508     *
14509     * @see elm_toolbar_mode_shrink_set()
14510     * @see elm_toolbar_mode_shrink_get()
14511     *
14512     * @ingroup Toolbar
14513     */
14514    typedef enum _Elm_Toolbar_Shrink_Mode
14515      {
14516         ELM_TOOLBAR_SHRINK_NONE,   /**< Set toolbar minimun size to fit all the items. */
14517         ELM_TOOLBAR_SHRINK_HIDE,   /**< Hide exceeding items. */
14518         ELM_TOOLBAR_SHRINK_SCROLL, /**< Allow accessing exceeding items through a scroller. */
14519         ELM_TOOLBAR_SHRINK_MENU,   /**< Inserts a button to pop up a menu with exceeding items. */
14520         ELM_TOOLBAR_SHRINK_LAST    /**< Indicates error if returned by elm_toolbar_shrink_mode_get() */
14521      } Elm_Toolbar_Shrink_Mode;
14522
14523    typedef struct _Elm_Toolbar_Item Elm_Toolbar_Item; /**< Item of Elm_Toolbar. Sub-type of Elm_Widget_Item. Can be created with elm_toolbar_item_append(), elm_toolbar_item_prepend() and functions to add items in relative positions, like elm_toolbar_item_insert_before(), and deleted with elm_toolbar_item_del(). */
14524
14525    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(). */
14526
14527    /**
14528     * Add a new toolbar widget to the given parent Elementary
14529     * (container) object.
14530     *
14531     * @param parent The parent object.
14532     * @return a new toolbar widget handle or @c NULL, on errors.
14533     *
14534     * This function inserts a new toolbar widget on the canvas.
14535     *
14536     * @ingroup Toolbar
14537     */
14538    EAPI Evas_Object            *elm_toolbar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
14539
14540    /**
14541     * Set the icon size, in pixels, to be used by toolbar items.
14542     *
14543     * @param obj The toolbar object
14544     * @param icon_size The icon size in pixels
14545     *
14546     * @note Default value is @c 32. It reads value from elm config.
14547     *
14548     * @see elm_toolbar_icon_size_get()
14549     *
14550     * @ingroup Toolbar
14551     */
14552    EAPI void                    elm_toolbar_icon_size_set(Evas_Object *obj, int icon_size) EINA_ARG_NONNULL(1);
14553
14554    /**
14555     * Get the icon size, in pixels, to be used by toolbar items.
14556     *
14557     * @param obj The toolbar object.
14558     * @return The icon size in pixels.
14559     *
14560     * @see elm_toolbar_icon_size_set() for details.
14561     *
14562     * @ingroup Toolbar
14563     */
14564    EAPI int                     elm_toolbar_icon_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14565
14566    /**
14567     * Sets icon lookup order, for toolbar items' icons.
14568     *
14569     * @param obj The toolbar object.
14570     * @param order The icon lookup order.
14571     *
14572     * Icons added before calling this function will not be affected.
14573     * The default lookup order is #ELM_ICON_LOOKUP_THEME_FDO.
14574     *
14575     * @see elm_toolbar_icon_order_lookup_get()
14576     *
14577     * @ingroup Toolbar
14578     */
14579    EAPI void                    elm_toolbar_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order) EINA_ARG_NONNULL(1);
14580
14581    /**
14582     * Gets the icon lookup order.
14583     *
14584     * @param obj The toolbar object.
14585     * @return The icon lookup order.
14586     *
14587     * @see elm_toolbar_icon_order_lookup_set() for details.
14588     *
14589     * @ingroup Toolbar
14590     */
14591    EAPI Elm_Icon_Lookup_Order   elm_toolbar_icon_order_lookup_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14592
14593    /**
14594     * Set whether the toolbar should always have an item selected.
14595     *
14596     * @param obj The toolbar object.
14597     * @param wrap @c EINA_TRUE to enable always-select mode or @c EINA_FALSE to
14598     * disable it.
14599     *
14600     * This will cause the toolbar to always have an item selected, and clicking
14601     * the selected item will not cause a selected event to be emitted. Enabling this mode
14602     * will immediately select the first toolbar item.
14603     *
14604     * Always-selected is disabled by default.
14605     *
14606     * @see elm_toolbar_always_select_mode_get().
14607     *
14608     * @ingroup Toolbar
14609     */
14610    EAPI void                    elm_toolbar_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
14611
14612    /**
14613     * Get whether the toolbar should always have an item selected.
14614     *
14615     * @param obj The toolbar object.
14616     * @return @c EINA_TRUE means an item will always be selected, @c EINA_FALSE indicates
14617     * that it is possible to have no items selected. If @p obj is @c NULL, @c EINA_FALSE is returned.
14618     *
14619     * @see elm_toolbar_always_select_mode_set() for details.
14620     *
14621     * @ingroup Toolbar
14622     */
14623    EAPI Eina_Bool               elm_toolbar_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14624
14625    /**
14626     * Set whether the toolbar items' should be selected by the user or not.
14627     *
14628     * @param obj The toolbar object.
14629     * @param wrap @c EINA_TRUE to disable selection or @c EINA_FALSE to
14630     * enable it.
14631     *
14632     * This will turn off the ability to select items entirely and they will
14633     * neither appear selected nor emit selected signals. The clicked
14634     * callback function will still be called.
14635     *
14636     * Selection is enabled by default.
14637     *
14638     * @see elm_toolbar_no_select_mode_get().
14639     *
14640     * @ingroup Toolbar
14641     */
14642    EAPI void                    elm_toolbar_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
14643
14644    /**
14645     * Set whether the toolbar items' should be selected by the user or not.
14646     *
14647     * @param obj The toolbar object.
14648     * @return @c EINA_TRUE means items can be selected. @c EINA_FALSE indicates
14649     * they can't. If @p obj is @c NULL, @c EINA_FALSE is returned.
14650     *
14651     * @see elm_toolbar_no_select_mode_set() for details.
14652     *
14653     * @ingroup Toolbar
14654     */
14655    EAPI Eina_Bool               elm_toolbar_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14656
14657    /**
14658     * Append item to the toolbar.
14659     *
14660     * @param obj The toolbar object.
14661     * @param icon A string with icon name or the absolute path of an image file.
14662     * @param label The label of the item.
14663     * @param func The function to call when the item is clicked.
14664     * @param data The data to associate with the item for related callbacks.
14665     * @return The created item or @c NULL upon failure.
14666     *
14667     * A new item will be created and appended to the toolbar, i.e., will
14668     * be set as @b last item.
14669     *
14670     * Items created with this method can be deleted with
14671     * elm_toolbar_item_del().
14672     *
14673     * Associated @p data can be properly freed when item is deleted if a
14674     * callback function is set with elm_toolbar_item_del_cb_set().
14675     *
14676     * If a function is passed as argument, it will be called everytime this item
14677     * is selected, i.e., the user clicks over an unselected item.
14678     * If such function isn't needed, just passing
14679     * @c NULL as @p func is enough. The same should be done for @p data.
14680     *
14681     * Toolbar will load icon image from fdo or current theme.
14682     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14683     * If an absolute path is provided it will load it direct from a file.
14684     *
14685     * @see elm_toolbar_item_icon_set()
14686     * @see elm_toolbar_item_del()
14687     * @see elm_toolbar_item_del_cb_set()
14688     *
14689     * @ingroup Toolbar
14690     */
14691    EAPI Elm_Toolbar_Item       *elm_toolbar_item_append(Evas_Object *obj, const char *icon, const char *label, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
14692
14693    /**
14694     * Prepend item to the toolbar.
14695     *
14696     * @param obj The toolbar object.
14697     * @param icon A string with icon name or the absolute path of an image file.
14698     * @param label The label of the item.
14699     * @param func The function to call when the item is clicked.
14700     * @param data The data to associate with the item for related callbacks.
14701     * @return The created item or @c NULL upon failure.
14702     *
14703     * A new item will be created and prepended to the toolbar, i.e., will
14704     * be set as @b first item.
14705     *
14706     * Items created with this method can be deleted with
14707     * elm_toolbar_item_del().
14708     *
14709     * Associated @p data can be properly freed when item is deleted if a
14710     * callback function is set with elm_toolbar_item_del_cb_set().
14711     *
14712     * If a function is passed as argument, it will be called everytime this item
14713     * is selected, i.e., the user clicks over an unselected item.
14714     * If such function isn't needed, just passing
14715     * @c NULL as @p func is enough. The same should be done for @p data.
14716     *
14717     * Toolbar will load icon image from fdo or current theme.
14718     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14719     * If an absolute path is provided it will load it direct from a file.
14720     *
14721     * @see elm_toolbar_item_icon_set()
14722     * @see elm_toolbar_item_del()
14723     * @see elm_toolbar_item_del_cb_set()
14724     *
14725     * @ingroup Toolbar
14726     */
14727    EAPI Elm_Toolbar_Item       *elm_toolbar_item_prepend(Evas_Object *obj, const char *icon, const char *label, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
14728
14729    /**
14730     * Insert a new item into the toolbar object before item @p before.
14731     *
14732     * @param obj The toolbar object.
14733     * @param before The toolbar item to insert before.
14734     * @param icon A string with icon name or the absolute path of an image file.
14735     * @param label The label of the item.
14736     * @param func The function to call when the item is clicked.
14737     * @param data The data to associate with the item for related callbacks.
14738     * @return The created item or @c NULL upon failure.
14739     *
14740     * A new item will be created and added to the toolbar. Its position in
14741     * this toolbar will be just before item @p before.
14742     *
14743     * Items created with this method can be deleted with
14744     * elm_toolbar_item_del().
14745     *
14746     * Associated @p data can be properly freed when item is deleted if a
14747     * callback function is set with elm_toolbar_item_del_cb_set().
14748     *
14749     * If a function is passed as argument, it will be called everytime this item
14750     * is selected, i.e., the user clicks over an unselected item.
14751     * If such function isn't needed, just passing
14752     * @c NULL as @p func is enough. The same should be done for @p data.
14753     *
14754     * Toolbar will load icon image from fdo or current theme.
14755     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14756     * If an absolute path is provided it will load it direct from a file.
14757     *
14758     * @see elm_toolbar_item_icon_set()
14759     * @see elm_toolbar_item_del()
14760     * @see elm_toolbar_item_del_cb_set()
14761     *
14762     * @ingroup Toolbar
14763     */
14764    EAPI Elm_Toolbar_Item       *elm_toolbar_item_insert_before(Evas_Object *obj, Elm_Toolbar_Item *before, const char *icon, const char *label, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
14765
14766    /**
14767     * Insert a new item into the toolbar object after item @p after.
14768     *
14769     * @param obj The toolbar object.
14770     * @param after The toolbar item to insert after.
14771     * @param icon A string with icon name or the absolute path of an image file.
14772     * @param label The label of the item.
14773     * @param func The function to call when the item is clicked.
14774     * @param data The data to associate with the item for related callbacks.
14775     * @return The created item or @c NULL upon failure.
14776     *
14777     * A new item will be created and added to the toolbar. Its position in
14778     * this toolbar will be just after item @p after.
14779     *
14780     * Items created with this method can be deleted with
14781     * elm_toolbar_item_del().
14782     *
14783     * Associated @p data can be properly freed when item is deleted if a
14784     * callback function is set with elm_toolbar_item_del_cb_set().
14785     *
14786     * If a function is passed as argument, it will be called everytime this item
14787     * is selected, i.e., the user clicks over an unselected item.
14788     * If such function isn't needed, just passing
14789     * @c NULL as @p func is enough. The same should be done for @p data.
14790     *
14791     * Toolbar will load icon image from fdo or current theme.
14792     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
14793     * If an absolute path is provided it will load it direct from a file.
14794     *
14795     * @see elm_toolbar_item_icon_set()
14796     * @see elm_toolbar_item_del()
14797     * @see elm_toolbar_item_del_cb_set()
14798     *
14799     * @ingroup Toolbar
14800     */
14801    EAPI Elm_Toolbar_Item       *elm_toolbar_item_insert_after(Evas_Object *obj, Elm_Toolbar_Item *after, const char *icon, const char *label, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
14802
14803    /**
14804     * Get the first item in the given toolbar widget's list of
14805     * items.
14806     *
14807     * @param obj The toolbar object
14808     * @return The first item or @c NULL, if it has no items (and on
14809     * errors)
14810     *
14811     * @see elm_toolbar_item_append()
14812     * @see elm_toolbar_last_item_get()
14813     *
14814     * @ingroup Toolbar
14815     */
14816    EAPI Elm_Toolbar_Item       *elm_toolbar_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14817
14818    /**
14819     * Get the last item in the given toolbar widget's list of
14820     * items.
14821     *
14822     * @param obj The toolbar object
14823     * @return The last item or @c NULL, if it has no items (and on
14824     * errors)
14825     *
14826     * @see elm_toolbar_item_prepend()
14827     * @see elm_toolbar_first_item_get()
14828     *
14829     * @ingroup Toolbar
14830     */
14831    EAPI Elm_Toolbar_Item       *elm_toolbar_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
14832
14833    /**
14834     * Get the item after @p item in toolbar.
14835     *
14836     * @param item The toolbar item.
14837     * @return The item after @p item, or @c NULL if none or on failure.
14838     *
14839     * @note If it is the last item, @c NULL will be returned.
14840     *
14841     * @see elm_toolbar_item_append()
14842     *
14843     * @ingroup Toolbar
14844     */
14845    EAPI Elm_Toolbar_Item       *elm_toolbar_item_next_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14846
14847    /**
14848     * Get the item before @p item in toolbar.
14849     *
14850     * @param item The toolbar item.
14851     * @return The item before @p item, or @c NULL if none or on failure.
14852     *
14853     * @note If it is the first item, @c NULL will be returned.
14854     *
14855     * @see elm_toolbar_item_prepend()
14856     *
14857     * @ingroup Toolbar
14858     */
14859    EAPI Elm_Toolbar_Item       *elm_toolbar_item_prev_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14860
14861    /**
14862     * Get the toolbar object from an item.
14863     *
14864     * @param item The item.
14865     * @return The toolbar object.
14866     *
14867     * This returns the toolbar object itself that an item belongs to.
14868     *
14869     * @ingroup Toolbar
14870     */
14871    EAPI Evas_Object            *elm_toolbar_item_toolbar_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14872
14873    /**
14874     * Set the priority of a toolbar item.
14875     *
14876     * @param item The toolbar item.
14877     * @param priority The item priority. The default is zero.
14878     *
14879     * This is used only when the toolbar shrink mode is set to
14880     * #ELM_TOOLBAR_SHRINK_MENU or #ELM_TOOLBAR_SHRINK_HIDE.
14881     * When space is less than required, items with low priority
14882     * will be removed from the toolbar and added to a dynamically-created menu,
14883     * while items with higher priority will remain on the toolbar,
14884     * with the same order they were added.
14885     *
14886     * @see elm_toolbar_item_priority_get()
14887     *
14888     * @ingroup Toolbar
14889     */
14890    EAPI void                    elm_toolbar_item_priority_set(Elm_Toolbar_Item *item, int priority) EINA_ARG_NONNULL(1);
14891
14892    /**
14893     * Get the priority of a toolbar item.
14894     *
14895     * @param item The toolbar item.
14896     * @return The @p item priority, or @c 0 on failure.
14897     *
14898     * @see elm_toolbar_item_priority_set() for details.
14899     *
14900     * @ingroup Toolbar
14901     */
14902    EAPI int                     elm_toolbar_item_priority_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14903
14904    /**
14905     * Get the label of item.
14906     *
14907     * @param item The item of toolbar.
14908     * @return The label of item.
14909     *
14910     * The return value is a pointer to the label associated to @p item when
14911     * it was created, with function elm_toolbar_item_append() or similar,
14912     * or later,
14913     * with function elm_toolbar_item_label_set. If no label
14914     * was passed as argument, it will return @c NULL.
14915     *
14916     * @see elm_toolbar_item_label_set() for more details.
14917     * @see elm_toolbar_item_append()
14918     *
14919     * @ingroup Toolbar
14920     */
14921    EAPI const char             *elm_toolbar_item_label_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14922
14923    /**
14924     * Set the label of item.
14925     *
14926     * @param item The item of toolbar.
14927     * @param text The label of item.
14928     *
14929     * The label to be displayed by the item.
14930     * Label will be placed at icons bottom (if set).
14931     *
14932     * If a label was passed as argument on item creation, with function
14933     * elm_toolbar_item_append() or similar, it will be already
14934     * displayed by the item.
14935     *
14936     * @see elm_toolbar_item_label_get()
14937     * @see elm_toolbar_item_append()
14938     *
14939     * @ingroup Toolbar
14940     */
14941    EAPI void                    elm_toolbar_item_label_set(Elm_Toolbar_Item *item, const char *label) EINA_ARG_NONNULL(1);
14942
14943    /**
14944     * Return the data associated with a given toolbar widget item.
14945     *
14946     * @param item The toolbar widget item handle.
14947     * @return The data associated with @p item.
14948     *
14949     * @see elm_toolbar_item_data_set()
14950     *
14951     * @ingroup Toolbar
14952     */
14953    EAPI void                   *elm_toolbar_item_data_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14954
14955    /**
14956     * Set the data associated with a given toolbar widget item.
14957     *
14958     * @param item The toolbar widget item handle.
14959     * @param data The new data pointer to set to @p item.
14960     *
14961     * This sets new item data on @p item.
14962     *
14963     * @warning The old data pointer won't be touched by this function, so
14964     * the user had better to free that old data himself/herself.
14965     *
14966     * @ingroup Toolbar
14967     */
14968    EAPI void                    elm_toolbar_item_data_set(Elm_Toolbar_Item *item, const void *data) EINA_ARG_NONNULL(1);
14969
14970    /**
14971     * Returns a pointer to a toolbar item by its label.
14972     *
14973     * @param obj The toolbar object.
14974     * @param label The label of the item to find.
14975     *
14976     * @return The pointer to the toolbar item matching @p label or @c NULL
14977     * on failure.
14978     *
14979     * @ingroup Toolbar
14980     */
14981    EAPI Elm_Toolbar_Item       *elm_toolbar_item_find_by_label(const Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
14982
14983    /*
14984     * Get whether the @p item is selected or not.
14985     *
14986     * @param item The toolbar item.
14987     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
14988     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
14989     *
14990     * @see elm_toolbar_selected_item_set() for details.
14991     * @see elm_toolbar_item_selected_get()
14992     *
14993     * @ingroup Toolbar
14994     */
14995    EAPI Eina_Bool               elm_toolbar_item_selected_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
14996
14997    /**
14998     * Set the selected state of an item.
14999     *
15000     * @param item The toolbar item
15001     * @param selected The selected state
15002     *
15003     * This sets the selected state of the given item @p it.
15004     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
15005     *
15006     * If a new item is selected the previosly selected will be unselected.
15007     * Previoulsy selected item can be get with function
15008     * elm_toolbar_selected_item_get().
15009     *
15010     * Selected items will be highlighted.
15011     *
15012     * @see elm_toolbar_item_selected_get()
15013     * @see elm_toolbar_selected_item_get()
15014     *
15015     * @ingroup Toolbar
15016     */
15017    EAPI void                    elm_toolbar_item_selected_set(Elm_Toolbar_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
15018
15019    /**
15020     * Get the selected item.
15021     *
15022     * @param obj The toolbar object.
15023     * @return The selected toolbar item.
15024     *
15025     * The selected item can be unselected with function
15026     * elm_toolbar_item_selected_set().
15027     *
15028     * The selected item always will be highlighted on toolbar.
15029     *
15030     * @see elm_toolbar_selected_items_get()
15031     *
15032     * @ingroup Toolbar
15033     */
15034    EAPI Elm_Toolbar_Item       *elm_toolbar_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15035
15036    /**
15037     * Set the icon associated with @p item.
15038     *
15039     * @param obj The parent of this item.
15040     * @param item The toolbar item.
15041     * @param icon A string with icon name or the absolute path of an image file.
15042     *
15043     * Toolbar will load icon image from fdo or current theme.
15044     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
15045     * If an absolute path is provided it will load it direct from a file.
15046     *
15047     * @see elm_toolbar_icon_order_lookup_set()
15048     * @see elm_toolbar_icon_order_lookup_get()
15049     *
15050     * @ingroup Toolbar
15051     */
15052    EAPI void                    elm_toolbar_item_icon_set(Elm_Toolbar_Item *item, const char *icon) EINA_ARG_NONNULL(1);
15053
15054    /**
15055     * Get the string used to set the icon of @p item.
15056     *
15057     * @param item The toolbar item.
15058     * @return The string associated with the icon object.
15059     *
15060     * @see elm_toolbar_item_icon_set() for details.
15061     *
15062     * @ingroup Toolbar
15063     */
15064    EAPI const char             *elm_toolbar_item_icon_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15065
15066    /**
15067     * Get the object of @p item.
15068     *
15069     * @param item The toolbar item.
15070     * @return The object
15071     *
15072     * @ingroup Toolbar
15073     */
15074    EAPI Evas_Object            *elm_toolbar_item_object_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15075
15076    /**
15077     * Get the icon object of @p item.
15078     *
15079     * @param item The toolbar item.
15080     * @return The icon object
15081     *
15082     * @see elm_toolbar_item_icon_set() or elm_toolbar_item_icon_memfile_set() for details.
15083     *
15084     * @ingroup Toolbar
15085     */
15086    EAPI Evas_Object            *elm_toolbar_item_icon_object_get(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15087
15088    /**
15089     * Set the icon associated with @p item to an image in a binary buffer.
15090     *
15091     * @param item The toolbar item.
15092     * @param img The binary data that will be used as an image
15093     * @param size The size of binary data @p img
15094     * @param format Optional format of @p img to pass to the image loader
15095     * @param key Optional key of @p img to pass to the image loader (eg. if @p img is an edje file)
15096     *
15097     * @return (@c EINA_TRUE = success, @c EINA_FALSE = error)
15098     *
15099     * @note The icon image set by this function can be changed by
15100     * elm_toolbar_item_icon_set().
15101     * 
15102     * @ingroup Toolbar
15103     */
15104    EAPI Eina_Bool elm_toolbar_item_icon_memfile_set(Elm_Toolbar_Item *item, const void *img, size_t size, const char *format, const char *key) EINA_ARG_NONNULL(1);
15105
15106    /**
15107     * Delete them item from the toolbar.
15108     *
15109     * @param item The item of toolbar to be deleted.
15110     *
15111     * @see elm_toolbar_item_append()
15112     * @see elm_toolbar_item_del_cb_set()
15113     *
15114     * @ingroup Toolbar
15115     */
15116    EAPI void                    elm_toolbar_item_del(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15117
15118    /**
15119     * Set the function called when a toolbar item is freed.
15120     *
15121     * @param item The item to set the callback on.
15122     * @param func The function called.
15123     *
15124     * If there is a @p func, then it will be called prior item's memory release.
15125     * That will be called with the following arguments:
15126     * @li item's data;
15127     * @li item's Evas object;
15128     * @li item itself;
15129     *
15130     * This way, a data associated to a toolbar item could be properly freed.
15131     *
15132     * @ingroup Toolbar
15133     */
15134    EAPI void                    elm_toolbar_item_del_cb_set(Elm_Toolbar_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
15135
15136    /**
15137     * Get a value whether toolbar item is disabled or not.
15138     *
15139     * @param item The item.
15140     * @return The disabled state.
15141     *
15142     * @see elm_toolbar_item_disabled_set() for more details.
15143     *
15144     * @ingroup Toolbar
15145     */
15146    EAPI Eina_Bool               elm_toolbar_item_disabled_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15147
15148    /**
15149     * Sets the disabled/enabled state of a toolbar item.
15150     *
15151     * @param item The item.
15152     * @param disabled The disabled state.
15153     *
15154     * A disabled item cannot be selected or unselected. It will also
15155     * change its appearance (generally greyed out). This sets the
15156     * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
15157     * enabled).
15158     *
15159     * @ingroup Toolbar
15160     */
15161    EAPI void                    elm_toolbar_item_disabled_set(Elm_Toolbar_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
15162
15163    /**
15164     * Set or unset item as a separator.
15165     *
15166     * @param item The toolbar item.
15167     * @param setting @c EINA_TRUE to set item @p item as separator or
15168     * @c EINA_FALSE to unset, i.e., item will be used as a regular item.
15169     *
15170     * Items aren't set as separator by default.
15171     *
15172     * If set as separator it will display separator theme, so won't display
15173     * icons or label.
15174     *
15175     * @see elm_toolbar_item_separator_get()
15176     *
15177     * @ingroup Toolbar
15178     */
15179    EAPI void                    elm_toolbar_item_separator_set(Elm_Toolbar_Item *item, Eina_Bool separator) EINA_ARG_NONNULL(1);
15180
15181    /**
15182     * Get a value whether item is a separator or not.
15183     *
15184     * @param item The toolbar item.
15185     * @return @c EINA_TRUE means item @p it is a separator. @c EINA_FALSE
15186     * indicates it's not. If @p it is @c NULL, @c EINA_FALSE is returned.
15187     *
15188     * @see elm_toolbar_item_separator_set() for details.
15189     *
15190     * @ingroup Toolbar
15191     */
15192    EAPI Eina_Bool               elm_toolbar_item_separator_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15193
15194    /**
15195     * Set the shrink state of toolbar @p obj.
15196     *
15197     * @param obj The toolbar object.
15198     * @param shrink_mode Toolbar's items display behavior.
15199     *
15200     * The toolbar won't scroll if #ELM_TOOLBAR_SHRINK_NONE,
15201     * but will enforce a minimun size so all the items will fit, won't scroll
15202     * and won't show the items that don't fit if #ELM_TOOLBAR_SHRINK_HIDE,
15203     * will scroll if #ELM_TOOLBAR_SHRINK_SCROLL, and will create a button to
15204     * pop up excess elements with #ELM_TOOLBAR_SHRINK_MENU.
15205     *
15206     * @ingroup Toolbar
15207     */
15208    EAPI void                    elm_toolbar_mode_shrink_set(Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode) EINA_ARG_NONNULL(1);
15209
15210    /**
15211     * Get the shrink mode of toolbar @p obj.
15212     *
15213     * @param obj The toolbar object.
15214     * @return Toolbar's items display behavior.
15215     *
15216     * @see elm_toolbar_mode_shrink_set() for details.
15217     *
15218     * @ingroup Toolbar
15219     */
15220    EAPI Elm_Toolbar_Shrink_Mode elm_toolbar_mode_shrink_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15221
15222    /**
15223     * Enable/disable homogenous mode.
15224     *
15225     * @param obj The toolbar object
15226     * @param homogeneous Assume the items within the toolbar are of the
15227     * same size (EINA_TRUE = on, EINA_FALSE = off). Default is @c EINA_FALSE.
15228     *
15229     * This will enable the homogeneous mode where items are of the same size.
15230     * @see elm_toolbar_homogeneous_get()
15231     *
15232     * @ingroup Toolbar
15233     */
15234    EAPI void                    elm_toolbar_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
15235
15236    /**
15237     * Get whether the homogenous mode is enabled.
15238     *
15239     * @param obj The toolbar object.
15240     * @return Assume the items within the toolbar are of the same height
15241     * and width (EINA_TRUE = on, EINA_FALSE = off).
15242     *
15243     * @see elm_toolbar_homogeneous_set()
15244     *
15245     * @ingroup Toolbar
15246     */
15247    EAPI Eina_Bool               elm_toolbar_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15248
15249    /**
15250     * Enable/disable homogenous mode.
15251     *
15252     * @param obj The toolbar object
15253     * @param homogeneous Assume the items within the toolbar are of the
15254     * same size (EINA_TRUE = on, EINA_FALSE = off). Default is @c EINA_FALSE.
15255     *
15256     * This will enable the homogeneous mode where items are of the same size.
15257     * @see elm_toolbar_homogeneous_get()
15258     *
15259     * @deprecated use elm_toolbar_homogeneous_set() instead.
15260     *
15261     * @ingroup Toolbar
15262     */
15263    EINA_DEPRECATED EAPI void    elm_toolbar_homogenous_set(Evas_Object *obj, Eina_Bool homogenous) EINA_ARG_NONNULL(1);
15264
15265    /**
15266     * Get whether the homogenous mode is enabled.
15267     *
15268     * @param obj The toolbar object.
15269     * @return Assume the items within the toolbar are of the same height
15270     * and width (EINA_TRUE = on, EINA_FALSE = off).
15271     *
15272     * @see elm_toolbar_homogeneous_set()
15273     * @deprecated use elm_toolbar_homogeneous_get() instead.
15274     *
15275     * @ingroup Toolbar
15276     */
15277    EINA_DEPRECATED EAPI Eina_Bool elm_toolbar_homogenous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15278
15279    /**
15280     * Set the parent object of the toolbar items' menus.
15281     *
15282     * @param obj The toolbar object.
15283     * @param parent The parent of the menu objects.
15284     *
15285     * Each item can be set as item menu, with elm_toolbar_item_menu_set().
15286     *
15287     * For more details about setting the parent for toolbar menus, see
15288     * elm_menu_parent_set().
15289     *
15290     * @see elm_menu_parent_set() for details.
15291     * @see elm_toolbar_item_menu_set() for details.
15292     *
15293     * @ingroup Toolbar
15294     */
15295    EAPI void                    elm_toolbar_menu_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
15296
15297    /**
15298     * Get the parent object of the toolbar items' menus.
15299     *
15300     * @param obj The toolbar object.
15301     * @return The parent of the menu objects.
15302     *
15303     * @see elm_toolbar_menu_parent_set() for details.
15304     *
15305     * @ingroup Toolbar
15306     */
15307    EAPI Evas_Object            *elm_toolbar_menu_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15308
15309    /**
15310     * Set the alignment of the items.
15311     *
15312     * @param obj The toolbar object.
15313     * @param align The new alignment, a float between <tt> 0.0 </tt>
15314     * and <tt> 1.0 </tt>.
15315     *
15316     * Alignment of toolbar items, from <tt> 0.0 </tt> to indicates to align
15317     * left, to <tt> 1.0 </tt>, to align to right. <tt> 0.5 </tt> centralize
15318     * items.
15319     *
15320     * Centered items by default.
15321     *
15322     * @see elm_toolbar_align_get()
15323     *
15324     * @ingroup Toolbar
15325     */
15326    EAPI void                    elm_toolbar_align_set(Evas_Object *obj, double align) EINA_ARG_NONNULL(1);
15327
15328    /**
15329     * Get the alignment of the items.
15330     *
15331     * @param obj The toolbar object.
15332     * @return toolbar items alignment, a float between <tt> 0.0 </tt> and
15333     * <tt> 1.0 </tt>.
15334     *
15335     * @see elm_toolbar_align_set() for details.
15336     *
15337     * @ingroup Toolbar
15338     */
15339    EAPI double                  elm_toolbar_align_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15340
15341    /**
15342     * Set whether the toolbar item opens a menu.
15343     *
15344     * @param item The toolbar item.
15345     * @param menu If @c EINA_TRUE, @p item will opens a menu when selected.
15346     *
15347     * A toolbar item can be set to be a menu, using this function.
15348     *
15349     * Once it is set to be a menu, it can be manipulated through the
15350     * menu-like function elm_toolbar_menu_parent_set() and the other
15351     * elm_menu functions, using the Evas_Object @c menu returned by
15352     * elm_toolbar_item_menu_get().
15353     *
15354     * So, items to be displayed in this item's menu should be added with
15355     * elm_menu_item_add().
15356     *
15357     * The following code exemplifies the most basic usage:
15358     * @code
15359     * tb = elm_toolbar_add(win)
15360     * item = elm_toolbar_item_append(tb, "refresh", "Menu", NULL, NULL);
15361     * elm_toolbar_item_menu_set(item, EINA_TRUE);
15362     * elm_toolbar_menu_parent_set(tb, win);
15363     * menu = elm_toolbar_item_menu_get(item);
15364     * elm_menu_item_add(menu, NULL, "edit-cut", "Cut", NULL, NULL);
15365     * menu_item = elm_menu_item_add(menu, NULL, "edit-copy", "Copy", NULL,
15366     * NULL);
15367     * @endcode
15368     *
15369     * @see elm_toolbar_item_menu_get()
15370     *
15371     * @ingroup Toolbar
15372     */
15373    EAPI void                    elm_toolbar_item_menu_set(Elm_Toolbar_Item *item, Eina_Bool menu) EINA_ARG_NONNULL(1);
15374
15375    /**
15376     * Get toolbar item's menu.
15377     *
15378     * @param item The toolbar item.
15379     * @return Item's menu object or @c NULL on failure.
15380     *
15381     * If @p item wasn't set as menu item with elm_toolbar_item_menu_set(),
15382     * this function will set it.
15383     *
15384     * @see elm_toolbar_item_menu_set() for details.
15385     *
15386     * @ingroup Toolbar
15387     */
15388    EAPI Evas_Object            *elm_toolbar_item_menu_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15389
15390    /**
15391     * Add a new state to @p item.
15392     *
15393     * @param item The item.
15394     * @param icon A string with icon name or the absolute path of an image file.
15395     * @param label The label of the new state.
15396     * @param func The function to call when the item is clicked when this
15397     * state is selected.
15398     * @param data The data to associate with the state.
15399     * @return The toolbar item state, or @c NULL upon failure.
15400     *
15401     * Toolbar will load icon image from fdo or current theme.
15402     * This behavior can be set by elm_toolbar_icon_order_lookup_set() function.
15403     * If an absolute path is provided it will load it direct from a file.
15404     *
15405     * States created with this function can be removed with
15406     * elm_toolbar_item_state_del().
15407     *
15408     * @see elm_toolbar_item_state_del()
15409     * @see elm_toolbar_item_state_sel()
15410     * @see elm_toolbar_item_state_get()
15411     *
15412     * @ingroup Toolbar
15413     */
15414    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_add(Elm_Toolbar_Item *item, const char *icon, const char *label, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
15415
15416    /**
15417     * Delete a previoulsy added state to @p item.
15418     *
15419     * @param item The toolbar item.
15420     * @param state The state to be deleted.
15421     * @return @c EINA_TRUE on success or @c EINA_FALSE on failure.
15422     *
15423     * @see elm_toolbar_item_state_add()
15424     */
15425    EAPI Eina_Bool               elm_toolbar_item_state_del(Elm_Toolbar_Item *item, Elm_Toolbar_Item_State *state) EINA_ARG_NONNULL(1);
15426
15427    /**
15428     * Set @p state as the current state of @p it.
15429     *
15430     * @param it The item.
15431     * @param state The state to use.
15432     * @return @c EINA_TRUE on success or @c EINA_FALSE on failure.
15433     *
15434     * If @p state is @c NULL, it won't select any state and the default item's
15435     * icon and label will be used. It's the same behaviour than
15436     * elm_toolbar_item_state_unser().
15437     *
15438     * @see elm_toolbar_item_state_unset()
15439     *
15440     * @ingroup Toolbar
15441     */
15442    EAPI Eina_Bool               elm_toolbar_item_state_set(Elm_Toolbar_Item *it, Elm_Toolbar_Item_State *state) EINA_ARG_NONNULL(1);
15443
15444    /**
15445     * Unset the state of @p it.
15446     *
15447     * @param it The item.
15448     *
15449     * The default icon and label from this item will be displayed.
15450     *
15451     * @see elm_toolbar_item_state_set() for more details.
15452     *
15453     * @ingroup Toolbar
15454     */
15455    EAPI void                    elm_toolbar_item_state_unset(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
15456
15457    /**
15458     * Get the current state of @p it.
15459     *
15460     * @param item The item.
15461     * @return The selected state or @c NULL if none is selected or on failure.
15462     *
15463     * @see elm_toolbar_item_state_set() for details.
15464     * @see elm_toolbar_item_state_unset()
15465     * @see elm_toolbar_item_state_add()
15466     *
15467     * @ingroup Toolbar
15468     */
15469    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_get(const Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
15470
15471    /**
15472     * Get the state after selected state in toolbar's @p item.
15473     *
15474     * @param it The toolbar item to change state.
15475     * @return The state after current state, or @c NULL on failure.
15476     *
15477     * If last state is selected, this function will return first state.
15478     *
15479     * @see elm_toolbar_item_state_set()
15480     * @see elm_toolbar_item_state_add()
15481     *
15482     * @ingroup Toolbar
15483     */
15484    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_next(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
15485
15486    /**
15487     * Get the state before selected state in toolbar's @p item.
15488     *
15489     * @param it The toolbar item to change state.
15490     * @return The state before current state, or @c NULL on failure.
15491     *
15492     * If first state is selected, this function will return last state.
15493     *
15494     * @see elm_toolbar_item_state_set()
15495     * @see elm_toolbar_item_state_add()
15496     *
15497     * @ingroup Toolbar
15498     */
15499    EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_prev(Elm_Toolbar_Item *it) EINA_ARG_NONNULL(1);
15500
15501    /**
15502     * Set the text to be shown in a given toolbar item's tooltips.
15503     *
15504     * @param item Target item.
15505     * @param text The text to set in the content.
15506     *
15507     * Setup the text as tooltip to object. The item can have only one tooltip,
15508     * so any previous tooltip data - set with this function or
15509     * elm_toolbar_item_tooltip_content_cb_set() - is removed.
15510     *
15511     * @see elm_object_tooltip_text_set() for more details.
15512     *
15513     * @ingroup Toolbar
15514     */
15515    EAPI void             elm_toolbar_item_tooltip_text_set(Elm_Toolbar_Item *item, const char *text) EINA_ARG_NONNULL(1);
15516
15517    /**
15518     * Set the content to be shown in the tooltip item.
15519     *
15520     * Setup the tooltip to item. The item can have only one tooltip,
15521     * so any previous tooltip data is removed. @p func(with @p data) will
15522     * be called every time that need show the tooltip and it should
15523     * return a valid Evas_Object. This object is then managed fully by
15524     * tooltip system and is deleted when the tooltip is gone.
15525     *
15526     * @param item the toolbar item being attached a tooltip.
15527     * @param func the function used to create the tooltip contents.
15528     * @param data what to provide to @a func as callback data/context.
15529     * @param del_cb called when data is not needed anymore, either when
15530     *        another callback replaces @a func, the tooltip is unset with
15531     *        elm_toolbar_item_tooltip_unset() or the owner @a item
15532     *        dies. This callback receives as the first parameter the
15533     *        given @a data, and @c event_info is the item.
15534     *
15535     * @see elm_object_tooltip_content_cb_set() for more details.
15536     *
15537     * @ingroup Toolbar
15538     */
15539    EAPI void             elm_toolbar_item_tooltip_content_cb_set(Elm_Toolbar_Item *item, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb) EINA_ARG_NONNULL(1);
15540
15541    /**
15542     * Unset tooltip from item.
15543     *
15544     * @param item toolbar item to remove previously set tooltip.
15545     *
15546     * Remove tooltip from item. The callback provided as del_cb to
15547     * elm_toolbar_item_tooltip_content_cb_set() will be called to notify
15548     * it is not used anymore.
15549     *
15550     * @see elm_object_tooltip_unset() for more details.
15551     * @see elm_toolbar_item_tooltip_content_cb_set()
15552     *
15553     * @ingroup Toolbar
15554     */
15555    EAPI void             elm_toolbar_item_tooltip_unset(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15556
15557    /**
15558     * Sets a different style for this item tooltip.
15559     *
15560     * @note before you set a style you should define a tooltip with
15561     *       elm_toolbar_item_tooltip_content_cb_set() or
15562     *       elm_toolbar_item_tooltip_text_set()
15563     *
15564     * @param item toolbar item with tooltip already set.
15565     * @param style the theme style to use (default, transparent, ...)
15566     *
15567     * @see elm_object_tooltip_style_set() for more details.
15568     *
15569     * @ingroup Toolbar
15570     */
15571    EAPI void             elm_toolbar_item_tooltip_style_set(Elm_Toolbar_Item *item, const char *style) EINA_ARG_NONNULL(1);
15572
15573    /**
15574     * Get the style for this item tooltip.
15575     *
15576     * @param item toolbar item with tooltip already set.
15577     * @return style the theme style in use, defaults to "default". If the
15578     *         object does not have a tooltip set, then NULL is returned.
15579     *
15580     * @see elm_object_tooltip_style_get() for more details.
15581     * @see elm_toolbar_item_tooltip_style_set()
15582     *
15583     * @ingroup Toolbar
15584     */
15585    EAPI const char      *elm_toolbar_item_tooltip_style_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15586
15587    /**
15588     * Set the type of mouse pointer/cursor decoration to be shown,
15589     * when the mouse pointer is over the given toolbar widget item
15590     *
15591     * @param item toolbar item to customize cursor on
15592     * @param cursor the cursor type's name
15593     *
15594     * This function works analogously as elm_object_cursor_set(), but
15595     * here the cursor's changing area is restricted to the item's
15596     * area, and not the whole widget's. Note that that item cursors
15597     * have precedence over widget cursors, so that a mouse over an
15598     * item with custom cursor set will always show @b that cursor.
15599     *
15600     * If this function is called twice for an object, a previously set
15601     * cursor will be unset on the second call.
15602     *
15603     * @see elm_object_cursor_set()
15604     * @see elm_toolbar_item_cursor_get()
15605     * @see elm_toolbar_item_cursor_unset()
15606     *
15607     * @ingroup Toolbar
15608     */
15609    EAPI void             elm_toolbar_item_cursor_set(Elm_Toolbar_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
15610
15611    /*
15612     * Get the type of mouse pointer/cursor decoration set to be shown,
15613     * when the mouse pointer is over the given toolbar widget item
15614     *
15615     * @param item toolbar item with custom cursor set
15616     * @return the cursor type's name or @c NULL, if no custom cursors
15617     * were set to @p item (and on errors)
15618     *
15619     * @see elm_object_cursor_get()
15620     * @see elm_toolbar_item_cursor_set()
15621     * @see elm_toolbar_item_cursor_unset()
15622     *
15623     * @ingroup Toolbar
15624     */
15625    EAPI const char      *elm_toolbar_item_cursor_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15626
15627    /**
15628     * Unset any custom mouse pointer/cursor decoration set to be
15629     * shown, when the mouse pointer is over the given toolbar widget
15630     * item, thus making it show the @b default cursor again.
15631     *
15632     * @param item a toolbar item
15633     *
15634     * Use this call to undo any custom settings on this item's cursor
15635     * decoration, bringing it back to defaults (no custom style set).
15636     *
15637     * @see elm_object_cursor_unset()
15638     * @see elm_toolbar_item_cursor_set()
15639     *
15640     * @ingroup Toolbar
15641     */
15642    EAPI void             elm_toolbar_item_cursor_unset(Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15643
15644    /**
15645     * Set a different @b style for a given custom cursor set for a
15646     * toolbar item.
15647     *
15648     * @param item toolbar item with custom cursor set
15649     * @param style the <b>theme style</b> to use (e.g. @c "default",
15650     * @c "transparent", etc)
15651     *
15652     * This function only makes sense when one is using custom mouse
15653     * cursor decorations <b>defined in a theme file</b>, which can have,
15654     * given a cursor name/type, <b>alternate styles</b> on it. It
15655     * works analogously as elm_object_cursor_style_set(), but here
15656     * applyed only to toolbar item objects.
15657     *
15658     * @warning Before you set a cursor style you should have definen a
15659     *       custom cursor previously on the item, with
15660     *       elm_toolbar_item_cursor_set()
15661     *
15662     * @see elm_toolbar_item_cursor_engine_only_set()
15663     * @see elm_toolbar_item_cursor_style_get()
15664     *
15665     * @ingroup Toolbar
15666     */
15667    EAPI void             elm_toolbar_item_cursor_style_set(Elm_Toolbar_Item *item, const char *style) EINA_ARG_NONNULL(1);
15668
15669    /**
15670     * Get the current @b style set for a given toolbar item's custom
15671     * cursor
15672     *
15673     * @param item toolbar item with custom cursor set.
15674     * @return style the cursor style in use. If the object does not
15675     *         have a cursor set, then @c NULL is returned.
15676     *
15677     * @see elm_toolbar_item_cursor_style_set() for more details
15678     *
15679     * @ingroup Toolbar
15680     */
15681    EAPI const char      *elm_toolbar_item_cursor_style_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15682
15683    /**
15684     * Set if the (custom)cursor for a given toolbar item should be
15685     * searched in its theme, also, or should only rely on the
15686     * rendering engine.
15687     *
15688     * @param item item with custom (custom) cursor already set on
15689     * @param engine_only Use @c EINA_TRUE to have cursors looked for
15690     * only on those provided by the rendering engine, @c EINA_FALSE to
15691     * have them searched on the widget's theme, as well.
15692     *
15693     * @note This call is of use only if you've set a custom cursor
15694     * for toolbar items, with elm_toolbar_item_cursor_set().
15695     *
15696     * @note By default, cursors will only be looked for between those
15697     * provided by the rendering engine.
15698     *
15699     * @ingroup Toolbar
15700     */
15701    EAPI void             elm_toolbar_item_cursor_engine_only_set(Elm_Toolbar_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
15702
15703    /**
15704     * Get if the (custom) cursor for a given toolbar item is being
15705     * searched in its theme, also, or is only relying on the rendering
15706     * engine.
15707     *
15708     * @param item a toolbar item
15709     * @return @c EINA_TRUE, if cursors are being looked for only on
15710     * those provided by the rendering engine, @c EINA_FALSE if they
15711     * are being searched on the widget's theme, as well.
15712     *
15713     * @see elm_toolbar_item_cursor_engine_only_set(), for more details
15714     *
15715     * @ingroup Toolbar
15716     */
15717    EAPI Eina_Bool        elm_toolbar_item_cursor_engine_only_get(const Elm_Toolbar_Item *item) EINA_ARG_NONNULL(1);
15718
15719    /**
15720     * Change a toolbar's orientation
15721     * @param obj The toolbar object
15722     * @param vertical If @c EINA_TRUE, the toolbar is vertical
15723     * By default, a toolbar will be horizontal. Use this function to create a vertical toolbar.
15724     * @ingroup Toolbar
15725     * @deprecated use elm_toolbar_horizontal_set() instead.
15726     */
15727    EINA_DEPRECATED EAPI void             elm_toolbar_orientation_set(Evas_Object *obj, Eina_Bool vertical) EINA_ARG_NONNULL(1);
15728
15729    /**
15730     * Change a toolbar's orientation
15731     * @param obj The toolbar object
15732     * @param horizontal If @c EINA_TRUE, the toolbar is horizontal
15733     * By default, a toolbar will be horizontal. Use this function to create a vertical toolbar.
15734     * @ingroup Toolbar
15735     */
15736    EAPI void             elm_toolbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
15737
15738    /**
15739     * Get a toolbar's orientation
15740     * @param obj The toolbar object
15741     * @return If @c EINA_TRUE, the toolbar is vertical
15742     * By default, a toolbar will be horizontal. Use this function to determine whether a toolbar is vertical.
15743     * @ingroup Toolbar
15744     * @deprecated use elm_toolbar_horizontal_get() instead.
15745     */
15746    EINA_DEPRECATED EAPI Eina_Bool        elm_toolbar_orientation_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15747
15748    /**
15749     * Get a toolbar's orientation
15750     * @param obj The toolbar object
15751     * @return If @c EINA_TRUE, the toolbar is horizontal
15752     * By default, a toolbar will be horizontal. Use this function to determine whether a toolbar is vertical.
15753     * @ingroup Toolbar
15754     */
15755    EAPI Eina_Bool elm_toolbar_horizontal_get(const Evas_Object *obj);
15756    /**
15757     * @}
15758     */
15759
15760    /**
15761     * @defgroup Tooltips Tooltips
15762     *
15763     * The Tooltip is an (internal, for now) smart object used to show a
15764     * content in a frame on mouse hover of objects(or widgets), with
15765     * tips/information about them.
15766     *
15767     * @{
15768     */
15769
15770    EAPI double       elm_tooltip_delay_get(void);
15771    EAPI Eina_Bool    elm_tooltip_delay_set(double delay);
15772    EAPI void         elm_object_tooltip_show(Evas_Object *obj) EINA_ARG_NONNULL(1);
15773    EAPI void         elm_object_tooltip_hide(Evas_Object *obj) EINA_ARG_NONNULL(1);
15774    EAPI void         elm_object_tooltip_text_set(Evas_Object *obj, const char *text) EINA_ARG_NONNULL(1, 2);
15775    EAPI void         elm_object_tooltip_domain_translatable_text_set(Evas_Object *obj, const char *domain, const char *text) EINA_ARG_NONNULL(1, 3);
15776 #define elm_object_tooltip_translatable_text_set(obj, text) elm_object_tooltip_domain_translatable_text_set((obj), NULL, (text))
15777    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);
15778    EAPI void         elm_object_tooltip_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15779    EAPI void         elm_object_tooltip_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
15780    EAPI const char  *elm_object_tooltip_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15781    EAPI Eina_Bool    elm_tooltip_size_restrict_disable(Evas_Object *obj, Eina_Bool disable) EINA_ARG_NONNULL(1);
15782    EAPI Eina_Bool    elm_tooltip_size_restrict_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15783
15784    /**
15785     * @}
15786     */
15787
15788    /**
15789     * @defgroup Cursors Cursors
15790     *
15791     * The Elementary cursor is an internal smart object used to
15792     * customize the mouse cursor displayed over objects (or
15793     * widgets). In the most common scenario, the cursor decoration
15794     * comes from the graphical @b engine Elementary is running
15795     * on. Those engines may provide different decorations for cursors,
15796     * and Elementary provides functions to choose them (think of X11
15797     * cursors, as an example).
15798     *
15799     * There's also the possibility of, besides using engine provided
15800     * cursors, also use ones coming from Edje theming files. Both
15801     * globally and per widget, Elementary makes it possible for one to
15802     * make the cursors lookup to be held on engines only or on
15803     * Elementary's theme file, too. To set cursor's hot spot,
15804     * two data items should be added to cursor's theme: "hot_x" and
15805     * "hot_y", that are the offset from upper-left corner of the cursor
15806     * (coordinates 0,0).
15807     *
15808     * @{
15809     */
15810
15811    /**
15812     * Set the cursor to be shown when mouse is over the object
15813     *
15814     * Set the cursor that will be displayed when mouse is over the
15815     * object. The object can have only one cursor set to it, so if
15816     * this function is called twice for an object, the previous set
15817     * will be unset.
15818     * If using X cursors, a definition of all the valid cursor names
15819     * is listed on Elementary_Cursors.h. If an invalid name is set
15820     * the default cursor will be used.
15821     *
15822     * @param obj the object being set a cursor.
15823     * @param cursor the cursor name to be used.
15824     *
15825     * @ingroup Cursors
15826     */
15827    EAPI void         elm_object_cursor_set(Evas_Object *obj, const char *cursor) EINA_ARG_NONNULL(1);
15828
15829    /**
15830     * Get the cursor to be shown when mouse is over the object
15831     *
15832     * @param obj an object with cursor already set.
15833     * @return the cursor name.
15834     *
15835     * @ingroup Cursors
15836     */
15837    EAPI const char  *elm_object_cursor_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15838
15839    /**
15840     * Unset cursor for object
15841     *
15842     * Unset cursor for object, and set the cursor to default if the mouse
15843     * was over this object.
15844     *
15845     * @param obj Target object
15846     * @see elm_object_cursor_set()
15847     *
15848     * @ingroup Cursors
15849     */
15850    EAPI void         elm_object_cursor_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
15851
15852    /**
15853     * Sets a different style for this object cursor.
15854     *
15855     * @note before you set a style you should define a cursor with
15856     *       elm_object_cursor_set()
15857     *
15858     * @param obj an object with cursor already set.
15859     * @param style the theme style to use (default, transparent, ...)
15860     *
15861     * @ingroup Cursors
15862     */
15863    EAPI void         elm_object_cursor_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
15864
15865    /**
15866     * Get the style for this object cursor.
15867     *
15868     * @param obj an object with cursor already set.
15869     * @return style the theme style in use, defaults to "default". If the
15870     *         object does not have a cursor set, then NULL is returned.
15871     *
15872     * @ingroup Cursors
15873     */
15874    EAPI const char  *elm_object_cursor_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15875
15876    /**
15877     * Set if the cursor set should be searched on the theme or should use
15878     * the provided by the engine, only.
15879     *
15880     * @note before you set if should look on theme you should define a cursor
15881     * with elm_object_cursor_set(). By default it will only look for cursors
15882     * provided by the engine.
15883     *
15884     * @param obj an object with cursor already set.
15885     * @param engine_only boolean to define it cursors should be looked only
15886     * between the provided by the engine or searched on widget's theme as well.
15887     *
15888     * @ingroup Cursors
15889     */
15890    EAPI void         elm_object_cursor_engine_only_set(Evas_Object *obj, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
15891
15892    /**
15893     * Get the cursor engine only usage for this object cursor.
15894     *
15895     * @param obj an object with cursor already set.
15896     * @return engine_only boolean to define it cursors should be
15897     * looked only between the provided by the engine or searched on
15898     * widget's theme as well. If the object does not have a cursor
15899     * set, then EINA_FALSE is returned.
15900     *
15901     * @ingroup Cursors
15902     */
15903    EAPI Eina_Bool    elm_object_cursor_engine_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15904
15905    /**
15906     * Get the configured cursor engine only usage
15907     *
15908     * This gets the globally configured exclusive usage of engine cursors.
15909     *
15910     * @return 1 if only engine cursors should be used
15911     * @ingroup Cursors
15912     */
15913    EAPI int          elm_cursor_engine_only_get(void);
15914
15915    /**
15916     * Set the configured cursor engine only usage
15917     *
15918     * This sets the globally configured exclusive usage of engine cursors.
15919     * It won't affect cursors set before changing this value.
15920     *
15921     * @param engine_only If 1 only engine cursors will be enabled, if 0 will
15922     * look for them on theme before.
15923     * @return EINA_TRUE if value is valid and setted (0 or 1)
15924     * @ingroup Cursors
15925     */
15926    EAPI Eina_Bool    elm_cursor_engine_only_set(int engine_only);
15927
15928    /**
15929     * @}
15930     */
15931
15932    /**
15933     * @defgroup Menu Menu
15934     *
15935     * @image html img/widget/menu/preview-00.png
15936     * @image latex img/widget/menu/preview-00.eps
15937     *
15938     * A menu is a list of items displayed above its parent. When the menu is
15939     * showing its parent is darkened. Each item can have a sub-menu. The menu
15940     * object can be used to display a menu on a right click event, in a toolbar,
15941     * anywhere.
15942     *
15943     * Signals that you can add callbacks for are:
15944     * @li "clicked" - the user clicked the empty space in the menu to dismiss.
15945     *             event_info is NULL.
15946     *
15947     * @see @ref tutorial_menu
15948     * @{
15949     */
15950    typedef struct _Elm_Menu_Item Elm_Menu_Item; /**< Item of Elm_Menu. Sub-type of Elm_Widget_Item */
15951    /**
15952     * @brief Add a new menu to the parent
15953     *
15954     * @param parent The parent object.
15955     * @return The new object or NULL if it cannot be created.
15956     */
15957    EAPI Evas_Object       *elm_menu_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
15958    /**
15959     * @brief Set the parent for the given menu widget
15960     *
15961     * @param obj The menu object.
15962     * @param parent The new parent.
15963     */
15964    EAPI void               elm_menu_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1);
15965    /**
15966     * @brief Get the parent for the given menu widget
15967     *
15968     * @param obj The menu object.
15969     * @return The parent.
15970     *
15971     * @see elm_menu_parent_set()
15972     */
15973    EAPI Evas_Object       *elm_menu_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
15974    /**
15975     * @brief Move the menu to a new position
15976     *
15977     * @param obj The menu object.
15978     * @param x The new position.
15979     * @param y The new position.
15980     *
15981     * Sets the top-left position of the menu to (@p x,@p y).
15982     *
15983     * @note @p x and @p y coordinates are relative to parent.
15984     */
15985    EAPI void               elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1);
15986    /**
15987     * @brief Close a opened menu
15988     *
15989     * @param obj the menu object
15990     * @return void
15991     *
15992     * Hides the menu and all it's sub-menus.
15993     */
15994    EAPI void               elm_menu_close(Evas_Object *obj) EINA_ARG_NONNULL(1);
15995    /**
15996     * @brief Returns a list of @p item's items.
15997     *
15998     * @param obj The menu object
15999     * @return An Eina_List* of @p item's items
16000     */
16001    EAPI const Eina_List   *elm_menu_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16002    /**
16003     * @brief Get the Evas_Object of an Elm_Menu_Item
16004     *
16005     * @param item The menu item object.
16006     * @return The edje object containing the swallowed content
16007     *
16008     * @warning Don't manipulate this object!
16009     */
16010    EAPI Evas_Object       *elm_menu_item_object_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
16011    /**
16012     * @brief Add an item at the end of the given menu widget
16013     *
16014     * @param obj The menu object.
16015     * @param parent The parent menu item (optional)
16016     * @param icon A icon display on the item. The icon will be destryed by the menu.
16017     * @param label The label of the item.
16018     * @param func Function called when the user select the item.
16019     * @param data Data sent by the callback.
16020     * @return Returns the new item.
16021     */
16022    EAPI Elm_Menu_Item     *elm_menu_item_add(Evas_Object *obj, Elm_Menu_Item *parent, const char *icon, const char *label, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
16023    /**
16024     * @brief Add an object swallowed in an item at the end of the given menu
16025     * widget
16026     *
16027     * @param obj The menu object.
16028     * @param parent The parent menu item (optional)
16029     * @param subobj The object to swallow
16030     * @param func Function called when the user select the item.
16031     * @param data Data sent by the callback.
16032     * @return Returns the new item.
16033     *
16034     * Add an evas object as an item to the menu.
16035     */
16036    EAPI Elm_Menu_Item     *elm_menu_item_add_object(Evas_Object *obj, Elm_Menu_Item *parent, Evas_Object *subobj, Evas_Smart_Cb func, const void *data) EINA_ARG_NONNULL(1);
16037    /**
16038     * @brief Set the label of a menu item
16039     *
16040     * @param item The menu item object.
16041     * @param label The label to set for @p item
16042     *
16043     * @warning Don't use this funcion on items created with
16044     * elm_menu_item_add_object() or elm_menu_item_separator_add().
16045     */
16046    EAPI void               elm_menu_item_label_set(Elm_Menu_Item *item, const char *label) EINA_ARG_NONNULL(1);
16047    /**
16048     * @brief Get the label of a menu item
16049     *
16050     * @param item The menu item object.
16051     * @return The label of @p item
16052     */
16053    EAPI const char        *elm_menu_item_label_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
16054    /**
16055     * @brief Set the icon of a menu item to the standard icon with name @p icon
16056     *
16057     * @param item The menu item object.
16058     * @param icon The icon object to set for the content of @p item
16059     *
16060     * Once this icon is set, any previously set icon will be deleted.
16061     */
16062    EAPI void               elm_menu_item_object_icon_name_set(Elm_Menu_Item *item, const char *icon) EINA_ARG_NONNULL(1, 2);
16063    /**
16064     * @brief Get the string representation from the icon of a menu item
16065     *
16066     * @param item The menu item object.
16067     * @return The string representation of @p item's icon or NULL
16068     *
16069     * @see elm_menu_item_object_icon_name_set()
16070     */
16071    EAPI const char        *elm_menu_item_object_icon_name_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
16072    /**
16073     * @brief Set the content object of a menu item
16074     *
16075     * @param item The menu item object
16076     * @param The content object or NULL
16077     * @return EINA_TRUE on success, else EINA_FALSE
16078     *
16079     * Use this function to change the object swallowed by a menu item, deleting
16080     * any previously swallowed object.
16081     */
16082    EAPI Eina_Bool          elm_menu_item_object_content_set(Elm_Menu_Item *item, Evas_Object *obj) EINA_ARG_NONNULL(1);
16083    /**
16084     * @brief Get the content object of a menu item
16085     *
16086     * @param item The menu item object
16087     * @return The content object or NULL
16088     * @note If @p item was added with elm_menu_item_add_object, this
16089     * function will return the object passed, else it will return the
16090     * icon object.
16091     *
16092     * @see elm_menu_item_object_content_set()
16093     */
16094    EAPI Evas_Object *elm_menu_item_object_content_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
16095    /**
16096     * @brief Set the selected state of @p item.
16097     *
16098     * @param item The menu item object.
16099     * @param selected The selected/unselected state of the item
16100     */
16101    EAPI void               elm_menu_item_selected_set(Elm_Menu_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
16102    /**
16103     * @brief Get the selected state of @p item.
16104     *
16105     * @param item The menu item object.
16106     * @return The selected/unselected state of the item
16107     *
16108     * @see elm_menu_item_selected_set()
16109     */
16110    EAPI Eina_Bool          elm_menu_item_selected_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
16111    /**
16112     * @brief Set the disabled state of @p item.
16113     *
16114     * @param item The menu item object.
16115     * @param disabled The enabled/disabled state of the item
16116     */
16117    EAPI void               elm_menu_item_disabled_set(Elm_Menu_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
16118    /**
16119     * @brief Get the disabled state of @p item.
16120     *
16121     * @param item The menu item object.
16122     * @return The enabled/disabled state of the item
16123     *
16124     * @see elm_menu_item_disabled_set()
16125     */
16126    EAPI Eina_Bool          elm_menu_item_disabled_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
16127    /**
16128     * @brief Add a separator item to menu @p obj under @p parent.
16129     *
16130     * @param obj The menu object
16131     * @param parent The item to add the separator under
16132     * @return The created item or NULL on failure
16133     *
16134     * This is item is a @ref Separator.
16135     */
16136    EAPI Elm_Menu_Item     *elm_menu_item_separator_add(Evas_Object *obj, Elm_Menu_Item *parent) EINA_ARG_NONNULL(1);
16137    /**
16138     * @brief Returns whether @p item is a separator.
16139     *
16140     * @param item The item to check
16141     * @return If true, @p item is a separator
16142     *
16143     * @see elm_menu_item_separator_add()
16144     */
16145    EAPI Eina_Bool          elm_menu_item_is_separator(Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
16146    /**
16147     * @brief Deletes an item from the menu.
16148     *
16149     * @param item The item to delete.
16150     *
16151     * @see elm_menu_item_add()
16152     */
16153    EAPI void               elm_menu_item_del(Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
16154    /**
16155     * @brief Set the function called when a menu item is deleted.
16156     *
16157     * @param item The item to set the callback on
16158     * @param func The function called
16159     *
16160     * @see elm_menu_item_add()
16161     * @see elm_menu_item_del()
16162     */
16163    EAPI void               elm_menu_item_del_cb_set(Elm_Menu_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
16164    /**
16165     * @brief Returns the data associated with menu item @p item.
16166     *
16167     * @param item The item
16168     * @return The data associated with @p item or NULL if none was set.
16169     *
16170     * This is the data set with elm_menu_add() or elm_menu_item_data_set().
16171     */
16172    EAPI void              *elm_menu_item_data_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
16173    /**
16174     * @brief Sets the data to be associated with menu item @p item.
16175     *
16176     * @param item The item
16177     * @param data The data to be associated with @p item
16178     */
16179    EAPI void               elm_menu_item_data_set(Elm_Menu_Item *item, const void *data) EINA_ARG_NONNULL(1);
16180    /**
16181     * @brief Returns a list of @p item's subitems.
16182     *
16183     * @param item The item
16184     * @return An Eina_List* of @p item's subitems
16185     *
16186     * @see elm_menu_add()
16187     */
16188    EAPI const Eina_List   *elm_menu_item_subitems_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1);
16189    /**
16190     * @brief Get the position of a menu item
16191     *
16192     * @param item The menu item
16193     * @return The item's index
16194     *
16195     * This function returns the index position of a menu item in a menu.
16196     * For a sub-menu, this number is relative to the first item in the sub-menu.
16197     *
16198     * @note Index values begin with 0
16199     */
16200    EAPI unsigned int       elm_menu_item_index_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1) EINA_PURE;
16201    /**
16202     * @brief @brief Return a menu item's owner menu
16203     *
16204     * @param item The menu item
16205     * @return The menu object owning @p item, or NULL on failure
16206     *
16207     * Use this function to get the menu object owning an item.
16208     */
16209    EAPI Evas_Object       *elm_menu_item_menu_get(const Elm_Menu_Item *item) EINA_ARG_NONNULL(1) EINA_PURE;
16210    /**
16211     * @brief Get the selected item in the menu
16212     *
16213     * @param obj The menu object
16214     * @return The selected item, or NULL if none
16215     *
16216     * @see elm_menu_item_selected_get()
16217     * @see elm_menu_item_selected_set()
16218     */
16219    EAPI Elm_Menu_Item *elm_menu_selected_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
16220    /**
16221     * @brief Get the last item in the menu
16222     *
16223     * @param obj The menu object
16224     * @return The last item, or NULL if none
16225     */
16226    EAPI Elm_Menu_Item *elm_menu_last_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
16227    /**
16228     * @brief Get the first item in the menu
16229     *
16230     * @param obj The menu object
16231     * @return The first item, or NULL if none
16232     */
16233    EAPI Elm_Menu_Item *elm_menu_first_item_get(const Evas_Object * obj) EINA_ARG_NONNULL(1);
16234    /**
16235     * @brief Get the next item in the menu.
16236     *
16237     * @param item The menu item object.
16238     * @return The item after it, or NULL if none
16239     */
16240    EAPI Elm_Menu_Item *elm_menu_item_next_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
16241    /**
16242     * @brief Get the previous item in the menu.
16243     *
16244     * @param item The menu item object.
16245     * @return The item before it, or NULL if none
16246     */
16247    EAPI Elm_Menu_Item *elm_menu_item_prev_get(const Elm_Menu_Item *it) EINA_ARG_NONNULL(1);
16248    /**
16249     * @}
16250     */
16251
16252    /**
16253     * @defgroup List List
16254     * @ingroup Elementary
16255     *
16256     * @image html img/widget/list/preview-00.png
16257     * @image latex img/widget/list/preview-00.eps width=\textwidth
16258     *
16259     * @image html img/list.png
16260     * @image latex img/list.eps width=\textwidth
16261     *
16262     * A list widget is a container whose children are displayed vertically or
16263     * horizontally, in order, and can be selected.
16264     * The list can accept only one or multiple items selection. Also has many
16265     * modes of items displaying.
16266     *
16267     * A list is a very simple type of list widget.  For more robust
16268     * lists, @ref Genlist should probably be used.
16269     *
16270     * Smart callbacks one can listen to:
16271     * - @c "activated" - The user has double-clicked or pressed
16272     *   (enter|return|spacebar) on an item. The @c event_info parameter
16273     *   is the item that was activated.
16274     * - @c "clicked,double" - The user has double-clicked an item.
16275     *   The @c event_info parameter is the item that was double-clicked.
16276     * - "selected" - when the user selected an item
16277     * - "unselected" - when the user unselected an item
16278     * - "longpressed" - an item in the list is long-pressed
16279     * - "edge,top" - the list is scrolled until the top edge
16280     * - "edge,bottom" - the list is scrolled until the bottom edge
16281     * - "edge,left" - the list is scrolled until the left edge
16282     * - "edge,right" - the list is scrolled until the right edge
16283     * - "language,changed" - the program's language changed
16284     *
16285     * Available styles for it:
16286     * - @c "default"
16287     *
16288     * List of examples:
16289     * @li @ref list_example_01
16290     * @li @ref list_example_02
16291     * @li @ref list_example_03
16292     */
16293
16294    /**
16295     * @addtogroup List
16296     * @{
16297     */
16298
16299    /**
16300     * @enum _Elm_List_Mode
16301     * @typedef Elm_List_Mode
16302     *
16303     * Set list's resize behavior, transverse axis scroll and
16304     * items cropping. See each mode's description for more details.
16305     *
16306     * @note Default value is #ELM_LIST_SCROLL.
16307     *
16308     * Values <b> don't </b> work as bitmask, only one can be choosen.
16309     *
16310     * @see elm_list_mode_set()
16311     * @see elm_list_mode_get()
16312     *
16313     * @ingroup List
16314     */
16315    typedef enum _Elm_List_Mode
16316      {
16317         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. */
16318         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). */
16319         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. */
16320         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. */
16321         ELM_LIST_LAST /**< Indicates error if returned by elm_list_mode_get() */
16322      } Elm_List_Mode;
16323
16324    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().  */
16325
16326    /**
16327     * Add a new list widget to the given parent Elementary
16328     * (container) object.
16329     *
16330     * @param parent The parent object.
16331     * @return a new list widget handle or @c NULL, on errors.
16332     *
16333     * This function inserts a new list widget on the canvas.
16334     *
16335     * @ingroup List
16336     */
16337    EAPI Evas_Object     *elm_list_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
16338
16339    /**
16340     * Starts the list.
16341     *
16342     * @param obj The list object
16343     *
16344     * @note Call before running show() on the list object.
16345     * @warning If not called, it won't display the list properly.
16346     *
16347     * @code
16348     * li = elm_list_add(win);
16349     * elm_list_item_append(li, "First", NULL, NULL, NULL, NULL);
16350     * elm_list_item_append(li, "Second", NULL, NULL, NULL, NULL);
16351     * elm_list_go(li);
16352     * evas_object_show(li);
16353     * @endcode
16354     *
16355     * @ingroup List
16356     */
16357    EAPI void             elm_list_go(Evas_Object *obj) EINA_ARG_NONNULL(1);
16358
16359    /**
16360     * Enable or disable multiple items selection on the list object.
16361     *
16362     * @param obj The list object
16363     * @param multi @c EINA_TRUE to enable multi selection or @c EINA_FALSE to
16364     * disable it.
16365     *
16366     * Disabled by default. If disabled, the user can select a single item of
16367     * the list each time. Selected items are highlighted on list.
16368     * If enabled, many items can be selected.
16369     *
16370     * If a selected item is selected again, it will be unselected.
16371     *
16372     * @see elm_list_multi_select_get()
16373     *
16374     * @ingroup List
16375     */
16376    EAPI void             elm_list_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
16377
16378    /**
16379     * Get a value whether multiple items selection is enabled or not.
16380     *
16381     * @see elm_list_multi_select_set() for details.
16382     *
16383     * @param obj The list object.
16384     * @return @c EINA_TRUE means multiple items selection is enabled.
16385     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
16386     * @c EINA_FALSE is returned.
16387     *
16388     * @ingroup List
16389     */
16390    EAPI Eina_Bool        elm_list_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16391
16392    /**
16393     * Set which mode to use for the list object.
16394     *
16395     * @param obj The list object
16396     * @param mode One of #Elm_List_Mode: #ELM_LIST_COMPRESS, #ELM_LIST_SCROLL,
16397     * #ELM_LIST_LIMIT or #ELM_LIST_EXPAND.
16398     *
16399     * Set list's resize behavior, transverse axis scroll and
16400     * items cropping. See each mode's description for more details.
16401     *
16402     * @note Default value is #ELM_LIST_SCROLL.
16403     *
16404     * Only one can be set, if a previous one was set, it will be changed
16405     * by the new mode set. Bitmask won't work as well.
16406     *
16407     * @see elm_list_mode_get()
16408     *
16409     * @ingroup List
16410     */
16411    EAPI void             elm_list_mode_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
16412
16413    /**
16414     * Get the mode the list is at.
16415     *
16416     * @param obj The list object
16417     * @return One of #Elm_List_Mode: #ELM_LIST_COMPRESS, #ELM_LIST_SCROLL,
16418     * #ELM_LIST_LIMIT, #ELM_LIST_EXPAND or #ELM_LIST_LAST on errors.
16419     *
16420     * @note see elm_list_mode_set() for more information.
16421     *
16422     * @ingroup List
16423     */
16424    EAPI Elm_List_Mode    elm_list_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16425
16426    /**
16427     * Enable or disable horizontal mode on the list object.
16428     *
16429     * @param obj The list object.
16430     * @param horizontal @c EINA_TRUE to enable horizontal or @c EINA_FALSE to
16431     * disable it, i.e., to enable vertical mode.
16432     *
16433     * @note Vertical mode is set by default.
16434     *
16435     * On horizontal mode items are displayed on list from left to right,
16436     * instead of from top to bottom. Also, the list will scroll horizontally.
16437     * Each item will presents left icon on top and right icon, or end, at
16438     * the bottom.
16439     *
16440     * @see elm_list_horizontal_get()
16441     *
16442     * @ingroup List
16443     */
16444    EAPI void             elm_list_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
16445
16446    /**
16447     * Get a value whether horizontal mode is enabled or not.
16448     *
16449     * @param obj The list object.
16450     * @return @c EINA_TRUE means horizontal mode selection is enabled.
16451     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
16452     * @c EINA_FALSE is returned.
16453     *
16454     * @see elm_list_horizontal_set() for details.
16455     *
16456     * @ingroup List
16457     */
16458    EAPI Eina_Bool        elm_list_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16459
16460    /**
16461     * Enable or disable always select mode on the list object.
16462     *
16463     * @param obj The list object
16464     * @param always_select @c EINA_TRUE to enable always select mode or
16465     * @c EINA_FALSE to disable it.
16466     *
16467     * @note Always select mode is disabled by default.
16468     *
16469     * Default behavior of list items is to only call its callback function
16470     * the first time it's pressed, i.e., when it is selected. If a selected
16471     * item is pressed again, and multi-select is disabled, it won't call
16472     * this function (if multi-select is enabled it will unselect the item).
16473     *
16474     * If always select is enabled, it will call the callback function
16475     * everytime a item is pressed, so it will call when the item is selected,
16476     * and again when a selected item is pressed.
16477     *
16478     * @see elm_list_always_select_mode_get()
16479     * @see elm_list_multi_select_set()
16480     *
16481     * @ingroup List
16482     */
16483    EAPI void             elm_list_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
16484
16485    /**
16486     * Get a value whether always select mode is enabled or not, meaning that
16487     * an item will always call its callback function, even if already selected.
16488     *
16489     * @param obj The list object
16490     * @return @c EINA_TRUE means horizontal mode selection is enabled.
16491     * @c EINA_FALSE indicates it's disabled. If @p obj is @c NULL,
16492     * @c EINA_FALSE is returned.
16493     *
16494     * @see elm_list_always_select_mode_set() for details.
16495     *
16496     * @ingroup List
16497     */
16498    EAPI Eina_Bool        elm_list_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16499
16500    /**
16501     * Set bouncing behaviour when the scrolled content reaches an edge.
16502     *
16503     * Tell the internal scroller object whether it should bounce or not
16504     * when it reaches the respective edges for each axis.
16505     *
16506     * @param obj The list object
16507     * @param h_bounce Whether to bounce or not in the horizontal axis.
16508     * @param v_bounce Whether to bounce or not in the vertical axis.
16509     *
16510     * @see elm_scroller_bounce_set()
16511     *
16512     * @ingroup List
16513     */
16514    EAPI void             elm_list_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
16515
16516    /**
16517     * Get the bouncing behaviour of the internal scroller.
16518     *
16519     * Get whether the internal scroller should bounce when the edge of each
16520     * axis is reached scrolling.
16521     *
16522     * @param obj The list object.
16523     * @param h_bounce Pointer where to store the bounce state of the horizontal
16524     * axis.
16525     * @param v_bounce Pointer where to store the bounce state of the vertical
16526     * axis.
16527     *
16528     * @see elm_scroller_bounce_get()
16529     * @see elm_list_bounce_set()
16530     *
16531     * @ingroup List
16532     */
16533    EAPI void             elm_list_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
16534
16535    /**
16536     * Set the scrollbar policy.
16537     *
16538     * @param obj The list object
16539     * @param policy_h Horizontal scrollbar policy.
16540     * @param policy_v Vertical scrollbar policy.
16541     *
16542     * This sets the scrollbar visibility policy for the given scroller.
16543     * #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it
16544     * is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns
16545     * it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off.
16546     * This applies respectively for the horizontal and vertical scrollbars.
16547     *
16548     * The both are disabled by default, i.e., are set to
16549     * #ELM_SCROLLER_POLICY_OFF.
16550     *
16551     * @ingroup List
16552     */
16553    EAPI void             elm_list_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
16554
16555    /**
16556     * Get the scrollbar policy.
16557     *
16558     * @see elm_list_scroller_policy_get() for details.
16559     *
16560     * @param obj The list object.
16561     * @param policy_h Pointer where to store horizontal scrollbar policy.
16562     * @param policy_v Pointer where to store vertical scrollbar policy.
16563     *
16564     * @ingroup List
16565     */
16566    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);
16567
16568    /**
16569     * Append a new item to the list object.
16570     *
16571     * @param obj The list object.
16572     * @param label The label of the list item.
16573     * @param icon The icon object to use for the left side of the item. An
16574     * icon can be any Evas object, but usually it is an icon created
16575     * with elm_icon_add().
16576     * @param end The icon object to use for the right side of the item. An
16577     * icon can be any Evas object.
16578     * @param func The function to call when the item is clicked.
16579     * @param data The data to associate with the item for related callbacks.
16580     *
16581     * @return The created item or @c NULL upon failure.
16582     *
16583     * A new item will be created and appended to the list, i.e., will
16584     * be set as @b last item.
16585     *
16586     * Items created with this method can be deleted with
16587     * elm_list_item_del().
16588     *
16589     * Associated @p data can be properly freed when item is deleted if a
16590     * callback function is set with elm_list_item_del_cb_set().
16591     *
16592     * If a function is passed as argument, it will be called everytime this item
16593     * is selected, i.e., the user clicks over an unselected item.
16594     * If always select is enabled it will call this function every time
16595     * user clicks over an item (already selected or not).
16596     * If such function isn't needed, just passing
16597     * @c NULL as @p func is enough. The same should be done for @p data.
16598     *
16599     * Simple example (with no function callback or data associated):
16600     * @code
16601     * li = elm_list_add(win);
16602     * ic = elm_icon_add(win);
16603     * elm_icon_file_set(ic, "path/to/image", NULL);
16604     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
16605     * elm_list_item_append(li, "label", ic, NULL, NULL, NULL);
16606     * elm_list_go(li);
16607     * evas_object_show(li);
16608     * @endcode
16609     *
16610     * @see elm_list_always_select_mode_set()
16611     * @see elm_list_item_del()
16612     * @see elm_list_item_del_cb_set()
16613     * @see elm_list_clear()
16614     * @see elm_icon_add()
16615     *
16616     * @ingroup List
16617     */
16618    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);
16619
16620    /**
16621     * Prepend a new item to the list object.
16622     *
16623     * @param obj The list object.
16624     * @param label The label of the list item.
16625     * @param icon The icon object to use for the left side of the item. An
16626     * icon can be any Evas object, but usually it is an icon created
16627     * with elm_icon_add().
16628     * @param end The icon object to use for the right side of the item. An
16629     * icon can be any Evas object.
16630     * @param func The function to call when the item is clicked.
16631     * @param data The data to associate with the item for related callbacks.
16632     *
16633     * @return The created item or @c NULL upon failure.
16634     *
16635     * A new item will be created and prepended to the list, i.e., will
16636     * be set as @b first item.
16637     *
16638     * Items created with this method can be deleted with
16639     * elm_list_item_del().
16640     *
16641     * Associated @p data can be properly freed when item is deleted if a
16642     * callback function is set with elm_list_item_del_cb_set().
16643     *
16644     * If a function is passed as argument, it will be called everytime this item
16645     * is selected, i.e., the user clicks over an unselected item.
16646     * If always select is enabled it will call this function every time
16647     * user clicks over an item (already selected or not).
16648     * If such function isn't needed, just passing
16649     * @c NULL as @p func is enough. The same should be done for @p data.
16650     *
16651     * @see elm_list_item_append() for a simple code example.
16652     * @see elm_list_always_select_mode_set()
16653     * @see elm_list_item_del()
16654     * @see elm_list_item_del_cb_set()
16655     * @see elm_list_clear()
16656     * @see elm_icon_add()
16657     *
16658     * @ingroup List
16659     */
16660    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);
16661
16662    /**
16663     * Insert a new item into the list object before item @p before.
16664     *
16665     * @param obj The list object.
16666     * @param before The list item to insert before.
16667     * @param label The label of the list item.
16668     * @param icon The icon object to use for the left side of the item. An
16669     * icon can be any Evas object, but usually it is an icon created
16670     * with elm_icon_add().
16671     * @param end The icon object to use for the right side of the item. An
16672     * icon can be any Evas object.
16673     * @param func The function to call when the item is clicked.
16674     * @param data The data to associate with the item for related callbacks.
16675     *
16676     * @return The created item or @c NULL upon failure.
16677     *
16678     * A new item will be created and added to the list. Its position in
16679     * this list will be just before item @p before.
16680     *
16681     * Items created with this method can be deleted with
16682     * elm_list_item_del().
16683     *
16684     * Associated @p data can be properly freed when item is deleted if a
16685     * callback function is set with elm_list_item_del_cb_set().
16686     *
16687     * If a function is passed as argument, it will be called everytime this item
16688     * is selected, i.e., the user clicks over an unselected item.
16689     * If always select is enabled it will call this function every time
16690     * user clicks over an item (already selected or not).
16691     * If such function isn't needed, just passing
16692     * @c NULL as @p func is enough. The same should be done for @p data.
16693     *
16694     * @see elm_list_item_append() for a simple code example.
16695     * @see elm_list_always_select_mode_set()
16696     * @see elm_list_item_del()
16697     * @see elm_list_item_del_cb_set()
16698     * @see elm_list_clear()
16699     * @see elm_icon_add()
16700     *
16701     * @ingroup List
16702     */
16703    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);
16704
16705    /**
16706     * Insert a new item into the list object after item @p after.
16707     *
16708     * @param obj The list object.
16709     * @param after The list item to insert after.
16710     * @param label The label of the list item.
16711     * @param icon The icon object to use for the left side of the item. An
16712     * icon can be any Evas object, but usually it is an icon created
16713     * with elm_icon_add().
16714     * @param end The icon object to use for the right side of the item. An
16715     * icon can be any Evas object.
16716     * @param func The function to call when the item is clicked.
16717     * @param data The data to associate with the item for related callbacks.
16718     *
16719     * @return The created item or @c NULL upon failure.
16720     *
16721     * A new item will be created and added to the list. Its position in
16722     * this list will be just after item @p after.
16723     *
16724     * Items created with this method can be deleted with
16725     * elm_list_item_del().
16726     *
16727     * Associated @p data can be properly freed when item is deleted if a
16728     * callback function is set with elm_list_item_del_cb_set().
16729     *
16730     * If a function is passed as argument, it will be called everytime this item
16731     * is selected, i.e., the user clicks over an unselected item.
16732     * If always select is enabled it will call this function every time
16733     * user clicks over an item (already selected or not).
16734     * If such function isn't needed, just passing
16735     * @c NULL as @p func is enough. The same should be done for @p data.
16736     *
16737     * @see elm_list_item_append() for a simple code example.
16738     * @see elm_list_always_select_mode_set()
16739     * @see elm_list_item_del()
16740     * @see elm_list_item_del_cb_set()
16741     * @see elm_list_clear()
16742     * @see elm_icon_add()
16743     *
16744     * @ingroup List
16745     */
16746    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);
16747
16748    /**
16749     * Insert a new item into the sorted list object.
16750     *
16751     * @param obj The list object.
16752     * @param label The label of the list item.
16753     * @param icon The icon object to use for the left side of the item. An
16754     * icon can be any Evas object, but usually it is an icon created
16755     * with elm_icon_add().
16756     * @param end The icon object to use for the right side of the item. An
16757     * icon can be any Evas object.
16758     * @param func The function to call when the item is clicked.
16759     * @param data The data to associate with the item for related callbacks.
16760     * @param cmp_func The comparing function to be used to sort list
16761     * items <b>by #Elm_List_Item item handles</b>. This function will
16762     * receive two items and compare them, returning a non-negative integer
16763     * if the second item should be place after the first, or negative value
16764     * if should be placed before.
16765     *
16766     * @return The created item or @c NULL upon failure.
16767     *
16768     * @note This function inserts values into a list object assuming it was
16769     * sorted and the result will be sorted.
16770     *
16771     * A new item will be created and added to the list. Its position in
16772     * this list will be found comparing the new item with previously inserted
16773     * items using function @p cmp_func.
16774     *
16775     * Items created with this method can be deleted with
16776     * elm_list_item_del().
16777     *
16778     * Associated @p data can be properly freed when item is deleted if a
16779     * callback function is set with elm_list_item_del_cb_set().
16780     *
16781     * If a function is passed as argument, it will be called everytime this item
16782     * is selected, i.e., the user clicks over an unselected item.
16783     * If always select is enabled it will call this function every time
16784     * user clicks over an item (already selected or not).
16785     * If such function isn't needed, just passing
16786     * @c NULL as @p func is enough. The same should be done for @p data.
16787     *
16788     * @see elm_list_item_append() for a simple code example.
16789     * @see elm_list_always_select_mode_set()
16790     * @see elm_list_item_del()
16791     * @see elm_list_item_del_cb_set()
16792     * @see elm_list_clear()
16793     * @see elm_icon_add()
16794     *
16795     * @ingroup List
16796     */
16797    EAPI Elm_List_Item   *elm_list_item_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);
16798
16799    /**
16800     * Remove all list's items.
16801     *
16802     * @param obj The list object
16803     *
16804     * @see elm_list_item_del()
16805     * @see elm_list_item_append()
16806     *
16807     * @ingroup List
16808     */
16809    EAPI void             elm_list_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
16810
16811    /**
16812     * Get a list of all the list items.
16813     *
16814     * @param obj The list object
16815     * @return An @c Eina_List of list items, #Elm_List_Item,
16816     * or @c NULL on failure.
16817     *
16818     * @see elm_list_item_append()
16819     * @see elm_list_item_del()
16820     * @see elm_list_clear()
16821     *
16822     * @ingroup List
16823     */
16824    EAPI const Eina_List *elm_list_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16825
16826    /**
16827     * Get the selected item.
16828     *
16829     * @param obj The list object.
16830     * @return The selected list item.
16831     *
16832     * The selected item can be unselected with function
16833     * elm_list_item_selected_set().
16834     *
16835     * The selected item always will be highlighted on list.
16836     *
16837     * @see elm_list_selected_items_get()
16838     *
16839     * @ingroup List
16840     */
16841    EAPI Elm_List_Item   *elm_list_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16842
16843    /**
16844     * Return a list of the currently selected list items.
16845     *
16846     * @param obj The list object.
16847     * @return An @c Eina_List of list items, #Elm_List_Item,
16848     * or @c NULL on failure.
16849     *
16850     * Multiple items can be selected if multi select is enabled. It can be
16851     * done with elm_list_multi_select_set().
16852     *
16853     * @see elm_list_selected_item_get()
16854     * @see elm_list_multi_select_set()
16855     *
16856     * @ingroup List
16857     */
16858    EAPI const Eina_List *elm_list_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
16859
16860    /**
16861     * Set the selected state of an item.
16862     *
16863     * @param item The list item
16864     * @param selected The selected state
16865     *
16866     * This sets the selected state of the given item @p it.
16867     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
16868     *
16869     * If a new item is selected the previosly selected will be unselected,
16870     * unless multiple selection is enabled with elm_list_multi_select_set().
16871     * Previoulsy selected item can be get with function
16872     * elm_list_selected_item_get().
16873     *
16874     * Selected items will be highlighted.
16875     *
16876     * @see elm_list_item_selected_get()
16877     * @see elm_list_selected_item_get()
16878     * @see elm_list_multi_select_set()
16879     *
16880     * @ingroup List
16881     */
16882    EAPI void             elm_list_item_selected_set(Elm_List_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
16883
16884    /*
16885     * Get whether the @p item is selected or not.
16886     *
16887     * @param item The list item.
16888     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
16889     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
16890     *
16891     * @see elm_list_selected_item_set() for details.
16892     * @see elm_list_item_selected_get()
16893     *
16894     * @ingroup List
16895     */
16896    EAPI Eina_Bool        elm_list_item_selected_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
16897
16898    /**
16899     * Set or unset item as a separator.
16900     *
16901     * @param it The list item.
16902     * @param setting @c EINA_TRUE to set item @p it as separator or
16903     * @c EINA_FALSE to unset, i.e., item will be used as a regular item.
16904     *
16905     * Items aren't set as separator by default.
16906     *
16907     * If set as separator it will display separator theme, so won't display
16908     * icons or label.
16909     *
16910     * @see elm_list_item_separator_get()
16911     *
16912     * @ingroup List
16913     */
16914    EAPI void             elm_list_item_separator_set(Elm_List_Item *it, Eina_Bool setting) EINA_ARG_NONNULL(1);
16915
16916    /**
16917     * Get a value whether item is a separator or not.
16918     *
16919     * @see elm_list_item_separator_set() for details.
16920     *
16921     * @param it The list item.
16922     * @return @c EINA_TRUE means item @p it is a separator. @c EINA_FALSE
16923     * indicates it's not. If @p it is @c NULL, @c EINA_FALSE is returned.
16924     *
16925     * @ingroup List
16926     */
16927    EAPI Eina_Bool        elm_list_item_separator_get(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
16928
16929    /**
16930     * Show @p item in the list view.
16931     *
16932     * @param item The list item to be shown.
16933     *
16934     * It won't animate list until item is visible. If such behavior is wanted,
16935     * use elm_list_bring_in() intead.
16936     *
16937     * @ingroup List
16938     */
16939    EAPI void             elm_list_item_show(Elm_List_Item *item) EINA_ARG_NONNULL(1);
16940
16941    /**
16942     * Bring in the given item to list view.
16943     *
16944     * @param item The item.
16945     *
16946     * This causes list to jump to the given item @p item and show it
16947     * (by scrolling), if it is not fully visible.
16948     *
16949     * This may use animation to do so and take a period of time.
16950     *
16951     * If animation isn't wanted, elm_list_item_show() can be used.
16952     *
16953     * @ingroup List
16954     */
16955    EAPI void             elm_list_item_bring_in(Elm_List_Item *item) EINA_ARG_NONNULL(1);
16956
16957    /**
16958     * Delete them item from the list.
16959     *
16960     * @param item The item of list to be deleted.
16961     *
16962     * If deleting all list items is required, elm_list_clear()
16963     * should be used instead of getting items list and deleting each one.
16964     *
16965     * @see elm_list_clear()
16966     * @see elm_list_item_append()
16967     * @see elm_list_item_del_cb_set()
16968     *
16969     * @ingroup List
16970     */
16971    EAPI void             elm_list_item_del(Elm_List_Item *item) EINA_ARG_NONNULL(1);
16972
16973    /**
16974     * Set the function called when a list item is freed.
16975     *
16976     * @param item The item to set the callback on
16977     * @param func The function called
16978     *
16979     * If there is a @p func, then it will be called prior item's memory release.
16980     * That will be called with the following arguments:
16981     * @li item's data;
16982     * @li item's Evas object;
16983     * @li item itself;
16984     *
16985     * This way, a data associated to a list item could be properly freed.
16986     *
16987     * @ingroup List
16988     */
16989    EAPI void             elm_list_item_del_cb_set(Elm_List_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
16990
16991    /**
16992     * Get the data associated to the item.
16993     *
16994     * @param item The list item
16995     * @return The data associated to @p item
16996     *
16997     * The return value is a pointer to data associated to @p item when it was
16998     * created, with function elm_list_item_append() or similar. If no data
16999     * was passed as argument, it will return @c NULL.
17000     *
17001     * @see elm_list_item_append()
17002     *
17003     * @ingroup List
17004     */
17005    EAPI void            *elm_list_item_data_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17006
17007    /**
17008     * Get the left side icon associated to the item.
17009     *
17010     * @param item The list item
17011     * @return The left side icon associated to @p item
17012     *
17013     * The return value is a pointer to the icon associated to @p item when
17014     * it was
17015     * created, with function elm_list_item_append() or similar, or later
17016     * with function elm_list_item_icon_set(). If no icon
17017     * was passed as argument, it will return @c NULL.
17018     *
17019     * @see elm_list_item_append()
17020     * @see elm_list_item_icon_set()
17021     *
17022     * @ingroup List
17023     */
17024    EAPI Evas_Object     *elm_list_item_icon_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17025
17026    /**
17027     * Set the left side icon associated to the item.
17028     *
17029     * @param item The list item
17030     * @param icon The left side icon object to associate with @p item
17031     *
17032     * The icon object to use at left side of the item. An
17033     * icon can be any Evas object, but usually it is an icon created
17034     * with elm_icon_add().
17035     *
17036     * Once the icon object is set, a previously set one will be deleted.
17037     * @warning Setting the same icon for two items will cause the icon to
17038     * dissapear from the first item.
17039     *
17040     * If an icon was passed as argument on item creation, with function
17041     * elm_list_item_append() or similar, it will be already
17042     * associated to the item.
17043     *
17044     * @see elm_list_item_append()
17045     * @see elm_list_item_icon_get()
17046     *
17047     * @ingroup List
17048     */
17049    EAPI void             elm_list_item_icon_set(Elm_List_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
17050
17051    /**
17052     * Get the right side icon associated to the item.
17053     *
17054     * @param item The list item
17055     * @return The right side icon associated to @p item
17056     *
17057     * The return value is a pointer to the icon associated to @p item when
17058     * it was
17059     * created, with function elm_list_item_append() or similar, or later
17060     * with function elm_list_item_icon_set(). If no icon
17061     * was passed as argument, it will return @c NULL.
17062     *
17063     * @see elm_list_item_append()
17064     * @see elm_list_item_icon_set()
17065     *
17066     * @ingroup List
17067     */
17068    EAPI Evas_Object     *elm_list_item_end_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17069
17070    /**
17071     * Set the right side icon associated to the item.
17072     *
17073     * @param item The list item
17074     * @param end The right side icon object to associate with @p item
17075     *
17076     * The icon object to use at right side of the item. An
17077     * icon can be any Evas object, but usually it is an icon created
17078     * with elm_icon_add().
17079     *
17080     * Once the icon object is set, a previously set one will be deleted.
17081     * @warning Setting the same icon for two items will cause the icon to
17082     * dissapear from the first item.
17083     *
17084     * If an icon was passed as argument on item creation, with function
17085     * elm_list_item_append() or similar, it will be already
17086     * associated to the item.
17087     *
17088     * @see elm_list_item_append()
17089     * @see elm_list_item_end_get()
17090     *
17091     * @ingroup List
17092     */
17093    EAPI void             elm_list_item_end_set(Elm_List_Item *item, Evas_Object *end) EINA_ARG_NONNULL(1);
17094
17095    /**
17096     * Gets the base object of the item.
17097     *
17098     * @param item The list item
17099     * @return The base object associated with @p item
17100     *
17101     * Base object is the @c Evas_Object that represents that item.
17102     *
17103     * @ingroup List
17104     */
17105    EAPI Evas_Object     *elm_list_item_object_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17106    EINA_DEPRECATED EAPI Evas_Object     *elm_list_item_base_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17107
17108    /**
17109     * Get the label of item.
17110     *
17111     * @param item The item of list.
17112     * @return The label of item.
17113     *
17114     * The return value is a pointer to the label associated to @p item when
17115     * it was created, with function elm_list_item_append(), or later
17116     * with function elm_list_item_label_set. If no label
17117     * was passed as argument, it will return @c NULL.
17118     *
17119     * @see elm_list_item_label_set() for more details.
17120     * @see elm_list_item_append()
17121     *
17122     * @ingroup List
17123     */
17124    EAPI const char      *elm_list_item_label_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17125
17126    /**
17127     * Set the label of item.
17128     *
17129     * @param item The item of list.
17130     * @param text The label of item.
17131     *
17132     * The label to be displayed by the item.
17133     * Label will be placed between left and right side icons (if set).
17134     *
17135     * If a label was passed as argument on item creation, with function
17136     * elm_list_item_append() or similar, it will be already
17137     * displayed by the item.
17138     *
17139     * @see elm_list_item_label_get()
17140     * @see elm_list_item_append()
17141     *
17142     * @ingroup List
17143     */
17144    EAPI void             elm_list_item_label_set(Elm_List_Item *item, const char *text) EINA_ARG_NONNULL(1);
17145
17146
17147    /**
17148     * Get the item before @p it in list.
17149     *
17150     * @param it The list item.
17151     * @return The item before @p it, or @c NULL if none or on failure.
17152     *
17153     * @note If it is the first item, @c NULL will be returned.
17154     *
17155     * @see elm_list_item_append()
17156     * @see elm_list_items_get()
17157     *
17158     * @ingroup List
17159     */
17160    EAPI Elm_List_Item   *elm_list_item_prev(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
17161
17162    /**
17163     * Get the item after @p it in list.
17164     *
17165     * @param it The list item.
17166     * @return The item after @p it, or @c NULL if none or on failure.
17167     *
17168     * @note If it is the last item, @c NULL will be returned.
17169     *
17170     * @see elm_list_item_append()
17171     * @see elm_list_items_get()
17172     *
17173     * @ingroup List
17174     */
17175    EAPI Elm_List_Item   *elm_list_item_next(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
17176
17177    /**
17178     * Sets the disabled/enabled state of a list item.
17179     *
17180     * @param it The item.
17181     * @param disabled The disabled state.
17182     *
17183     * A disabled item cannot be selected or unselected. It will also
17184     * change its appearance (generally greyed out). This sets the
17185     * disabled state (@c EINA_TRUE for disabled, @c EINA_FALSE for
17186     * enabled).
17187     *
17188     * @ingroup List
17189     */
17190    EAPI void             elm_list_item_disabled_set(Elm_List_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
17191
17192    /**
17193     * Get a value whether list item is disabled or not.
17194     *
17195     * @param it The item.
17196     * @return The disabled state.
17197     *
17198     * @see elm_list_item_disabled_set() for more details.
17199     *
17200     * @ingroup List
17201     */
17202    EAPI Eina_Bool        elm_list_item_disabled_get(const Elm_List_Item *it) EINA_ARG_NONNULL(1);
17203
17204    /**
17205     * Set the text to be shown in a given list item's tooltips.
17206     *
17207     * @param item Target item.
17208     * @param text The text to set in the content.
17209     *
17210     * Setup the text as tooltip to object. The item can have only one tooltip,
17211     * so any previous tooltip data - set with this function or
17212     * elm_list_item_tooltip_content_cb_set() - is removed.
17213     *
17214     * @see elm_object_tooltip_text_set() for more details.
17215     *
17216     * @ingroup List
17217     */
17218    EAPI void             elm_list_item_tooltip_text_set(Elm_List_Item *item, const char *text) EINA_ARG_NONNULL(1);
17219
17220
17221    /**
17222     * @brief Disable size restrictions on an object's tooltip
17223     * @param item The tooltip's anchor object
17224     * @param disable If EINA_TRUE, size restrictions are disabled
17225     * @return EINA_FALSE on failure, EINA_TRUE on success
17226     *
17227     * This function allows a tooltip to expand beyond its parant window's canvas.
17228     * It will instead be limited only by the size of the display.
17229     */
17230    EAPI Eina_Bool        elm_list_item_tooltip_size_restrict_disable(Elm_List_Item *item, Eina_Bool disable) EINA_ARG_NONNULL(1);
17231    /**
17232     * @brief Retrieve size restriction state of an object's tooltip
17233     * @param obj The tooltip's anchor object
17234     * @return If EINA_TRUE, size restrictions are disabled
17235     *
17236     * This function returns whether a tooltip is allowed to expand beyond
17237     * its parant window's canvas.
17238     * It will instead be limited only by the size of the display.
17239     */
17240    EAPI Eina_Bool        elm_list_item_tooltip_size_restrict_disabled_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17241
17242    /**
17243     * Set the content to be shown in the tooltip item.
17244     *
17245     * Setup the tooltip to item. The item can have only one tooltip,
17246     * so any previous tooltip data is removed. @p func(with @p data) will
17247     * be called every time that need show the tooltip and it should
17248     * return a valid Evas_Object. This object is then managed fully by
17249     * tooltip system and is deleted when the tooltip is gone.
17250     *
17251     * @param item the list item being attached a tooltip.
17252     * @param func the function used to create the tooltip contents.
17253     * @param data what to provide to @a func as callback data/context.
17254     * @param del_cb called when data is not needed anymore, either when
17255     *        another callback replaces @a func, the tooltip is unset with
17256     *        elm_list_item_tooltip_unset() or the owner @a item
17257     *        dies. This callback receives as the first parameter the
17258     *        given @a data, and @c event_info is the item.
17259     *
17260     * @see elm_object_tooltip_content_cb_set() for more details.
17261     *
17262     * @ingroup List
17263     */
17264    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);
17265
17266    /**
17267     * Unset tooltip from item.
17268     *
17269     * @param item list item to remove previously set tooltip.
17270     *
17271     * Remove tooltip from item. The callback provided as del_cb to
17272     * elm_list_item_tooltip_content_cb_set() will be called to notify
17273     * it is not used anymore.
17274     *
17275     * @see elm_object_tooltip_unset() for more details.
17276     * @see elm_list_item_tooltip_content_cb_set()
17277     *
17278     * @ingroup List
17279     */
17280    EAPI void             elm_list_item_tooltip_unset(Elm_List_Item *item) EINA_ARG_NONNULL(1);
17281
17282    /**
17283     * Sets a different style for this item tooltip.
17284     *
17285     * @note before you set a style you should define a tooltip with
17286     *       elm_list_item_tooltip_content_cb_set() or
17287     *       elm_list_item_tooltip_text_set()
17288     *
17289     * @param item list item with tooltip already set.
17290     * @param style the theme style to use (default, transparent, ...)
17291     *
17292     * @see elm_object_tooltip_style_set() for more details.
17293     *
17294     * @ingroup List
17295     */
17296    EAPI void             elm_list_item_tooltip_style_set(Elm_List_Item *item, const char *style) EINA_ARG_NONNULL(1);
17297
17298    /**
17299     * Get the style for this item tooltip.
17300     *
17301     * @param item list item with tooltip already set.
17302     * @return style the theme style in use, defaults to "default". If the
17303     *         object does not have a tooltip set, then NULL is returned.
17304     *
17305     * @see elm_object_tooltip_style_get() for more details.
17306     * @see elm_list_item_tooltip_style_set()
17307     *
17308     * @ingroup List
17309     */
17310    EAPI const char      *elm_list_item_tooltip_style_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17311
17312    /**
17313     * Set the type of mouse pointer/cursor decoration to be shown,
17314     * when the mouse pointer is over the given list widget item
17315     *
17316     * @param item list item to customize cursor on
17317     * @param cursor the cursor type's name
17318     *
17319     * This function works analogously as elm_object_cursor_set(), but
17320     * here the cursor's changing area is restricted to the item's
17321     * area, and not the whole widget's. Note that that item cursors
17322     * have precedence over widget cursors, so that a mouse over an
17323     * item with custom cursor set will always show @b that cursor.
17324     *
17325     * If this function is called twice for an object, a previously set
17326     * cursor will be unset on the second call.
17327     *
17328     * @see elm_object_cursor_set()
17329     * @see elm_list_item_cursor_get()
17330     * @see elm_list_item_cursor_unset()
17331     *
17332     * @ingroup List
17333     */
17334    EAPI void             elm_list_item_cursor_set(Elm_List_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
17335
17336    /*
17337     * Get the type of mouse pointer/cursor decoration set to be shown,
17338     * when the mouse pointer is over the given list widget item
17339     *
17340     * @param item list item with custom cursor set
17341     * @return the cursor type's name or @c NULL, if no custom cursors
17342     * were set to @p item (and on errors)
17343     *
17344     * @see elm_object_cursor_get()
17345     * @see elm_list_item_cursor_set()
17346     * @see elm_list_item_cursor_unset()
17347     *
17348     * @ingroup List
17349     */
17350    EAPI const char      *elm_list_item_cursor_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17351
17352    /**
17353     * Unset any custom mouse pointer/cursor decoration set to be
17354     * shown, when the mouse pointer is over the given list widget
17355     * item, thus making it show the @b default cursor again.
17356     *
17357     * @param item a list item
17358     *
17359     * Use this call to undo any custom settings on this item's cursor
17360     * decoration, bringing it back to defaults (no custom style set).
17361     *
17362     * @see elm_object_cursor_unset()
17363     * @see elm_list_item_cursor_set()
17364     *
17365     * @ingroup List
17366     */
17367    EAPI void             elm_list_item_cursor_unset(Elm_List_Item *item) EINA_ARG_NONNULL(1);
17368
17369    /**
17370     * Set a different @b style for a given custom cursor set for a
17371     * list item.
17372     *
17373     * @param item list item with custom cursor set
17374     * @param style the <b>theme style</b> to use (e.g. @c "default",
17375     * @c "transparent", etc)
17376     *
17377     * This function only makes sense when one is using custom mouse
17378     * cursor decorations <b>defined in a theme file</b>, which can have,
17379     * given a cursor name/type, <b>alternate styles</b> on it. It
17380     * works analogously as elm_object_cursor_style_set(), but here
17381     * applyed only to list item objects.
17382     *
17383     * @warning Before you set a cursor style you should have definen a
17384     *       custom cursor previously on the item, with
17385     *       elm_list_item_cursor_set()
17386     *
17387     * @see elm_list_item_cursor_engine_only_set()
17388     * @see elm_list_item_cursor_style_get()
17389     *
17390     * @ingroup List
17391     */
17392    EAPI void             elm_list_item_cursor_style_set(Elm_List_Item *item, const char *style) EINA_ARG_NONNULL(1);
17393
17394    /**
17395     * Get the current @b style set for a given list item's custom
17396     * cursor
17397     *
17398     * @param item list item with custom cursor set.
17399     * @return style the cursor style in use. If the object does not
17400     *         have a cursor set, then @c NULL is returned.
17401     *
17402     * @see elm_list_item_cursor_style_set() for more details
17403     *
17404     * @ingroup List
17405     */
17406    EAPI const char      *elm_list_item_cursor_style_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17407
17408    /**
17409     * Set if the (custom)cursor for a given list item should be
17410     * searched in its theme, also, or should only rely on the
17411     * rendering engine.
17412     *
17413     * @param item item with custom (custom) cursor already set on
17414     * @param engine_only Use @c EINA_TRUE to have cursors looked for
17415     * only on those provided by the rendering engine, @c EINA_FALSE to
17416     * have them searched on the widget's theme, as well.
17417     *
17418     * @note This call is of use only if you've set a custom cursor
17419     * for list items, with elm_list_item_cursor_set().
17420     *
17421     * @note By default, cursors will only be looked for between those
17422     * provided by the rendering engine.
17423     *
17424     * @ingroup List
17425     */
17426    EAPI void             elm_list_item_cursor_engine_only_set(Elm_List_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
17427
17428    /**
17429     * Get if the (custom) cursor for a given list item is being
17430     * searched in its theme, also, or is only relying on the rendering
17431     * engine.
17432     *
17433     * @param item a list item
17434     * @return @c EINA_TRUE, if cursors are being looked for only on
17435     * those provided by the rendering engine, @c EINA_FALSE if they
17436     * are being searched on the widget's theme, as well.
17437     *
17438     * @see elm_list_item_cursor_engine_only_set(), for more details
17439     *
17440     * @ingroup List
17441     */
17442    EAPI Eina_Bool        elm_list_item_cursor_engine_only_get(const Elm_List_Item *item) EINA_ARG_NONNULL(1);
17443
17444    /**
17445     * @}
17446     */
17447
17448    /**
17449     * @defgroup Slider Slider
17450     * @ingroup Elementary
17451     *
17452     * @image html img/widget/slider/preview-00.png
17453     * @image latex img/widget/slider/preview-00.eps width=\textwidth
17454     *
17455     * The slider adds a dragable “slider” widget for selecting the value of
17456     * something within a range.
17457     *
17458     * A slider can be horizontal or vertical. It can contain an Icon and has a
17459     * primary label as well as a units label (that is formatted with floating
17460     * point values and thus accepts a printf-style format string, like
17461     * “%1.2f units”. There is also an indicator string that may be somewhere
17462     * else (like on the slider itself) that also accepts a format string like
17463     * units. Label, Icon Unit and Indicator strings/objects are optional.
17464     *
17465     * A slider may be inverted which means values invert, with high vales being
17466     * on the left or top and low values on the right or bottom (as opposed to
17467     * normally being low on the left or top and high on the bottom and right).
17468     *
17469     * The slider should have its minimum and maximum values set by the
17470     * application with  elm_slider_min_max_set() and value should also be set by
17471     * the application before use with  elm_slider_value_set(). The span of the
17472     * slider is its length (horizontally or vertically). This will be scaled by
17473     * the object or applications scaling factor. At any point code can query the
17474     * slider for its value with elm_slider_value_get().
17475     *
17476     * Smart callbacks one can listen to:
17477     * - "changed" - Whenever the slider value is changed by the user.
17478     * - "slider,drag,start" - dragging the slider indicator around has started.
17479     * - "slider,drag,stop" - dragging the slider indicator around has stopped.
17480     * - "delay,changed" - A short time after the value is changed by the user.
17481     * This will be called only when the user stops dragging for
17482     * a very short period or when they release their
17483     * finger/mouse, so it avoids possibly expensive reactions to
17484     * the value change.
17485     *
17486     * Available styles for it:
17487     * - @c "default"
17488     *
17489     * Default contents parts of the slider widget that you can use for are:
17490     * @li "icon" - A icon of the slider
17491     * @li "end" - A end part content of the slider
17492     * 
17493     * Default text parts of the silder widget that you can use for are:
17494     * @li "default" - Label of the silder
17495     * Here is an example on its usage:
17496     * @li @ref slider_example
17497     */
17498
17499    /**
17500     * @addtogroup Slider
17501     * @{
17502     */
17503
17504    /**
17505     * Add a new slider widget to the given parent Elementary
17506     * (container) object.
17507     *
17508     * @param parent The parent object.
17509     * @return a new slider widget handle or @c NULL, on errors.
17510     *
17511     * This function inserts a new slider widget on the canvas.
17512     *
17513     * @ingroup Slider
17514     */
17515    EAPI Evas_Object       *elm_slider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
17516
17517    /**
17518     * Set the label of a given slider widget
17519     *
17520     * @param obj The progress bar object
17521     * @param label The text label string, in UTF-8
17522     *
17523     * @ingroup Slider
17524     * @deprecated use elm_object_text_set() instead.
17525     */
17526    EINA_DEPRECATED EAPI void               elm_slider_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
17527
17528    /**
17529     * Get the label of a given slider widget
17530     *
17531     * @param obj The progressbar object
17532     * @return The text label string, in UTF-8
17533     *
17534     * @ingroup Slider
17535     * @deprecated use elm_object_text_get() instead.
17536     */
17537    WILL_DEPRECATE  EAPI const char        *elm_slider_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17538
17539    /**
17540     * Set the icon object of the slider object.
17541     *
17542     * @param obj The slider object.
17543     * @param icon The icon object.
17544     *
17545     * On horizontal mode, icon is placed at left, and on vertical mode,
17546     * placed at top.
17547     *
17548     * @note Once the icon object is set, a previously set one will be deleted.
17549     * If you want to keep that old content object, use the
17550     * elm_slider_icon_unset() function.
17551     *
17552     * @warning If the object being set does not have minimum size hints set,
17553     * it won't get properly displayed.
17554     *
17555     * @ingroup Slider
17556     * @deprecated use elm_object_part_content_set() instead.
17557     */
17558    WILL_DEPRECATE  EAPI void               elm_slider_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
17559
17560    /**
17561     * Unset an icon set on a given slider widget.
17562     *
17563     * @param obj The slider object.
17564     * @return The icon object that was being used, if any was set, or
17565     * @c NULL, otherwise (and on errors).
17566     *
17567     * On horizontal mode, icon is placed at left, and on vertical mode,
17568     * placed at top.
17569     *
17570     * This call will unparent and return the icon object which was set
17571     * for this widget, previously, on success.
17572     *
17573     * @see elm_slider_icon_set() for more details
17574     * @see elm_slider_icon_get()
17575     * @deprecated use elm_object_part_content_unset() instead.
17576     *
17577     * @ingroup Slider
17578     */
17579    WILL_DEPRECATE  EAPI Evas_Object       *elm_slider_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
17580
17581    /**
17582     * Retrieve the icon object set for a given slider widget.
17583     *
17584     * @param obj The slider object.
17585     * @return The icon object's handle, if @p obj had one set, or @c NULL,
17586     * otherwise (and on errors).
17587     *
17588     * On horizontal mode, icon is placed at left, and on vertical mode,
17589     * placed at top.
17590     *
17591     * @see elm_slider_icon_set() for more details
17592     * @see elm_slider_icon_unset()
17593     *
17594     * @deprecated use elm_object_part_content_get() instead.
17595     *
17596     * @ingroup Slider
17597     */
17598    WILL_DEPRECATE  EAPI Evas_Object       *elm_slider_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17599
17600    /**
17601     * Set the end object of the slider object.
17602     *
17603     * @param obj The slider object.
17604     * @param end The end object.
17605     *
17606     * On horizontal mode, end is placed at left, and on vertical mode,
17607     * placed at bottom.
17608     *
17609     * @note Once the icon object is set, a previously set one will be deleted.
17610     * If you want to keep that old content object, use the
17611     * elm_slider_end_unset() function.
17612     *
17613     * @warning If the object being set does not have minimum size hints set,
17614     * it won't get properly displayed.
17615     *
17616     * @deprecated use elm_object_part_content_set() instead.
17617     *
17618     * @ingroup Slider
17619     */
17620    WILL_DEPRECATE  EAPI void               elm_slider_end_set(Evas_Object *obj, Evas_Object *end) EINA_ARG_NONNULL(1);
17621
17622    /**
17623     * Unset an end object set on a given slider widget.
17624     *
17625     * @param obj The slider object.
17626     * @return The end object that was being used, if any was set, or
17627     * @c NULL, otherwise (and on errors).
17628     *
17629     * On horizontal mode, end is placed at left, and on vertical mode,
17630     * placed at bottom.
17631     *
17632     * This call will unparent and return the icon object which was set
17633     * for this widget, previously, on success.
17634     *
17635     * @see elm_slider_end_set() for more details.
17636     * @see elm_slider_end_get()
17637     *
17638     * @deprecated use elm_object_part_content_unset() instead
17639     * instead.
17640     *
17641     * @ingroup Slider
17642     */
17643    WILL_DEPRECATE  EAPI Evas_Object       *elm_slider_end_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
17644
17645    /**
17646     * Retrieve the end object set for a given slider widget.
17647     *
17648     * @param obj The slider object.
17649     * @return The end object's handle, if @p obj had one set, or @c NULL,
17650     * otherwise (and on errors).
17651     *
17652     * On horizontal mode, icon is placed at right, and on vertical mode,
17653     * placed at bottom.
17654     *
17655     * @see elm_slider_end_set() for more details.
17656     * @see elm_slider_end_unset()
17657     *
17658     *
17659     * @deprecated use elm_object_part_content_get() instead 
17660     * instead.
17661     *
17662     * @ingroup Slider
17663     */
17664    WILL_DEPRECATE  EAPI Evas_Object       *elm_slider_end_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17665
17666    /**
17667     * Set the (exact) length of the bar region of a given slider widget.
17668     *
17669     * @param obj The slider object.
17670     * @param size The length of the slider's bar region.
17671     *
17672     * This sets the minimum width (when in horizontal mode) or height
17673     * (when in vertical mode) of the actual bar area of the slider
17674     * @p obj. This in turn affects the object's minimum size. Use
17675     * this when you're not setting other size hints expanding on the
17676     * given direction (like weight and alignment hints) and you would
17677     * like it to have a specific size.
17678     *
17679     * @note Icon, end, label, indicator and unit text around @p obj
17680     * will require their
17681     * own space, which will make @p obj to require more the @p size,
17682     * actually.
17683     *
17684     * @see elm_slider_span_size_get()
17685     *
17686     * @ingroup Slider
17687     */
17688    EAPI void               elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size) EINA_ARG_NONNULL(1);
17689
17690    /**
17691     * Get the length set for the bar region of a given slider widget
17692     *
17693     * @param obj The slider object.
17694     * @return The length of the slider's bar region.
17695     *
17696     * If that size was not set previously, with
17697     * elm_slider_span_size_set(), this call will return @c 0.
17698     *
17699     * @ingroup Slider
17700     */
17701    EAPI Evas_Coord         elm_slider_span_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17702
17703    /**
17704     * Set the format string for the unit label.
17705     *
17706     * @param obj The slider object.
17707     * @param format The format string for the unit display.
17708     *
17709     * Unit label is displayed all the time, if set, after slider's bar.
17710     * In horizontal mode, at right and in vertical mode, at bottom.
17711     *
17712     * If @c NULL, unit label won't be visible. If not it sets the format
17713     * string for the label text. To the label text is provided a floating point
17714     * value, so the label text can display up to 1 floating point value.
17715     * Note that this is optional.
17716     *
17717     * Use a format string such as "%1.2f meters" for example, and it will
17718     * display values like: "3.14 meters" for a value equal to 3.14159.
17719     *
17720     * Default is unit label disabled.
17721     *
17722     * @see elm_slider_indicator_format_get()
17723     *
17724     * @ingroup Slider
17725     */
17726    EAPI void               elm_slider_unit_format_set(Evas_Object *obj, const char *format) EINA_ARG_NONNULL(1);
17727
17728    /**
17729     * Get the unit label format of the slider.
17730     *
17731     * @param obj The slider object.
17732     * @return The unit label format string in UTF-8.
17733     *
17734     * Unit label is displayed all the time, if set, after slider's bar.
17735     * In horizontal mode, at right and in vertical mode, at bottom.
17736     *
17737     * @see elm_slider_unit_format_set() for more
17738     * information on how this works.
17739     *
17740     * @ingroup Slider
17741     */
17742    EAPI const char        *elm_slider_unit_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17743
17744    /**
17745     * Set the format string for the indicator label.
17746     *
17747     * @param obj The slider object.
17748     * @param indicator The format string for the indicator display.
17749     *
17750     * The slider may display its value somewhere else then unit label,
17751     * for example, above the slider knob that is dragged around. This function
17752     * sets the format string used for this.
17753     *
17754     * If @c NULL, indicator label won't be visible. If not it sets the format
17755     * string for the label text. To the label text is provided a floating point
17756     * value, so the label text can display up to 1 floating point value.
17757     * Note that this is optional.
17758     *
17759     * Use a format string such as "%1.2f meters" for example, and it will
17760     * display values like: "3.14 meters" for a value equal to 3.14159.
17761     *
17762     * Default is indicator label disabled.
17763     *
17764     * @see elm_slider_indicator_format_get()
17765     *
17766     * @ingroup Slider
17767     */
17768    EAPI void               elm_slider_indicator_format_set(Evas_Object *obj, const char *indicator) EINA_ARG_NONNULL(1);
17769
17770    /**
17771     * Get the indicator label format of the slider.
17772     *
17773     * @param obj The slider object.
17774     * @return The indicator label format string in UTF-8.
17775     *
17776     * The slider may display its value somewhere else then unit label,
17777     * for example, above the slider knob that is dragged around. This function
17778     * gets the format string used for this.
17779     *
17780     * @see elm_slider_indicator_format_set() for more
17781     * information on how this works.
17782     *
17783     * @ingroup Slider
17784     */
17785    EAPI const char        *elm_slider_indicator_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17786
17787    /**
17788     * Set the format function pointer for the indicator label
17789     *
17790     * @param obj The slider object.
17791     * @param func The indicator format function.
17792     * @param free_func The freeing function for the format string.
17793     *
17794     * Set the callback function to format the indicator string.
17795     *
17796     * @see elm_slider_indicator_format_set() for more info on how this works.
17797     *
17798     * @ingroup Slider
17799     */
17800   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);
17801
17802   /**
17803    * Set the format function pointer for the units label
17804    *
17805    * @param obj The slider object.
17806    * @param func The units format function.
17807    * @param free_func The freeing function for the format string.
17808    *
17809    * Set the callback function to format the indicator string.
17810    *
17811    * @see elm_slider_units_format_set() for more info on how this works.
17812    *
17813    * @ingroup Slider
17814    */
17815   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);
17816
17817   /**
17818    * Set the orientation of a given slider widget.
17819    *
17820    * @param obj The slider object.
17821    * @param horizontal Use @c EINA_TRUE to make @p obj to be
17822    * @b horizontal, @c EINA_FALSE to make it @b vertical.
17823    *
17824    * Use this function to change how your slider is to be
17825    * disposed: vertically or horizontally.
17826    *
17827    * By default it's displayed horizontally.
17828    *
17829    * @see elm_slider_horizontal_get()
17830    *
17831    * @ingroup Slider
17832    */
17833    EAPI void               elm_slider_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
17834
17835    /**
17836     * Retrieve the orientation of a given slider widget
17837     *
17838     * @param obj The slider object.
17839     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
17840     * @c EINA_FALSE if it's @b vertical (and on errors).
17841     *
17842     * @see elm_slider_horizontal_set() for more details.
17843     *
17844     * @ingroup Slider
17845     */
17846    EAPI Eina_Bool          elm_slider_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17847
17848    /**
17849     * Set the minimum and maximum values for the slider.
17850     *
17851     * @param obj The slider object.
17852     * @param min The minimum value.
17853     * @param max The maximum value.
17854     *
17855     * Define the allowed range of values to be selected by the user.
17856     *
17857     * If actual value is less than @p min, it will be updated to @p min. If it
17858     * is bigger then @p max, will be updated to @p max. Actual value can be
17859     * get with elm_slider_value_get().
17860     *
17861     * By default, min is equal to 0.0, and max is equal to 1.0.
17862     *
17863     * @warning Maximum must be greater than minimum, otherwise behavior
17864     * is undefined.
17865     *
17866     * @see elm_slider_min_max_get()
17867     *
17868     * @ingroup Slider
17869     */
17870    EAPI void               elm_slider_min_max_set(Evas_Object *obj, double min, double max) EINA_ARG_NONNULL(1);
17871
17872    /**
17873     * Get the minimum and maximum values of the slider.
17874     *
17875     * @param obj The slider object.
17876     * @param min Pointer where to store the minimum value.
17877     * @param max Pointer where to store the maximum value.
17878     *
17879     * @note If only one value is needed, the other pointer can be passed
17880     * as @c NULL.
17881     *
17882     * @see elm_slider_min_max_set() for details.
17883     *
17884     * @ingroup Slider
17885     */
17886    EAPI void               elm_slider_min_max_get(const Evas_Object *obj, double *min, double *max) EINA_ARG_NONNULL(1);
17887
17888    /**
17889     * Set the value the slider displays.
17890     *
17891     * @param obj The slider object.
17892     * @param val The value to be displayed.
17893     *
17894     * Value will be presented on the unit label following format specified with
17895     * elm_slider_unit_format_set() and on indicator with
17896     * elm_slider_indicator_format_set().
17897     *
17898     * @warning The value must to be between min and max values. This values
17899     * are set by elm_slider_min_max_set().
17900     *
17901     * @see elm_slider_value_get()
17902     * @see elm_slider_unit_format_set()
17903     * @see elm_slider_indicator_format_set()
17904     * @see elm_slider_min_max_set()
17905     *
17906     * @ingroup Slider
17907     */
17908    EAPI void               elm_slider_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
17909
17910    /**
17911     * Get the value displayed by the spinner.
17912     *
17913     * @param obj The spinner object.
17914     * @return The value displayed.
17915     *
17916     * @see elm_spinner_value_set() for details.
17917     *
17918     * @ingroup Slider
17919     */
17920    EAPI double             elm_slider_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17921
17922    /**
17923     * Invert a given slider widget's displaying values order
17924     *
17925     * @param obj The slider object.
17926     * @param inverted Use @c EINA_TRUE to make @p obj inverted,
17927     * @c EINA_FALSE to bring it back to default, non-inverted values.
17928     *
17929     * A slider may be @b inverted, in which state it gets its
17930     * values inverted, with high vales being on the left or top and
17931     * low values on the right or bottom, as opposed to normally have
17932     * the low values on the former and high values on the latter,
17933     * respectively, for horizontal and vertical modes.
17934     *
17935     * @see elm_slider_inverted_get()
17936     *
17937     * @ingroup Slider
17938     */
17939    EAPI void               elm_slider_inverted_set(Evas_Object *obj, Eina_Bool inverted) EINA_ARG_NONNULL(1);
17940
17941    /**
17942     * Get whether a given slider widget's displaying values are
17943     * inverted or not.
17944     *
17945     * @param obj The slider object.
17946     * @return @c EINA_TRUE, if @p obj has inverted values,
17947     * @c EINA_FALSE otherwise (and on errors).
17948     *
17949     * @see elm_slider_inverted_set() for more details.
17950     *
17951     * @ingroup Slider
17952     */
17953    EAPI Eina_Bool          elm_slider_inverted_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17954
17955    /**
17956     * Set whether to enlarge slider indicator (augmented knob) or not.
17957     *
17958     * @param obj The slider object.
17959     * @param show @c EINA_TRUE will make it enlarge, @c EINA_FALSE will
17960     * let the knob always at default size.
17961     *
17962     * By default, indicator will be bigger while dragged by the user.
17963     *
17964     * @warning It won't display values set with
17965     * elm_slider_indicator_format_set() if you disable indicator.
17966     *
17967     * @ingroup Slider
17968     */
17969    EAPI void               elm_slider_indicator_show_set(Evas_Object *obj, Eina_Bool show) EINA_ARG_NONNULL(1);
17970
17971    /**
17972     * Get whether a given slider widget's enlarging indicator or not.
17973     *
17974     * @param obj The slider object.
17975     * @return @c EINA_TRUE, if @p obj is enlarging indicator, or
17976     * @c EINA_FALSE otherwise (and on errors).
17977     *
17978     * @see elm_slider_indicator_show_set() for details.
17979     *
17980     * @ingroup Slider
17981     */
17982    EAPI Eina_Bool          elm_slider_indicator_show_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
17983
17984    /**
17985     * @}
17986     */
17987
17988    /**
17989     * @addtogroup Actionslider Actionslider
17990     *
17991     * @image html img/widget/actionslider/preview-00.png
17992     * @image latex img/widget/actionslider/preview-00.eps
17993     *
17994     * An actionslider is a switcher for 2 or 3 labels with customizable magnet
17995     * properties. The user drags and releases the indicator, to choose a label.
17996     *
17997     * Labels occupy the following positions.
17998     * a. Left
17999     * b. Right
18000     * c. Center
18001     *
18002     * Positions can be enabled or disabled.
18003     *
18004     * Magnets can be set on the above positions.
18005     *
18006     * When the indicator is released, it will move to its nearest "enabled and magnetized" position.
18007     *
18008     * @note By default all positions are set as enabled.
18009     *
18010     * Signals that you can add callbacks for are:
18011     *
18012     * "selected" - when user selects an enabled position (the label is passed
18013     *              as event info)".
18014     * @n
18015     * "pos_changed" - when the indicator reaches any of the positions("left",
18016     *                 "right" or "center").
18017     *
18018     * See an example of actionslider usage @ref actionslider_example_page "here"
18019     * @{
18020     */
18021
18022    typedef enum _Elm_Actionslider_Indicator_Pos
18023      {
18024         ELM_ACTIONSLIDER_INDICATOR_NONE,
18025         ELM_ACTIONSLIDER_INDICATOR_LEFT,
18026         ELM_ACTIONSLIDER_INDICATOR_RIGHT,
18027         ELM_ACTIONSLIDER_INDICATOR_CENTER
18028      } Elm_Actionslider_Indicator_Pos;
18029
18030    typedef enum _Elm_Actionslider_Magnet_Pos
18031      {
18032         ELM_ACTIONSLIDER_MAGNET_NONE = 0,
18033         ELM_ACTIONSLIDER_MAGNET_LEFT = 1 << 0,
18034         ELM_ACTIONSLIDER_MAGNET_CENTER = 1 << 1,
18035         ELM_ACTIONSLIDER_MAGNET_RIGHT= 1 << 2,
18036         ELM_ACTIONSLIDER_MAGNET_ALL = (1 << 3) -1,
18037         ELM_ACTIONSLIDER_MAGNET_BOTH = (1 << 3)
18038      } Elm_Actionslider_Magnet_Pos;
18039
18040    typedef enum _Elm_Actionslider_Label_Pos
18041      {
18042         ELM_ACTIONSLIDER_LABEL_LEFT,
18043         ELM_ACTIONSLIDER_LABEL_RIGHT,
18044         ELM_ACTIONSLIDER_LABEL_CENTER,
18045         ELM_ACTIONSLIDER_LABEL_BUTTON
18046      } Elm_Actionslider_Label_Pos;
18047
18048    /* smart callbacks called:
18049     * "indicator,position" - when a button reaches to the special position like "left", "right" and "center".
18050     */
18051
18052    /**
18053     * Add a new actionslider to the parent.
18054     *
18055     * @param parent The parent object
18056     * @return The new actionslider object or NULL if it cannot be created
18057     */
18058    EAPI Evas_Object          *elm_actionslider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
18059
18060    /**
18061    * Set actionslider label.
18062    *
18063    * @param[in] obj The actionslider object
18064    * @param[in] pos The position of the label.
18065    * (ELM_ACTIONSLIDER_LABEL_LEFT, ELM_ACTIONSLIDER_LABEL_RIGHT)
18066    * @param label The label which is going to be set.
18067    */
18068    EAPI void               elm_actionslider_label_set(Evas_Object *obj, Elm_Actionslider_Label_Pos pos, const char *label) EINA_ARG_NONNULL(1);
18069    /**
18070     * Get actionslider labels.
18071     *
18072     * @param obj The actionslider object
18073     * @param left_label A char** to place the left_label of @p obj into.
18074     * @param center_label A char** to place the center_label of @p obj into.
18075     * @param right_label A char** to place the right_label of @p obj into.
18076     */
18077    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);
18078    /**
18079     * Get actionslider selected label.
18080     *
18081     * @param obj The actionslider object
18082     * @return The selected label
18083     */
18084    EAPI const char           *elm_actionslider_selected_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18085    /**
18086     * Set actionslider indicator position.
18087     *
18088     * @param obj The actionslider object.
18089     * @param pos The position of the indicator.
18090     */
18091    EAPI void                elm_actionslider_indicator_pos_set(Evas_Object *obj, Elm_Actionslider_Indicator_Pos pos) EINA_ARG_NONNULL(1);
18092    /**
18093     * Get actionslider indicator position.
18094     *
18095     * @param obj The actionslider object.
18096     * @return The position of the indicator.
18097     */
18098    EAPI Elm_Actionslider_Indicator_Pos  elm_actionslider_indicator_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18099    /**
18100     * Set actionslider magnet position. To make multiple positions magnets @c or
18101     * them together(e.g.: ELM_ACTIONSLIDER_MAGNET_LEFT | ELM_ACTIONSLIDER_MAGNET_RIGHT)
18102     *
18103     * @param obj The actionslider object.
18104     * @param pos Bit mask indicating the magnet positions.
18105     */
18106    EAPI void                elm_actionslider_magnet_pos_set(Evas_Object *obj, Elm_Actionslider_Magnet_Pos pos) EINA_ARG_NONNULL(1);
18107    /**
18108     * Get actionslider magnet position.
18109     *
18110     * @param obj The actionslider object.
18111     * @return The positions with magnet property.
18112     */
18113    EAPI Elm_Actionslider_Magnet_Pos  elm_actionslider_magnet_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18114    /**
18115     * Set actionslider enabled position. To set multiple positions as enabled @c or
18116     * them together(e.g.: ELM_ACTIONSLIDER_MAGNET_LEFT | ELM_ACTIONSLIDER_MAGNET_RIGHT).
18117     *
18118     * @note All the positions are enabled by default.
18119     *
18120     * @param obj The actionslider object.
18121     * @param pos Bit mask indicating the enabled positions.
18122     */
18123    EAPI void                  elm_actionslider_enabled_pos_set(Evas_Object *obj, Elm_Actionslider_Magnet_Pos pos) EINA_ARG_NONNULL(1);
18124    /**
18125     * Get actionslider enabled position.
18126     *
18127     * @param obj The actionslider object.
18128     * @return The enabled positions.
18129     */
18130    EAPI Elm_Actionslider_Magnet_Pos  elm_actionslider_enabled_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18131    /**
18132     * Set the label used on the indicator.
18133     *
18134     * @param obj The actionslider object
18135     * @param label The label to be set on the indicator.
18136     * @deprecated use elm_object_text_set() instead.
18137     */
18138    EINA_DEPRECATED EAPI void                  elm_actionslider_indicator_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
18139    /**
18140     * Get the label used on the indicator object.
18141     *
18142     * @param obj The actionslider object
18143     * @return The indicator label
18144     * @deprecated use elm_object_text_get() instead.
18145     */
18146    EINA_DEPRECATED EAPI const char           *elm_actionslider_indicator_label_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
18147
18148    /**
18149    * Hold actionslider object movement.
18150    *
18151    * @param[in] obj The actionslider object
18152    * @param[in] flag Actionslider hold/release
18153    * (EINA_TURE = hold/EIN_FALSE = release)
18154    *
18155    * @ingroup Actionslider
18156    */
18157    EAPI void                             elm_actionslider_hold(Evas_Object *obj, Eina_Bool flag) EINA_ARG_NONNULL(1);
18158
18159
18160    /**
18161     * @}
18162     */
18163
18164    /**
18165     * @defgroup Genlist Genlist
18166     *
18167     * @image html img/widget/genlist/preview-00.png
18168     * @image latex img/widget/genlist/preview-00.eps
18169     * @image html img/genlist.png
18170     * @image latex img/genlist.eps
18171     *
18172     * This widget aims to have more expansive list than the simple list in
18173     * Elementary that could have more flexible items and allow many more entries
18174     * while still being fast and low on memory usage. At the same time it was
18175     * also made to be able to do tree structures. But the price to pay is more
18176     * complexity when it comes to usage. If all you want is a simple list with
18177     * icons and a single label, use the normal @ref List object.
18178     *
18179     * Genlist has a fairly large API, mostly because it's relatively complex,
18180     * trying to be both expansive, powerful and efficient. First we will begin
18181     * an overview on the theory behind genlist.
18182     *
18183     * @section Genlist_Item_Class Genlist item classes - creating items
18184     *
18185     * In order to have the ability to add and delete items on the fly, genlist
18186     * implements a class (callback) system where the application provides a
18187     * structure with information about that type of item (genlist may contain
18188     * multiple different items with different classes, states and styles).
18189     * Genlist will call the functions in this struct (methods) when an item is
18190     * "realized" (i.e., created dynamically, while the user is scrolling the
18191     * grid). All objects will simply be deleted when no longer needed with
18192     * evas_object_del(). The #Elm_Genlist_Item_Class structure contains the
18193     * following members:
18194     * - @c item_style - This is a constant string and simply defines the name
18195     *   of the item style. It @b must be specified and the default should be @c
18196     *   "default".
18197     *
18198     * - @c func - A struct with pointers to functions that will be called when
18199     *   an item is going to be actually created. All of them receive a @c data
18200     *   parameter that will point to the same data passed to
18201     *   elm_genlist_item_append() and related item creation functions, and a @c
18202     *   obj parameter that points to the genlist object itself.
18203     *
18204     * The function pointers inside @c func are @c label_get, @c icon_get, @c
18205     * state_get and @c del. The 3 first functions also receive a @c part
18206     * parameter described below. A brief description of these functions follows:
18207     *
18208     * - @c label_get - The @c part parameter is the name string of one of the
18209     *   existing text parts in the Edje group implementing the item's theme.
18210     *   This function @b must return a strdup'()ed string, as the caller will
18211     *   free() it when done. See #Elm_Genlist_Item_Label_Get_Cb.
18212     * - @c content_get - The @c part parameter is the name string of one of the
18213     *   existing (content) swallow parts in the Edje group implementing the item's
18214     *   theme. It must return @c NULL, when no content is desired, or a valid
18215     *   object handle, otherwise.  The object will be deleted by the genlist on
18216     *   its deletion or when the item is "unrealized".  See
18217     *   #Elm_Genlist_Item_Content_Get_Cb.
18218     * - @c func.state_get - The @c part parameter is the name string of one of
18219     *   the state parts in the Edje group implementing the item's theme. Return
18220     *   @c EINA_FALSE for false/off or @c EINA_TRUE for true/on. Genlists will
18221     *   emit a signal to its theming Edje object with @c "elm,state,XXX,active"
18222     *   and @c "elm" as "emission" and "source" arguments, respectively, when
18223     *   the state is true (the default is false), where @c XXX is the name of
18224     *   the (state) part.  See #Elm_Genlist_Item_State_Get_Cb.
18225     * - @c func.del - This is intended for use when genlist items are deleted,
18226     *   so any data attached to the item (e.g. its data parameter on creation)
18227     *   can be deleted. See #Elm_Genlist_Item_Del_Cb.
18228     *
18229     * available item styles:
18230     * - default
18231     * - default_style - The text part is a textblock
18232     *
18233     * @image html img/widget/genlist/preview-04.png
18234     * @image latex img/widget/genlist/preview-04.eps
18235     *
18236     * - double_label
18237     *
18238     * @image html img/widget/genlist/preview-01.png
18239     * @image latex img/widget/genlist/preview-01.eps
18240     *
18241     * - icon_top_text_bottom
18242     *
18243     * @image html img/widget/genlist/preview-02.png
18244     * @image latex img/widget/genlist/preview-02.eps
18245     *
18246     * - group_index
18247     *
18248     * @image html img/widget/genlist/preview-03.png
18249     * @image latex img/widget/genlist/preview-03.eps
18250     *
18251     * @section Genlist_Items Structure of items
18252     *
18253     * An item in a genlist can have 0 or more text labels (they can be regular
18254     * text or textblock Evas objects - that's up to the style to determine), 0
18255     * or more contents (which are simply objects swallowed into the genlist item's
18256     * theming Edje object) and 0 or more <b>boolean states</b>, which have the
18257     * behavior left to the user to define. The Edje part names for each of
18258     * these properties will be looked up, in the theme file for the genlist,
18259     * under the Edje (string) data items named @c "labels", @c "contents" and @c
18260     * "states", respectively. For each of those properties, if more than one
18261     * part is provided, they must have names listed separated by spaces in the
18262     * data fields. For the default genlist item theme, we have @b one label
18263     * part (@c "elm.text"), @b two content parts (@c "elm.swalllow.icon" and @c
18264     * "elm.swallow.end") and @b no state parts.
18265     *
18266     * A genlist item may be at one of several styles. Elementary provides one
18267     * by default - "default", but this can be extended by system or application
18268     * custom themes/overlays/extensions (see @ref Theme "themes" for more
18269     * details).
18270     *
18271     * @section Genlist_Manipulation Editing and Navigating
18272     *
18273     * Items can be added by several calls. All of them return a @ref
18274     * Elm_Genlist_Item handle that is an internal member inside the genlist.
18275     * They all take a data parameter that is meant to be used for a handle to
18276     * the applications internal data (eg the struct with the original item
18277     * data). The parent parameter is the parent genlist item this belongs to if
18278     * it is a tree or an indexed group, and NULL if there is no parent. The
18279     * flags can be a bitmask of #ELM_GENLIST_ITEM_NONE,
18280     * #ELM_GENLIST_ITEM_SUBITEMS and #ELM_GENLIST_ITEM_GROUP. If
18281     * #ELM_GENLIST_ITEM_SUBITEMS is set then this item is displayed as an item
18282     * that is able to expand and have child items.  If ELM_GENLIST_ITEM_GROUP
18283     * is set then this item is group index item that is displayed at the top
18284     * until the next group comes. The func parameter is a convenience callback
18285     * that is called when the item is selected and the data parameter will be
18286     * the func_data parameter, obj be the genlist object and event_info will be
18287     * the genlist item.
18288     *
18289     * elm_genlist_item_append() adds an item to the end of the list, or if
18290     * there is a parent, to the end of all the child items of the parent.
18291     * elm_genlist_item_prepend() is the same but adds to the beginning of
18292     * the list or children list. elm_genlist_item_insert_before() inserts at
18293     * item before another item and elm_genlist_item_insert_after() inserts after
18294     * the indicated item.
18295     *
18296     * The application can clear the list with elm_gen_clear() which deletes
18297     * all the items in the list and elm_genlist_item_del() will delete a specific
18298     * item. elm_genlist_item_subitems_clear() will clear all items that are
18299     * children of the indicated parent item.
18300     *
18301     * To help inspect list items you can jump to the item at the top of the list
18302     * with elm_genlist_first_item_get() which will return the item pointer, and
18303     * similarly elm_genlist_last_item_get() gets the item at the end of the list.
18304     * elm_genlist_item_next_get() and elm_genlist_item_prev_get() get the next
18305     * and previous items respectively relative to the indicated item. Using
18306     * these calls you can walk the entire item list/tree. Note that as a tree
18307     * the items are flattened in the list, so elm_genlist_item_parent_get() will
18308     * let you know which item is the parent (and thus know how to skip them if
18309     * wanted).
18310     *
18311     * @section Genlist_Muti_Selection Multi-selection
18312     *
18313     * If the application wants multiple items to be able to be selected,
18314     * elm_genlist_multi_select_set() can enable this. If the list is
18315     * single-selection only (the default), then elm_genlist_selected_item_get()
18316     * will return the selected item, if any, or NULL if none is selected. If the
18317     * list is multi-select then elm_genlist_selected_items_get() will return a
18318     * list (that is only valid as long as no items are modified (added, deleted,
18319     * selected or unselected)).
18320     *
18321     * @section Genlist_Usage_Hints Usage hints
18322     *
18323     * There are also convenience functions. elm_gen_item_genlist_get() will
18324     * return the genlist object the item belongs to. elm_genlist_item_show()
18325     * will make the scroller scroll to show that specific item so its visible.
18326     * elm_genlist_item_data_get() returns the data pointer set by the item
18327     * creation functions.
18328     *
18329     * If an item changes (state of boolean changes, label or contents change),
18330     * then use elm_genlist_item_update() to have genlist update the item with
18331     * the new state. Genlist will re-realize the item thus call the functions
18332     * in the _Elm_Genlist_Item_Class for that item.
18333     *
18334     * To programmatically (un)select an item use elm_genlist_item_selected_set().
18335     * To get its selected state use elm_genlist_item_selected_get(). Similarly
18336     * to expand/contract an item and get its expanded state, use
18337     * elm_genlist_item_expanded_set() and elm_genlist_item_expanded_get(). And
18338     * again to make an item disabled (unable to be selected and appear
18339     * differently) use elm_genlist_item_disabled_set() to set this and
18340     * elm_genlist_item_disabled_get() to get the disabled state.
18341     *
18342     * In general to indicate how the genlist should expand items horizontally to
18343     * fill the list area, use elm_genlist_horizontal_set(). Valid modes are
18344     * ELM_LIST_LIMIT and ELM_LIST_SCROLL. The default is ELM_LIST_SCROLL. This
18345     * mode means that if items are too wide to fit, the scroller will scroll
18346     * horizontally. Otherwise items are expanded to fill the width of the
18347     * viewport of the scroller. If it is ELM_LIST_LIMIT, items will be expanded
18348     * to the viewport width and limited to that size. This can be combined with
18349     * a different style that uses edjes' ellipsis feature (cutting text off like
18350     * this: "tex...").
18351     *
18352     * Items will only call their selection func and callback when first becoming
18353     * selected. Any further clicks will do nothing, unless you enable always
18354     * select with elm_gen_always_select_mode_set(). This means even if
18355     * selected, every click will make the selected callbacks be called.
18356     * elm_genlist_no_select_mode_set() will turn off the ability to select
18357     * items entirely and they will neither appear selected nor call selected
18358     * callback functions.
18359     *
18360     * Remember that you can create new styles and add your own theme augmentation
18361     * per application with elm_theme_extension_add(). If you absolutely must
18362     * have a specific style that overrides any theme the user or system sets up
18363     * you can use elm_theme_overlay_add() to add such a file.
18364     *
18365     * @section Genlist_Implementation Implementation
18366     *
18367     * Evas tracks every object you create. Every time it processes an event
18368     * (mouse move, down, up etc.) it needs to walk through objects and find out
18369     * what event that affects. Even worse every time it renders display updates,
18370     * in order to just calculate what to re-draw, it needs to walk through many
18371     * many many objects. Thus, the more objects you keep active, the more
18372     * overhead Evas has in just doing its work. It is advisable to keep your
18373     * active objects to the minimum working set you need. Also remember that
18374     * object creation and deletion carries an overhead, so there is a
18375     * middle-ground, which is not easily determined. But don't keep massive lists
18376     * of objects you can't see or use. Genlist does this with list objects. It
18377     * creates and destroys them dynamically as you scroll around. It groups them
18378     * into blocks so it can determine the visibility etc. of a whole block at
18379     * once as opposed to having to walk the whole list. This 2-level list allows
18380     * for very large numbers of items to be in the list (tests have used up to
18381     * 2,000,000 items). Also genlist employs a queue for adding items. As items
18382     * may be different sizes, every item added needs to be calculated as to its
18383     * size and thus this presents a lot of overhead on populating the list, this
18384     * genlist employs a queue. Any item added is queued and spooled off over
18385     * time, actually appearing some time later, so if your list has many members
18386     * you may find it takes a while for them to all appear, with your process
18387     * consuming a lot of CPU while it is busy spooling.
18388     *
18389     * Genlist also implements a tree structure, but it does so with callbacks to
18390     * the application, with the application filling in tree structures when
18391     * requested (allowing for efficient building of a very deep tree that could
18392     * even be used for file-management). See the above smart signal callbacks for
18393     * details.
18394     *
18395     * @section Genlist_Smart_Events Genlist smart events
18396     *
18397     * Signals that you can add callbacks for are:
18398     * - @c "activated" - The user has double-clicked or pressed
18399     *   (enter|return|spacebar) on an item. The @c event_info parameter is the
18400     *   item that was activated.
18401     * - @c "clicked,double" - The user has double-clicked an item.  The @c
18402     *   event_info parameter is the item that was double-clicked.
18403     * - @c "selected" - This is called when a user has made an item selected.
18404     *   The event_info parameter is the genlist item that was selected.
18405     * - @c "unselected" - This is called when a user has made an item
18406     *   unselected. The event_info parameter is the genlist item that was
18407     *   unselected.
18408     * - @c "expanded" - This is called when elm_genlist_item_expanded_set() is
18409     *   called and the item is now meant to be expanded. The event_info
18410     *   parameter is the genlist item that was indicated to expand.  It is the
18411     *   job of this callback to then fill in the child items.
18412     * - @c "contracted" - This is called when elm_genlist_item_expanded_set() is
18413     *   called and the item is now meant to be contracted. The event_info
18414     *   parameter is the genlist item that was indicated to contract. It is the
18415     *   job of this callback to then delete the child items.
18416     * - @c "expand,request" - This is called when a user has indicated they want
18417     *   to expand a tree branch item. The callback should decide if the item can
18418     *   expand (has any children) and then call elm_genlist_item_expanded_set()
18419     *   appropriately to set the state. The event_info parameter is the genlist
18420     *   item that was indicated to expand.
18421     * - @c "contract,request" - This is called when a user has indicated they
18422     *   want to contract a tree branch item. The callback should decide if the
18423     *   item can contract (has any children) and then call
18424     *   elm_genlist_item_expanded_set() appropriately to set the state. The
18425     *   event_info parameter is the genlist item that was indicated to contract.
18426     * - @c "realized" - This is called when the item in the list is created as a
18427     *   real evas object. event_info parameter is the genlist item that was
18428     *   created. The object may be deleted at any time, so it is up to the
18429     *   caller to not use the object pointer from elm_genlist_item_object_get()
18430     *   in a way where it may point to freed objects.
18431     * - @c "unrealized" - This is called just before an item is unrealized.
18432     *   After this call content objects provided will be deleted and the item
18433     *   object itself delete or be put into a floating cache.
18434     * - @c "drag,start,up" - This is called when the item in the list has been
18435     *   dragged (not scrolled) up.
18436     * - @c "drag,start,down" - This is called when the item in the list has been
18437     *   dragged (not scrolled) down.
18438     * - @c "drag,start,left" - This is called when the item in the list has been
18439     *   dragged (not scrolled) left.
18440     * - @c "drag,start,right" - This is called when the item in the list has
18441     *   been dragged (not scrolled) right.
18442     * - @c "drag,stop" - This is called when the item in the list has stopped
18443     *   being dragged.
18444     * - @c "drag" - This is called when the item in the list is being dragged.
18445     * - @c "longpressed" - This is called when the item is pressed for a certain
18446     *   amount of time. By default it's 1 second.
18447     * - @c "scroll,anim,start" - This is called when scrolling animation has
18448     *   started.
18449     * - @c "scroll,anim,stop" - This is called when scrolling animation has
18450     *   stopped.
18451     * - @c "scroll,drag,start" - This is called when dragging the content has
18452     *   started.
18453     * - @c "scroll,drag,stop" - This is called when dragging the content has
18454     *   stopped.
18455     * - @c "edge,top" - This is called when the genlist is scrolled until
18456     *   the top edge.
18457     * - @c "edge,bottom" - This is called when the genlist is scrolled
18458     *   until the bottom edge.
18459     * - @c "edge,left" - This is called when the genlist is scrolled
18460     *   until the left edge.
18461     * - @c "edge,right" - This is called when the genlist is scrolled
18462     *   until the right edge.
18463     * - @c "multi,swipe,left" - This is called when the genlist is multi-touch
18464     *   swiped left.
18465     * - @c "multi,swipe,right" - This is called when the genlist is multi-touch
18466     *   swiped right.
18467     * - @c "multi,swipe,up" - This is called when the genlist is multi-touch
18468     *   swiped up.
18469     * - @c "multi,swipe,down" - This is called when the genlist is multi-touch
18470     *   swiped down.
18471     * - @c "multi,pinch,out" - This is called when the genlist is multi-touch
18472     *   pinched out.  "- @c multi,pinch,in" - This is called when the genlist is
18473     *   multi-touch pinched in.
18474     * - @c "swipe" - This is called when the genlist is swiped.
18475     * - @c "moved" - This is called when a genlist item is moved.
18476     * - @c "language,changed" - This is called when the program's language is
18477     *   changed.
18478     *
18479     * @section Genlist_Examples Examples
18480     *
18481     * Here is a list of examples that use the genlist, trying to show some of
18482     * its capabilities:
18483     * - @ref genlist_example_01
18484     * - @ref genlist_example_02
18485     * - @ref genlist_example_03
18486     * - @ref genlist_example_04
18487     * - @ref genlist_example_05
18488     */
18489
18490    /**
18491     * @addtogroup Genlist
18492     * @{
18493     */
18494
18495    /**
18496     * @enum _Elm_Genlist_Item_Flags
18497     * @typedef Elm_Genlist_Item_Flags
18498     *
18499     * Defines if the item is of any special type (has subitems or it's the
18500     * index of a group), or is just a simple item.
18501     *
18502     * @ingroup Genlist
18503     */
18504    typedef enum _Elm_Genlist_Item_Flags
18505      {
18506         ELM_GENLIST_ITEM_NONE = 0, /**< simple item */
18507         ELM_GENLIST_ITEM_SUBITEMS = (1 << 0), /**< may expand and have child items */
18508         ELM_GENLIST_ITEM_GROUP = (1 << 1) /**< index of a group of items */
18509      } Elm_Genlist_Item_Flags;
18510    typedef enum _Elm_Genlist_Item_Field_Flags
18511      {
18512         ELM_GENLIST_ITEM_FIELD_ALL = 0,
18513         ELM_GENLIST_ITEM_FIELD_LABEL = (1 << 0),
18514         ELM_GENLIST_ITEM_FIELD_ICON = (1 << 1),
18515         ELM_GENLIST_ITEM_FIELD_STATE = (1 << 2)
18516      } Elm_Genlist_Item_Field_Flags;
18517    typedef struct _Elm_Genlist_Item_Class Elm_Genlist_Item_Class;  /**< Genlist item class definition structs */
18518    typedef struct _Elm_Genlist_Item       Elm_Genlist_Item; /**< Item of Elm_Genlist. Sub-type of Elm_Widget_Item */
18519    typedef struct _Elm_Genlist_Item_Class_Func Elm_Genlist_Item_Class_Func;
18520    typedef char        *(*GenlistItemLabelGetFunc) (void *data, Evas_Object *obj, const char *part);
18521    typedef Evas_Object *(*GenlistItemIconGetFunc)  (void *data, Evas_Object *obj, const char *part);
18522    typedef Eina_Bool    (*GenlistItemStateGetFunc) (void *data, Evas_Object *obj, const char *part);
18523    typedef void         (*GenlistItemDelFunc)      (void *data, Evas_Object *obj);
18524    typedef void         (*GenlistItemMovedFunc)    ( Evas_Object *genlist, Elm_Genlist_Item *item, Elm_Genlist_Item *rel_item, Eina_Bool move_after);
18525
18526    /**
18527     * @struct _Elm_Genlist_Item_Class
18528     *
18529     * Genlist item class definition structs.
18530     *
18531     * This struct contains the style and fetching functions that will define the
18532     * contents of each item.
18533     *
18534     * @see @ref Genlist_Item_Class
18535     */
18536    struct _Elm_Genlist_Item_Class
18537      {
18538         const char                *item_style;
18539         struct {
18540           GenlistItemLabelGetFunc  label_get;
18541           GenlistItemIconGetFunc   icon_get;
18542           GenlistItemStateGetFunc  state_get;
18543           GenlistItemDelFunc       del;
18544           GenlistItemMovedFunc     moved;
18545         } func;
18546         const char *edit_item_style;
18547         const char                *mode_item_style;
18548      };
18549    #define Elm_Genlist_Item_Class_Func Elm_Gen_Item_Class_Func
18550    /**
18551     * Add a new genlist widget to the given parent Elementary
18552     * (container) object
18553     *
18554     * @param parent The parent object
18555     * @return a new genlist widget handle or @c NULL, on errors
18556     *
18557     * This function inserts a new genlist widget on the canvas.
18558     *
18559     * @see elm_genlist_item_append()
18560     * @see elm_genlist_item_del()
18561     * @see elm_gen_clear()
18562     *
18563     * @ingroup Genlist
18564     */
18565    EAPI Evas_Object      *elm_genlist_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
18566    /**
18567     * Remove all items from a given genlist widget.
18568     *
18569     * @param obj The genlist object
18570     *
18571     * This removes (and deletes) all items in @p obj, leaving it empty.
18572     *
18573     * This is deprecated. Please use elm_gen_clear() instead.
18574     * 
18575     * @see elm_genlist_item_del(), to remove just one item.
18576     *
18577     * @ingroup Genlist
18578     */
18579    WILL_DEPRECATE  EAPI void elm_genlist_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
18580    /**
18581     * Enable or disable multi-selection in the genlist
18582     *
18583     * @param obj The genlist object
18584     * @param multi Multi-select enable/disable. Default is disabled.
18585     *
18586     * This enables (@c EINA_TRUE) or disables (@c EINA_FALSE) multi-selection in
18587     * the list. This allows more than 1 item to be selected. To retrieve the list
18588     * of selected items, use elm_genlist_selected_items_get().
18589     *
18590     * @see elm_genlist_selected_items_get()
18591     * @see elm_genlist_multi_select_get()
18592     *
18593     * @ingroup Genlist
18594     */
18595    EAPI void              elm_genlist_multi_select_set(Evas_Object *obj, Eina_Bool multi) EINA_ARG_NONNULL(1);
18596    /**
18597     * Gets if multi-selection in genlist is enabled or disabled.
18598     *
18599     * @param obj The genlist object
18600     * @return Multi-select enabled/disabled
18601     * (@c EINA_TRUE = enabled/@c EINA_FALSE = disabled). Default is @c EINA_FALSE.
18602     *
18603     * @see elm_genlist_multi_select_set()
18604     *
18605     * @ingroup Genlist
18606     */
18607    EAPI Eina_Bool         elm_genlist_multi_select_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18608    /**
18609     * This sets the horizontal stretching mode.
18610     *
18611     * @param obj The genlist object
18612     * @param mode The mode to use (one of #ELM_LIST_SCROLL or #ELM_LIST_LIMIT).
18613     *
18614     * This sets the mode used for sizing items horizontally. Valid modes
18615     * are #ELM_LIST_LIMIT and #ELM_LIST_SCROLL. The default is
18616     * ELM_LIST_SCROLL. This mode means that if items are too wide to fit,
18617     * the scroller will scroll horizontally. Otherwise items are expanded
18618     * to fill the width of the viewport of the scroller. If it is
18619     * ELM_LIST_LIMIT, items will be expanded to the viewport width and
18620     * limited to that size.
18621     *
18622     * @see elm_genlist_horizontal_get()
18623     *
18624     * @ingroup Genlist
18625     */
18626    EAPI void              elm_genlist_horizontal_mode_set(Evas_Object *obj, Elm_List_Mode mode) EINA_ARG_NONNULL(1);
18627    /**
18628     * Gets the horizontal stretching mode.
18629     *
18630     * @param obj The genlist object
18631     * @return The mode to use
18632     * (#ELM_LIST_LIMIT, #ELM_LIST_SCROLL)
18633     *
18634     * @see elm_genlist_horizontal_set()
18635     *
18636     * @ingroup Genlist
18637     */
18638    EAPI Elm_List_Mode     elm_genlist_horizontal_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18639    /**
18640     * Set the always select mode.
18641     *
18642     * @param obj The genlist object
18643     * @param always_select The always select mode (@c EINA_TRUE = on, @c
18644     * EINA_FALSE = off). Default is @c EINA_FALSE.
18645     *
18646     * Items will only call their selection func and callback when first
18647     * becoming selected. Any further clicks will do nothing, unless you
18648     * enable always select with elm_gen_always_select_mode_set().
18649     * This means that, even if selected, every click will make the selected
18650     * callbacks be called.
18651     * 
18652     * This function is deprecated. please see elm_gen_always_select_mode_set()
18653     *
18654     * @see elm_genlist_always_select_mode_get()
18655     *
18656     * @ingroup Genlist
18657     */
18658    WILL_DEPRECATE  EAPI void              elm_genlist_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select) EINA_ARG_NONNULL(1);
18659    /**
18660     * Get the always select mode.
18661     *
18662     * @param obj The genlist object
18663     * @return The always select mode
18664     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
18665     *
18666     * @see elm_genlist_always_select_mode_set()
18667     *
18668     * @ingroup Genlist
18669     */
18670    WILL_DEPRECATE  EAPI Eina_Bool         elm_genlist_always_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18671    /**
18672     * Enable/disable the no select mode.
18673     *
18674     * @param obj The genlist object
18675     * @param no_select The no select mode
18676     * (EINA_TRUE = on, EINA_FALSE = off)
18677     *
18678     * This will turn off the ability to select items entirely and they
18679     * will neither appear selected nor call selected callback functions.
18680     *
18681     * @see elm_genlist_no_select_mode_get()
18682     *
18683     * @ingroup Genlist
18684     */
18685    WILL_DEPRECATE  EAPI void              elm_genlist_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select) EINA_ARG_NONNULL(1);
18686    /**
18687     * Gets whether the no select mode is enabled.
18688     *
18689     * @param obj The genlist object
18690     * @return The no select mode
18691     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
18692     *
18693     * @see elm_genlist_no_select_mode_set()
18694     *
18695     * @ingroup Genlist
18696     */
18697    WILL_DEPRECATE  EAPI Eina_Bool         elm_genlist_no_select_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18698    /**
18699     * Enable/disable compress mode.
18700     *
18701     * @param obj The genlist object
18702     * @param compress The compress mode
18703     * (@c EINA_TRUE = on, @c EINA_FALSE = off). Default is @c EINA_FALSE.
18704     *
18705     * This will enable the compress mode where items are "compressed"
18706     * horizontally to fit the genlist scrollable viewport width. This is
18707     * special for genlist.  Do not rely on
18708     * elm_genlist_horizontal_set() being set to @c ELM_LIST_COMPRESS to
18709     * work as genlist needs to handle it specially.
18710     *
18711     * @see elm_genlist_compress_mode_get()
18712     *
18713     * @ingroup Genlist
18714     */
18715    EAPI void              elm_genlist_compress_mode_set(Evas_Object *obj, Eina_Bool compress) EINA_ARG_NONNULL(1);
18716    /**
18717     * Get whether the compress mode is enabled.
18718     *
18719     * @param obj The genlist object
18720     * @return The compress mode
18721     * (@c EINA_TRUE = on, @c EINA_FALSE = off)
18722     *
18723     * @see elm_genlist_compress_mode_set()
18724     *
18725     * @ingroup Genlist
18726     */
18727    EAPI Eina_Bool         elm_genlist_compress_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18728    /**
18729     * Enable/disable height-for-width mode.
18730     *
18731     * @param obj The genlist object
18732     * @param setting The height-for-width mode (@c EINA_TRUE = on,
18733     * @c EINA_FALSE = off). Default is @c EINA_FALSE.
18734     *
18735     * With height-for-width mode the item width will be fixed (restricted
18736     * to a minimum of) to the list width when calculating its size in
18737     * order to allow the height to be calculated based on it. This allows,
18738     * for instance, text block to wrap lines if the Edje part is
18739     * configured with "text.min: 0 1".
18740     *
18741     * @note This mode will make list resize slower as it will have to
18742     *       recalculate every item height again whenever the list width
18743     *       changes!
18744     *
18745     * @note When height-for-width mode is enabled, it also enables
18746     *       compress mode (see elm_genlist_compress_mode_set()) and
18747     *       disables homogeneous (see elm_genlist_homogeneous_set()).
18748     *
18749     * @ingroup Genlist
18750     */
18751    EAPI void              elm_genlist_height_for_width_mode_set(Evas_Object *obj, Eina_Bool height_for_width) EINA_ARG_NONNULL(1);
18752    /**
18753     * Get whether the height-for-width mode is enabled.
18754     *
18755     * @param obj The genlist object
18756     * @return The height-for-width mode (@c EINA_TRUE = on, @c EINA_FALSE =
18757     * off)
18758     *
18759     * @ingroup Genlist
18760     */
18761    EAPI Eina_Bool         elm_genlist_height_for_width_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18762    /**
18763     * Enable/disable horizontal and vertical bouncing effect.
18764     *
18765     * @param obj The genlist object
18766     * @param h_bounce Allow bounce horizontally (@c EINA_TRUE = on, @c
18767     * EINA_FALSE = off). Default is @c EINA_FALSE.
18768     * @param v_bounce Allow bounce vertically (@c EINA_TRUE = on, @c
18769     * EINA_FALSE = off). Default is @c EINA_TRUE.
18770     *
18771     * This will enable or disable the scroller bouncing effect for the
18772     * genlist. See elm_scroller_bounce_set() for details.
18773     *
18774     * @see elm_scroller_bounce_set()
18775     * @see elm_genlist_bounce_get()
18776     *
18777     * @ingroup Genlist
18778     */
18779    WILL_DEPRECATE  EAPI void              elm_genlist_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
18780    /**
18781     * Get whether the horizontal and vertical bouncing effect is enabled.
18782     *
18783     * @param obj The genlist object
18784     * @param h_bounce Pointer to a bool to receive if the bounce horizontally
18785     * option is set.
18786     * @param v_bounce Pointer to a bool to receive if the bounce vertically
18787     * option is set.
18788     *
18789     * @see elm_genlist_bounce_set()
18790     *
18791     * @ingroup Genlist
18792     */
18793    WILL_DEPRECATE  EAPI void              elm_genlist_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
18794    /**
18795     * Enable/disable homogenous mode.
18796     *
18797     * @param obj The genlist object
18798     * @param homogeneous Assume the items within the genlist are of the
18799     * same height and width (EINA_TRUE = on, EINA_FALSE = off). Default is @c
18800     * EINA_FALSE.
18801     *
18802     * This will enable the homogeneous mode where items are of the same
18803     * height and width so that genlist may do the lazy-loading at its
18804     * maximum (which increases the performance for scrolling the list). This
18805     * implies 'compressed' mode.
18806     *
18807     * @see elm_genlist_compress_mode_set()
18808     * @see elm_genlist_homogeneous_get()
18809     *
18810     * @ingroup Genlist
18811     */
18812    EAPI void              elm_genlist_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous) EINA_ARG_NONNULL(1);
18813    /**
18814     * Get whether the homogenous mode is enabled.
18815     *
18816     * @param obj The genlist object
18817     * @return Assume the items within the genlist are of the same height
18818     * and width (EINA_TRUE = on, EINA_FALSE = off)
18819     *
18820     * @see elm_genlist_homogeneous_set()
18821     *
18822     * @ingroup Genlist
18823     */
18824    EAPI Eina_Bool         elm_genlist_homogeneous_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18825    /**
18826     * Set the maximum number of items within an item block
18827     *
18828     * @param obj The genlist object
18829     * @param n   Maximum number of items within an item block. Default is 32.
18830     *
18831     * This will configure the block count to tune to the target with
18832     * particular performance matrix.
18833     *
18834     * A block of objects will be used to reduce the number of operations due to
18835     * many objects in the screen. It can determine the visibility, or if the
18836     * object has changed, it theme needs to be updated, etc. doing this kind of
18837     * calculation to the entire block, instead of per object.
18838     *
18839     * The default value for the block count is enough for most lists, so unless
18840     * you know you will have a lot of objects visible in the screen at the same
18841     * time, don't try to change this.
18842     *
18843     * @see elm_genlist_block_count_get()
18844     * @see @ref Genlist_Implementation
18845     *
18846     * @ingroup Genlist
18847     */
18848    EAPI void              elm_genlist_block_count_set(Evas_Object *obj, int n) EINA_ARG_NONNULL(1);
18849    /**
18850     * Get the maximum number of items within an item block
18851     *
18852     * @param obj The genlist object
18853     * @return Maximum number of items within an item block
18854     *
18855     * @see elm_genlist_block_count_set()
18856     *
18857     * @ingroup Genlist
18858     */
18859    EAPI int               elm_genlist_block_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18860    /**
18861     * Set the timeout in seconds for the longpress event.
18862     *
18863     * @param obj The genlist object
18864     * @param timeout timeout in seconds. Default is 1.
18865     *
18866     * This option will change how long it takes to send an event "longpressed"
18867     * after the mouse down signal is sent to the list. If this event occurs, no
18868     * "clicked" event will be sent.
18869     *
18870     * @see elm_genlist_longpress_timeout_set()
18871     *
18872     * @ingroup Genlist
18873     */
18874    EAPI void              elm_genlist_longpress_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
18875    /**
18876     * Get the timeout in seconds for the longpress event.
18877     *
18878     * @param obj The genlist object
18879     * @return timeout in seconds
18880     *
18881     * @see elm_genlist_longpress_timeout_get()
18882     *
18883     * @ingroup Genlist
18884     */
18885    EAPI double            elm_genlist_longpress_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
18886    /**
18887     * Append a new item in a given genlist widget.
18888     *
18889     * @param obj The genlist object
18890     * @param itc The item class for the item
18891     * @param data The item data
18892     * @param parent The parent item, or NULL if none
18893     * @param flags Item flags
18894     * @param func Convenience function called when the item is selected
18895     * @param func_data Data passed to @p func above.
18896     * @return A handle to the item added or @c NULL if not possible
18897     *
18898     * This adds the given item to the end of the list or the end of
18899     * the children list if the @p parent is given.
18900     *
18901     * @see elm_genlist_item_prepend()
18902     * @see elm_genlist_item_insert_before()
18903     * @see elm_genlist_item_insert_after()
18904     * @see elm_genlist_item_del()
18905     *
18906     * @ingroup Genlist
18907     */
18908    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);
18909    /**
18910     * Prepend a new item in a given genlist widget.
18911     *
18912     * @param obj The genlist object
18913     * @param itc The item class for the item
18914     * @param data The item data
18915     * @param parent The parent item, or NULL if none
18916     * @param flags Item flags
18917     * @param func Convenience function called when the item is selected
18918     * @param func_data Data passed to @p func above.
18919     * @return A handle to the item added or NULL if not possible
18920     *
18921     * This adds an item to the beginning of the list or beginning of the
18922     * children of the parent if given.
18923     *
18924     * @see elm_genlist_item_append()
18925     * @see elm_genlist_item_insert_before()
18926     * @see elm_genlist_item_insert_after()
18927     * @see elm_genlist_item_del()
18928     *
18929     * @ingroup Genlist
18930     */
18931    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);
18932    /**
18933     * Insert an item before another in a genlist widget
18934     *
18935     * @param obj The genlist object
18936     * @param itc The item class for the item
18937     * @param data The item data
18938     * @param before The item to place this new one before.
18939     * @param flags Item flags
18940     * @param func Convenience function called when the item is selected
18941     * @param func_data Data passed to @p func above.
18942     * @return A handle to the item added or @c NULL if not possible
18943     *
18944     * This inserts an item before another in the list. It will be in the
18945     * same tree level or group as the item it is inserted before.
18946     *
18947     * @see elm_genlist_item_append()
18948     * @see elm_genlist_item_prepend()
18949     * @see elm_genlist_item_insert_after()
18950     * @see elm_genlist_item_del()
18951     *
18952     * @ingroup Genlist
18953     */
18954    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);
18955    /**
18956     * Insert an item after another in a genlist widget
18957     *
18958     * @param obj The genlist object
18959     * @param itc The item class for the item
18960     * @param data The item data
18961     * @param after The item to place this new one after.
18962     * @param flags Item flags
18963     * @param func Convenience function called when the item is selected
18964     * @param func_data Data passed to @p func above.
18965     * @return A handle to the item added or @c NULL if not possible
18966     *
18967     * This inserts an item after another in the list. It will be in the
18968     * same tree level or group as the item it is inserted after.
18969     *
18970     * @see elm_genlist_item_append()
18971     * @see elm_genlist_item_prepend()
18972     * @see elm_genlist_item_insert_before()
18973     * @see elm_genlist_item_del()
18974     *
18975     * @ingroup Genlist
18976     */
18977    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);
18978    /**
18979     * Insert a new item into the sorted genlist object
18980     *
18981     * @param obj The genlist object
18982     * @param itc The item class for the item
18983     * @param data The item data
18984     * @param parent The parent item, or NULL if none
18985     * @param flags Item flags
18986     * @param comp The function called for the sort
18987     * @param func Convenience function called when item selected
18988     * @param func_data Data passed to @p func above.
18989     * @return A handle to the item added or NULL if not possible
18990     *
18991     * @ingroup Genlist
18992     */
18993    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);
18994    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);
18995    /* operations to retrieve existing items */
18996    /**
18997     * Get the selectd item in the genlist.
18998     *
18999     * @param obj The genlist object
19000     * @return The selected item, or NULL if none is selected.
19001     *
19002     * This gets the selected item in the list (if multi-selection is enabled, only
19003     * the item that was first selected in the list is returned - which is not very
19004     * useful, so see elm_genlist_selected_items_get() for when multi-selection is
19005     * used).
19006     *
19007     * If no item is selected, NULL is returned.
19008     *
19009     * @see elm_genlist_selected_items_get()
19010     *
19011     * @ingroup Genlist
19012     */
19013    EAPI Elm_Genlist_Item *elm_genlist_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19014    /**
19015     * Get a list of selected items in the genlist.
19016     *
19017     * @param obj The genlist object
19018     * @return The list of selected items, or NULL if none are selected.
19019     *
19020     * It returns a list of the selected items. This list pointer is only valid so
19021     * long as the selection doesn't change (no items are selected or unselected, or
19022     * unselected implicitly by deletion). The list contains Elm_Genlist_Item
19023     * pointers. The order of the items in this list is the order which they were
19024     * selected, i.e. the first item in this list is the first item that was
19025     * selected, and so on.
19026     *
19027     * @note If not in multi-select mode, consider using function
19028     * elm_genlist_selected_item_get() instead.
19029     *
19030     * @see elm_genlist_multi_select_set()
19031     * @see elm_genlist_selected_item_get()
19032     *
19033     * @ingroup Genlist
19034     */
19035    EAPI const Eina_List  *elm_genlist_selected_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19036    /**
19037     * Get the mode item style of items in the genlist
19038     * @param obj The genlist object
19039     * @return The mode item style string, or NULL if none is specified
19040     * 
19041     * This is a constant string and simply defines the name of the
19042     * style that will be used for mode animations. It can be
19043     * @c NULL if you don't plan to use Genlist mode. See
19044     * elm_genlist_item_mode_set() for more info.
19045     * 
19046     * @ingroup Genlist
19047     */
19048    EAPI const char       *elm_genlist_mode_item_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19049    /**
19050     * Set the mode item style of items in the genlist
19051     * @param obj The genlist object
19052     * @param style The mode item style string, or NULL if none is desired
19053     * 
19054     * This is a constant string and simply defines the name of the
19055     * style that will be used for mode animations. It can be
19056     * @c NULL if you don't plan to use Genlist mode. See
19057     * elm_genlist_item_mode_set() for more info.
19058     * 
19059     * @ingroup Genlist
19060     */
19061    EAPI void              elm_genlist_mode_item_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
19062    /**
19063     * Get a list of realized items in genlist
19064     *
19065     * @param obj The genlist object
19066     * @return The list of realized items, nor NULL if none are realized.
19067     *
19068     * This returns a list of the realized items in the genlist. The list
19069     * contains Elm_Genlist_Item pointers. The list must be freed by the
19070     * caller when done with eina_list_free(). The item pointers in the
19071     * list are only valid so long as those items are not deleted or the
19072     * genlist is not deleted.
19073     *
19074     * @see elm_genlist_realized_items_update()
19075     *
19076     * @ingroup Genlist
19077     */
19078    EAPI Eina_List        *elm_genlist_realized_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19079    /**
19080     * Get the item that is at the x, y canvas coords.
19081     *
19082     * @param obj The gelinst object.
19083     * @param x The input x coordinate
19084     * @param y The input y coordinate
19085     * @param posret The position relative to the item returned here
19086     * @return The item at the coordinates or NULL if none
19087     *
19088     * This returns the item at the given coordinates (which are canvas
19089     * relative, not object-relative). If an item is at that coordinate,
19090     * that item handle is returned, and if @p posret is not NULL, the
19091     * integer pointed to is set to a value of -1, 0 or 1, depending if
19092     * the coordinate is on the upper portion of that item (-1), on the
19093     * middle section (0) or on the lower part (1). If NULL is returned as
19094     * an item (no item found there), then posret may indicate -1 or 1
19095     * based if the coordinate is above or below all items respectively in
19096     * the genlist.
19097     *
19098     * @ingroup Genlist
19099     */
19100    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);
19101    /**
19102     * Get the first item in the genlist
19103     *
19104     * This returns the first item in the list.
19105     *
19106     * @param obj The genlist object
19107     * @return The first item, or NULL if none
19108     *
19109     * @ingroup Genlist
19110     */
19111    WILL_DEPRECATE  EAPI Elm_Genlist_Item *elm_genlist_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19112    /**
19113     * Get the last item in the genlist
19114     *
19115     * This returns the last item in the list.
19116     *
19117     * @return The last item, or NULL if none
19118     *
19119     * @ingroup Genlist
19120     */
19121    WILL_DEPRECATE  EAPI Elm_Genlist_Item *elm_genlist_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19122    /**
19123     * Set the scrollbar policy
19124     *
19125     * @param obj The genlist object
19126     * @param policy_h Horizontal scrollbar policy.
19127     * @param policy_v Vertical scrollbar policy.
19128     *
19129     * This sets the scrollbar visibility policy for the given genlist
19130     * scroller. #ELM_SMART_SCROLLER_POLICY_AUTO means the scrollbar is
19131     * made visible if it is needed, and otherwise kept hidden.
19132     * #ELM_SMART_SCROLLER_POLICY_ON turns it on all the time, and
19133     * #ELM_SMART_SCROLLER_POLICY_OFF always keeps it off. This applies
19134     * respectively for the horizontal and vertical scrollbars. Default is
19135     * #ELM_SMART_SCROLLER_POLICY_AUTO
19136     *
19137     * @see elm_genlist_scroller_policy_get()
19138     *
19139     * @ingroup Genlist
19140     */
19141    EAPI void              elm_genlist_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
19142    /**
19143     * Get the scrollbar policy
19144     *
19145     * @param obj The genlist object
19146     * @param policy_h Pointer to store the horizontal scrollbar policy.
19147     * @param policy_v Pointer to store the vertical scrollbar policy.
19148     *
19149     * @see elm_genlist_scroller_policy_set()
19150     *
19151     * @ingroup Genlist
19152     */
19153    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);
19154    /**
19155     * Get the @b next item in a genlist widget's internal list of items,
19156     * given a handle to one of those items.
19157     *
19158     * @param item The genlist item to fetch next from
19159     * @return The item after @p item, or @c NULL if there's none (and
19160     * on errors)
19161     *
19162     * This returns the item placed after the @p item, on the container
19163     * genlist.
19164     *
19165     * @see elm_genlist_item_prev_get()
19166     *
19167     * @ingroup Genlist
19168     */
19169    WILL_DEPRECATE  EAPI Elm_Genlist_Item  *elm_genlist_item_next_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19170    /**
19171     * Get the @b previous item in a genlist widget's internal list of items,
19172     * given a handle to one of those items.
19173     *
19174     * @param item The genlist item to fetch previous from
19175     * @return The item before @p item, or @c NULL if there's none (and
19176     * on errors)
19177     *
19178     * This returns the item placed before the @p item, on the container
19179     * genlist.
19180     *
19181     * @see elm_genlist_item_next_get()
19182     *
19183     * @ingroup Genlist
19184     */
19185    WILL_DEPRECATE  EAPI Elm_Genlist_Item  *elm_genlist_item_prev_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19186    /**
19187     * Get the genlist object's handle which contains a given genlist
19188     * item
19189     *
19190     * @param item The item to fetch the container from
19191     * @return The genlist (parent) object
19192     *
19193     * This returns the genlist object itself that an item belongs to.
19194     *
19195     * This function is deprecated. Please use elm_gen_item_widget_get()
19196     * 
19197     * @ingroup Genlist
19198     */
19199    WILL_DEPRECATE  EAPI Evas_Object       *elm_genlist_item_genlist_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19200    /**
19201     * Get the parent item of the given item
19202     *
19203     * @param it The item
19204     * @return The parent of the item or @c NULL if it has no parent.
19205     *
19206     * This returns the item that was specified as parent of the item @p it on
19207     * elm_genlist_item_append() and insertion related functions.
19208     *
19209     * @ingroup Genlist
19210     */
19211    EAPI Elm_Genlist_Item  *elm_genlist_item_parent_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19212    /**
19213     * Remove all sub-items (children) of the given item
19214     *
19215     * @param it The item
19216     *
19217     * This removes all items that are children (and their descendants) of the
19218     * given item @p it.
19219     *
19220     * @see elm_genlist_clear()
19221     * @see elm_genlist_item_del()
19222     *
19223     * @ingroup Genlist
19224     */
19225    EAPI void               elm_genlist_item_subitems_clear(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19226    /**
19227     * Set whether a given genlist item is selected or not
19228     *
19229     * @param it The item
19230     * @param selected Use @c EINA_TRUE, to make it selected, @c
19231     * EINA_FALSE to make it unselected
19232     *
19233     * This sets the selected state of an item. If multi selection is
19234     * not enabled on the containing genlist and @p selected is @c
19235     * EINA_TRUE, any other previously selected items will get
19236     * unselected in favor of this new one.
19237     *
19238     * @see elm_genlist_item_selected_get()
19239     *
19240     * @ingroup Genlist
19241     */
19242    WILL_DEPRECATE  EAPI void elm_genlist_item_selected_set(Elm_Genlist_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
19243    /**
19244     * Get whether a given genlist item is selected or not
19245     *
19246     * @param it The item
19247     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
19248     *
19249     * @see elm_genlist_item_selected_set() for more details
19250     *
19251     * @ingroup Genlist
19252     */
19253    WILL_DEPRECATE  EAPI Eina_Bool elm_genlist_item_selected_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19254    /**
19255     * Sets the expanded state of an item.
19256     *
19257     * @param it The item
19258     * @param expanded The expanded state (@c EINA_TRUE expanded, @c EINA_FALSE not expanded).
19259     *
19260     * This function flags the item of type #ELM_GENLIST_ITEM_SUBITEMS as
19261     * expanded or not.
19262     *
19263     * The theme will respond to this change visually, and a signal "expanded" or
19264     * "contracted" will be sent from the genlist with a pointer to the item that
19265     * has been expanded/contracted.
19266     *
19267     * Calling this function won't show or hide any child of this item (if it is
19268     * a parent). You must manually delete and create them on the callbacks fo
19269     * the "expanded" or "contracted" signals.
19270     *
19271     * @see elm_genlist_item_expanded_get()
19272     *
19273     * @ingroup Genlist
19274     */
19275    EAPI void               elm_genlist_item_expanded_set(Elm_Genlist_Item *item, Eina_Bool expanded) EINA_ARG_NONNULL(1);
19276    /**
19277     * Get the expanded state of an item
19278     *
19279     * @param it The item
19280     * @return The expanded state
19281     *
19282     * This gets the expanded state of an item.
19283     *
19284     * @see elm_genlist_item_expanded_set()
19285     *
19286     * @ingroup Genlist
19287     */
19288    EAPI Eina_Bool          elm_genlist_item_expanded_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19289    /**
19290     * Get the depth of expanded item
19291     *
19292     * @param it The genlist item object
19293     * @return The depth of expanded item
19294     *
19295     * @ingroup Genlist
19296     */
19297    EAPI int                elm_genlist_item_expanded_depth_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19298    /**
19299     * Set whether a given genlist item is disabled or not.
19300     *
19301     * @param it The item
19302     * @param disabled Use @c EINA_TRUE, true disable it, @c EINA_FALSE
19303     * to enable it back.
19304     *
19305     * A disabled item cannot be selected or unselected. It will also
19306     * change its appearance, to signal the user it's disabled.
19307     *
19308     * @see elm_genlist_item_disabled_get()
19309     *
19310     * @ingroup Genlist
19311     */
19312    EAPI void               elm_genlist_item_disabled_set(Elm_Genlist_Item *item, Eina_Bool disabled) EINA_ARG_NONNULL(1);
19313    /**
19314     * Get whether a given genlist item is disabled or not.
19315     *
19316     * @param it The item
19317     * @return @c EINA_TRUE, if it's disabled, @c EINA_FALSE otherwise
19318     * (and on errors).
19319     *
19320     * @see elm_genlist_item_disabled_set() for more details
19321     *
19322     * @ingroup Genlist
19323     */
19324    EAPI Eina_Bool          elm_genlist_item_disabled_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19325    /**
19326     * Sets the display only state of an item.
19327     *
19328     * @param it The item
19329     * @param display_only @c EINA_TRUE if the item is display only, @c
19330     * EINA_FALSE otherwise.
19331     *
19332     * A display only item cannot be selected or unselected. It is for
19333     * display only and not selecting or otherwise clicking, dragging
19334     * etc. by the user, thus finger size rules will not be applied to
19335     * this item.
19336     *
19337     * It's good to set group index items to display only state.
19338     *
19339     * @see elm_genlist_item_display_only_get()
19340     *
19341     * @ingroup Genlist
19342     */
19343    EAPI void               elm_genlist_item_display_only_set(Elm_Genlist_Item *it, Eina_Bool display_only) EINA_ARG_NONNULL(1);
19344    /**
19345     * Get the display only state of an item
19346     *
19347     * @param it The item
19348     * @return @c EINA_TRUE if the item is display only, @c
19349     * EINA_FALSE otherwise.
19350     *
19351     * @see elm_genlist_item_display_only_set()
19352     *
19353     * @ingroup Genlist
19354     */
19355    EAPI Eina_Bool          elm_genlist_item_display_only_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19356    /**
19357     * Show the portion of a genlist's internal list containing a given
19358     * item, immediately.
19359     *
19360     * @param it The item to display
19361     *
19362     * This causes genlist to jump to the given item @p it and show it (by
19363     * immediately scrolling to that position), if it is not fully visible.
19364     *
19365     * @see elm_genlist_item_bring_in()
19366     * @see elm_genlist_item_top_show()
19367     * @see elm_genlist_item_middle_show()
19368     *
19369     * @ingroup Genlist
19370     */
19371    EAPI void               elm_genlist_item_show(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19372    /**
19373     * Animatedly bring in, to the visible are of a genlist, a given
19374     * item on it.
19375     *
19376     * @param it The item to display
19377     *
19378     * This causes genlist to jump to the given item @p it and show it (by
19379     * animatedly scrolling), if it is not fully visible. This may use animation
19380     * to do so and take a period of time
19381     *
19382     * @see elm_genlist_item_show()
19383     * @see elm_genlist_item_top_bring_in()
19384     * @see elm_genlist_item_middle_bring_in()
19385     *
19386     * @ingroup Genlist
19387     */
19388    EAPI void               elm_genlist_item_bring_in(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19389    /**
19390     * Show the portion of a genlist's internal list containing a given
19391     * item, immediately.
19392     *
19393     * @param it The item to display
19394     *
19395     * This causes genlist to jump to the given item @p it and show it (by
19396     * immediately scrolling to that position), if it is not fully visible.
19397     *
19398     * The item will be positioned at the top of the genlist viewport.
19399     *
19400     * @see elm_genlist_item_show()
19401     * @see elm_genlist_item_top_bring_in()
19402     *
19403     * @ingroup Genlist
19404     */
19405    EAPI void               elm_genlist_item_top_show(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19406    /**
19407     * Animatedly bring in, to the visible are of a genlist, a given
19408     * item on it.
19409     *
19410     * @param it The item
19411     *
19412     * This causes genlist to jump to the given item @p it and show it (by
19413     * animatedly scrolling), if it is not fully visible. This may use animation
19414     * to do so and take a period of time
19415     *
19416     * The item will be positioned at the top of the genlist viewport.
19417     *
19418     * @see elm_genlist_item_bring_in()
19419     * @see elm_genlist_item_top_show()
19420     *
19421     * @ingroup Genlist
19422     */
19423    EAPI void               elm_genlist_item_top_bring_in(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19424    /**
19425     * Show the portion of a genlist's internal list containing a given
19426     * item, immediately.
19427     *
19428     * @param it The item to display
19429     *
19430     * This causes genlist to jump to the given item @p it and show it (by
19431     * immediately scrolling to that position), if it is not fully visible.
19432     *
19433     * The item will be positioned at the middle of the genlist viewport.
19434     *
19435     * @see elm_genlist_item_show()
19436     * @see elm_genlist_item_middle_bring_in()
19437     *
19438     * @ingroup Genlist
19439     */
19440    EAPI void               elm_genlist_item_middle_show(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19441    /**
19442     * Animatedly bring in, to the visible are of a genlist, a given
19443     * item on it.
19444     *
19445     * @param it The item
19446     *
19447     * This causes genlist to jump to the given item @p it and show it (by
19448     * animatedly scrolling), if it is not fully visible. This may use animation
19449     * to do so and take a period of time
19450     *
19451     * The item will be positioned at the middle of the genlist viewport.
19452     *
19453     * @see elm_genlist_item_bring_in()
19454     * @see elm_genlist_item_middle_show()
19455     *
19456     * @ingroup Genlist
19457     */
19458    EAPI void               elm_genlist_item_middle_bring_in(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19459    /**
19460     * Remove a genlist item from the its parent, deleting it.
19461     *
19462     * @param item The item to be removed.
19463     * @return @c EINA_TRUE on success or @c EINA_FALSE, otherwise.
19464     *
19465     * @see elm_genlist_clear(), to remove all items in a genlist at
19466     * once.
19467     *
19468     * @ingroup Genlist
19469     */
19470    EAPI void               elm_genlist_item_del(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19471    /**
19472     * Return the data associated to a given genlist item
19473     *
19474     * @param item The genlist item.
19475     * @return the data associated to this item.
19476     *
19477     * This returns the @c data value passed on the
19478     * elm_genlist_item_append() and related item addition calls.
19479     *
19480     * @see elm_genlist_item_append()
19481     * @see elm_genlist_item_data_set()
19482     *
19483     * @ingroup Genlist
19484     */
19485    EAPI void              *elm_genlist_item_data_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19486    /**
19487     * Set the data associated to a given genlist item
19488     *
19489     * @param item The genlist item
19490     * @param data The new data pointer to set on it
19491     *
19492     * This @b overrides the @c data value passed on the
19493     * elm_genlist_item_append() and related item addition calls. This
19494     * function @b won't call elm_genlist_item_update() automatically,
19495     * so you'd issue it afterwards if you want to hove the item
19496     * updated to reflect the that new data.
19497     *
19498     * @see elm_genlist_item_data_get()
19499     *
19500     * @ingroup Genlist
19501     */
19502    EAPI void               elm_genlist_item_data_set(Elm_Genlist_Item *it, const void *data) EINA_ARG_NONNULL(1);
19503    /**
19504     * Tells genlist to "orphan" icons fetchs by the item class
19505     *
19506     * @param it The item
19507     *
19508     * This instructs genlist to release references to icons in the item,
19509     * meaning that they will no longer be managed by genlist and are
19510     * floating "orphans" that can be re-used elsewhere if the user wants
19511     * to.
19512     *
19513     * @ingroup Genlist
19514     */
19515    EAPI void               elm_genlist_item_contents_orphan(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19516    WILL_DEPRECATE  EAPI void               elm_genlist_item_icons_orphan(Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19517    /**
19518     * Get the real Evas object created to implement the view of a
19519     * given genlist item
19520     *
19521     * @param item The genlist item.
19522     * @return the Evas object implementing this item's view.
19523     *
19524     * This returns the actual Evas object used to implement the
19525     * specified genlist item's view. This may be @c NULL, as it may
19526     * not have been created or may have been deleted, at any time, by
19527     * the genlist. <b>Do not modify this object</b> (move, resize,
19528     * show, hide, etc.), as the genlist is controlling it. This
19529     * function is for querying, emitting custom signals or hooking
19530     * lower level callbacks for events on that object. Do not delete
19531     * this object under any circumstances.
19532     *
19533     * @see elm_genlist_item_data_get()
19534     *
19535     * @ingroup Genlist
19536     */
19537    EAPI const Evas_Object *elm_genlist_item_object_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19538    /**
19539     * Update the contents of an item
19540     *
19541     * @param it The item
19542     *
19543     * This updates an item by calling all the item class functions again
19544     * to get the icons, labels and states. Use this when the original
19545     * item data has changed and the changes are desired to be reflected.
19546     *
19547     * Use elm_genlist_realized_items_update() to update all already realized
19548     * items.
19549     *
19550     * @see elm_genlist_realized_items_update()
19551     *
19552     * @ingroup Genlist
19553     */
19554    EAPI void               elm_genlist_item_update(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19555    EAPI void               elm_genlist_item_fields_update(Elm_Genlist_Item *it, const char *parts, Elm_Genlist_Item_Field_Flags itf) EINA_ARG_NONNULL(1);
19556    /**
19557     * Update the item class of an item
19558     *
19559     * @param it The item
19560     * @param itc The item class for the item
19561     *
19562     * This sets another class fo the item, changing the way that it is
19563     * displayed. After changing the item class, elm_genlist_item_update() is
19564     * called on the item @p it.
19565     *
19566     * @ingroup Genlist
19567     */
19568    EAPI void               elm_genlist_item_item_class_update(Elm_Genlist_Item *it, const Elm_Genlist_Item_Class *itc) EINA_ARG_NONNULL(1, 2);
19569    EAPI const Elm_Genlist_Item_Class *elm_genlist_item_item_class_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19570    /**
19571     * Set the text to be shown in a given genlist item's tooltips.
19572     *
19573     * @param item The genlist item
19574     * @param text The text to set in the content
19575     *
19576     * This call will setup the text to be used as tooltip to that item
19577     * (analogous to elm_object_tooltip_text_set(), but being item
19578     * tooltips with higher precedence than object tooltips). It can
19579     * have only one tooltip at a time, so any previous tooltip data
19580     * will get removed.
19581     *
19582     * In order to set an icon or something else as a tooltip, look at
19583     * elm_genlist_item_tooltip_content_cb_set().
19584     *
19585     * @ingroup Genlist
19586     */
19587    EAPI void               elm_genlist_item_tooltip_text_set(Elm_Genlist_Item *item, const char *text) EINA_ARG_NONNULL(1);
19588    /**
19589     * Set the content to be shown in a given genlist item's tooltips
19590     *
19591     * @param item The genlist item.
19592     * @param func The function returning the tooltip contents.
19593     * @param data What to provide to @a func as callback data/context.
19594     * @param del_cb Called when data is not needed anymore, either when
19595     *        another callback replaces @p func, the tooltip is unset with
19596     *        elm_genlist_item_tooltip_unset() or the owner @p item
19597     *        dies. This callback receives as its first parameter the
19598     *        given @p data, being @c event_info the item handle.
19599     *
19600     * This call will setup the tooltip's contents to @p item
19601     * (analogous to elm_object_tooltip_content_cb_set(), but being
19602     * item tooltips with higher precedence than object tooltips). It
19603     * can have only one tooltip at a time, so any previous tooltip
19604     * content will get removed. @p func (with @p data) will be called
19605     * every time Elementary needs to show the tooltip and it should
19606     * return a valid Evas object, which will be fully managed by the
19607     * tooltip system, getting deleted when the tooltip is gone.
19608     *
19609     * In order to set just a text as a tooltip, look at
19610     * elm_genlist_item_tooltip_text_set().
19611     *
19612     * @ingroup Genlist
19613     */
19614    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);
19615    /**
19616     * Unset a tooltip from a given genlist item
19617     *
19618     * @param item genlist item to remove a previously set tooltip from.
19619     *
19620     * This call removes any tooltip set on @p item. The callback
19621     * provided as @c del_cb to
19622     * elm_genlist_item_tooltip_content_cb_set() will be called to
19623     * notify it is not used anymore (and have resources cleaned, if
19624     * need be).
19625     *
19626     * @see elm_genlist_item_tooltip_content_cb_set()
19627     *
19628     * @ingroup Genlist
19629     */
19630    EAPI void               elm_genlist_item_tooltip_unset(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19631    /**
19632     * Set a different @b style for a given genlist item's tooltip.
19633     *
19634     * @param item genlist item with tooltip set
19635     * @param style the <b>theme style</b> to use on tooltips (e.g. @c
19636     * "default", @c "transparent", etc)
19637     *
19638     * Tooltips can have <b>alternate styles</b> to be displayed on,
19639     * which are defined by the theme set on Elementary. This function
19640     * works analogously as elm_object_tooltip_style_set(), but here
19641     * applied only to genlist item objects. The default style for
19642     * tooltips is @c "default".
19643     *
19644     * @note before you set a style you should define a tooltip with
19645     *       elm_genlist_item_tooltip_content_cb_set() or
19646     *       elm_genlist_item_tooltip_text_set()
19647     *
19648     * @see elm_genlist_item_tooltip_style_get()
19649     *
19650     * @ingroup Genlist
19651     */
19652    EAPI void               elm_genlist_item_tooltip_style_set(Elm_Genlist_Item *item, const char *style) EINA_ARG_NONNULL(1);
19653    /**
19654     * Get the style set a given genlist item's tooltip.
19655     *
19656     * @param item genlist item with tooltip already set on.
19657     * @return style the theme style in use, which defaults to
19658     *         "default". If the object does not have a tooltip set,
19659     *         then @c NULL is returned.
19660     *
19661     * @see elm_genlist_item_tooltip_style_set() for more details
19662     *
19663     * @ingroup Genlist
19664     */
19665    EAPI const char        *elm_genlist_item_tooltip_style_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19666    /**
19667     * @brief Disable size restrictions on an object's tooltip
19668     * @param item The tooltip's anchor object
19669     * @param disable If EINA_TRUE, size restrictions are disabled
19670     * @return EINA_FALSE on failure, EINA_TRUE on success
19671     *
19672     * This function allows a tooltip to expand beyond its parant window's canvas.
19673     * It will instead be limited only by the size of the display.
19674     */
19675    EAPI Eina_Bool          elm_genlist_item_tooltip_size_restrict_disable(Elm_Genlist_Item *item, Eina_Bool disable);
19676    /**
19677     * @brief Retrieve size restriction state of an object's tooltip
19678     * @param item The tooltip's anchor object
19679     * @return If EINA_TRUE, size restrictions are disabled
19680     *
19681     * This function returns whether a tooltip is allowed to expand beyond
19682     * its parant window's canvas.
19683     * It will instead be limited only by the size of the display.
19684     */
19685    EAPI Eina_Bool          elm_genlist_item_tooltip_size_restrict_disabled_get(const Elm_Genlist_Item *item);
19686    /**
19687     * Set the type of mouse pointer/cursor decoration to be shown,
19688     * when the mouse pointer is over the given genlist widget item
19689     *
19690     * @param item genlist item to customize cursor on
19691     * @param cursor the cursor type's name
19692     *
19693     * This function works analogously as elm_object_cursor_set(), but
19694     * here the cursor's changing area is restricted to the item's
19695     * area, and not the whole widget's. Note that that item cursors
19696     * have precedence over widget cursors, so that a mouse over @p
19697     * item will always show cursor @p type.
19698     *
19699     * If this function is called twice for an object, a previously set
19700     * cursor will be unset on the second call.
19701     *
19702     * @see elm_object_cursor_set()
19703     * @see elm_genlist_item_cursor_get()
19704     * @see elm_genlist_item_cursor_unset()
19705     *
19706     * @ingroup Genlist
19707     */
19708    EAPI void               elm_genlist_item_cursor_set(Elm_Genlist_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
19709    /**
19710     * Get the type of mouse pointer/cursor decoration set to be shown,
19711     * when the mouse pointer is over the given genlist widget item
19712     *
19713     * @param item genlist item with custom cursor set
19714     * @return the cursor type's name or @c NULL, if no custom cursors
19715     * were set to @p item (and on errors)
19716     *
19717     * @see elm_object_cursor_get()
19718     * @see elm_genlist_item_cursor_set() for more details
19719     * @see elm_genlist_item_cursor_unset()
19720     *
19721     * @ingroup Genlist
19722     */
19723    EAPI const char        *elm_genlist_item_cursor_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19724    /**
19725     * Unset any custom mouse pointer/cursor decoration set to be
19726     * shown, when the mouse pointer is over the given genlist widget
19727     * item, thus making it show the @b default cursor again.
19728     *
19729     * @param item a genlist item
19730     *
19731     * Use this call to undo any custom settings on this item's cursor
19732     * decoration, bringing it back to defaults (no custom style set).
19733     *
19734     * @see elm_object_cursor_unset()
19735     * @see elm_genlist_item_cursor_set() for more details
19736     *
19737     * @ingroup Genlist
19738     */
19739    EAPI void               elm_genlist_item_cursor_unset(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19740    /**
19741     * Set a different @b style for a given custom cursor set for a
19742     * genlist item.
19743     *
19744     * @param item genlist item with custom cursor set
19745     * @param style the <b>theme style</b> to use (e.g. @c "default",
19746     * @c "transparent", etc)
19747     *
19748     * This function only makes sense when one is using custom mouse
19749     * cursor decorations <b>defined in a theme file</b> , which can
19750     * have, given a cursor name/type, <b>alternate styles</b> on
19751     * it. It works analogously as elm_object_cursor_style_set(), but
19752     * here applied only to genlist item objects.
19753     *
19754     * @warning Before you set a cursor style you should have defined a
19755     *       custom cursor previously on the item, with
19756     *       elm_genlist_item_cursor_set()
19757     *
19758     * @see elm_genlist_item_cursor_engine_only_set()
19759     * @see elm_genlist_item_cursor_style_get()
19760     *
19761     * @ingroup Genlist
19762     */
19763    EAPI void               elm_genlist_item_cursor_style_set(Elm_Genlist_Item *item, const char *style) EINA_ARG_NONNULL(1);
19764    /**
19765     * Get the current @b style set for a given genlist item's custom
19766     * cursor
19767     *
19768     * @param item genlist item with custom cursor set.
19769     * @return style the cursor style in use. If the object does not
19770     *         have a cursor set, then @c NULL is returned.
19771     *
19772     * @see elm_genlist_item_cursor_style_set() for more details
19773     *
19774     * @ingroup Genlist
19775     */
19776    EAPI const char        *elm_genlist_item_cursor_style_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19777    /**
19778     * Set if the (custom) cursor for a given genlist item should be
19779     * searched in its theme, also, or should only rely on the
19780     * rendering engine.
19781     *
19782     * @param item item with custom (custom) cursor already set on
19783     * @param engine_only Use @c EINA_TRUE to have cursors looked for
19784     * only on those provided by the rendering engine, @c EINA_FALSE to
19785     * have them searched on the widget's theme, as well.
19786     *
19787     * @note This call is of use only if you've set a custom cursor
19788     * for genlist items, with elm_genlist_item_cursor_set().
19789     *
19790     * @note By default, cursors will only be looked for between those
19791     * provided by the rendering engine.
19792     *
19793     * @ingroup Genlist
19794     */
19795    EAPI void               elm_genlist_item_cursor_engine_only_set(Elm_Genlist_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
19796    /**
19797     * Get if the (custom) cursor for a given genlist item is being
19798     * searched in its theme, also, or is only relying on the rendering
19799     * engine.
19800     *
19801     * @param item a genlist item
19802     * @return @c EINA_TRUE, if cursors are being looked for only on
19803     * those provided by the rendering engine, @c EINA_FALSE if they
19804     * are being searched on the widget's theme, as well.
19805     *
19806     * @see elm_genlist_item_cursor_engine_only_set(), for more details
19807     *
19808     * @ingroup Genlist
19809     */
19810    EAPI Eina_Bool          elm_genlist_item_cursor_engine_only_get(const Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19811    /**
19812     * Update the contents of all realized items.
19813     *
19814     * @param obj The genlist object.
19815     *
19816     * This updates all realized items by calling all the item class functions again
19817     * to get the icons, labels and states. Use this when the original
19818     * item data has changed and the changes are desired to be reflected.
19819     *
19820     * To update just one item, use elm_genlist_item_update().
19821     *
19822     * @see elm_genlist_realized_items_get()
19823     * @see elm_genlist_item_update()
19824     *
19825     * @ingroup Genlist
19826     */
19827    EAPI void               elm_genlist_realized_items_update(Evas_Object *obj) EINA_ARG_NONNULL(1);
19828    /**
19829     * Activate a genlist mode on an item
19830     *
19831     * @param item The genlist item
19832     * @param mode Mode name
19833     * @param mode_set Boolean to define set or unset mode.
19834     *
19835     * A genlist mode is a different way of selecting an item. Once a mode is
19836     * activated on an item, any other selected item is immediately unselected.
19837     * This feature provides an easy way of implementing a new kind of animation
19838     * for selecting an item, without having to entirely rewrite the item style
19839     * theme. However, the elm_genlist_selected_* API can't be used to get what
19840     * item is activate for a mode.
19841     *
19842     * The current item style will still be used, but applying a genlist mode to
19843     * an item will select it using a different kind of animation.
19844     *
19845     * The current active item for a mode can be found by
19846     * elm_genlist_mode_item_get().
19847     *
19848     * The characteristics of genlist mode are:
19849     * - Only one mode can be active at any time, and for only one item.
19850     * - Genlist handles deactivating other items when one item is activated.
19851     * - A mode is defined in the genlist theme (edc), and more modes can easily
19852     *   be added.
19853     * - A mode style and the genlist item style are different things. They
19854     *   can be combined to provide a default style to the item, with some kind
19855     *   of animation for that item when the mode is activated.
19856     *
19857     * When a mode is activated on an item, a new view for that item is created.
19858     * The theme of this mode defines the animation that will be used to transit
19859     * the item from the old view to the new view. This second (new) view will be
19860     * active for that item while the mode is active on the item, and will be
19861     * destroyed after the mode is totally deactivated from that item.
19862     *
19863     * @see elm_genlist_mode_get()
19864     * @see elm_genlist_mode_item_get()
19865     *
19866     * @ingroup Genlist
19867     */
19868    EAPI void               elm_genlist_item_mode_set(Elm_Genlist_Item *it, const char *mode_type, Eina_Bool mode_set) EINA_ARG_NONNULL(1, 2);
19869    /**
19870     * Get the last (or current) genlist mode used.
19871     *
19872     * @param obj The genlist object
19873     *
19874     * This function just returns the name of the last used genlist mode. It will
19875     * be the current mode if it's still active.
19876     *
19877     * @see elm_genlist_item_mode_set()
19878     * @see elm_genlist_mode_item_get()
19879     *
19880     * @ingroup Genlist
19881     */
19882    EAPI const char        *elm_genlist_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19883    /**
19884     * Get active genlist mode item
19885     *
19886     * @param obj The genlist object
19887     * @return The active item for that current mode. Or @c NULL if no item is
19888     * activated with any mode.
19889     *
19890     * This function returns the item that was activated with a mode, by the
19891     * function elm_genlist_item_mode_set().
19892     *
19893     * @see elm_genlist_item_mode_set()
19894     * @see elm_genlist_mode_get()
19895     *
19896     * @ingroup Genlist
19897     */
19898    EAPI const Elm_Genlist_Item *elm_genlist_mode_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19899
19900    /**
19901     * Set reorder mode
19902     *
19903     * @param obj The genlist object
19904     * @param reorder_mode The reorder mode
19905     * (EINA_TRUE = on, EINA_FALSE = off)
19906     *
19907     * @ingroup Genlist
19908     */
19909    EAPI void               elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) EINA_ARG_NONNULL(1);
19910
19911    /**
19912     * Get the reorder mode
19913     *
19914     * @param obj The genlist object
19915     * @return The reorder mode
19916     * (EINA_TRUE = on, EINA_FALSE = off)
19917     *
19918     * @ingroup Genlist
19919     */
19920    EAPI Eina_Bool          elm_genlist_reorder_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19921
19922    EAPI void               elm_genlist_edit_mode_set(Evas_Object *obj, Eina_Bool edit_mode) EINA_ARG_NONNULL(1);
19923    EAPI Eina_Bool          elm_genlist_edit_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19924    EAPI void               elm_genlist_item_rename_mode_set(Elm_Genlist_Item *it, Eina_Bool renamed) EINA_ARG_NONNULL(1);
19925    EAPI Eina_Bool          elm_genlist_item_rename_mode_get(Elm_Genlist_Item *item) EINA_ARG_NONNULL(1);
19926    EAPI void               elm_genlist_item_move_after(Elm_Genlist_Item *it, Elm_Genlist_Item *after ) EINA_ARG_NONNULL(1, 2);
19927    EAPI void               elm_genlist_item_move_before(Elm_Genlist_Item *it, Elm_Genlist_Item *before) EINA_ARG_NONNULL(1, 2);
19928    EAPI void               elm_genlist_effect_set(const Evas_Object *obj, Eina_Bool emode) EINA_ARG_NONNULL(1);
19929    EAPI void               elm_genlist_pinch_zoom_set(Evas_Object *obj, Eina_Bool emode) EINA_ARG_NONNULL(1);
19930    EAPI void               elm_genlist_pinch_zoom_mode_set(Evas_Object *obj, Eina_Bool emode) EINA_ARG_NONNULL(1);
19931    EAPI Eina_Bool          elm_genlist_pinch_zoom_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
19932
19933    EAPI void               elm_genlist_item_no_select_mode_set(Elm_Genlist_Item *it, Eina_Bool no_select) EINA_ARG_NONNULL(1);
19934    EAPI Eina_Bool          elm_genlist_item_no_select_mode_get(const Elm_Genlist_Item *it) EINA_ARG_NONNULL(1);
19935
19936    /**
19937     * @}
19938     */
19939
19940    /**
19941     * @defgroup Check Check
19942     *
19943     * @image html img/widget/check/preview-00.png
19944     * @image latex img/widget/check/preview-00.eps
19945     * @image html img/widget/check/preview-01.png
19946     * @image latex img/widget/check/preview-01.eps
19947     * @image html img/widget/check/preview-02.png
19948     * @image latex img/widget/check/preview-02.eps
19949     *
19950     * @brief The check widget allows for toggling a value between true and
19951     * false.
19952     *
19953     * Check objects are a lot like radio objects in layout and functionality
19954     * except they do not work as a group, but independently and only toggle the
19955     * value of a boolean from false to true (0 or 1). elm_check_state_set() sets
19956     * the boolean state (1 for true, 0 for false), and elm_check_state_get()
19957     * returns the current state. For convenience, like the radio objects, you
19958     * can set a pointer to a boolean directly with elm_check_state_pointer_set()
19959     * for it to modify.
19960     *
19961     * Signals that you can add callbacks for are:
19962     * "changed" - This is called whenever the user changes the state of one of
19963     *             the check object(event_info is NULL).
19964     *
19965     * Default contents parts of the check widget that you can use for are:
19966     * @li "icon" - A icon of the check
19967     *
19968     * Default text parts of the check widget that you can use for are:
19969     * @li "elm.text" - Label of the check
19970     *
19971     * @ref tutorial_check should give you a firm grasp of how to use this widget
19972     * .
19973     * @{
19974     */
19975    /**
19976     * @brief Add a new Check object
19977     *
19978     * @param parent The parent object
19979     * @return The new object or NULL if it cannot be created
19980     */
19981    EAPI Evas_Object *elm_check_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
19982    /**
19983     * @brief Set the text label of the check object
19984     *
19985     * @param obj The check object
19986     * @param label The text label string in UTF-8
19987     *
19988     * @deprecated use elm_object_text_set() instead.
19989     */
19990    EINA_DEPRECATED EAPI void         elm_check_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
19991    /**
19992     * @brief Get the text label of the check object
19993     *
19994     * @param obj The check object
19995     * @return The text label string in UTF-8
19996     *
19997     * @deprecated use elm_object_text_get() instead.
19998     */
19999    EINA_DEPRECATED EAPI const char  *elm_check_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20000    /**
20001     * @brief Set the icon object of the check object
20002     *
20003     * @param obj The check object
20004     * @param icon The icon object
20005     *
20006     * Once the icon object is set, a previously set one will be deleted.
20007     * If you want to keep that old content object, use the
20008     * elm_object_content_unset() function.
20009     *
20010     * @deprecated use elm_object_part_content_set() instead.
20011     *
20012     */
20013    EINA_DEPRECATED EAPI void         elm_check_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
20014    /**
20015     * @brief Get the icon object of the check object
20016     *
20017     * @param obj The check object
20018     * @return The icon object
20019     *
20020     * @deprecated use elm_object_part_content_get() instead.
20021     *  
20022     */
20023    EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20024    /**
20025     * @brief Unset the icon used for the check object
20026     *
20027     * @param obj The check object
20028     * @return The icon object that was being used
20029     *
20030     * Unparent and return the icon object which was set for this widget.
20031     *
20032     * @deprecated use elm_object_part_content_unset() instead.
20033     *
20034     */
20035    EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
20036    /**
20037     * @brief Set the on/off state of the check object
20038     *
20039     * @param obj The check object
20040     * @param state The state to use (1 == on, 0 == off)
20041     *
20042     * This sets the state of the check. If set
20043     * with elm_check_state_pointer_set() the state of that variable is also
20044     * changed. Calling this @b doesn't cause the "changed" signal to be emited.
20045     */
20046    EAPI void         elm_check_state_set(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
20047    /**
20048     * @brief Get the state of the check object
20049     *
20050     * @param obj The check object
20051     * @return The boolean state
20052     */
20053    EAPI Eina_Bool    elm_check_state_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20054    /**
20055     * @brief Set a convenience pointer to a boolean to change
20056     *
20057     * @param obj The check object
20058     * @param statep Pointer to the boolean to modify
20059     *
20060     * This sets a pointer to a boolean, that, in addition to the check objects
20061     * state will also be modified directly. To stop setting the object pointed
20062     * to simply use NULL as the @p statep parameter. If @p statep is not NULL,
20063     * then when this is called, the check objects state will also be modified to
20064     * reflect the value of the boolean @p statep points to, just like calling
20065     * elm_check_state_set().
20066     */
20067    EAPI void         elm_check_state_pointer_set(Evas_Object *obj, Eina_Bool *statep) EINA_ARG_NONNULL(1);
20068    /**
20069     * @}
20070     */
20071
20072    /* compatibility code for toggle controls */
20073
20074    EINA_DEPRECATED EAPI extern inline Evas_Object *elm_toggle_add(Evas_Object *parent) EINA_ARG_NONNULL(1)
20075      {
20076         Evas_Object *obj;
20077
20078         obj = elm_check_add(parent);
20079         elm_object_style_set(obj, "toggle");
20080         elm_object_part_text_set(obj, "on", "ON");
20081         elm_object_part_text_set(obj, "off", "OFF");
20082         return obj;
20083      }
20084
20085    EINA_DEPRECATED EAPI extern inline void elm_toggle_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1)
20086      {
20087         elm_object_text_set(obj, label);
20088      }
20089
20090    EINA_DEPRECATED EAPI extern inline const char  *elm_toggle_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1)
20091      {
20092         return elm_object_text_get(obj);
20093      }
20094
20095    EINA_DEPRECATED EAPI extern inline void elm_toggle_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1)
20096      {
20097         elm_object_content_set(obj, icon);
20098      }
20099
20100    EINA_DEPRECATED EAPI extern inline Evas_Object *elm_toggle_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1)
20101      {
20102         return elm_object_content_get(obj);
20103      }
20104
20105    EINA_DEPRECATED EAPI extern inline Evas_Object *elm_toggle_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1)
20106      {
20107         return elm_object_content_unset(obj);
20108      }
20109
20110    EINA_DEPRECATED EAPI extern inline void elm_toggle_states_labels_set(Evas_Object *obj, const char *onlabel, const char *offlabel) EINA_ARG_NONNULL(1)
20111      {
20112         elm_object_part_text_set(obj, "on", onlabel);
20113         elm_object_part_text_set(obj, "off", offlabel);
20114      }
20115
20116    EINA_DEPRECATED EAPI extern inline void elm_toggle_states_labels_get(const Evas_Object *obj, const char **onlabel, const char **offlabel) EINA_ARG_NONNULL(1)
20117      {
20118         if (onlabel) *onlabel = elm_object_part_text_get(obj, "on");
20119         if (offlabel) *offlabel = elm_object_part_text_get(obj, "off");
20120      }
20121
20122    EINA_DEPRECATED EAPI extern inline void elm_toggle_state_set(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1)
20123      {
20124         elm_check_state_set(obj, state);
20125      }
20126
20127    EINA_DEPRECATED EAPI extern inline Eina_Bool elm_toggle_state_get(const Evas_Object *obj) EINA_ARG_NONNULL(1)
20128      {
20129         return elm_check_state_get(obj);
20130      }
20131
20132    EINA_DEPRECATED EAPI extern inline void elm_toggle_state_pointer_set(Evas_Object *obj, Eina_Bool *statep) EINA_ARG_NONNULL(1)
20133      {
20134         elm_check_state_pointer_set(obj, statep);
20135      }
20136
20137    /**
20138     * @defgroup Radio Radio
20139     *
20140     * @image html img/widget/radio/preview-00.png
20141     * @image latex img/widget/radio/preview-00.eps
20142     *
20143     * @brief Radio is a widget that allows for 1 or more options to be displayed
20144     * and have the user choose only 1 of them.
20145     *
20146     * A radio object contains an indicator, an optional Label and an optional
20147     * icon object. While it's possible to have a group of only one radio they,
20148     * are normally used in groups of 2 or more. To add a radio to a group use
20149     * elm_radio_group_add(). The radio object(s) will select from one of a set
20150     * of integer values, so any value they are configuring needs to be mapped to
20151     * a set of integers. To configure what value that radio object represents,
20152     * use  elm_radio_state_value_set() to set the integer it represents. To set
20153     * the value the whole group(which one is currently selected) is to indicate
20154     * use elm_radio_value_set() on any group member, and to get the groups value
20155     * use elm_radio_value_get(). For convenience the radio objects are also able
20156     * to directly set an integer(int) to the value that is selected. To specify
20157     * the pointer to this integer to modify, use elm_radio_value_pointer_set().
20158     * The radio objects will modify this directly. That implies the pointer must
20159     * point to valid memory for as long as the radio objects exist.
20160     *
20161     * Signals that you can add callbacks for are:
20162     * @li changed - This is called whenever the user changes the state of one of
20163     * the radio objects within the group of radio objects that work together.
20164     *
20165     * Default contents parts of the radio widget that you can use for are:
20166     * @li "icon" - A icon of the radio
20167     *
20168     * @ref tutorial_radio show most of this API in action.
20169     * @{
20170     */
20171    /**
20172     * @brief Add a new radio to the parent
20173     *
20174     * @param parent The parent object
20175     * @return The new object or NULL if it cannot be created
20176     */
20177    EAPI Evas_Object *elm_radio_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
20178    /**
20179     * @brief Set the text label of the radio object
20180     *
20181     * @param obj The radio object
20182     * @param label The text label string in UTF-8
20183     *
20184     * @deprecated use elm_object_text_set() instead.
20185     */
20186    EINA_DEPRECATED EAPI void         elm_radio_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
20187    /**
20188     * @brief Get the text label of the radio object
20189     *
20190     * @param obj The radio object
20191     * @return The text label string in UTF-8
20192     *
20193     * @deprecated use elm_object_text_set() instead.
20194     */
20195    EINA_DEPRECATED EAPI const char  *elm_radio_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20196    /**
20197     * @brief Set the icon object of the radio object
20198     *
20199     * @param obj The radio object
20200     * @param icon The icon object
20201     *
20202     * Once the icon object is set, a previously set one will be deleted. If you
20203     * want to keep that old content object, use the elm_radio_icon_unset()
20204     * function.
20205     *
20206     * @deprecated use elm_object_part_content_set() instead.
20207     *
20208     */
20209    WILL_DEPRECATE  EAPI void         elm_radio_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
20210    /**
20211     * @brief Get the icon object of the radio object
20212     *
20213     * @param obj The radio object
20214     * @return The icon object
20215     *
20216     * @see elm_radio_icon_set()
20217     *
20218     * @deprecated use elm_object_part_content_get() instead.
20219     *
20220     */
20221    WILL_DEPRECATE  EAPI Evas_Object *elm_radio_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20222    /**
20223     * @brief Unset the icon used for the radio object
20224     *
20225     * @param obj The radio object
20226     * @return The icon object that was being used
20227     *
20228     * Unparent and return the icon object which was set for this widget.
20229     *
20230     * @see elm_radio_icon_set()
20231     * @deprecated use elm_object_part_content_unset() instead.
20232     *
20233     */
20234    WILL_DEPRECATE  EAPI Evas_Object *elm_radio_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
20235    /**
20236     * @brief Add this radio to a group of other radio objects
20237     *
20238     * @param obj The radio object
20239     * @param group Any object whose group the @p obj is to join.
20240     *
20241     * Radio objects work in groups. Each member should have a different integer
20242     * value assigned. In order to have them work as a group, they need to know
20243     * about each other. This adds the given radio object to the group of which
20244     * the group object indicated is a member.
20245     */
20246    EAPI void         elm_radio_group_add(Evas_Object *obj, Evas_Object *group) EINA_ARG_NONNULL(1);
20247    /**
20248     * @brief Set the integer value that this radio object represents
20249     *
20250     * @param obj The radio object
20251     * @param value The value to use if this radio object is selected
20252     *
20253     * This sets the value of the radio.
20254     */
20255    EAPI void         elm_radio_state_value_set(Evas_Object *obj, int value) EINA_ARG_NONNULL(1);
20256    /**
20257     * @brief Get the integer value that this radio object represents
20258     *
20259     * @param obj The radio object
20260     * @return The value used if this radio object is selected
20261     *
20262     * This gets the value of the radio.
20263     *
20264     * @see elm_radio_value_set()
20265     */
20266    EAPI int          elm_radio_state_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20267    /**
20268     * @brief Set the value of the radio.
20269     *
20270     * @param obj The radio object
20271     * @param value The value to use for the group
20272     *
20273     * This sets the value of the radio group and will also set the value if
20274     * pointed to, to the value supplied, but will not call any callbacks.
20275     */
20276    EAPI void         elm_radio_value_set(Evas_Object *obj, int value) EINA_ARG_NONNULL(1);
20277    /**
20278     * @brief Get the state of the radio object
20279     *
20280     * @param obj The radio object
20281     * @return The integer state
20282     */
20283    EAPI int          elm_radio_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20284    /**
20285     * @brief Set a convenience pointer to a integer to change
20286     *
20287     * @param obj The radio object
20288     * @param valuep Pointer to the integer to modify
20289     *
20290     * This sets a pointer to a integer, that, in addition to the radio objects
20291     * state will also be modified directly. To stop setting the object pointed
20292     * to simply use NULL as the @p valuep argument. If valuep is not NULL, then
20293     * when this is called, the radio objects state will also be modified to
20294     * reflect the value of the integer valuep points to, just like calling
20295     * elm_radio_value_set().
20296     */
20297    EAPI void         elm_radio_value_pointer_set(Evas_Object *obj, int *valuep) EINA_ARG_NONNULL(1);
20298    /**
20299     * @}
20300     */
20301
20302    /**
20303     * @defgroup Pager Pager
20304     *
20305     * @image html img/widget/pager/preview-00.png
20306     * @image latex img/widget/pager/preview-00.eps
20307     *
20308     * @brief Widget that allows flipping between one or more “pages”
20309     * of objects.
20310     *
20311     * The flipping between pages of objects is animated. All content
20312     * in the pager is kept in a stack, being the last content added
20313     * (visible one) on the top of that stack.
20314     *
20315     * Objects can be pushed or popped from the stack or deleted as
20316     * well. Pushes and pops will animate the widget accordingly to its
20317     * style (a pop will also delete the child object once the
20318     * animation is finished). Any object already in the pager can be
20319     * promoted to the top (from its current stacking position) through
20320     * the use of elm_pager_content_promote(). New objects are pushed
20321     * to the top with elm_pager_content_push(). When the top item is
20322     * no longer wanted, simply pop it with elm_pager_content_pop() and
20323     * it will also be deleted. If an object is no longer needed and is
20324     * not the top item, just delete it as normal. You can query which
20325     * objects are the top and bottom with
20326     * elm_pager_content_bottom_get() and elm_pager_content_top_get().
20327     *
20328     * Signals that you can add callbacks for are:
20329     * - @c "show,finished" - when a new page is actually shown on the top
20330     * - @c "hide,finished" - when a previous page is hidden
20331     *
20332     * Only after the first of that signals the child object is
20333     * guaranteed to be visible, as in @c evas_object_visible_get().
20334     *
20335     * This widget has the following styles available:
20336     * - @c "default"
20337     * - @c "fade"
20338     * - @c "fade_translucide"
20339     * - @c "fade_invisible"
20340     *
20341     * @note These styles affect only the flipping animations on the
20342     * default theme; the appearance when not animating is unaffected
20343     * by them.
20344     *
20345     * @ref tutorial_pager gives a good overview of the usage of the API.
20346     * @{
20347     */
20348
20349    /**
20350     * Add a new pager to the parent
20351     *
20352     * @param parent The parent object
20353     * @return The new object or NULL if it cannot be created
20354     *
20355     * @ingroup Pager
20356     */
20357    EAPI Evas_Object *elm_pager_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
20358
20359    /**
20360     * @brief Push an object to the top of the pager stack (and show it).
20361     *
20362     * @param obj The pager object
20363     * @param content The object to push
20364     *
20365     * The object pushed becomes a child of the pager, it will be controlled and
20366     * deleted when the pager is deleted.
20367     *
20368     * @note If the content is already in the stack use
20369     * elm_pager_content_promote().
20370     * @warning Using this function on @p content already in the stack results in
20371     * undefined behavior.
20372     */
20373    EAPI void         elm_pager_content_push(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
20374
20375    /**
20376     * @brief Pop the object that is on top of the stack
20377     *
20378     * @param obj The pager object
20379     *
20380     * This pops the object that is on the top(visible) of the pager, makes it
20381     * disappear, then deletes the object. The object that was underneath it on
20382     * the stack will become visible.
20383     */
20384    EAPI void         elm_pager_content_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
20385
20386    /**
20387     * @brief Moves an object already in the pager stack to the top of the stack.
20388     *
20389     * @param obj The pager object
20390     * @param content The object to promote
20391     *
20392     * This will take the @p content and move it to the top of the stack as
20393     * if it had been pushed there.
20394     *
20395     * @note If the content isn't already in the stack use
20396     * elm_pager_content_push().
20397     * @warning Using this function on @p content not already in the stack
20398     * results in undefined behavior.
20399     */
20400    EAPI void         elm_pager_content_promote(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
20401
20402    /**
20403     * @brief Return the object at the bottom of the pager stack
20404     *
20405     * @param obj The pager object
20406     * @return The bottom object or NULL if none
20407     */
20408    EAPI Evas_Object *elm_pager_content_bottom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20409
20410    /**
20411     * @brief  Return the object at the top of the pager stack
20412     *
20413     * @param obj The pager object
20414     * @return The top object or NULL if none
20415     */
20416    EAPI Evas_Object *elm_pager_content_top_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20417
20418    EAPI void         elm_pager_to_content_pop(Evas_Object *obj, Evas_Object *content); EINA_ARG_NONNULL(1);
20419
20420    /**
20421     * @}
20422     */
20423
20424    /**
20425     * @defgroup Slideshow Slideshow
20426     *
20427     * @image html img/widget/slideshow/preview-00.png
20428     * @image latex img/widget/slideshow/preview-00.eps
20429     *
20430     * This widget, as the name indicates, is a pre-made image
20431     * slideshow panel, with API functions acting on (child) image
20432     * items presentation. Between those actions, are:
20433     * - advance to next/previous image
20434     * - select the style of image transition animation
20435     * - set the exhibition time for each image
20436     * - start/stop the slideshow
20437     *
20438     * The transition animations are defined in the widget's theme,
20439     * consequently new animations can be added without having to
20440     * update the widget's code.
20441     *
20442     * @section Slideshow_Items Slideshow items
20443     *
20444     * For slideshow items, just like for @ref Genlist "genlist" ones,
20445     * the user defines a @b classes, specifying functions that will be
20446     * called on the item's creation and deletion times.
20447     *
20448     * The #Elm_Slideshow_Item_Class structure contains the following
20449     * members:
20450     *
20451     * - @c func.get - When an item is displayed, this function is
20452     *   called, and it's where one should create the item object, de
20453     *   facto. For example, the object can be a pure Evas image object
20454     *   or an Elementary @ref Photocam "photocam" widget. See
20455     *   #SlideshowItemGetFunc.
20456     * - @c func.del - When an item is no more displayed, this function
20457     *   is called, where the user must delete any data associated to
20458     *   the item. See #SlideshowItemDelFunc.
20459     *
20460     * @section Slideshow_Caching Slideshow caching
20461     *
20462     * The slideshow provides facilities to have items adjacent to the
20463     * one being displayed <b>already "realized"</b> (i.e. loaded) for
20464     * you, so that the system does not have to decode image data
20465     * anymore at the time it has to actually switch images on its
20466     * viewport. The user is able to set the numbers of items to be
20467     * cached @b before and @b after the current item, in the widget's
20468     * item list.
20469     *
20470     * Smart events one can add callbacks for are:
20471     *
20472     * - @c "changed" - when the slideshow switches its view to a new
20473     *   item. event_info parameter in callback contains the current visible item
20474     * - @c "transition,end" - when a slide transition ends. event_info parameter
20475     *   in callback contains the current visible item
20476     *
20477     * List of examples for the slideshow widget:
20478     * @li @ref slideshow_example
20479     */
20480
20481    /**
20482     * @addtogroup Slideshow
20483     * @{
20484     */
20485
20486    typedef struct _Elm_Slideshow_Item_Class Elm_Slideshow_Item_Class; /**< Slideshow item class definition struct */
20487    typedef struct _Elm_Slideshow_Item_Class_Func Elm_Slideshow_Item_Class_Func; /**< Class functions for slideshow item classes. */
20488    typedef struct _Elm_Slideshow_Item       Elm_Slideshow_Item; /**< Slideshow item handle */
20489    typedef Evas_Object *(*SlideshowItemGetFunc) (void *data, Evas_Object *obj); /**< Image fetching class function for slideshow item classes. */
20490    typedef void         (*SlideshowItemDelFunc) (void *data, Evas_Object *obj); /**< Deletion class function for slideshow item classes. */
20491
20492    /**
20493     * @struct _Elm_Slideshow_Item_Class
20494     *
20495     * Slideshow item class definition. See @ref Slideshow_Items for
20496     * field details.
20497     */
20498    struct _Elm_Slideshow_Item_Class
20499      {
20500         struct _Elm_Slideshow_Item_Class_Func
20501           {
20502              SlideshowItemGetFunc get;
20503              SlideshowItemDelFunc del;
20504           } func;
20505      }; /**< #Elm_Slideshow_Item_Class member definitions */
20506
20507    /**
20508     * Add a new slideshow widget to the given parent Elementary
20509     * (container) object
20510     *
20511     * @param parent The parent object
20512     * @return A new slideshow widget handle or @c NULL, on errors
20513     *
20514     * This function inserts a new slideshow widget on the canvas.
20515     *
20516     * @ingroup Slideshow
20517     */
20518    EAPI Evas_Object        *elm_slideshow_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
20519
20520    /**
20521     * Add (append) a new item in a given slideshow widget.
20522     *
20523     * @param obj The slideshow object
20524     * @param itc The item class for the item
20525     * @param data The item's data
20526     * @return A handle to the item added or @c NULL, on errors
20527     *
20528     * Add a new item to @p obj's internal list of items, appending it.
20529     * The item's class must contain the function really fetching the
20530     * image object to show for this item, which could be an Evas image
20531     * object or an Elementary photo, for example. The @p data
20532     * parameter is going to be passed to both class functions of the
20533     * item.
20534     *
20535     * @see #Elm_Slideshow_Item_Class
20536     * @see elm_slideshow_item_sorted_insert()
20537     *
20538     * @ingroup Slideshow
20539     */
20540    EAPI Elm_Slideshow_Item *elm_slideshow_item_add(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data) EINA_ARG_NONNULL(1);
20541
20542    /**
20543     * Insert a new item into the given slideshow widget, using the @p func
20544     * function to sort items (by item handles).
20545     *
20546     * @param obj The slideshow object
20547     * @param itc The item class for the item
20548     * @param data The item's data
20549     * @param func The comparing function to be used to sort slideshow
20550     * items <b>by #Elm_Slideshow_Item item handles</b>
20551     * @return Returns The slideshow item handle, on success, or
20552     * @c NULL, on errors
20553     *
20554     * Add a new item to @p obj's internal list of items, in a position
20555     * determined by the @p func comparing function. The item's class
20556     * must contain the function really fetching the image object to
20557     * show for this item, which could be an Evas image object or an
20558     * Elementary photo, for example. The @p data parameter is going to
20559     * be passed to both class functions of the item.
20560     *
20561     * @see #Elm_Slideshow_Item_Class
20562     * @see elm_slideshow_item_add()
20563     *
20564     * @ingroup Slideshow
20565     */
20566    EAPI Elm_Slideshow_Item *elm_slideshow_item_sorted_insert(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data, Eina_Compare_Cb func) EINA_ARG_NONNULL(1);
20567
20568    /**
20569     * Display a given slideshow widget's item, programmatically.
20570     *
20571     * @param obj The slideshow object
20572     * @param item The item to display on @p obj's viewport
20573     *
20574     * The change between the current item and @p item will use the
20575     * transition @p obj is set to use (@see
20576     * elm_slideshow_transition_set()).
20577     *
20578     * @ingroup Slideshow
20579     */
20580    EAPI void                elm_slideshow_show(Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
20581
20582    /**
20583     * Slide to the @b next item, in a given slideshow widget
20584     *
20585     * @param obj The slideshow object
20586     *
20587     * The sliding animation @p obj is set to use will be the
20588     * transition effect used, after this call is issued.
20589     *
20590     * @note If the end of the slideshow's internal list of items is
20591     * reached, it'll wrap around to the list's beginning, again.
20592     *
20593     * @ingroup Slideshow
20594     */
20595    EAPI void                elm_slideshow_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
20596
20597    /**
20598     * Slide to the @b previous item, in a given slideshow widget
20599     *
20600     * @param obj The slideshow object
20601     *
20602     * The sliding animation @p obj is set to use will be the
20603     * transition effect used, after this call is issued.
20604     *
20605     * @note If the beginning of the slideshow's internal list of items
20606     * is reached, it'll wrap around to the list's end, again.
20607     *
20608     * @ingroup Slideshow
20609     */
20610    EAPI void                elm_slideshow_previous(Evas_Object *obj) EINA_ARG_NONNULL(1);
20611
20612    /**
20613     * Returns the list of sliding transition/effect names available, for a
20614     * given slideshow widget.
20615     *
20616     * @param obj The slideshow object
20617     * @return The list of transitions (list of @b stringshared strings
20618     * as data)
20619     *
20620     * The transitions, which come from @p obj's theme, must be an EDC
20621     * data item named @c "transitions" on the theme file, with (prefix)
20622     * names of EDC programs actually implementing them.
20623     *
20624     * The available transitions for slideshows on the default theme are:
20625     * - @c "fade" - the current item fades out, while the new one
20626     *   fades in to the slideshow's viewport.
20627     * - @c "black_fade" - the current item fades to black, and just
20628     *   then, the new item will fade in.
20629     * - @c "horizontal" - the current item slides horizontally, until
20630     *   it gets out of the slideshow's viewport, while the new item
20631     *   comes from the left to take its place.
20632     * - @c "vertical" - the current item slides vertically, until it
20633     *   gets out of the slideshow's viewport, while the new item comes
20634     *   from the bottom to take its place.
20635     * - @c "square" - the new item starts to appear from the middle of
20636     *   the current one, but with a tiny size, growing until its
20637     *   target (full) size and covering the old one.
20638     *
20639     * @warning The stringshared strings get no new references
20640     * exclusive to the user grabbing the list, here, so if you'd like
20641     * to use them out of this call's context, you'd better @c
20642     * eina_stringshare_ref() them.
20643     *
20644     * @see elm_slideshow_transition_set()
20645     *
20646     * @ingroup Slideshow
20647     */
20648    EAPI const Eina_List    *elm_slideshow_transitions_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20649
20650    /**
20651     * Set the current slide transition/effect in use for a given
20652     * slideshow widget
20653     *
20654     * @param obj The slideshow object
20655     * @param transition The new transition's name string
20656     *
20657     * If @p transition is implemented in @p obj's theme (i.e., is
20658     * contained in the list returned by
20659     * elm_slideshow_transitions_get()), this new sliding effect will
20660     * be used on the widget.
20661     *
20662     * @see elm_slideshow_transitions_get() for more details
20663     *
20664     * @ingroup Slideshow
20665     */
20666    EAPI void                elm_slideshow_transition_set(Evas_Object *obj, const char *transition) EINA_ARG_NONNULL(1);
20667
20668    /**
20669     * Get the current slide transition/effect in use for a given
20670     * slideshow widget
20671     *
20672     * @param obj The slideshow object
20673     * @return The current transition's name
20674     *
20675     * @see elm_slideshow_transition_set() for more details
20676     *
20677     * @ingroup Slideshow
20678     */
20679    EAPI const char         *elm_slideshow_transition_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20680
20681    /**
20682     * Set the interval between each image transition on a given
20683     * slideshow widget, <b>and start the slideshow, itself</b>
20684     *
20685     * @param obj The slideshow object
20686     * @param timeout The new displaying timeout for images
20687     *
20688     * After this call, the slideshow widget will start cycling its
20689     * view, sequentially and automatically, with the images of the
20690     * items it has. The time between each new image displayed is going
20691     * to be @p timeout, in @b seconds. If a different timeout was set
20692     * previously and an slideshow was in progress, it will continue
20693     * with the new time between transitions, after this call.
20694     *
20695     * @note A value less than or equal to 0 on @p timeout will disable
20696     * the widget's internal timer, thus halting any slideshow which
20697     * could be happening on @p obj.
20698     *
20699     * @see elm_slideshow_timeout_get()
20700     *
20701     * @ingroup Slideshow
20702     */
20703    EAPI void                elm_slideshow_timeout_set(Evas_Object *obj, double timeout) EINA_ARG_NONNULL(1);
20704
20705    /**
20706     * Get the interval set for image transitions on a given slideshow
20707     * widget.
20708     *
20709     * @param obj The slideshow object
20710     * @return Returns the timeout set on it
20711     *
20712     * @see elm_slideshow_timeout_set() for more details
20713     *
20714     * @ingroup Slideshow
20715     */
20716    EAPI double              elm_slideshow_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20717
20718    /**
20719     * Set if, after a slideshow is started, for a given slideshow
20720     * widget, its items should be displayed cyclically or not.
20721     *
20722     * @param obj The slideshow object
20723     * @param loop Use @c EINA_TRUE to make it cycle through items or
20724     * @c EINA_FALSE for it to stop at the end of @p obj's internal
20725     * list of items
20726     *
20727     * @note elm_slideshow_next() and elm_slideshow_previous() will @b
20728     * ignore what is set by this functions, i.e., they'll @b always
20729     * cycle through items. This affects only the "automatic"
20730     * slideshow, as set by elm_slideshow_timeout_set().
20731     *
20732     * @see elm_slideshow_loop_get()
20733     *
20734     * @ingroup Slideshow
20735     */
20736    EAPI void                elm_slideshow_loop_set(Evas_Object *obj, Eina_Bool loop) EINA_ARG_NONNULL(1);
20737
20738    /**
20739     * Get if, after a slideshow is started, for a given slideshow
20740     * widget, its items are to be displayed cyclically or not.
20741     *
20742     * @param obj The slideshow object
20743     * @return @c EINA_TRUE, if the items in @p obj will be cycled
20744     * through or @c EINA_FALSE, otherwise
20745     *
20746     * @see elm_slideshow_loop_set() for more details
20747     *
20748     * @ingroup Slideshow
20749     */
20750    EAPI Eina_Bool           elm_slideshow_loop_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20751
20752    /**
20753     * Remove all items from a given slideshow widget
20754     *
20755     * @param obj The slideshow object
20756     *
20757     * This removes (and deletes) all items in @p obj, leaving it
20758     * empty.
20759     *
20760     * @see elm_slideshow_item_del(), to remove just one item.
20761     *
20762     * @ingroup Slideshow
20763     */
20764    EAPI void                elm_slideshow_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
20765
20766    /**
20767     * Get the internal list of items in a given slideshow widget.
20768     *
20769     * @param obj The slideshow object
20770     * @return The list of items (#Elm_Slideshow_Item as data) or
20771     * @c NULL on errors.
20772     *
20773     * This list is @b not to be modified in any way and must not be
20774     * freed. Use the list members with functions like
20775     * elm_slideshow_item_del(), elm_slideshow_item_data_get().
20776     *
20777     * @warning This list is only valid until @p obj object's internal
20778     * items list is changed. It should be fetched again with another
20779     * call to this function when changes happen.
20780     *
20781     * @ingroup Slideshow
20782     */
20783    EAPI const Eina_List    *elm_slideshow_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20784
20785    /**
20786     * Delete a given item from a slideshow widget.
20787     *
20788     * @param item The slideshow item
20789     *
20790     * @ingroup Slideshow
20791     */
20792    EAPI void                elm_slideshow_item_del(Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
20793
20794    /**
20795     * Return the data associated with a given slideshow item
20796     *
20797     * @param item The slideshow item
20798     * @return Returns the data associated to this item
20799     *
20800     * @ingroup Slideshow
20801     */
20802    EAPI void               *elm_slideshow_item_data_get(const Elm_Slideshow_Item *item) EINA_ARG_NONNULL(1);
20803
20804    /**
20805     * Returns the currently displayed item, in a given slideshow widget
20806     *
20807     * @param obj The slideshow object
20808     * @return A handle to the item being displayed in @p obj or
20809     * @c NULL, if none is (and on errors)
20810     *
20811     * @ingroup Slideshow
20812     */
20813    EAPI Elm_Slideshow_Item *elm_slideshow_item_current_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20814
20815    /**
20816     * Get the real Evas object created to implement the view of a
20817     * given slideshow item
20818     *
20819     * @param item The slideshow item.
20820     * @return the Evas object implementing this item's view.
20821     *
20822     * This returns the actual Evas object used to implement the
20823     * specified slideshow item's view. This may be @c NULL, as it may
20824     * not have been created or may have been deleted, at any time, by
20825     * the slideshow. <b>Do not modify this object</b> (move, resize,
20826     * show, hide, etc.), as the slideshow is controlling it. This
20827     * function is for querying, emitting custom signals or hooking
20828     * lower level callbacks for events on that object. Do not delete
20829     * this object under any circumstances.
20830     *
20831     * @see elm_slideshow_item_data_get()
20832     *
20833     * @ingroup Slideshow
20834     */
20835    EAPI Evas_Object*        elm_slideshow_item_object_get(const Elm_Slideshow_Item* item) EINA_ARG_NONNULL(1);
20836
20837    /**
20838     * Get the the item, in a given slideshow widget, placed at
20839     * position @p nth, in its internal items list
20840     *
20841     * @param obj The slideshow object
20842     * @param nth The number of the item to grab a handle to (0 being
20843     * the first)
20844     * @return The item stored in @p obj at position @p nth or @c NULL,
20845     * if there's no item with that index (and on errors)
20846     *
20847     * @ingroup Slideshow
20848     */
20849    EAPI Elm_Slideshow_Item *elm_slideshow_item_nth_get(const Evas_Object *obj, unsigned int nth) EINA_ARG_NONNULL(1);
20850
20851    /**
20852     * Set the current slide layout in use for a given slideshow widget
20853     *
20854     * @param obj The slideshow object
20855     * @param layout The new layout's name string
20856     *
20857     * If @p layout is implemented in @p obj's theme (i.e., is contained
20858     * in the list returned by elm_slideshow_layouts_get()), this new
20859     * images layout will be used on the widget.
20860     *
20861     * @see elm_slideshow_layouts_get() for more details
20862     *
20863     * @ingroup Slideshow
20864     */
20865    EAPI void                elm_slideshow_layout_set(Evas_Object *obj, const char *layout) EINA_ARG_NONNULL(1);
20866
20867    /**
20868     * Get the current slide layout in use for a given slideshow widget
20869     *
20870     * @param obj The slideshow object
20871     * @return The current layout's name
20872     *
20873     * @see elm_slideshow_layout_set() for more details
20874     *
20875     * @ingroup Slideshow
20876     */
20877    EAPI const char         *elm_slideshow_layout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20878
20879    /**
20880     * Returns the list of @b layout names available, for a given
20881     * slideshow widget.
20882     *
20883     * @param obj The slideshow object
20884     * @return The list of layouts (list of @b stringshared strings
20885     * as data)
20886     *
20887     * Slideshow layouts will change how the widget is to dispose each
20888     * image item in its viewport, with regard to cropping, scaling,
20889     * etc.
20890     *
20891     * The layouts, which come from @p obj's theme, must be an EDC
20892     * data item name @c "layouts" on the theme file, with (prefix)
20893     * names of EDC programs actually implementing them.
20894     *
20895     * The available layouts for slideshows on the default theme are:
20896     * - @c "fullscreen" - item images with original aspect, scaled to
20897     *   touch top and down slideshow borders or, if the image's heigh
20898     *   is not enough, left and right slideshow borders.
20899     * - @c "not_fullscreen" - the same behavior as the @c "fullscreen"
20900     *   one, but always leaving 10% of the slideshow's dimensions of
20901     *   distance between the item image's borders and the slideshow
20902     *   borders, for each axis.
20903     *
20904     * @warning The stringshared strings get no new references
20905     * exclusive to the user grabbing the list, here, so if you'd like
20906     * to use them out of this call's context, you'd better @c
20907     * eina_stringshare_ref() them.
20908     *
20909     * @see elm_slideshow_layout_set()
20910     *
20911     * @ingroup Slideshow
20912     */
20913    EAPI const Eina_List    *elm_slideshow_layouts_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20914
20915    /**
20916     * Set the number of items to cache, on a given slideshow widget,
20917     * <b>before the current item</b>
20918     *
20919     * @param obj The slideshow object
20920     * @param count Number of items to cache before the current one
20921     *
20922     * The default value for this property is @c 2. See
20923     * @ref Slideshow_Caching "slideshow caching" for more details.
20924     *
20925     * @see elm_slideshow_cache_before_get()
20926     *
20927     * @ingroup Slideshow
20928     */
20929    EAPI void                elm_slideshow_cache_before_set(Evas_Object *obj, int count) EINA_ARG_NONNULL(1);
20930
20931    /**
20932     * Retrieve the number of items to cache, on a given slideshow widget,
20933     * <b>before the current item</b>
20934     *
20935     * @param obj The slideshow object
20936     * @return The number of items set to be cached before the current one
20937     *
20938     * @see elm_slideshow_cache_before_set() for more details
20939     *
20940     * @ingroup Slideshow
20941     */
20942    EAPI int                 elm_slideshow_cache_before_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20943
20944    /**
20945     * Set the number of items to cache, on a given slideshow widget,
20946     * <b>after the current item</b>
20947     *
20948     * @param obj The slideshow object
20949     * @param count Number of items to cache after the current one
20950     *
20951     * The default value for this property is @c 2. See
20952     * @ref Slideshow_Caching "slideshow caching" for more details.
20953     *
20954     * @see elm_slideshow_cache_after_get()
20955     *
20956     * @ingroup Slideshow
20957     */
20958    EAPI void                elm_slideshow_cache_after_set(Evas_Object *obj, int count) EINA_ARG_NONNULL(1);
20959
20960    /**
20961     * Retrieve the number of items to cache, on a given slideshow widget,
20962     * <b>after the current item</b>
20963     *
20964     * @param obj The slideshow object
20965     * @return The number of items set to be cached after the current one
20966     *
20967     * @see elm_slideshow_cache_after_set() for more details
20968     *
20969     * @ingroup Slideshow
20970     */
20971    EAPI int                 elm_slideshow_cache_after_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20972
20973    /**
20974     * Get the number of items stored in a given slideshow widget
20975     *
20976     * @param obj The slideshow object
20977     * @return The number of items on @p obj, at the moment of this call
20978     *
20979     * @ingroup Slideshow
20980     */
20981    EAPI unsigned int        elm_slideshow_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
20982
20983    /**
20984     * @}
20985     */
20986
20987    /**
20988     * @defgroup Fileselector File Selector
20989     *
20990     * @image html img/widget/fileselector/preview-00.png
20991     * @image latex img/widget/fileselector/preview-00.eps
20992     *
20993     * A file selector is a widget that allows a user to navigate
20994     * through a file system, reporting file selections back via its
20995     * API.
20996     *
20997     * It contains shortcut buttons for home directory (@c ~) and to
20998     * jump one directory upwards (..), as well as cancel/ok buttons to
20999     * confirm/cancel a given selection. After either one of those two
21000     * former actions, the file selector will issue its @c "done" smart
21001     * callback.
21002     *
21003     * There's a text entry on it, too, showing the name of the current
21004     * selection. There's the possibility of making it editable, so it
21005     * is useful on file saving dialogs on applications, where one
21006     * gives a file name to save contents to, in a given directory in
21007     * the system. This custom file name will be reported on the @c
21008     * "done" smart callback (explained in sequence).
21009     *
21010     * Finally, it has a view to display file system items into in two
21011     * possible forms:
21012     * - list
21013     * - grid
21014     *
21015     * If Elementary is built with support of the Ethumb thumbnailing
21016     * library, the second form of view will display preview thumbnails
21017     * of files which it supports.
21018     *
21019     * Smart callbacks one can register to:
21020     *
21021     * - @c "selected" - the user has clicked on a file (when not in
21022     *      folders-only mode) or directory (when in folders-only mode)
21023     * - @c "directory,open" - the list has been populated with new
21024     *      content (@c event_info is a pointer to the directory's
21025     *      path, a @b stringshared string)
21026     * - @c "done" - the user has clicked on the "ok" or "cancel"
21027     *      buttons (@c event_info is a pointer to the selection's
21028     *      path, a @b stringshared string)
21029     *
21030     * Here is an example on its usage:
21031     * @li @ref fileselector_example
21032     */
21033
21034    /**
21035     * @addtogroup Fileselector
21036     * @{
21037     */
21038
21039    /**
21040     * Defines how a file selector widget is to layout its contents
21041     * (file system entries).
21042     */
21043    typedef enum _Elm_Fileselector_Mode
21044      {
21045         ELM_FILESELECTOR_LIST = 0, /**< layout as a list */
21046         ELM_FILESELECTOR_GRID, /**< layout as a grid */
21047         ELM_FILESELECTOR_LAST /**< sentinel (helper) value, not used */
21048      } Elm_Fileselector_Mode;
21049
21050    /**
21051     * Add a new file selector widget to the given parent Elementary
21052     * (container) object
21053     *
21054     * @param parent The parent object
21055     * @return a new file selector widget handle or @c NULL, on errors
21056     *
21057     * This function inserts a new file selector widget on the canvas.
21058     *
21059     * @ingroup Fileselector
21060     */
21061    EAPI Evas_Object          *elm_fileselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21062
21063    /**
21064     * Enable/disable the file name entry box where the user can type
21065     * in a name for a file, in a given file selector widget
21066     *
21067     * @param obj The file selector object
21068     * @param is_save @c EINA_TRUE to make the file selector a "saving
21069     * dialog", @c EINA_FALSE otherwise
21070     *
21071     * Having the entry editable is useful on file saving dialogs on
21072     * applications, where one gives a file name to save contents to,
21073     * in a given directory in the system. This custom file name will
21074     * be reported on the @c "done" smart callback.
21075     *
21076     * @see elm_fileselector_is_save_get()
21077     *
21078     * @ingroup Fileselector
21079     */
21080    EAPI void                  elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save) EINA_ARG_NONNULL(1);
21081
21082    /**
21083     * Get whether the given file selector is in "saving dialog" mode
21084     *
21085     * @param obj The file selector object
21086     * @return @c EINA_TRUE, if the file selector is in "saving dialog"
21087     * mode, @c EINA_FALSE otherwise (and on errors)
21088     *
21089     * @see elm_fileselector_is_save_set() for more details
21090     *
21091     * @ingroup Fileselector
21092     */
21093    EAPI Eina_Bool             elm_fileselector_is_save_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21094
21095    /**
21096     * Enable/disable folder-only view for a given file selector widget
21097     *
21098     * @param obj The file selector object
21099     * @param only @c EINA_TRUE to make @p obj only display
21100     * directories, @c EINA_FALSE to make files to be displayed in it
21101     * too
21102     *
21103     * If enabled, the widget's view will only display folder items,
21104     * naturally.
21105     *
21106     * @see elm_fileselector_folder_only_get()
21107     *
21108     * @ingroup Fileselector
21109     */
21110    EAPI void                  elm_fileselector_folder_only_set(Evas_Object *obj, Eina_Bool only) EINA_ARG_NONNULL(1);
21111
21112    /**
21113     * Get whether folder-only view is set for a given file selector
21114     * widget
21115     *
21116     * @param obj The file selector object
21117     * @return only @c EINA_TRUE if @p obj is only displaying
21118     * directories, @c EINA_FALSE if files are being displayed in it
21119     * too (and on errors)
21120     *
21121     * @see elm_fileselector_folder_only_get()
21122     *
21123     * @ingroup Fileselector
21124     */
21125    EAPI Eina_Bool             elm_fileselector_folder_only_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21126
21127    /**
21128     * Enable/disable the "ok" and "cancel" buttons on a given file
21129     * selector widget
21130     *
21131     * @param obj The file selector object
21132     * @param only @c EINA_TRUE to show them, @c EINA_FALSE to hide.
21133     *
21134     * @note A file selector without those buttons will never emit the
21135     * @c "done" smart event, and is only usable if one is just hooking
21136     * to the other two events.
21137     *
21138     * @see elm_fileselector_buttons_ok_cancel_get()
21139     *
21140     * @ingroup Fileselector
21141     */
21142    EAPI void                  elm_fileselector_buttons_ok_cancel_set(Evas_Object *obj, Eina_Bool buttons) EINA_ARG_NONNULL(1);
21143
21144    /**
21145     * Get whether the "ok" and "cancel" buttons on a given file
21146     * selector widget are being shown.
21147     *
21148     * @param obj The file selector object
21149     * @return @c EINA_TRUE if they are being shown, @c EINA_FALSE
21150     * otherwise (and on errors)
21151     *
21152     * @see elm_fileselector_buttons_ok_cancel_set() for more details
21153     *
21154     * @ingroup Fileselector
21155     */
21156    EAPI Eina_Bool             elm_fileselector_buttons_ok_cancel_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21157
21158    /**
21159     * Enable/disable a tree view in the given file selector widget,
21160     * <b>if it's in @c #ELM_FILESELECTOR_LIST mode</b>
21161     *
21162     * @param obj The file selector object
21163     * @param expand @c EINA_TRUE to enable tree view, @c EINA_FALSE to
21164     * disable
21165     *
21166     * In a tree view, arrows are created on the sides of directories,
21167     * allowing them to expand in place.
21168     *
21169     * @note If it's in other mode, the changes made by this function
21170     * will only be visible when one switches back to "list" mode.
21171     *
21172     * @see elm_fileselector_expandable_get()
21173     *
21174     * @ingroup Fileselector
21175     */
21176    EAPI void                  elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool expand) EINA_ARG_NONNULL(1);
21177
21178    /**
21179     * Get whether tree view is enabled for the given file selector
21180     * widget
21181     *
21182     * @param obj The file selector object
21183     * @return @c EINA_TRUE if @p obj is in tree view, @c EINA_FALSE
21184     * otherwise (and or errors)
21185     *
21186     * @see elm_fileselector_expandable_set() for more details
21187     *
21188     * @ingroup Fileselector
21189     */
21190    EAPI Eina_Bool             elm_fileselector_expandable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21191
21192    /**
21193     * Set, programmatically, the @b directory that a given file
21194     * selector widget will display contents from
21195     *
21196     * @param obj The file selector object
21197     * @param path The path to display in @p obj
21198     *
21199     * This will change the @b directory that @p obj is displaying. It
21200     * will also clear the text entry area on the @p obj object, which
21201     * displays select files' names.
21202     *
21203     * @see elm_fileselector_path_get()
21204     *
21205     * @ingroup Fileselector
21206     */
21207    EAPI void                  elm_fileselector_path_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
21208
21209    /**
21210     * Get the parent directory's path that a given file selector
21211     * widget is displaying
21212     *
21213     * @param obj The file selector object
21214     * @return The (full) path of the directory the file selector is
21215     * displaying, a @b stringshared string
21216     *
21217     * @see elm_fileselector_path_set()
21218     *
21219     * @ingroup Fileselector
21220     */
21221    EAPI const char           *elm_fileselector_path_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21222
21223    /**
21224     * Set, programmatically, the currently selected file/directory in
21225     * the given file selector widget
21226     *
21227     * @param obj The file selector object
21228     * @param path The (full) path to a file or directory
21229     * @return @c EINA_TRUE on success, @c EINA_FALSE on failure. The
21230     * latter case occurs if the directory or file pointed to do not
21231     * exist.
21232     *
21233     * @see elm_fileselector_selected_get()
21234     *
21235     * @ingroup Fileselector
21236     */
21237    EAPI Eina_Bool             elm_fileselector_selected_set(Evas_Object *obj, const char *path) EINA_ARG_NONNULL(1);
21238
21239    /**
21240     * Get the currently selected item's (full) path, in the given file
21241     * selector widget
21242     *
21243     * @param obj The file selector object
21244     * @return The absolute path of the selected item, a @b
21245     * stringshared string
21246     *
21247     * @note Custom editions on @p obj object's text entry, if made,
21248     * will appear on the return string of this function, naturally.
21249     *
21250     * @see elm_fileselector_selected_set() for more details
21251     *
21252     * @ingroup Fileselector
21253     */
21254    EAPI const char           *elm_fileselector_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21255
21256    /**
21257     * Set the mode in which a given file selector widget will display
21258     * (layout) file system entries in its view
21259     *
21260     * @param obj The file selector object
21261     * @param mode The mode of the fileselector, being it one of
21262     * #ELM_FILESELECTOR_LIST (default) or #ELM_FILESELECTOR_GRID. The
21263     * first one, naturally, will display the files in a list. The
21264     * latter will make the widget to display its entries in a grid
21265     * form.
21266     *
21267     * @note By using elm_fileselector_expandable_set(), the user may
21268     * trigger a tree view for that list.
21269     *
21270     * @note If Elementary is built with support of the Ethumb
21271     * thumbnailing library, the second form of view will display
21272     * preview thumbnails of files which it supports. You must have
21273     * elm_need_ethumb() called in your Elementary for thumbnailing to
21274     * work, though.
21275     *
21276     * @see elm_fileselector_expandable_set().
21277     * @see elm_fileselector_mode_get().
21278     *
21279     * @ingroup Fileselector
21280     */
21281    EAPI void                  elm_fileselector_mode_set(Evas_Object *obj, Elm_Fileselector_Mode mode) EINA_ARG_NONNULL(1);
21282
21283    /**
21284     * Get the mode in which a given file selector widget is displaying
21285     * (layouting) file system entries in its view
21286     *
21287     * @param obj The fileselector object
21288     * @return The mode in which the fileselector is at
21289     *
21290     * @see elm_fileselector_mode_set() for more details
21291     *
21292     * @ingroup Fileselector
21293     */
21294    EAPI Elm_Fileselector_Mode elm_fileselector_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21295
21296    /**
21297     * @}
21298     */
21299
21300    /**
21301     * @defgroup Progressbar Progress bar
21302     *
21303     * The progress bar is a widget for visually representing the
21304     * progress status of a given job/task.
21305     *
21306     * A progress bar may be horizontal or vertical. It may display an
21307     * icon besides it, as well as primary and @b units labels. The
21308     * former is meant to label the widget as a whole, while the
21309     * latter, which is formatted with floating point values (and thus
21310     * accepts a <c>printf</c>-style format string, like <c>"%1.2f
21311     * units"</c>), is meant to label the widget's <b>progress
21312     * value</b>. Label, icon and unit strings/objects are @b optional
21313     * for progress bars.
21314     *
21315     * A progress bar may be @b inverted, in which state it gets its
21316     * values inverted, with high values being on the left or top and
21317     * low values on the right or bottom, as opposed to normally have
21318     * the low values on the former and high values on the latter,
21319     * respectively, for horizontal and vertical modes.
21320     *
21321     * The @b span of the progress, as set by
21322     * elm_progressbar_span_size_set(), is its length (horizontally or
21323     * vertically), unless one puts size hints on the widget to expand
21324     * on desired directions, by any container. That length will be
21325     * scaled by the object or applications scaling factor. At any
21326     * point code can query the progress bar for its value with
21327     * elm_progressbar_value_get().
21328     *
21329     * Available widget styles for progress bars:
21330     * - @c "default"
21331     * - @c "wheel" (simple style, no text, no progression, only
21332     *      "pulse" effect is available)
21333     *
21334     * Default contents parts of the progressbar widget that you can use for are:
21335     * @li "icon" - A icon of the progressbar
21336     * 
21337     * Here is an example on its usage:
21338     * @li @ref progressbar_example
21339     */
21340
21341    /**
21342     * Add a new progress bar widget to the given parent Elementary
21343     * (container) object
21344     *
21345     * @param parent The parent object
21346     * @return a new progress bar widget handle or @c NULL, on errors
21347     *
21348     * This function inserts a new progress bar widget on the canvas.
21349     *
21350     * @ingroup Progressbar
21351     */
21352    EAPI Evas_Object *elm_progressbar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21353
21354    /**
21355     * Set whether a given progress bar widget is at "pulsing mode" or
21356     * not.
21357     *
21358     * @param obj The progress bar object
21359     * @param pulse @c EINA_TRUE to put @p obj in pulsing mode,
21360     * @c EINA_FALSE to put it back to its default one
21361     *
21362     * By default, progress bars will display values from the low to
21363     * high value boundaries. There are, though, contexts in which the
21364     * state of progression of a given task is @b unknown.  For those,
21365     * one can set a progress bar widget to a "pulsing state", to give
21366     * the user an idea that some computation is being held, but
21367     * without exact progress values. In the default theme it will
21368     * animate its bar with the contents filling in constantly and back
21369     * to non-filled, in a loop. To start and stop this pulsing
21370     * animation, one has to explicitly call elm_progressbar_pulse().
21371     *
21372     * @see elm_progressbar_pulse_get()
21373     * @see elm_progressbar_pulse()
21374     *
21375     * @ingroup Progressbar
21376     */
21377    EAPI void         elm_progressbar_pulse_set(Evas_Object *obj, Eina_Bool pulse) EINA_ARG_NONNULL(1);
21378
21379    /**
21380     * Get whether a given progress bar widget is at "pulsing mode" or
21381     * not.
21382     *
21383     * @param obj The progress bar object
21384     * @return @c EINA_TRUE, if @p obj is in pulsing mode, @c EINA_FALSE
21385     * if it's in the default one (and on errors)
21386     *
21387     * @ingroup Progressbar
21388     */
21389    EAPI Eina_Bool    elm_progressbar_pulse_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21390
21391    /**
21392     * Start/stop a given progress bar "pulsing" animation, if its
21393     * under that mode
21394     *
21395     * @param obj The progress bar object
21396     * @param state @c EINA_TRUE, to @b start the pulsing animation,
21397     * @c EINA_FALSE to @b stop it
21398     *
21399     * @note This call won't do anything if @p obj is not under "pulsing mode".
21400     *
21401     * @see elm_progressbar_pulse_set() for more details.
21402     *
21403     * @ingroup Progressbar
21404     */
21405    EAPI void         elm_progressbar_pulse(Evas_Object *obj, Eina_Bool state) EINA_ARG_NONNULL(1);
21406
21407    /**
21408     * Set the progress value (in percentage) on a given progress bar
21409     * widget
21410     *
21411     * @param obj The progress bar object
21412     * @param val The progress value (@b must be between @c 0.0 and @c
21413     * 1.0)
21414     *
21415     * Use this call to set progress bar levels.
21416     *
21417     * @note If you passes a value out of the specified range for @p
21418     * val, it will be interpreted as the @b closest of the @b boundary
21419     * values in the range.
21420     *
21421     * @ingroup Progressbar
21422     */
21423    EAPI void         elm_progressbar_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
21424
21425    /**
21426     * Get the progress value (in percentage) on a given progress bar
21427     * widget
21428     *
21429     * @param obj The progress bar object
21430     * @return The value of the progressbar
21431     *
21432     * @see elm_progressbar_value_set() for more details
21433     *
21434     * @ingroup Progressbar
21435     */
21436    EAPI double       elm_progressbar_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21437
21438    /**
21439     * Set the label of a given progress bar widget
21440     *
21441     * @param obj The progress bar object
21442     * @param label The text label string, in UTF-8
21443     *
21444     * @ingroup Progressbar
21445     * @deprecated use elm_object_text_set() instead.
21446     */
21447    EINA_DEPRECATED EAPI void         elm_progressbar_label_set(Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
21448
21449    /**
21450     * Get the label of a given progress bar widget
21451     *
21452     * @param obj The progressbar object
21453     * @return The text label string, in UTF-8
21454     *
21455     * @ingroup Progressbar
21456     * @deprecated use elm_object_text_set() instead.
21457     */
21458    EINA_DEPRECATED EAPI const char  *elm_progressbar_label_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21459
21460    /**
21461     * Set the icon object of a given progress bar widget
21462     *
21463     * @param obj The progress bar object
21464     * @param icon The icon object
21465     *
21466     * Use this call to decorate @p obj with an icon next to it.
21467     *
21468     * @note Once the icon object is set, a previously set one will be
21469     * deleted. If you want to keep that old content object, use the
21470     * elm_progressbar_icon_unset() function.
21471     *
21472     * @see elm_progressbar_icon_get()
21473     * @deprecated use elm_object_part_content_set() instead.
21474     *
21475     * @ingroup Progressbar
21476     */
21477    WILL_DEPRECATE  EAPI void         elm_progressbar_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
21478
21479    /**
21480     * Retrieve the icon object set for a given progress bar widget
21481     *
21482     * @param obj The progress bar object
21483     * @return The icon object's handle, if @p obj had one set, or @c NULL,
21484     * otherwise (and on errors)
21485     *
21486     * @see elm_progressbar_icon_set() for more details
21487     * @deprecated use elm_object_part_content_get() instead.
21488     *
21489     * @ingroup Progressbar
21490     */
21491    WILL_DEPRECATE  EAPI Evas_Object *elm_progressbar_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21492
21493    /**
21494     * Unset an icon set on a given progress bar widget
21495     *
21496     * @param obj The progress bar object
21497     * @return The icon object that was being used, if any was set, or
21498     * @c NULL, otherwise (and on errors)
21499     *
21500     * This call will unparent and return the icon object which was set
21501     * for this widget, previously, on success.
21502     *
21503     * @see elm_progressbar_icon_set() for more details
21504     * @deprecated use elm_object_part_content_unset() instead.
21505     *
21506     * @ingroup Progressbar
21507     */
21508    WILL_DEPRECATE  EAPI Evas_Object *elm_progressbar_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
21509
21510    /**
21511     * Set the (exact) length of the bar region of a given progress bar
21512     * widget
21513     *
21514     * @param obj The progress bar object
21515     * @param size The length of the progress bar's bar region
21516     *
21517     * This sets the minimum width (when in horizontal mode) or height
21518     * (when in vertical mode) of the actual bar area of the progress
21519     * bar @p obj. This in turn affects the object's minimum size. Use
21520     * this when you're not setting other size hints expanding on the
21521     * given direction (like weight and alignment hints) and you would
21522     * like it to have a specific size.
21523     *
21524     * @note Icon, label and unit text around @p obj will require their
21525     * own space, which will make @p obj to require more the @p size,
21526     * actually.
21527     *
21528     * @see elm_progressbar_span_size_get()
21529     *
21530     * @ingroup Progressbar
21531     */
21532    EAPI void         elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size) EINA_ARG_NONNULL(1);
21533
21534    /**
21535     * Get the length set for the bar region of a given progress bar
21536     * widget
21537     *
21538     * @param obj The progress bar object
21539     * @return The length of the progress bar's bar region
21540     *
21541     * If that size was not set previously, with
21542     * elm_progressbar_span_size_set(), this call will return @c 0.
21543     *
21544     * @ingroup Progressbar
21545     */
21546    EAPI Evas_Coord   elm_progressbar_span_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21547
21548    /**
21549     * Set the format string for a given progress bar widget's units
21550     * label
21551     *
21552     * @param obj The progress bar object
21553     * @param format The format string for @p obj's units label
21554     *
21555     * If @c NULL is passed on @p format, it will make @p obj's units
21556     * area to be hidden completely. If not, it'll set the <b>format
21557     * string</b> for the units label's @b text. The units label is
21558     * provided a floating point value, so the units text is up display
21559     * at most one floating point falue. Note that the units label is
21560     * optional. Use a format string such as "%1.2f meters" for
21561     * example.
21562     *
21563     * @note The default format string for a progress bar is an integer
21564     * percentage, as in @c "%.0f %%".
21565     *
21566     * @see elm_progressbar_unit_format_get()
21567     *
21568     * @ingroup Progressbar
21569     */
21570    EAPI void         elm_progressbar_unit_format_set(Evas_Object *obj, const char *format) EINA_ARG_NONNULL(1);
21571
21572    /**
21573     * Retrieve the format string set for a given progress bar widget's
21574     * units label
21575     *
21576     * @param obj The progress bar object
21577     * @return The format set string for @p obj's units label or
21578     * @c NULL, if none was set (and on errors)
21579     *
21580     * @see elm_progressbar_unit_format_set() for more details
21581     *
21582     * @ingroup Progressbar
21583     */
21584    EAPI const char  *elm_progressbar_unit_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21585
21586    /**
21587     * Set the orientation of a given progress bar widget
21588     *
21589     * @param obj The progress bar object
21590     * @param horizontal Use @c EINA_TRUE to make @p obj to be
21591     * @b horizontal, @c EINA_FALSE to make it @b vertical
21592     *
21593     * Use this function to change how your progress bar is to be
21594     * disposed: vertically or horizontally.
21595     *
21596     * @see elm_progressbar_horizontal_get()
21597     *
21598     * @ingroup Progressbar
21599     */
21600    EAPI void         elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
21601
21602    /**
21603     * Retrieve the orientation of a given progress bar widget
21604     *
21605     * @param obj The progress bar object
21606     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
21607     * @c EINA_FALSE if it's @b vertical (and on errors)
21608     *
21609     * @see elm_progressbar_horizontal_set() for more details
21610     *
21611     * @ingroup Progressbar
21612     */
21613    EAPI Eina_Bool    elm_progressbar_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21614
21615    /**
21616     * Invert a given progress bar widget's displaying values order
21617     *
21618     * @param obj The progress bar object
21619     * @param inverted Use @c EINA_TRUE to make @p obj inverted,
21620     * @c EINA_FALSE to bring it back to default, non-inverted values.
21621     *
21622     * A progress bar may be @b inverted, in which state it gets its
21623     * values inverted, with high values being on the left or top and
21624     * low values on the right or bottom, as opposed to normally have
21625     * the low values on the former and high values on the latter,
21626     * respectively, for horizontal and vertical modes.
21627     *
21628     * @see elm_progressbar_inverted_get()
21629     *
21630     * @ingroup Progressbar
21631     */
21632    EAPI void         elm_progressbar_inverted_set(Evas_Object *obj, Eina_Bool inverted) EINA_ARG_NONNULL(1);
21633
21634    /**
21635     * Get whether a given progress bar widget's displaying values are
21636     * inverted or not
21637     *
21638     * @param obj The progress bar object
21639     * @return @c EINA_TRUE, if @p obj has inverted values,
21640     * @c EINA_FALSE otherwise (and on errors)
21641     *
21642     * @see elm_progressbar_inverted_set() for more details
21643     *
21644     * @ingroup Progressbar
21645     */
21646    EAPI Eina_Bool    elm_progressbar_inverted_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21647
21648    /**
21649     * @defgroup Separator Separator
21650     *
21651     * @brief Separator is a very thin object used to separate other objects.
21652     *
21653     * A separator can be vertical or horizontal.
21654     *
21655     * @ref tutorial_separator is a good example of how to use a separator.
21656     * @{
21657     */
21658    /**
21659     * @brief Add a separator object to @p parent
21660     *
21661     * @param parent The parent object
21662     *
21663     * @return The separator object, or NULL upon failure
21664     */
21665    EAPI Evas_Object *elm_separator_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21666    /**
21667     * @brief Set the horizontal mode of a separator object
21668     *
21669     * @param obj The separator object
21670     * @param horizontal If true, the separator is horizontal
21671     */
21672    EAPI void         elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
21673    /**
21674     * @brief Get the horizontal mode of a separator object
21675     *
21676     * @param obj The separator object
21677     * @return If true, the separator is horizontal
21678     *
21679     * @see elm_separator_horizontal_set()
21680     */
21681    EAPI Eina_Bool    elm_separator_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21682    /**
21683     * @}
21684     */
21685
21686    /**
21687     * @defgroup Spinner Spinner
21688     * @ingroup Elementary
21689     *
21690     * @image html img/widget/spinner/preview-00.png
21691     * @image latex img/widget/spinner/preview-00.eps
21692     *
21693     * A spinner is a widget which allows the user to increase or decrease
21694     * numeric values using arrow buttons, or edit values directly, clicking
21695     * over it and typing the new value.
21696     *
21697     * By default the spinner will not wrap and has a label
21698     * of "%.0f" (just showing the integer value of the double).
21699     *
21700     * A spinner has a label that is formatted with floating
21701     * point values and thus accepts a printf-style format string, like
21702     * “%1.2f units”.
21703     *
21704     * It also allows specific values to be replaced by pre-defined labels.
21705     *
21706     * Smart callbacks one can register to:
21707     *
21708     * - "changed" - Whenever the spinner value is changed.
21709     * - "delay,changed" - A short time after the value is changed by the user.
21710     *    This will be called only when the user stops dragging for a very short
21711     *    period or when they release their finger/mouse, so it avoids possibly
21712     *    expensive reactions to the value change.
21713     *
21714     * Available styles for it:
21715     * - @c "default";
21716     * - @c "vertical": up/down buttons at the right side and text left aligned.
21717     *
21718     * Here is an example on its usage:
21719     * @ref spinner_example
21720     */
21721
21722    /**
21723     * @addtogroup Spinner
21724     * @{
21725     */
21726
21727    /**
21728     * Add a new spinner widget to the given parent Elementary
21729     * (container) object.
21730     *
21731     * @param parent The parent object.
21732     * @return a new spinner widget handle or @c NULL, on errors.
21733     *
21734     * This function inserts a new spinner widget on the canvas.
21735     *
21736     * @ingroup Spinner
21737     *
21738     */
21739    EAPI Evas_Object *elm_spinner_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
21740
21741    /**
21742     * Set the format string of the displayed label.
21743     *
21744     * @param obj The spinner object.
21745     * @param fmt The format string for the label display.
21746     *
21747     * If @c NULL, this sets the format to "%.0f". If not it sets the format
21748     * string for the label text. The label text is provided a floating point
21749     * value, so the label text can display up to 1 floating point value.
21750     * Note that this is optional.
21751     *
21752     * Use a format string such as "%1.2f meters" for example, and it will
21753     * display values like: "3.14 meters" for a value equal to 3.14159.
21754     *
21755     * Default is "%0.f".
21756     *
21757     * @see elm_spinner_label_format_get()
21758     *
21759     * @ingroup Spinner
21760     */
21761    EAPI void         elm_spinner_label_format_set(Evas_Object *obj, const char *fmt) EINA_ARG_NONNULL(1);
21762
21763    /**
21764     * Get the label format of the spinner.
21765     *
21766     * @param obj The spinner object.
21767     * @return The text label format string in UTF-8.
21768     *
21769     * @see elm_spinner_label_format_set() for details.
21770     *
21771     * @ingroup Spinner
21772     */
21773    EAPI const char  *elm_spinner_label_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21774
21775    /**
21776     * Set the minimum and maximum values for the spinner.
21777     *
21778     * @param obj The spinner object.
21779     * @param min The minimum value.
21780     * @param max The maximum value.
21781     *
21782     * Define the allowed range of values to be selected by the user.
21783     *
21784     * If actual value is less than @p min, it will be updated to @p min. If it
21785     * is bigger then @p max, will be updated to @p max. Actual value can be
21786     * get with elm_spinner_value_get().
21787     *
21788     * By default, min is equal to 0, and max is equal to 100.
21789     *
21790     * @warning Maximum must be greater than minimum.
21791     *
21792     * @see elm_spinner_min_max_get()
21793     *
21794     * @ingroup Spinner
21795     */
21796    EAPI void         elm_spinner_min_max_set(Evas_Object *obj, double min, double max) EINA_ARG_NONNULL(1);
21797
21798    /**
21799     * Get the minimum and maximum values of the spinner.
21800     *
21801     * @param obj The spinner object.
21802     * @param min Pointer where to store the minimum value.
21803     * @param max Pointer where to store the maximum value.
21804     *
21805     * @note If only one value is needed, the other pointer can be passed
21806     * as @c NULL.
21807     *
21808     * @see elm_spinner_min_max_set() for details.
21809     *
21810     * @ingroup Spinner
21811     */
21812    EAPI void         elm_spinner_min_max_get(const Evas_Object *obj, double *min, double *max) EINA_ARG_NONNULL(1);
21813
21814    /**
21815     * Set the step used to increment or decrement the spinner value.
21816     *
21817     * @param obj The spinner object.
21818     * @param step The step value.
21819     *
21820     * This value will be incremented or decremented to the displayed value.
21821     * It will be incremented while the user keep right or top arrow pressed,
21822     * and will be decremented while the user keep left or bottom arrow pressed.
21823     *
21824     * The interval to increment / decrement can be set with
21825     * elm_spinner_interval_set().
21826     *
21827     * By default step value is equal to 1.
21828     *
21829     * @see elm_spinner_step_get()
21830     *
21831     * @ingroup Spinner
21832     */
21833    EAPI void         elm_spinner_step_set(Evas_Object *obj, double step) EINA_ARG_NONNULL(1);
21834
21835    /**
21836     * Get the step used to increment or decrement the spinner value.
21837     *
21838     * @param obj The spinner object.
21839     * @return The step value.
21840     *
21841     * @see elm_spinner_step_get() for more details.
21842     *
21843     * @ingroup Spinner
21844     */
21845    EAPI double       elm_spinner_step_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21846
21847    /**
21848     * Set the value the spinner displays.
21849     *
21850     * @param obj The spinner object.
21851     * @param val The value to be displayed.
21852     *
21853     * Value will be presented on the label following format specified with
21854     * elm_spinner_format_set().
21855     *
21856     * @warning The value must to be between min and max values. This values
21857     * are set by elm_spinner_min_max_set().
21858     *
21859     * @see elm_spinner_value_get().
21860     * @see elm_spinner_format_set().
21861     * @see elm_spinner_min_max_set().
21862     *
21863     * @ingroup Spinner
21864     */
21865    EAPI void         elm_spinner_value_set(Evas_Object *obj, double val) EINA_ARG_NONNULL(1);
21866
21867    /**
21868     * Get the value displayed by the spinner.
21869     *
21870     * @param obj The spinner object.
21871     * @return The value displayed.
21872     *
21873     * @see elm_spinner_value_set() for details.
21874     *
21875     * @ingroup Spinner
21876     */
21877    EAPI double       elm_spinner_value_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21878
21879    /**
21880     * Set whether the spinner should wrap when it reaches its
21881     * minimum or maximum value.
21882     *
21883     * @param obj The spinner object.
21884     * @param wrap @c EINA_TRUE to enable wrap or @c EINA_FALSE to
21885     * disable it.
21886     *
21887     * Disabled by default. If disabled, when the user tries to increment the
21888     * value,
21889     * but displayed value plus step value is bigger than maximum value,
21890     * the spinner
21891     * won't allow it. The same happens when the user tries to decrement it,
21892     * but the value less step is less than minimum value.
21893     *
21894     * When wrap is enabled, in such situations it will allow these changes,
21895     * but will get the value that would be less than minimum and subtracts
21896     * from maximum. Or add the value that would be more than maximum to
21897     * the minimum.
21898     *
21899     * E.g.:
21900     * @li min value = 10
21901     * @li max value = 50
21902     * @li step value = 20
21903     * @li displayed value = 20
21904     *
21905     * When the user decrement value (using left or bottom arrow), it will
21906     * displays @c 40, because max - (min - (displayed - step)) is
21907     * @c 50 - (@c 10 - (@c 20 - @c 20)) = @c 40.
21908     *
21909     * @see elm_spinner_wrap_get().
21910     *
21911     * @ingroup Spinner
21912     */
21913    EAPI void         elm_spinner_wrap_set(Evas_Object *obj, Eina_Bool wrap) EINA_ARG_NONNULL(1);
21914
21915    /**
21916     * Get whether the spinner should wrap when it reaches its
21917     * minimum or maximum value.
21918     *
21919     * @param obj The spinner object
21920     * @return @c EINA_TRUE means wrap is enabled. @c EINA_FALSE indicates
21921     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
21922     *
21923     * @see elm_spinner_wrap_set() for details.
21924     *
21925     * @ingroup Spinner
21926     */
21927    EAPI Eina_Bool    elm_spinner_wrap_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21928
21929    /**
21930     * Set whether the spinner can be directly edited by the user or not.
21931     *
21932     * @param obj The spinner object.
21933     * @param editable @c EINA_TRUE to allow users to edit it or @c EINA_FALSE to
21934     * don't allow users to edit it directly.
21935     *
21936     * Spinner objects can have edition @b disabled, in which state they will
21937     * be changed only by arrows.
21938     * Useful for contexts
21939     * where you don't want your users to interact with it writting the value.
21940     * Specially
21941     * when using special values, the user can see real value instead
21942     * of special label on edition.
21943     *
21944     * It's enabled by default.
21945     *
21946     * @see elm_spinner_editable_get()
21947     *
21948     * @ingroup Spinner
21949     */
21950    EAPI void         elm_spinner_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
21951
21952    /**
21953     * Get whether the spinner can be directly edited by the user or not.
21954     *
21955     * @param obj The spinner object.
21956     * @return @c EINA_TRUE means edition is enabled. @c EINA_FALSE indicates
21957     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
21958     *
21959     * @see elm_spinner_editable_set() for details.
21960     *
21961     * @ingroup Spinner
21962     */
21963    EAPI Eina_Bool    elm_spinner_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
21964
21965    /**
21966     * Set a special string to display in the place of the numerical value.
21967     *
21968     * @param obj The spinner object.
21969     * @param value The value to be replaced.
21970     * @param label The label to be used.
21971     *
21972     * It's useful for cases when a user should select an item that is
21973     * better indicated by a label than a value. For example, weekdays or months.
21974     *
21975     * E.g.:
21976     * @code
21977     * sp = elm_spinner_add(win);
21978     * elm_spinner_min_max_set(sp, 1, 3);
21979     * elm_spinner_special_value_add(sp, 1, "January");
21980     * elm_spinner_special_value_add(sp, 2, "February");
21981     * elm_spinner_special_value_add(sp, 3, "March");
21982     * evas_object_show(sp);
21983     * @endcode
21984     *
21985     * @ingroup Spinner
21986     */
21987    EAPI void         elm_spinner_special_value_add(Evas_Object *obj, double value, const char *label) EINA_ARG_NONNULL(1);
21988
21989    /**
21990     * Set the interval on time updates for an user mouse button hold
21991     * on spinner widgets' arrows.
21992     *
21993     * @param obj The spinner object.
21994     * @param interval The (first) interval value in seconds.
21995     *
21996     * This interval value is @b decreased while the user holds the
21997     * mouse pointer either incrementing or decrementing spinner's value.
21998     *
21999     * This helps the user to get to a given value distant from the
22000     * current one easier/faster, as it will start to change quicker and
22001     * quicker on mouse button holds.
22002     *
22003     * The calculation for the next change interval value, starting from
22004     * the one set with this call, is the previous interval divided by
22005     * @c 1.05, so it decreases a little bit.
22006     *
22007     * The default starting interval value for automatic changes is
22008     * @c 0.85 seconds.
22009     *
22010     * @see elm_spinner_interval_get()
22011     *
22012     * @ingroup Spinner
22013     */
22014    EAPI void         elm_spinner_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
22015
22016    /**
22017     * Get the interval on time updates for an user mouse button hold
22018     * on spinner widgets' arrows.
22019     *
22020     * @param obj The spinner object.
22021     * @return The (first) interval value, in seconds, set on it.
22022     *
22023     * @see elm_spinner_interval_set() for more details.
22024     *
22025     * @ingroup Spinner
22026     */
22027    EAPI double       elm_spinner_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22028
22029    /**
22030     * @}
22031     */
22032
22033    /**
22034     * @defgroup Index Index
22035     *
22036     * @image html img/widget/index/preview-00.png
22037     * @image latex img/widget/index/preview-00.eps
22038     *
22039     * An index widget gives you an index for fast access to whichever
22040     * group of other UI items one might have. It's a list of text
22041     * items (usually letters, for alphabetically ordered access).
22042     *
22043     * Index widgets are by default hidden and just appear when the
22044     * user clicks over it's reserved area in the canvas. In its
22045     * default theme, it's an area one @ref Fingers "finger" wide on
22046     * the right side of the index widget's container.
22047     *
22048     * When items on the index are selected, smart callbacks get
22049     * called, so that its user can make other container objects to
22050     * show a given area or child object depending on the index item
22051     * selected. You'd probably be using an index together with @ref
22052     * List "lists", @ref Genlist "generic lists" or @ref Gengrid
22053     * "general grids".
22054     *
22055     * Smart events one  can add callbacks for are:
22056     * - @c "changed" - When the selected index item changes. @c
22057     *      event_info is the selected item's data pointer.
22058     * - @c "delay,changed" - When the selected index item changes, but
22059     *      after a small idling period. @c event_info is the selected
22060     *      item's data pointer.
22061     * - @c "selected" - When the user releases a mouse button and
22062     *      selects an item. @c event_info is the selected item's data
22063     *      pointer.
22064     * - @c "level,up" - when the user moves a finger from the first
22065     *      level to the second level
22066     * - @c "level,down" - when the user moves a finger from the second
22067     *      level to the first level
22068     *
22069     * The @c "delay,changed" event is so that it'll wait a small time
22070     * before actually reporting those events and, moreover, just the
22071     * last event happening on those time frames will actually be
22072     * reported.
22073     *
22074     * Here are some examples on its usage:
22075     * @li @ref index_example_01
22076     * @li @ref index_example_02
22077     */
22078
22079    /**
22080     * @addtogroup Index
22081     * @{
22082     */
22083
22084    typedef struct _Elm_Index_Item Elm_Index_Item; /**< Opaque handle for items of Elementary index widgets */
22085
22086    /**
22087     * Add a new index widget to the given parent Elementary
22088     * (container) object
22089     *
22090     * @param parent The parent object
22091     * @return a new index widget handle or @c NULL, on errors
22092     *
22093     * This function inserts a new index widget on the canvas.
22094     *
22095     * @ingroup Index
22096     */
22097    EAPI Evas_Object    *elm_index_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
22098
22099    /**
22100     * Set whether a given index widget is or not visible,
22101     * programatically.
22102     *
22103     * @param obj The index object
22104     * @param active @c EINA_TRUE to show it, @c EINA_FALSE to hide it
22105     *
22106     * Not to be confused with visible as in @c evas_object_show() --
22107     * visible with regard to the widget's auto hiding feature.
22108     *
22109     * @see elm_index_active_get()
22110     *
22111     * @ingroup Index
22112     */
22113    EAPI void            elm_index_active_set(Evas_Object *obj, Eina_Bool active) EINA_ARG_NONNULL(1);
22114
22115    /**
22116     * Get whether a given index widget is currently visible or not.
22117     *
22118     * @param obj The index object
22119     * @return @c EINA_TRUE, if it's shown, @c EINA_FALSE otherwise
22120     *
22121     * @see elm_index_active_set() for more details
22122     *
22123     * @ingroup Index
22124     */
22125    EAPI Eina_Bool       elm_index_active_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22126
22127    /**
22128     * Set the items level for a given index widget.
22129     *
22130     * @param obj The index object.
22131     * @param level @c 0 or @c 1, the currently implemented levels.
22132     *
22133     * @see elm_index_item_level_get()
22134     *
22135     * @ingroup Index
22136     */
22137    EAPI void            elm_index_item_level_set(Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
22138
22139    /**
22140     * Get the items level set for a given index widget.
22141     *
22142     * @param obj The index object.
22143     * @return @c 0 or @c 1, which are the levels @p obj might be at.
22144     *
22145     * @see elm_index_item_level_set() for more information
22146     *
22147     * @ingroup Index
22148     */
22149    EAPI int             elm_index_item_level_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22150
22151    /**
22152     * Returns the last selected item's data, for a given index widget.
22153     *
22154     * @param obj The index object.
22155     * @return The item @b data associated to the last selected item on
22156     * @p obj (or @c NULL, on errors).
22157     *
22158     * @warning The returned value is @b not an #Elm_Index_Item item
22159     * handle, but the data associated to it (see the @c item parameter
22160     * in elm_index_item_append(), as an example).
22161     *
22162     * @ingroup Index
22163     */
22164    EAPI void           *elm_index_item_selected_get(const Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
22165
22166    /**
22167     * Append a new item on a given index widget.
22168     *
22169     * @param obj The index object.
22170     * @param letter Letter under which the item should be indexed
22171     * @param item The item data to set for the index's item
22172     *
22173     * Despite the most common usage of the @p letter argument is for
22174     * single char strings, one could use arbitrary strings as index
22175     * entries.
22176     *
22177     * @c item will be the pointer returned back on @c "changed", @c
22178     * "delay,changed" and @c "selected" smart events.
22179     *
22180     * @ingroup Index
22181     */
22182    EAPI void            elm_index_item_append(Evas_Object *obj, const char *letter, const void *item) EINA_ARG_NONNULL(1);
22183
22184    /**
22185     * Prepend a new item on a given index widget.
22186     *
22187     * @param obj The index object.
22188     * @param letter Letter under which the item should be indexed
22189     * @param item The item data to set for the index's item
22190     *
22191     * Despite the most common usage of the @p letter argument is for
22192     * single char strings, one could use arbitrary strings as index
22193     * entries.
22194     *
22195     * @c item will be the pointer returned back on @c "changed", @c
22196     * "delay,changed" and @c "selected" smart events.
22197     *
22198     * @ingroup Index
22199     */
22200    EAPI void            elm_index_item_prepend(Evas_Object *obj, const char *letter, const void *item) EINA_ARG_NONNULL(1);
22201
22202    /**
22203     * Append a new item, on a given index widget, <b>after the item
22204     * having @p relative as data</b>.
22205     *
22206     * @param obj The index object.
22207     * @param letter Letter under which the item should be indexed
22208     * @param item The item data to set for the index's item
22209     * @param relative The item data of the index item to be the
22210     * predecessor of this new one
22211     *
22212     * Despite the most common usage of the @p letter argument is for
22213     * single char strings, one could use arbitrary strings as index
22214     * entries.
22215     *
22216     * @c item will be the pointer returned back on @c "changed", @c
22217     * "delay,changed" and @c "selected" smart events.
22218     *
22219     * @note If @p relative is @c NULL or if it's not found to be data
22220     * set on any previous item on @p obj, this function will behave as
22221     * elm_index_item_append().
22222     *
22223     * @ingroup Index
22224     */
22225    EAPI void            elm_index_item_append_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative) EINA_ARG_NONNULL(1);
22226
22227    /**
22228     * Prepend a new item, on a given index widget, <b>after the item
22229     * having @p relative as data</b>.
22230     *
22231     * @param obj The index object.
22232     * @param letter Letter under which the item should be indexed
22233     * @param item The item data to set for the index's item
22234     * @param relative The item data of the index item to be the
22235     * successor of this new one
22236     *
22237     * Despite the most common usage of the @p letter argument is for
22238     * single char strings, one could use arbitrary strings as index
22239     * entries.
22240     *
22241     * @c item will be the pointer returned back on @c "changed", @c
22242     * "delay,changed" and @c "selected" smart events.
22243     *
22244     * @note If @p relative is @c NULL or if it's not found to be data
22245     * set on any previous item on @p obj, this function will behave as
22246     * elm_index_item_prepend().
22247     *
22248     * @ingroup Index
22249     */
22250    EAPI void            elm_index_item_prepend_relative(Evas_Object *obj, const char *letter, const void *item, const void *relative) EINA_ARG_NONNULL(1);
22251
22252    /**
22253     * Insert a new item into the given index widget, using @p cmp_func
22254     * function to sort items (by item handles).
22255     *
22256     * @param obj The index object.
22257     * @param letter Letter under which the item should be indexed
22258     * @param item The item data to set for the index's item
22259     * @param cmp_func The comparing function to be used to sort index
22260     * items <b>by #Elm_Index_Item item handles</b>
22261     * @param cmp_data_func A @b fallback function to be called for the
22262     * sorting of index items <b>by item data</b>). It will be used
22263     * when @p cmp_func returns @c 0 (equality), which means an index
22264     * item with provided item data already exists. To decide which
22265     * data item should be pointed to by the index item in question, @p
22266     * cmp_data_func will be used. If @p cmp_data_func returns a
22267     * non-negative value, the previous index item data will be
22268     * replaced by the given @p item pointer. If the previous data need
22269     * to be freed, it should be done by the @p cmp_data_func function,
22270     * because all references to it will be lost. If this function is
22271     * not provided (@c NULL is given), index items will be @b
22272     * duplicated, if @p cmp_func returns @c 0.
22273     *
22274     * Despite the most common usage of the @p letter argument is for
22275     * single char strings, one could use arbitrary strings as index
22276     * entries.
22277     *
22278     * @c item will be the pointer returned back on @c "changed", @c
22279     * "delay,changed" and @c "selected" smart events.
22280     *
22281     * @ingroup Index
22282     */
22283    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);
22284
22285    /**
22286     * Remove an item from a given index widget, <b>to be referenced by
22287     * it's data value</b>.
22288     *
22289     * @param obj The index object
22290     * @param item The item's data pointer for the item to be removed
22291     * from @p obj
22292     *
22293     * If a deletion callback is set, via elm_index_item_del_cb_set(),
22294     * that callback function will be called by this one.
22295     *
22296     * @warning The item to be removed from @p obj will be found via
22297     * its item data pointer, and not by an #Elm_Index_Item handle.
22298     *
22299     * @ingroup Index
22300     */
22301    EAPI void            elm_index_item_del(Evas_Object *obj, const void *item) EINA_ARG_NONNULL(1);
22302
22303    /**
22304     * Find a given index widget's item, <b>using item data</b>.
22305     *
22306     * @param obj The index object
22307     * @param item The item data pointed to by the desired index item
22308     * @return The index item handle, if found, or @c NULL otherwise
22309     *
22310     * @ingroup Index
22311     */
22312    EAPI Elm_Index_Item *elm_index_item_find(Evas_Object *obj, const void *item) EINA_ARG_NONNULL(1);
22313
22314    /**
22315     * Removes @b all items from a given index widget.
22316     *
22317     * @param obj The index object.
22318     *
22319     * If deletion callbacks are set, via elm_index_item_del_cb_set(),
22320     * that callback function will be called for each item in @p obj.
22321     *
22322     * @ingroup Index
22323     */
22324    EAPI void            elm_index_item_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
22325
22326    /**
22327     * Go to a given items level on a index widget
22328     *
22329     * @param obj The index object
22330     * @param level The index level (one of @c 0 or @c 1)
22331     *
22332     * @ingroup Index
22333     */
22334    EAPI void            elm_index_item_go(Evas_Object *obj, int level) EINA_ARG_NONNULL(1);
22335
22336    /**
22337     * Return the data associated with a given index widget item
22338     *
22339     * @param it The index widget item handle
22340     * @return The data associated with @p it
22341     *
22342     * @see elm_index_item_data_set()
22343     *
22344     * @ingroup Index
22345     */
22346    EAPI void           *elm_index_item_data_get(const Elm_Index_Item *item) EINA_ARG_NONNULL(1);
22347
22348    /**
22349     * Set the data associated with a given index widget item
22350     *
22351     * @param it The index widget item handle
22352     * @param data The new data pointer to set to @p it
22353     *
22354     * This sets new item data on @p it.
22355     *
22356     * @warning The old data pointer won't be touched by this function, so
22357     * the user had better to free that old data himself/herself.
22358     *
22359     * @ingroup Index
22360     */
22361    EAPI void            elm_index_item_data_set(Elm_Index_Item *it, const void *data) EINA_ARG_NONNULL(1);
22362
22363    /**
22364     * Set the function to be called when a given index widget item is freed.
22365     *
22366     * @param it The item to set the callback on
22367     * @param func The function to call on the item's deletion
22368     *
22369     * When called, @p func will have both @c data and @c event_info
22370     * arguments with the @p it item's data value and, naturally, the
22371     * @c obj argument with a handle to the parent index widget.
22372     *
22373     * @ingroup Index
22374     */
22375    EAPI void            elm_index_item_del_cb_set(Elm_Index_Item *it, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
22376
22377    /**
22378     * Get the letter (string) set on a given index widget item.
22379     *
22380     * @param it The index item handle
22381     * @return The letter string set on @p it
22382     *
22383     * @ingroup Index
22384     */
22385    EAPI const char     *elm_index_item_letter_get(const Elm_Index_Item *item) EINA_ARG_NONNULL(1);
22386
22387    /**
22388     */
22389    EAPI void            elm_index_button_image_invisible_set(Evas_Object *obj, Eina_Bool invisible) EINA_ARG_NONNULL(1);
22390
22391    /**
22392     * @}
22393     */
22394
22395    /**
22396     * @defgroup Photocam Photocam
22397     *
22398     * @image html img/widget/photocam/preview-00.png
22399     * @image latex img/widget/photocam/preview-00.eps
22400     *
22401     * This is a widget specifically for displaying high-resolution digital
22402     * camera photos giving speedy feedback (fast load), low memory footprint
22403     * and zooming and panning as well as fitting logic. It is entirely focused
22404     * on jpeg images, and takes advantage of properties of the jpeg format (via
22405     * evas loader features in the jpeg loader).
22406     *
22407     * Signals that you can add callbacks for are:
22408     * @li "clicked" - This is called when a user has clicked the photo without
22409     *                 dragging around.
22410     * @li "press" - This is called when a user has pressed down on the photo.
22411     * @li "longpressed" - This is called when a user has pressed down on the
22412     *                     photo for a long time without dragging around.
22413     * @li "clicked,double" - This is called when a user has double-clicked the
22414     *                        photo.
22415     * @li "load" - Photo load begins.
22416     * @li "loaded" - This is called when the image file load is complete for the
22417     *                first view (low resolution blurry version).
22418     * @li "load,detail" - Photo detailed data load begins.
22419     * @li "loaded,detail" - This is called when the image file load is complete
22420     *                      for the detailed image data (full resolution needed).
22421     * @li "zoom,start" - Zoom animation started.
22422     * @li "zoom,stop" - Zoom animation stopped.
22423     * @li "zoom,change" - Zoom changed when using an auto zoom mode.
22424     * @li "scroll" - the content has been scrolled (moved)
22425     * @li "scroll,anim,start" - scrolling animation has started
22426     * @li "scroll,anim,stop" - scrolling animation has stopped
22427     * @li "scroll,drag,start" - dragging the contents around has started
22428     * @li "scroll,drag,stop" - dragging the contents around has stopped
22429     *
22430     * @ref tutorial_photocam shows the API in action.
22431     * @{
22432     */
22433    /**
22434     * @brief Types of zoom available.
22435     */
22436    typedef enum _Elm_Photocam_Zoom_Mode
22437      {
22438         ELM_PHOTOCAM_ZOOM_MODE_MANUAL = 0, /**< Zoom controled normally by elm_photocam_zoom_set */
22439         ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT, /**< Zoom until photo fits in photocam */
22440         ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL, /**< Zoom until photo fills photocam */
22441         ELM_PHOTOCAM_ZOOM_MODE_LAST
22442      } Elm_Photocam_Zoom_Mode;
22443    /**
22444     * @brief Add a new Photocam object
22445     *
22446     * @param parent The parent object
22447     * @return The new object or NULL if it cannot be created
22448     */
22449    EAPI Evas_Object           *elm_photocam_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
22450    /**
22451     * @brief Set the photo file to be shown
22452     *
22453     * @param obj The photocam object
22454     * @param file The photo file
22455     * @return The return error (see EVAS_LOAD_ERROR_NONE, EVAS_LOAD_ERROR_GENERIC etc.)
22456     *
22457     * This sets (and shows) the specified file (with a relative or absolute
22458     * path) and will return a load error (same error that
22459     * evas_object_image_load_error_get() will return). The image will change and
22460     * adjust its size at this point and begin a background load process for this
22461     * photo that at some time in the future will be displayed at the full
22462     * quality needed.
22463     */
22464    EAPI Evas_Load_Error        elm_photocam_file_set(Evas_Object *obj, const char *file) EINA_ARG_NONNULL(1);
22465    /**
22466     * @brief Returns the path of the current image file
22467     *
22468     * @param obj The photocam object
22469     * @return Returns the path
22470     *
22471     * @see elm_photocam_file_set()
22472     */
22473    EAPI const char            *elm_photocam_file_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22474    /**
22475     * @brief Set the zoom level of the photo
22476     *
22477     * @param obj The photocam object
22478     * @param zoom The zoom level to set
22479     *
22480     * This sets the zoom level. 1 will be 1:1 pixel for pixel. 2 will be 2:1
22481     * (that is 2x2 photo pixels will display as 1 on-screen pixel). 4:1 will be
22482     * 4x4 photo pixels as 1 screen pixel, and so on. The @p zoom parameter must
22483     * be greater than 0. It is usggested to stick to powers of 2. (1, 2, 4, 8,
22484     * 16, 32, etc.).
22485     */
22486    EAPI void                   elm_photocam_zoom_set(Evas_Object *obj, double zoom) EINA_ARG_NONNULL(1);
22487    /**
22488     * @brief Get the zoom level of the photo
22489     *
22490     * @param obj The photocam object
22491     * @return The current zoom level
22492     *
22493     * This returns the current zoom level of the photocam object. Note that if
22494     * you set the fill mode to other than ELM_PHOTOCAM_ZOOM_MODE_MANUAL
22495     * (which is the default), the zoom level may be changed at any time by the
22496     * photocam object itself to account for photo size and photocam viewpoer
22497     * size.
22498     *
22499     * @see elm_photocam_zoom_set()
22500     * @see elm_photocam_zoom_mode_set()
22501     */
22502    EAPI double                 elm_photocam_zoom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22503    /**
22504     * @brief Set the zoom mode
22505     *
22506     * @param obj The photocam object
22507     * @param mode The desired mode
22508     *
22509     * This sets the zoom mode to manual or one of several automatic levels.
22510     * Manual (ELM_PHOTOCAM_ZOOM_MODE_MANUAL) means that zoom is set manually by
22511     * elm_photocam_zoom_set() and will stay at that level until changed by code
22512     * or until zoom mode is changed. This is the default mode. The Automatic
22513     * modes will allow the photocam object to automatically adjust zoom mode
22514     * based on properties. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT) will adjust zoom so
22515     * the photo fits EXACTLY inside the scroll frame with no pixels outside this
22516     * area. ELM_PHOTOCAM_ZOOM_MODE_AUTO_FILL will be similar but ensure no
22517     * pixels within the frame are left unfilled.
22518     */
22519    EAPI void                   elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode) EINA_ARG_NONNULL(1);
22520    /**
22521     * @brief Get the zoom mode
22522     *
22523     * @param obj The photocam object
22524     * @return The current zoom mode
22525     *
22526     * This gets the current zoom mode of the photocam object.
22527     *
22528     * @see elm_photocam_zoom_mode_set()
22529     */
22530    EAPI Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22531    /**
22532     * @brief Get the current image pixel width and height
22533     *
22534     * @param obj The photocam object
22535     * @param w A pointer to the width return
22536     * @param h A pointer to the height return
22537     *
22538     * This gets the current photo pixel width and height (for the original).
22539     * The size will be returned in the integers @p w and @p h that are pointed
22540     * to.
22541     */
22542    EAPI void                   elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h) EINA_ARG_NONNULL(1);
22543    /**
22544     * @brief Get the area of the image that is currently shown
22545     *
22546     * @param obj
22547     * @param x A pointer to the X-coordinate of region
22548     * @param y A pointer to the Y-coordinate of region
22549     * @param w A pointer to the width
22550     * @param h A pointer to the height
22551     *
22552     * @see elm_photocam_image_region_show()
22553     * @see elm_photocam_image_region_bring_in()
22554     */
22555    EAPI void                   elm_photocam_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h) EINA_ARG_NONNULL(1);
22556    /**
22557     * @brief Set the viewed portion of the image
22558     *
22559     * @param obj The photocam object
22560     * @param x X-coordinate of region in image original pixels
22561     * @param y Y-coordinate of region in image original pixels
22562     * @param w Width of region in image original pixels
22563     * @param h Height of region in image original pixels
22564     *
22565     * This shows the region of the image without using animation.
22566     */
22567    EAPI void                   elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
22568    /**
22569     * @brief Bring in the viewed portion of the image
22570     *
22571     * @param obj The photocam object
22572     * @param x X-coordinate of region in image original pixels
22573     * @param y Y-coordinate of region in image original pixels
22574     * @param w Width of region in image original pixels
22575     * @param h Height of region in image original pixels
22576     *
22577     * This shows the region of the image using animation.
22578     */
22579    EAPI void                   elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h) EINA_ARG_NONNULL(1);
22580    /**
22581     * @brief Set the paused state for photocam
22582     *
22583     * @param obj The photocam object
22584     * @param paused The pause state to set
22585     *
22586     * This sets the paused state to on(EINA_TRUE) or off (EINA_FALSE) for
22587     * photocam. The default is off. This will stop zooming using animation on
22588     * zoom levels changes and change instantly. This will stop any existing
22589     * animations that are running.
22590     */
22591    EAPI void                   elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
22592    /**
22593     * @brief Get the paused state for photocam
22594     *
22595     * @param obj The photocam object
22596     * @return The current paused state
22597     *
22598     * This gets the current paused state for the photocam object.
22599     *
22600     * @see elm_photocam_paused_set()
22601     */
22602    EAPI Eina_Bool              elm_photocam_paused_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22603    /**
22604     * @brief Get the internal low-res image used for photocam
22605     *
22606     * @param obj The photocam object
22607     * @return The internal image object handle, or NULL if none exists
22608     *
22609     * This gets the internal image object inside photocam. Do not modify it. It
22610     * is for inspection only, and hooking callbacks to. Nothing else. It may be
22611     * deleted at any time as well.
22612     */
22613    EAPI Evas_Object           *elm_photocam_internal_image_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22614    /**
22615     * @brief Set the photocam scrolling bouncing.
22616     *
22617     * @param obj The photocam object
22618     * @param h_bounce bouncing for horizontal
22619     * @param v_bounce bouncing for vertical
22620     */
22621    EAPI void                   elm_photocam_bounce_set(Evas_Object *obj,  Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
22622    /**
22623     * @brief Get the photocam scrolling bouncing.
22624     *
22625     * @param obj The photocam object
22626     * @param h_bounce bouncing for horizontal
22627     * @param v_bounce bouncing for vertical
22628     *
22629     * @see elm_photocam_bounce_set()
22630     */
22631    EAPI void                   elm_photocam_bounce_get(const Evas_Object *obj,  Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
22632    /**
22633     * @}
22634     */
22635
22636    /**
22637     * @defgroup Map Map
22638     * @ingroup Elementary
22639     *
22640     * @image html img/widget/map/preview-00.png
22641     * @image latex img/widget/map/preview-00.eps
22642     *
22643     * This is a widget specifically for displaying a map. It uses basically
22644     * OpenStreetMap provider http://www.openstreetmap.org/,
22645     * but custom providers can be added.
22646     *
22647     * It supports some basic but yet nice features:
22648     * @li zoom and scroll
22649     * @li markers with content to be displayed when user clicks over it
22650     * @li group of markers
22651     * @li routes
22652     *
22653     * Smart callbacks one can listen to:
22654     *
22655     * - "clicked" - This is called when a user has clicked the map without
22656     *   dragging around.
22657     * - "press" - This is called when a user has pressed down on the map.
22658     * - "longpressed" - This is called when a user has pressed down on the map
22659     *   for a long time without dragging around.
22660     * - "clicked,double" - This is called when a user has double-clicked
22661     *   the map.
22662     * - "load,detail" - Map detailed data load begins.
22663     * - "loaded,detail" - This is called when all currently visible parts of
22664     *   the map are loaded.
22665     * - "zoom,start" - Zoom animation started.
22666     * - "zoom,stop" - Zoom animation stopped.
22667     * - "zoom,change" - Zoom changed when using an auto zoom mode.
22668     * - "scroll" - the content has been scrolled (moved).
22669     * - "scroll,anim,start" - scrolling animation has started.
22670     * - "scroll,anim,stop" - scrolling animation has stopped.
22671     * - "scroll,drag,start" - dragging the contents around has started.
22672     * - "scroll,drag,stop" - dragging the contents around has stopped.
22673     * - "downloaded" - This is called when all currently required map images
22674     *   are downloaded.
22675     * - "route,load" - This is called when route request begins.
22676     * - "route,loaded" - This is called when route request ends.
22677     * - "name,load" - This is called when name request begins.
22678     * - "name,loaded- This is called when name request ends.
22679     *
22680     * Available style for map widget:
22681     * - @c "default"
22682     *
22683     * Available style for markers:
22684     * - @c "radio"
22685     * - @c "radio2"
22686     * - @c "empty"
22687     *
22688     * Available style for marker bubble:
22689     * - @c "default"
22690     *
22691     * List of examples:
22692     * @li @ref map_example_01
22693     * @li @ref map_example_02
22694     * @li @ref map_example_03
22695     */
22696
22697    /**
22698     * @addtogroup Map
22699     * @{
22700     */
22701
22702    /**
22703     * @enum _Elm_Map_Zoom_Mode
22704     * @typedef Elm_Map_Zoom_Mode
22705     *
22706     * Set map's zoom behavior. It can be set to manual or automatic.
22707     *
22708     * Default value is #ELM_MAP_ZOOM_MODE_MANUAL.
22709     *
22710     * Values <b> don't </b> work as bitmask, only one can be choosen.
22711     *
22712     * @note Valid sizes are 2^zoom, consequently the map may be smaller
22713     * than the scroller view.
22714     *
22715     * @see elm_map_zoom_mode_set()
22716     * @see elm_map_zoom_mode_get()
22717     *
22718     * @ingroup Map
22719     */
22720    typedef enum _Elm_Map_Zoom_Mode
22721      {
22722         ELM_MAP_ZOOM_MODE_MANUAL, /**< Zoom controled manually by elm_map_zoom_set(). It's set by default. */
22723         ELM_MAP_ZOOM_MODE_AUTO_FIT, /**< Zoom until map fits inside the scroll frame with no pixels outside this area. */
22724         ELM_MAP_ZOOM_MODE_AUTO_FILL, /**< Zoom until map fills scroll, ensuring no pixels are left unfilled. */
22725         ELM_MAP_ZOOM_MODE_LAST
22726      } Elm_Map_Zoom_Mode;
22727
22728    /**
22729     * @enum _Elm_Map_Route_Sources
22730     * @typedef Elm_Map_Route_Sources
22731     *
22732     * Set route service to be used. By default used source is
22733     * #ELM_MAP_ROUTE_SOURCE_YOURS.
22734     *
22735     * @see elm_map_route_source_set()
22736     * @see elm_map_route_source_get()
22737     *
22738     * @ingroup Map
22739     */
22740    typedef enum _Elm_Map_Route_Sources
22741      {
22742         ELM_MAP_ROUTE_SOURCE_YOURS, /**< Routing service http://www.yournavigation.org/ . Set by default.*/
22743         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. */
22744         ELM_MAP_ROUTE_SOURCE_ORS, /**< Open Route Service: http://www.openrouteservice.org/ . It's not working with Map yet. */
22745         ELM_MAP_ROUTE_SOURCE_LAST
22746      } Elm_Map_Route_Sources;
22747
22748    typedef enum _Elm_Map_Name_Sources
22749      {
22750         ELM_MAP_NAME_SOURCE_NOMINATIM,
22751         ELM_MAP_NAME_SOURCE_LAST
22752      } Elm_Map_Name_Sources;
22753
22754    /**
22755     * @enum _Elm_Map_Route_Type
22756     * @typedef Elm_Map_Route_Type
22757     *
22758     * Set type of transport used on route.
22759     *
22760     * @see elm_map_route_add()
22761     *
22762     * @ingroup Map
22763     */
22764    typedef enum _Elm_Map_Route_Type
22765      {
22766         ELM_MAP_ROUTE_TYPE_MOTOCAR, /**< Route should consider an automobile will be used. */
22767         ELM_MAP_ROUTE_TYPE_BICYCLE, /**< Route should consider a bicycle will be used by the user. */
22768         ELM_MAP_ROUTE_TYPE_FOOT, /**< Route should consider user will be walking. */
22769         ELM_MAP_ROUTE_TYPE_LAST
22770      } Elm_Map_Route_Type;
22771
22772    /**
22773     * @enum _Elm_Map_Route_Method
22774     * @typedef Elm_Map_Route_Method
22775     *
22776     * Set the routing method, what should be priorized, time or distance.
22777     *
22778     * @see elm_map_route_add()
22779     *
22780     * @ingroup Map
22781     */
22782    typedef enum _Elm_Map_Route_Method
22783      {
22784         ELM_MAP_ROUTE_METHOD_FASTEST, /**< Route should priorize time. */
22785         ELM_MAP_ROUTE_METHOD_SHORTEST, /**< Route should priorize distance. */
22786         ELM_MAP_ROUTE_METHOD_LAST
22787      } Elm_Map_Route_Method;
22788
22789    typedef enum _Elm_Map_Name_Method
22790      {
22791         ELM_MAP_NAME_METHOD_SEARCH,
22792         ELM_MAP_NAME_METHOD_REVERSE,
22793         ELM_MAP_NAME_METHOD_LAST
22794      } Elm_Map_Name_Method;
22795
22796    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(). */
22797    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(). */
22798    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(). */
22799    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(). */
22800    typedef struct _Elm_Map_Name            Elm_Map_Name; /**< A handle for specific coordinates. */
22801    typedef struct _Elm_Map_Track           Elm_Map_Track;
22802
22803    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. */
22804    typedef void         (*ElmMapMarkerDelFunc)      (Evas_Object *obj, Elm_Map_Marker *marker, void *data, Evas_Object *o); /**< Function to delete bubble content for marker classes. */
22805    typedef Evas_Object *(*ElmMapMarkerIconGetFunc)  (Evas_Object *obj, Elm_Map_Marker *marker, void *data); /**< Icon fetching class function for marker classes. */
22806    typedef Evas_Object *(*ElmMapGroupIconGetFunc)   (Evas_Object *obj, void *data); /**< Icon fetching class function for markers group classes. */
22807
22808    typedef char        *(*ElmMapModuleSourceFunc) (void);
22809    typedef int          (*ElmMapModuleZoomMinFunc) (void);
22810    typedef int          (*ElmMapModuleZoomMaxFunc) (void);
22811    typedef char        *(*ElmMapModuleUrlFunc) (Evas_Object *obj, int x, int y, int zoom);
22812    typedef int          (*ElmMapModuleRouteSourceFunc) (void);
22813    typedef char        *(*ElmMapModuleRouteUrlFunc) (Evas_Object *obj, char *type_name, int method, double flon, double flat, double tlon, double tlat);
22814    typedef char        *(*ElmMapModuleNameUrlFunc) (Evas_Object *obj, int method, char *name, double lon, double lat);
22815    typedef Eina_Bool    (*ElmMapModuleGeoIntoCoordFunc) (const Evas_Object *obj, int zoom, double lon, double lat, int size, int *x, int *y);
22816    typedef Eina_Bool    (*ElmMapModuleCoordIntoGeoFunc) (const Evas_Object *obj, int zoom, int x, int y, int size, double *lon, double *lat);
22817
22818    /**
22819     * Add a new map widget to the given parent Elementary (container) object.
22820     *
22821     * @param parent The parent object.
22822     * @return a new map widget handle or @c NULL, on errors.
22823     *
22824     * This function inserts a new map widget on the canvas.
22825     *
22826     * @ingroup Map
22827     */
22828    EAPI Evas_Object          *elm_map_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
22829
22830    /**
22831     * Set the zoom level of the map.
22832     *
22833     * @param obj The map object.
22834     * @param zoom The zoom level to set.
22835     *
22836     * This sets the zoom level.
22837     *
22838     * It will respect limits defined by elm_map_source_zoom_min_set() and
22839     * elm_map_source_zoom_max_set().
22840     *
22841     * By default these values are 0 (world map) and 18 (maximum zoom).
22842     *
22843     * This function should be used when zoom mode is set to
22844     * #ELM_MAP_ZOOM_MODE_MANUAL. This is the default mode, and can be set
22845     * with elm_map_zoom_mode_set().
22846     *
22847     * @see elm_map_zoom_mode_set().
22848     * @see elm_map_zoom_get().
22849     *
22850     * @ingroup Map
22851     */
22852    EAPI void                  elm_map_zoom_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
22853
22854    /**
22855     * Get the zoom level of the map.
22856     *
22857     * @param obj The map object.
22858     * @return The current zoom level.
22859     *
22860     * This returns the current zoom level of the map object.
22861     *
22862     * Note that if you set the fill mode to other than #ELM_MAP_ZOOM_MODE_MANUAL
22863     * (which is the default), the zoom level may be changed at any time by the
22864     * map object itself to account for map size and map viewport size.
22865     *
22866     * @see elm_map_zoom_set() for details.
22867     *
22868     * @ingroup Map
22869     */
22870    EAPI int                   elm_map_zoom_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22871
22872    /**
22873     * Set the zoom mode used by the map object.
22874     *
22875     * @param obj The map object.
22876     * @param mode The zoom mode of the map, being it one of
22877     * #ELM_MAP_ZOOM_MODE_MANUAL (default), #ELM_MAP_ZOOM_MODE_AUTO_FIT,
22878     * or #ELM_MAP_ZOOM_MODE_AUTO_FILL.
22879     *
22880     * This sets the zoom mode to manual or one of the automatic levels.
22881     * Manual (#ELM_MAP_ZOOM_MODE_MANUAL) means that zoom is set manually by
22882     * elm_map_zoom_set() and will stay at that level until changed by code
22883     * or until zoom mode is changed. This is the default mode.
22884     *
22885     * The Automatic modes will allow the map object to automatically
22886     * adjust zoom mode based on properties. #ELM_MAP_ZOOM_MODE_AUTO_FIT will
22887     * adjust zoom so the map fits inside the scroll frame with no pixels
22888     * outside this area. #ELM_MAP_ZOOM_MODE_AUTO_FILL will be similar but
22889     * ensure no pixels within the frame are left unfilled. Do not forget that
22890     * the valid sizes are 2^zoom, consequently the map may be smaller than
22891     * the scroller view.
22892     *
22893     * @see elm_map_zoom_set()
22894     *
22895     * @ingroup Map
22896     */
22897    EAPI void                  elm_map_zoom_mode_set(Evas_Object *obj, Elm_Map_Zoom_Mode mode) EINA_ARG_NONNULL(1);
22898
22899    /**
22900     * Get the zoom mode used by the map object.
22901     *
22902     * @param obj The map object.
22903     * @return The zoom mode of the map, being it one of
22904     * #ELM_MAP_ZOOM_MODE_MANUAL (default), #ELM_MAP_ZOOM_MODE_AUTO_FIT,
22905     * or #ELM_MAP_ZOOM_MODE_AUTO_FILL.
22906     *
22907     * This function returns the current zoom mode used by the map object.
22908     *
22909     * @see elm_map_zoom_mode_set() for more details.
22910     *
22911     * @ingroup Map
22912     */
22913    EAPI Elm_Map_Zoom_Mode     elm_map_zoom_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
22914
22915    /**
22916     * Get the current coordinates of the map.
22917     *
22918     * @param obj The map object.
22919     * @param lon Pointer where to store longitude.
22920     * @param lat Pointer where to store latitude.
22921     *
22922     * This gets the current center coordinates of the map object. It can be
22923     * set by elm_map_geo_region_bring_in() and elm_map_geo_region_show().
22924     *
22925     * @see elm_map_geo_region_bring_in()
22926     * @see elm_map_geo_region_show()
22927     *
22928     * @ingroup Map
22929     */
22930    EAPI void                  elm_map_geo_region_get(const Evas_Object *obj, double *lon, double *lat) EINA_ARG_NONNULL(1);
22931
22932    /**
22933     * Animatedly bring in given coordinates to the center of the map.
22934     *
22935     * @param obj The map object.
22936     * @param lon Longitude to center at.
22937     * @param lat Latitude to center at.
22938     *
22939     * This causes map to jump to the given @p lat and @p lon coordinates
22940     * and show it (by scrolling) in the center of the viewport, if it is not
22941     * already centered. This will use animation to do so and take a period
22942     * of time to complete.
22943     *
22944     * @see elm_map_geo_region_show() for a function to avoid animation.
22945     * @see elm_map_geo_region_get()
22946     *
22947     * @ingroup Map
22948     */
22949    EAPI void                  elm_map_geo_region_bring_in(Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
22950
22951    /**
22952     * Show the given coordinates at the center of the map, @b immediately.
22953     *
22954     * @param obj The map object.
22955     * @param lon Longitude to center at.
22956     * @param lat Latitude to center at.
22957     *
22958     * This causes map to @b redraw its viewport's contents to the
22959     * region contining the given @p lat and @p lon, that will be moved to the
22960     * center of the map.
22961     *
22962     * @see elm_map_geo_region_bring_in() for a function to move with animation.
22963     * @see elm_map_geo_region_get()
22964     *
22965     * @ingroup Map
22966     */
22967    EAPI void                  elm_map_geo_region_show(Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
22968
22969    /**
22970     * Pause or unpause the map.
22971     *
22972     * @param obj The map object.
22973     * @param paused Use @c EINA_TRUE to pause the map @p obj or @c EINA_FALSE
22974     * to unpause it.
22975     *
22976     * This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
22977     * for map.
22978     *
22979     * The default is off.
22980     *
22981     * This will stop zooming using animation, changing zoom levels will
22982     * change instantly. This will stop any existing animations that are running.
22983     *
22984     * @see elm_map_paused_get()
22985     *
22986     * @ingroup Map
22987     */
22988    EAPI void                  elm_map_paused_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
22989
22990    /**
22991     * Get a value whether map is paused or not.
22992     *
22993     * @param obj The map object.
22994     * @return @c EINA_TRUE means map is pause. @c EINA_FALSE indicates
22995     * it is not. If @p obj is @c NULL, @c EINA_FALSE is returned.
22996     *
22997     * This gets the current paused state for the map object.
22998     *
22999     * @see elm_map_paused_set() for details.
23000     *
23001     * @ingroup Map
23002     */
23003    EAPI Eina_Bool             elm_map_paused_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23004
23005    /**
23006     * Set to show markers during zoom level changes or not.
23007     *
23008     * @param obj The map object.
23009     * @param paused Use @c EINA_TRUE to @b not show markers or @c EINA_FALSE
23010     * to show them.
23011     *
23012     * This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
23013     * for map.
23014     *
23015     * The default is off.
23016     *
23017     * This will stop zooming using animation, changing zoom levels will
23018     * change instantly. This will stop any existing animations that are running.
23019     *
23020     * This sets the paused state to on (@c EINA_TRUE) or off (@c EINA_FALSE)
23021     * for the markers.
23022     *
23023     * The default  is off.
23024     *
23025     * Enabling it will force the map to stop displaying the markers during
23026     * zoom level changes. Set to on if you have a large number of markers.
23027     *
23028     * @see elm_map_paused_markers_get()
23029     *
23030     * @ingroup Map
23031     */
23032    EAPI void                  elm_map_paused_markers_set(Evas_Object *obj, Eina_Bool paused) EINA_ARG_NONNULL(1);
23033
23034    /**
23035     * Get a value whether markers will be displayed on zoom level changes or not
23036     *
23037     * @param obj The map object.
23038     * @return @c EINA_TRUE means map @b won't display markers or @c EINA_FALSE
23039     * indicates it will. If @p obj is @c NULL, @c EINA_FALSE is returned.
23040     *
23041     * This gets the current markers paused state for the map object.
23042     *
23043     * @see elm_map_paused_markers_set() for details.
23044     *
23045     * @ingroup Map
23046     */
23047    EAPI Eina_Bool             elm_map_paused_markers_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23048
23049    /**
23050     * Get the information of downloading status.
23051     *
23052     * @param obj The map object.
23053     * @param try_num Pointer where to store number of tiles being downloaded.
23054     * @param finish_num Pointer where to store number of tiles successfully
23055     * downloaded.
23056     *
23057     * This gets the current downloading status for the map object, the number
23058     * of tiles being downloaded and the number of tiles already downloaded.
23059     *
23060     * @ingroup Map
23061     */
23062    EAPI void                  elm_map_utils_downloading_status_get(const Evas_Object *obj, int *try_num, int *finish_num) EINA_ARG_NONNULL(1, 2, 3);
23063
23064    /**
23065     * Convert a pixel coordinate (x,y) into a geographic coordinate
23066     * (longitude, latitude).
23067     *
23068     * @param obj The map object.
23069     * @param x the coordinate.
23070     * @param y the coordinate.
23071     * @param size the size in pixels of the map.
23072     * The map is a square and generally his size is : pow(2.0, zoom)*256.
23073     * @param lon Pointer where to store the longitude that correspond to x.
23074     * @param lat Pointer where to store the latitude that correspond to y.
23075     *
23076     * @note Origin pixel point is the top left corner of the viewport.
23077     * Map zoom and size are taken on account.
23078     *
23079     * @see elm_map_utils_convert_geo_into_coord() if you need the inverse.
23080     *
23081     * @ingroup Map
23082     */
23083    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);
23084
23085    /**
23086     * Convert a geographic coordinate (longitude, latitude) into a pixel
23087     * coordinate (x, y).
23088     *
23089     * @param obj The map object.
23090     * @param lon the longitude.
23091     * @param lat the latitude.
23092     * @param size the size in pixels of the map. The map is a square
23093     * and generally his size is : pow(2.0, zoom)*256.
23094     * @param x Pointer where to store the horizontal pixel coordinate that
23095     * correspond to the longitude.
23096     * @param y Pointer where to store the vertical pixel coordinate that
23097     * correspond to the latitude.
23098     *
23099     * @note Origin pixel point is the top left corner of the viewport.
23100     * Map zoom and size are taken on account.
23101     *
23102     * @see elm_map_utils_convert_coord_into_geo() if you need the inverse.
23103     *
23104     * @ingroup Map
23105     */
23106    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);
23107
23108    /**
23109     * Convert a geographic coordinate (longitude, latitude) into a name
23110     * (address).
23111     *
23112     * @param obj The map object.
23113     * @param lon the longitude.
23114     * @param lat the latitude.
23115     * @return name A #Elm_Map_Name handle for this coordinate.
23116     *
23117     * To get the string for this address, elm_map_name_address_get()
23118     * should be used.
23119     *
23120     * @see elm_map_utils_convert_name_into_coord() if you need the inverse.
23121     *
23122     * @ingroup Map
23123     */
23124    EAPI Elm_Map_Name         *elm_map_utils_convert_coord_into_name(const Evas_Object *obj, double lon, double lat) EINA_ARG_NONNULL(1);
23125
23126    /**
23127     * Convert a name (address) into a geographic coordinate
23128     * (longitude, latitude).
23129     *
23130     * @param obj The map object.
23131     * @param name The address.
23132     * @return name A #Elm_Map_Name handle for this address.
23133     *
23134     * To get the longitude and latitude, elm_map_name_region_get()
23135     * should be used.
23136     *
23137     * @see elm_map_utils_convert_coord_into_name() if you need the inverse.
23138     *
23139     * @ingroup Map
23140     */
23141    EAPI Elm_Map_Name         *elm_map_utils_convert_name_into_coord(const Evas_Object *obj, char *address) EINA_ARG_NONNULL(1, 2);
23142
23143    /**
23144     * Convert a pixel coordinate into a rotated pixel coordinate.
23145     *
23146     * @param obj The map object.
23147     * @param x horizontal coordinate of the point to rotate.
23148     * @param y vertical coordinate of the point to rotate.
23149     * @param cx rotation's center horizontal position.
23150     * @param cy rotation's center vertical position.
23151     * @param degree amount of degrees from 0.0 to 360.0 to rotate arount Z axis.
23152     * @param xx Pointer where to store rotated x.
23153     * @param yy Pointer where to store rotated y.
23154     *
23155     * @ingroup Map
23156     */
23157    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);
23158
23159    /**
23160     * Add a new marker to the map object.
23161     *
23162     * @param obj The map object.
23163     * @param lon The longitude of the marker.
23164     * @param lat The latitude of the marker.
23165     * @param clas The class, to use when marker @b isn't grouped to others.
23166     * @param clas_group The class group, to use when marker is grouped to others
23167     * @param data The data passed to the callbacks.
23168     *
23169     * @return The created marker or @c NULL upon failure.
23170     *
23171     * A marker will be created and shown in a specific point of the map, defined
23172     * by @p lon and @p lat.
23173     *
23174     * It will be displayed using style defined by @p class when this marker
23175     * is displayed alone (not grouped). A new class can be created with
23176     * elm_map_marker_class_new().
23177     *
23178     * If the marker is grouped to other markers, it will be displayed with
23179     * style defined by @p class_group. Markers with the same group are grouped
23180     * if they are close. A new group class can be created with
23181     * elm_map_marker_group_class_new().
23182     *
23183     * Markers created with this method can be deleted with
23184     * elm_map_marker_remove().
23185     *
23186     * A marker can have associated content to be displayed by a bubble,
23187     * when a user click over it, as well as an icon. These objects will
23188     * be fetch using class' callback functions.
23189     *
23190     * @see elm_map_marker_class_new()
23191     * @see elm_map_marker_group_class_new()
23192     * @see elm_map_marker_remove()
23193     *
23194     * @ingroup Map
23195     */
23196    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);
23197
23198    /**
23199     * Set the maximum numbers of markers' content to be displayed in a group.
23200     *
23201     * @param obj The map object.
23202     * @param max The maximum numbers of items displayed in a bubble.
23203     *
23204     * A bubble will be displayed when the user clicks over the group,
23205     * and will place the content of markers that belong to this group
23206     * inside it.
23207     *
23208     * A group can have a long list of markers, consequently the creation
23209     * of the content of the bubble can be very slow.
23210     *
23211     * In order to avoid this, a maximum number of items is displayed
23212     * in a bubble.
23213     *
23214     * By default this number is 30.
23215     *
23216     * Marker with the same group class are grouped if they are close.
23217     *
23218     * @see elm_map_marker_add()
23219     *
23220     * @ingroup Map
23221     */
23222    EAPI void                  elm_map_max_marker_per_group_set(Evas_Object *obj, int max) EINA_ARG_NONNULL(1);
23223
23224    /**
23225     * Remove a marker from the map.
23226     *
23227     * @param marker The marker to remove.
23228     *
23229     * @see elm_map_marker_add()
23230     *
23231     * @ingroup Map
23232     */
23233    EAPI void                  elm_map_marker_remove(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
23234
23235    /**
23236     * Get the current coordinates of the marker.
23237     *
23238     * @param marker marker.
23239     * @param lat Pointer where to store the marker's latitude.
23240     * @param lon Pointer where to store the marker's longitude.
23241     *
23242     * These values are set when adding markers, with function
23243     * elm_map_marker_add().
23244     *
23245     * @see elm_map_marker_add()
23246     *
23247     * @ingroup Map
23248     */
23249    EAPI void                  elm_map_marker_region_get(const Elm_Map_Marker *marker, double *lon, double *lat) EINA_ARG_NONNULL(1);
23250
23251    /**
23252     * Animatedly bring in given marker to the center of the map.
23253     *
23254     * @param marker The marker to center at.
23255     *
23256     * This causes map to jump to the given @p marker's coordinates
23257     * and show it (by scrolling) in the center of the viewport, if it is not
23258     * already centered. This will use animation to do so and take a period
23259     * of time to complete.
23260     *
23261     * @see elm_map_marker_show() for a function to avoid animation.
23262     * @see elm_map_marker_region_get()
23263     *
23264     * @ingroup Map
23265     */
23266    EAPI void                  elm_map_marker_bring_in(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
23267
23268    /**
23269     * Show the given marker at the center of the map, @b immediately.
23270     *
23271     * @param marker The marker to center at.
23272     *
23273     * This causes map to @b redraw its viewport's contents to the
23274     * region contining the given @p marker's coordinates, that will be
23275     * moved to the center of the map.
23276     *
23277     * @see elm_map_marker_bring_in() for a function to move with animation.
23278     * @see elm_map_markers_list_show() if more than one marker need to be
23279     * displayed.
23280     * @see elm_map_marker_region_get()
23281     *
23282     * @ingroup Map
23283     */
23284    EAPI void                  elm_map_marker_show(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
23285
23286    /**
23287     * Move and zoom the map to display a list of markers.
23288     *
23289     * @param markers A list of #Elm_Map_Marker handles.
23290     *
23291     * The map will be centered on the center point of the markers in the list.
23292     * Then the map will be zoomed in order to fit the markers using the maximum
23293     * zoom which allows display of all the markers.
23294     *
23295     * @warning All the markers should belong to the same map object.
23296     *
23297     * @see elm_map_marker_show() to show a single marker.
23298     * @see elm_map_marker_bring_in()
23299     *
23300     * @ingroup Map
23301     */
23302    EAPI void                  elm_map_markers_list_show(Eina_List *markers) EINA_ARG_NONNULL(1);
23303
23304    /**
23305     * Get the Evas object returned by the ElmMapMarkerGetFunc callback
23306     *
23307     * @param marker The marker wich content should be returned.
23308     * @return Return the evas object if it exists, else @c NULL.
23309     *
23310     * To set callback function #ElmMapMarkerGetFunc for the marker class,
23311     * elm_map_marker_class_get_cb_set() should be used.
23312     *
23313     * This content is what will be inside the bubble that will be displayed
23314     * when an user clicks over the marker.
23315     *
23316     * This returns the actual Evas object used to be placed inside
23317     * the bubble. This may be @c NULL, as it may
23318     * not have been created or may have been deleted, at any time, by
23319     * the map. <b>Do not modify this object</b> (move, resize,
23320     * show, hide, etc.), as the map is controlling it. This
23321     * function is for querying, emitting custom signals or hooking
23322     * lower level callbacks for events on that object. Do not delete
23323     * this object under any circumstances.
23324     *
23325     * @ingroup Map
23326     */
23327    EAPI Evas_Object          *elm_map_marker_object_get(const Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
23328
23329    /**
23330     * Update the marker
23331     *
23332     * @param marker The marker to be updated.
23333     *
23334     * If a content is set to this marker, it will call function to delete it,
23335     * #ElmMapMarkerDelFunc, and then will fetch the content again with
23336     * #ElmMapMarkerGetFunc.
23337     *
23338     * These functions are set for the marker class with
23339     * elm_map_marker_class_get_cb_set() and elm_map_marker_class_del_cb_set().
23340     *
23341     * @ingroup Map
23342     */
23343    EAPI void                  elm_map_marker_update(Elm_Map_Marker *marker) EINA_ARG_NONNULL(1);
23344
23345    /**
23346     * Close all the bubbles opened by the user.
23347     *
23348     * @param obj The map object.
23349     *
23350     * A bubble is displayed with a content fetched with #ElmMapMarkerGetFunc
23351     * when the user clicks on a marker.
23352     *
23353     * This functions is set for the marker class with
23354     * elm_map_marker_class_get_cb_set().
23355     *
23356     * @ingroup Map
23357     */
23358    EAPI void                  elm_map_bubbles_close(Evas_Object *obj) EINA_ARG_NONNULL(1);
23359
23360    /**
23361     * Create a new group class.
23362     *
23363     * @param obj The map object.
23364     * @return Returns the new group class.
23365     *
23366     * Each marker must be associated to a group class. Markers in the same
23367     * group are grouped if they are close.
23368     *
23369     * The group class defines the style of the marker when a marker is grouped
23370     * to others markers. When it is alone, another class will be used.
23371     *
23372     * A group class will need to be provided when creating a marker with
23373     * elm_map_marker_add().
23374     *
23375     * Some properties and functions can be set by class, as:
23376     * - style, with elm_map_group_class_style_set()
23377     * - data - to be associated to the group class. It can be set using
23378     *   elm_map_group_class_data_set().
23379     * - min zoom to display markers, set with
23380     *   elm_map_group_class_zoom_displayed_set().
23381     * - max zoom to group markers, set using
23382     *   elm_map_group_class_zoom_grouped_set().
23383     * - visibility - set if markers will be visible or not, set with
23384     *   elm_map_group_class_hide_set().
23385     * - #ElmMapGroupIconGetFunc - used to fetch icon for markers group classes.
23386     *   It can be set using elm_map_group_class_icon_cb_set().
23387     *
23388     * @see elm_map_marker_add()
23389     * @see elm_map_group_class_style_set()
23390     * @see elm_map_group_class_data_set()
23391     * @see elm_map_group_class_zoom_displayed_set()
23392     * @see elm_map_group_class_zoom_grouped_set()
23393     * @see elm_map_group_class_hide_set()
23394     * @see elm_map_group_class_icon_cb_set()
23395     *
23396     * @ingroup Map
23397     */
23398    EAPI Elm_Map_Group_Class  *elm_map_group_class_new(Evas_Object *obj) EINA_ARG_NONNULL(1);
23399
23400    /**
23401     * Set the marker's style of a group class.
23402     *
23403     * @param clas The group class.
23404     * @param style The style to be used by markers.
23405     *
23406     * Each marker must be associated to a group class, and will use the style
23407     * defined by such class when grouped to other markers.
23408     *
23409     * The following styles are provided by default theme:
23410     * @li @c radio - blue circle
23411     * @li @c radio2 - green circle
23412     * @li @c empty
23413     *
23414     * @see elm_map_group_class_new() for more details.
23415     * @see elm_map_marker_add()
23416     *
23417     * @ingroup Map
23418     */
23419    EAPI void                  elm_map_group_class_style_set(Elm_Map_Group_Class *clas, const char *style) EINA_ARG_NONNULL(1);
23420
23421    /**
23422     * Set the icon callback function of a group class.
23423     *
23424     * @param clas The group class.
23425     * @param icon_get The callback function that will return the icon.
23426     *
23427     * Each marker must be associated to a group class, and it can display a
23428     * custom icon. The function @p icon_get must return this icon.
23429     *
23430     * @see elm_map_group_class_new() for more details.
23431     * @see elm_map_marker_add()
23432     *
23433     * @ingroup Map
23434     */
23435    EAPI void                  elm_map_group_class_icon_cb_set(Elm_Map_Group_Class *clas, ElmMapGroupIconGetFunc icon_get) EINA_ARG_NONNULL(1);
23436
23437    /**
23438     * Set the data associated to the group class.
23439     *
23440     * @param clas The group class.
23441     * @param data The new user data.
23442     *
23443     * This data will be passed for callback functions, like icon get callback,
23444     * that can be set with elm_map_group_class_icon_cb_set().
23445     *
23446     * If a data was previously set, the object will lose the pointer for it,
23447     * so if needs to be freed, you must do it yourself.
23448     *
23449     * @see elm_map_group_class_new() for more details.
23450     * @see elm_map_group_class_icon_cb_set()
23451     * @see elm_map_marker_add()
23452     *
23453     * @ingroup Map
23454     */
23455    EAPI void                  elm_map_group_class_data_set(Elm_Map_Group_Class *clas, void *data) EINA_ARG_NONNULL(1);
23456
23457    /**
23458     * Set the minimum zoom from where the markers are displayed.
23459     *
23460     * @param clas The group class.
23461     * @param zoom The minimum zoom.
23462     *
23463     * Markers only will be displayed when the map is displayed at @p zoom
23464     * or bigger.
23465     *
23466     * @see elm_map_group_class_new() for more details.
23467     * @see elm_map_marker_add()
23468     *
23469     * @ingroup Map
23470     */
23471    EAPI void                  elm_map_group_class_zoom_displayed_set(Elm_Map_Group_Class *clas, int zoom) EINA_ARG_NONNULL(1);
23472
23473    /**
23474     * Set the zoom from where the markers are no more grouped.
23475     *
23476     * @param clas The group class.
23477     * @param zoom The maximum zoom.
23478     *
23479     * Markers only will be grouped when the map is displayed at
23480     * less than @p zoom.
23481     *
23482     * @see elm_map_group_class_new() for more details.
23483     * @see elm_map_marker_add()
23484     *
23485     * @ingroup Map
23486     */
23487    EAPI void                  elm_map_group_class_zoom_grouped_set(Elm_Map_Group_Class *clas, int zoom) EINA_ARG_NONNULL(1);
23488
23489    /**
23490     * Set if the markers associated to the group class @clas are hidden or not.
23491     *
23492     * @param clas The group class.
23493     * @param hide Use @c EINA_TRUE to hide markers or @c EINA_FALSE
23494     * to show them.
23495     *
23496     * If @p hide is @c EINA_TRUE the markers will be hidden, but default
23497     * is to show them.
23498     *
23499     * @ingroup Map
23500     */
23501    EAPI void                  elm_map_group_class_hide_set(Evas_Object *obj, Elm_Map_Group_Class *clas, Eina_Bool hide) EINA_ARG_NONNULL(1, 2);
23502
23503    /**
23504     * Create a new marker class.
23505     *
23506     * @param obj The map object.
23507     * @return Returns the new group class.
23508     *
23509     * Each marker must be associated to a class.
23510     *
23511     * The marker class defines the style of the marker when a marker is
23512     * displayed alone, i.e., not grouped to to others markers. When grouped
23513     * it will use group class style.
23514     *
23515     * A marker class will need to be provided when creating a marker with
23516     * elm_map_marker_add().
23517     *
23518     * Some properties and functions can be set by class, as:
23519     * - style, with elm_map_marker_class_style_set()
23520     * - #ElmMapMarkerIconGetFunc - used to fetch icon for markers classes.
23521     *   It can be set using elm_map_marker_class_icon_cb_set().
23522     * - #ElmMapMarkerGetFunc - used to fetch bubble content for marker classes.
23523     *   Set using elm_map_marker_class_get_cb_set().
23524     * - #ElmMapMarkerDelFunc - used to delete bubble content for marker classes.
23525     *   Set using elm_map_marker_class_del_cb_set().
23526     *
23527     * @see elm_map_marker_add()
23528     * @see elm_map_marker_class_style_set()
23529     * @see elm_map_marker_class_icon_cb_set()
23530     * @see elm_map_marker_class_get_cb_set()
23531     * @see elm_map_marker_class_del_cb_set()
23532     *
23533     * @ingroup Map
23534     */
23535    EAPI Elm_Map_Marker_Class *elm_map_marker_class_new(Evas_Object *obj) EINA_ARG_NONNULL(1);
23536
23537    /**
23538     * Set the marker's style of a marker class.
23539     *
23540     * @param clas The marker class.
23541     * @param style The style to be used by markers.
23542     *
23543     * Each marker must be associated to a marker class, and will use the style
23544     * defined by such class when alone, i.e., @b not grouped to other markers.
23545     *
23546     * The following styles are provided by default theme:
23547     * @li @c radio
23548     * @li @c radio2
23549     * @li @c empty
23550     *
23551     * @see elm_map_marker_class_new() for more details.
23552     * @see elm_map_marker_add()
23553     *
23554     * @ingroup Map
23555     */
23556    EAPI void                  elm_map_marker_class_style_set(Elm_Map_Marker_Class *clas, const char *style) EINA_ARG_NONNULL(1);
23557
23558    /**
23559     * Set the icon callback function of a marker class.
23560     *
23561     * @param clas The marker class.
23562     * @param icon_get The callback function that will return the icon.
23563     *
23564     * Each marker must be associated to a marker class, and it can display a
23565     * custom icon. The function @p icon_get must return this icon.
23566     *
23567     * @see elm_map_marker_class_new() for more details.
23568     * @see elm_map_marker_add()
23569     *
23570     * @ingroup Map
23571     */
23572    EAPI void                  elm_map_marker_class_icon_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerIconGetFunc icon_get) EINA_ARG_NONNULL(1);
23573
23574    /**
23575     * Set the bubble content callback function of a marker class.
23576     *
23577     * @param clas The marker class.
23578     * @param get The callback function that will return the content.
23579     *
23580     * Each marker must be associated to a marker class, and it can display a
23581     * a content on a bubble that opens when the user click over the marker.
23582     * The function @p get must return this content object.
23583     *
23584     * If this content will need to be deleted, elm_map_marker_class_del_cb_set()
23585     * can be used.
23586     *
23587     * @see elm_map_marker_class_new() for more details.
23588     * @see elm_map_marker_class_del_cb_set()
23589     * @see elm_map_marker_add()
23590     *
23591     * @ingroup Map
23592     */
23593    EAPI void                  elm_map_marker_class_get_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerGetFunc get) EINA_ARG_NONNULL(1);
23594
23595    /**
23596     * Set the callback function used to delete bubble content of a marker class.
23597     *
23598     * @param clas The marker class.
23599     * @param del The callback function that will delete the content.
23600     *
23601     * Each marker must be associated to a marker class, and it can display a
23602     * a content on a bubble that opens when the user click over the marker.
23603     * The function to return such content can be set with
23604     * elm_map_marker_class_get_cb_set().
23605     *
23606     * If this content must be freed, a callback function need to be
23607     * set for that task with this function.
23608     *
23609     * If this callback is defined it will have to delete (or not) the
23610     * object inside, but if the callback is not defined the object will be
23611     * destroyed with evas_object_del().
23612     *
23613     * @see elm_map_marker_class_new() for more details.
23614     * @see elm_map_marker_class_get_cb_set()
23615     * @see elm_map_marker_add()
23616     *
23617     * @ingroup Map
23618     */
23619    EAPI void                  elm_map_marker_class_del_cb_set(Elm_Map_Marker_Class *clas, ElmMapMarkerDelFunc del) EINA_ARG_NONNULL(1);
23620
23621    /**
23622     * Get the list of available sources.
23623     *
23624     * @param obj The map object.
23625     * @return The source names list.
23626     *
23627     * It will provide a list with all available sources, that can be set as
23628     * current source with elm_map_source_name_set(), or get with
23629     * elm_map_source_name_get().
23630     *
23631     * Available sources:
23632     * @li "Mapnik"
23633     * @li "Osmarender"
23634     * @li "CycleMap"
23635     * @li "Maplint"
23636     *
23637     * @see elm_map_source_name_set() for more details.
23638     * @see elm_map_source_name_get()
23639     *
23640     * @ingroup Map
23641     */
23642    EAPI const char          **elm_map_source_names_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23643
23644    /**
23645     * Set the source of the map.
23646     *
23647     * @param obj The map object.
23648     * @param source The source to be used.
23649     *
23650     * Map widget retrieves images that composes the map from a web service.
23651     * This web service can be set with this method.
23652     *
23653     * A different service can return a different maps with different
23654     * information and it can use different zoom values.
23655     *
23656     * The @p source_name need to match one of the names provided by
23657     * elm_map_source_names_get().
23658     *
23659     * The current source can be get using elm_map_source_name_get().
23660     *
23661     * @see elm_map_source_names_get()
23662     * @see elm_map_source_name_get()
23663     *
23664     *
23665     * @ingroup Map
23666     */
23667    EAPI void                  elm_map_source_name_set(Evas_Object *obj, const char *source_name) EINA_ARG_NONNULL(1);
23668
23669    /**
23670     * Get the name of currently used source.
23671     *
23672     * @param obj The map object.
23673     * @return Returns the name of the source in use.
23674     *
23675     * @see elm_map_source_name_set() for more details.
23676     *
23677     * @ingroup Map
23678     */
23679    EAPI const char           *elm_map_source_name_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23680
23681    /**
23682     * Set the source of the route service to be used by the map.
23683     *
23684     * @param obj The map object.
23685     * @param source The route service to be used, being it one of
23686     * #ELM_MAP_ROUTE_SOURCE_YOURS (default), #ELM_MAP_ROUTE_SOURCE_MONAV,
23687     * and #ELM_MAP_ROUTE_SOURCE_ORS.
23688     *
23689     * Each one has its own algorithm, so the route retrieved may
23690     * differ depending on the source route. Now, only the default is working.
23691     *
23692     * #ELM_MAP_ROUTE_SOURCE_YOURS is the routing service provided at
23693     * http://www.yournavigation.org/.
23694     *
23695     * #ELM_MAP_ROUTE_SOURCE_MONAV, offers exact routing without heuristic
23696     * assumptions. Its routing core is based on Contraction Hierarchies.
23697     *
23698     * #ELM_MAP_ROUTE_SOURCE_ORS, is provided at http://www.openrouteservice.org/
23699     *
23700     * @see elm_map_route_source_get().
23701     *
23702     * @ingroup Map
23703     */
23704    EAPI void                  elm_map_route_source_set(Evas_Object *obj, Elm_Map_Route_Sources source) EINA_ARG_NONNULL(1);
23705
23706    /**
23707     * Get the current route source.
23708     *
23709     * @param obj The map object.
23710     * @return The source of the route service used by the map.
23711     *
23712     * @see elm_map_route_source_set() for details.
23713     *
23714     * @ingroup Map
23715     */
23716    EAPI Elm_Map_Route_Sources elm_map_route_source_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23717
23718    /**
23719     * Set the minimum zoom of the source.
23720     *
23721     * @param obj The map object.
23722     * @param zoom New minimum zoom value to be used.
23723     *
23724     * By default, it's 0.
23725     *
23726     * @ingroup Map
23727     */
23728    EAPI void                  elm_map_source_zoom_min_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
23729
23730    /**
23731     * Get the minimum zoom of the source.
23732     *
23733     * @param obj The map object.
23734     * @return Returns the minimum zoom of the source.
23735     *
23736     * @see elm_map_source_zoom_min_set() for details.
23737     *
23738     * @ingroup Map
23739     */
23740    EAPI int                   elm_map_source_zoom_min_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23741
23742    /**
23743     * Set the maximum zoom of the source.
23744     *
23745     * @param obj The map object.
23746     * @param zoom New maximum zoom value to be used.
23747     *
23748     * By default, it's 18.
23749     *
23750     * @ingroup Map
23751     */
23752    EAPI void                  elm_map_source_zoom_max_set(Evas_Object *obj, int zoom) EINA_ARG_NONNULL(1);
23753
23754    /**
23755     * Get the maximum zoom of the source.
23756     *
23757     * @param obj The map object.
23758     * @return Returns the maximum zoom of the source.
23759     *
23760     * @see elm_map_source_zoom_min_set() for details.
23761     *
23762     * @ingroup Map
23763     */
23764    EAPI int                   elm_map_source_zoom_max_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23765
23766    /**
23767     * Set the user agent used by the map object to access routing services.
23768     *
23769     * @param obj The map object.
23770     * @param user_agent The user agent to be used by the map.
23771     *
23772     * User agent is a client application implementing a network protocol used
23773     * in communications within a client–server distributed computing system
23774     *
23775     * The @p user_agent identification string will transmitted in a header
23776     * field @c User-Agent.
23777     *
23778     * @see elm_map_user_agent_get()
23779     *
23780     * @ingroup Map
23781     */
23782    EAPI void                  elm_map_user_agent_set(Evas_Object *obj, const char *user_agent) EINA_ARG_NONNULL(1, 2);
23783
23784    /**
23785     * Get the user agent used by the map object.
23786     *
23787     * @param obj The map object.
23788     * @return The user agent identification string used by the map.
23789     *
23790     * @see elm_map_user_agent_set() for details.
23791     *
23792     * @ingroup Map
23793     */
23794    EAPI const char           *elm_map_user_agent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
23795
23796    /**
23797     * Add a new route to the map object.
23798     *
23799     * @param obj The map object.
23800     * @param type The type of transport to be considered when tracing a route.
23801     * @param method The routing method, what should be priorized.
23802     * @param flon The start longitude.
23803     * @param flat The start latitude.
23804     * @param tlon The destination longitude.
23805     * @param tlat The destination latitude.
23806     *
23807     * @return The created route or @c NULL upon failure.
23808     *
23809     * A route will be traced by point on coordinates (@p flat, @p flon)
23810     * to point on coordinates (@p tlat, @p tlon), using the route service
23811     * set with elm_map_route_source_set().
23812     *
23813     * It will take @p type on consideration to define the route,
23814     * depending if the user will be walking or driving, the route may vary.
23815     * One of #ELM_MAP_ROUTE_TYPE_MOTOCAR, #ELM_MAP_ROUTE_TYPE_BICYCLE, or
23816     * #ELM_MAP_ROUTE_TYPE_FOOT need to be used.
23817     *
23818     * Another parameter is what the route should priorize, the minor distance
23819     * or the less time to be spend on the route. So @p method should be one
23820     * of #ELM_MAP_ROUTE_METHOD_SHORTEST or #ELM_MAP_ROUTE_METHOD_FASTEST.
23821     *
23822     * Routes created with this method can be deleted with
23823     * elm_map_route_remove(), colored with elm_map_route_color_set(),
23824     * and distance can be get with elm_map_route_distance_get().
23825     *
23826     * @see elm_map_route_remove()
23827     * @see elm_map_route_color_set()
23828     * @see elm_map_route_distance_get()
23829     * @see elm_map_route_source_set()
23830     *
23831     * @ingroup Map
23832     */
23833    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);
23834
23835    /**
23836     * Remove a route from the map.
23837     *
23838     * @param route The route to remove.
23839     *
23840     * @see elm_map_route_add()
23841     *
23842     * @ingroup Map
23843     */
23844    EAPI void                  elm_map_route_remove(Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23845
23846    /**
23847     * Set the route color.
23848     *
23849     * @param route The route object.
23850     * @param r Red channel value, from 0 to 255.
23851     * @param g Green channel value, from 0 to 255.
23852     * @param b Blue channel value, from 0 to 255.
23853     * @param a Alpha channel value, from 0 to 255.
23854     *
23855     * It uses an additive color model, so each color channel represents
23856     * how much of each primary colors must to be used. 0 represents
23857     * ausence of this color, so if all of the three are set to 0,
23858     * the color will be black.
23859     *
23860     * These component values should be integers in the range 0 to 255,
23861     * (single 8-bit byte).
23862     *
23863     * This sets the color used for the route. By default, it is set to
23864     * solid red (r = 255, g = 0, b = 0, a = 255).
23865     *
23866     * For alpha channel, 0 represents completely transparent, and 255, opaque.
23867     *
23868     * @see elm_map_route_color_get()
23869     *
23870     * @ingroup Map
23871     */
23872    EAPI void                  elm_map_route_color_set(Elm_Map_Route *route, int r, int g , int b, int a) EINA_ARG_NONNULL(1);
23873
23874    /**
23875     * Get the route color.
23876     *
23877     * @param route The route object.
23878     * @param r Pointer where to store the red channel value.
23879     * @param g Pointer where to store the green channel value.
23880     * @param b Pointer where to store the blue channel value.
23881     * @param a Pointer where to store the alpha channel value.
23882     *
23883     * @see elm_map_route_color_set() for details.
23884     *
23885     * @ingroup Map
23886     */
23887    EAPI void                  elm_map_route_color_get(const Elm_Map_Route *route, int *r, int *g , int *b, int *a) EINA_ARG_NONNULL(1);
23888
23889    /**
23890     * Get the route distance in kilometers.
23891     *
23892     * @param route The route object.
23893     * @return The distance of route (unit : km).
23894     *
23895     * @ingroup Map
23896     */
23897    EAPI double                elm_map_route_distance_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23898
23899    /**
23900     * Get the information of route nodes.
23901     *
23902     * @param route The route object.
23903     * @return Returns a string with the nodes of route.
23904     *
23905     * @ingroup Map
23906     */
23907    EAPI const char           *elm_map_route_node_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23908
23909    /**
23910     * Get the information of route waypoint.
23911     *
23912     * @param route the route object.
23913     * @return Returns a string with information about waypoint of route.
23914     *
23915     * @ingroup Map
23916     */
23917    EAPI const char           *elm_map_route_waypoint_get(const Elm_Map_Route *route) EINA_ARG_NONNULL(1);
23918
23919    /**
23920     * Get the address of the name.
23921     *
23922     * @param name The name handle.
23923     * @return Returns the address string of @p name.
23924     *
23925     * This gets the coordinates of the @p name, created with one of the
23926     * conversion functions.
23927     *
23928     * @see elm_map_utils_convert_name_into_coord()
23929     * @see elm_map_utils_convert_coord_into_name()
23930     *
23931     * @ingroup Map
23932     */
23933    EAPI const char           *elm_map_name_address_get(const Elm_Map_Name *name) EINA_ARG_NONNULL(1);
23934
23935    /**
23936     * Get the current coordinates of the name.
23937     *
23938     * @param name The name handle.
23939     * @param lat Pointer where to store the latitude.
23940     * @param lon Pointer where to store The longitude.
23941     *
23942     * This gets the coordinates of the @p name, created with one of the
23943     * conversion functions.
23944     *
23945     * @see elm_map_utils_convert_name_into_coord()
23946     * @see elm_map_utils_convert_coord_into_name()
23947     *
23948     * @ingroup Map
23949     */
23950    EAPI void                  elm_map_name_region_get(const Elm_Map_Name *name, double *lon, double *lat) EINA_ARG_NONNULL(1);
23951
23952    /**
23953     * Remove a name from the map.
23954     *
23955     * @param name The name to remove.
23956     *
23957     * Basically the struct handled by @p name will be freed, so convertions
23958     * between address and coordinates will be lost.
23959     *
23960     * @see elm_map_utils_convert_name_into_coord()
23961     * @see elm_map_utils_convert_coord_into_name()
23962     *
23963     * @ingroup Map
23964     */
23965    EAPI void                  elm_map_name_remove(Elm_Map_Name *name) EINA_ARG_NONNULL(1);
23966
23967    /**
23968     * Rotate the map.
23969     *
23970     * @param obj The map object.
23971     * @param degree Angle from 0.0 to 360.0 to rotate arount Z axis.
23972     * @param cx Rotation's center horizontal position.
23973     * @param cy Rotation's center vertical position.
23974     *
23975     * @see elm_map_rotate_get()
23976     *
23977     * @ingroup Map
23978     */
23979    EAPI void                  elm_map_rotate_set(Evas_Object *obj, double degree, Evas_Coord cx, Evas_Coord cy) EINA_ARG_NONNULL(1);
23980
23981    /**
23982     * Get the rotate degree of the map
23983     *
23984     * @param obj The map object
23985     * @param degree Pointer where to store degrees from 0.0 to 360.0
23986     * to rotate arount Z axis.
23987     * @param cx Pointer where to store rotation's center horizontal position.
23988     * @param cy Pointer where to store rotation's center vertical position.
23989     *
23990     * @see elm_map_rotate_set() to set map rotation.
23991     *
23992     * @ingroup Map
23993     */
23994    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);
23995
23996    /**
23997     * Enable or disable mouse wheel to be used to zoom in / out the map.
23998     *
23999     * @param obj The map object.
24000     * @param disabled Use @c EINA_TRUE to disable mouse wheel or @c EINA_FALSE
24001     * to enable it.
24002     *
24003     * Mouse wheel can be used for the user to zoom in or zoom out the map.
24004     *
24005     * It's disabled by default.
24006     *
24007     * @see elm_map_wheel_disabled_get()
24008     *
24009     * @ingroup Map
24010     */
24011    EAPI void                  elm_map_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
24012
24013    /**
24014     * Get a value whether mouse wheel is enabled or not.
24015     *
24016     * @param obj The map object.
24017     * @return @c EINA_TRUE means map is disabled. @c EINA_FALSE indicates
24018     * it is enabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
24019     *
24020     * Mouse wheel can be used for the user to zoom in or zoom out the map.
24021     *
24022     * @see elm_map_wheel_disabled_set() for details.
24023     *
24024     * @ingroup Map
24025     */
24026    EAPI Eina_Bool             elm_map_wheel_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24027
24028 #ifdef ELM_EMAP
24029    /**
24030     * Add a track on the map
24031     *
24032     * @param obj The map object.
24033     * @param emap The emap route object.
24034     * @return The route object. This is an elm object of type Route.
24035     *
24036     * @see elm_route_add() for details.
24037     *
24038     * @ingroup Map
24039     */
24040    EAPI Evas_Object          *elm_map_track_add(Evas_Object *obj, EMap_Route *emap) EINA_ARG_NONNULL(1);
24041 #endif
24042
24043    /**
24044     * Remove a track from the map
24045     *
24046     * @param obj The map object.
24047     * @param route The track to remove.
24048     *
24049     * @ingroup Map
24050     */
24051    EAPI void                  elm_map_track_remove(Evas_Object *obj, Evas_Object *route) EINA_ARG_NONNULL(1);
24052
24053    /**
24054     * @}
24055     */
24056
24057    /* Route */
24058    EAPI Evas_Object *elm_route_add(Evas_Object *parent);
24059 #ifdef ELM_EMAP
24060    EAPI void elm_route_emap_set(Evas_Object *obj, EMap_Route *emap);
24061 #endif
24062    EAPI double elm_route_lon_min_get(Evas_Object *obj);
24063    EAPI double elm_route_lat_min_get(Evas_Object *obj);
24064    EAPI double elm_route_lon_max_get(Evas_Object *obj);
24065    EAPI double elm_route_lat_max_get(Evas_Object *obj);
24066
24067
24068    /**
24069     * @defgroup Panel Panel
24070     *
24071     * @image html img/widget/panel/preview-00.png
24072     * @image latex img/widget/panel/preview-00.eps
24073     *
24074     * @brief A panel is a type of animated container that contains subobjects.
24075     * It can be expanded or contracted by clicking the button on it's edge.
24076     *
24077     * Orientations are as follows:
24078     * @li ELM_PANEL_ORIENT_TOP
24079     * @li ELM_PANEL_ORIENT_LEFT
24080     * @li ELM_PANEL_ORIENT_RIGHT
24081     *
24082     * Default contents parts of the panel widget that you can use for are:
24083     * @li "default" - A content of the panel
24084     *
24085     * @ref tutorial_panel shows one way to use this widget.
24086     * @{
24087     */
24088    typedef enum _Elm_Panel_Orient
24089      {
24090         ELM_PANEL_ORIENT_TOP, /**< Panel (dis)appears from the top */
24091         ELM_PANEL_ORIENT_BOTTOM, /**< Not implemented */
24092         ELM_PANEL_ORIENT_LEFT, /**< Panel (dis)appears from the left */
24093         ELM_PANEL_ORIENT_RIGHT, /**< Panel (dis)appears from the right */
24094      } Elm_Panel_Orient;
24095    /**
24096     * @brief Adds a panel object
24097     *
24098     * @param parent The parent object
24099     *
24100     * @return The panel object, or NULL on failure
24101     */
24102    EAPI Evas_Object          *elm_panel_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24103    /**
24104     * @brief Sets the orientation of the panel
24105     *
24106     * @param parent The parent object
24107     * @param orient The panel orientation. Can be one of the following:
24108     * @li ELM_PANEL_ORIENT_TOP
24109     * @li ELM_PANEL_ORIENT_LEFT
24110     * @li ELM_PANEL_ORIENT_RIGHT
24111     *
24112     * Sets from where the panel will (dis)appear.
24113     */
24114    EAPI void                  elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient) EINA_ARG_NONNULL(1);
24115    /**
24116     * @brief Get the orientation of the panel.
24117     *
24118     * @param obj The panel object
24119     * @return The Elm_Panel_Orient, or ELM_PANEL_ORIENT_LEFT on failure.
24120     */
24121    EAPI Elm_Panel_Orient      elm_panel_orient_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24122    /**
24123     * @brief Set the content of the panel.
24124     *
24125     * @param obj The panel object
24126     * @param content The panel content
24127     *
24128     * Once the content object is set, a previously set one will be deleted.
24129     * If you want to keep that old content object, use the
24130     * elm_panel_content_unset() function.
24131     *
24132     * @deprecated use elm_object_content_set() instead
24133     *
24134     */
24135    WILL_DEPRECATE  EAPI void                  elm_panel_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24136    /**
24137     * @brief Get the content of the panel.
24138     *
24139     * @param obj The panel object
24140     * @return The content that is being used
24141     *
24142     * Return the content object which is set for this widget.
24143     *
24144     * @see elm_panel_content_set()
24145     * 
24146     * @deprecated use elm_object_content_get() instead
24147     *
24148     */
24149    WILL_DEPRECATE  EAPI Evas_Object          *elm_panel_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24150    /**
24151     * @brief Unset the content of the panel.
24152     *
24153     * @param obj The panel object
24154     * @return The content that was being used
24155     *
24156     * Unparent and return the content object which was set for this widget.
24157     *
24158     * @see elm_panel_content_set()
24159     *
24160     * @deprecated use elm_object_content_unset() instead
24161     *
24162     */
24163    WILL_DEPRECATE  EAPI Evas_Object          *elm_panel_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24164    /**
24165     * @brief Set the state of the panel.
24166     *
24167     * @param obj The panel object
24168     * @param hidden If true, the panel will run the animation to contract
24169     */
24170    EAPI void                  elm_panel_hidden_set(Evas_Object *obj, Eina_Bool hidden) EINA_ARG_NONNULL(1);
24171    /**
24172     * @brief Get the state of the panel.
24173     *
24174     * @param obj The panel object
24175     * @param hidden If true, the panel is in the "hide" state
24176     */
24177    EAPI Eina_Bool             elm_panel_hidden_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24178    /**
24179     * @brief Toggle the hidden state of the panel from code
24180     *
24181     * @param obj The panel object
24182     */
24183    EAPI void                  elm_panel_toggle(Evas_Object *obj) EINA_ARG_NONNULL(1);
24184    /**
24185     * @}
24186     */
24187
24188    /**
24189     * @defgroup Panes Panes
24190     * @ingroup Elementary
24191     *
24192     * @image html img/widget/panes/preview-00.png
24193     * @image latex img/widget/panes/preview-00.eps width=\textwidth
24194     *
24195     * @image html img/panes.png
24196     * @image latex img/panes.eps width=\textwidth
24197     *
24198     * The panes adds a dragable bar between two contents. When dragged
24199     * this bar will resize contents size.
24200     *
24201     * Panes can be displayed vertically or horizontally, and contents
24202     * size proportion can be customized (homogeneous by default).
24203     *
24204     * Smart callbacks one can listen to:
24205     * - "press" - The panes has been pressed (button wasn't released yet).
24206     * - "unpressed" - The panes was released after being pressed.
24207     * - "clicked" - The panes has been clicked>
24208     * - "clicked,double" - The panes has been double clicked
24209     *
24210     * Available styles for it:
24211     * - @c "default"
24212     *
24213     * Default contents parts of the panes widget that you can use for are:
24214     * @li "left" - A leftside content of the panes
24215     * @li "right" - A rightside content of the panes
24216     *
24217     * If panes is displayed vertically, left content will be displayed at
24218     * top.
24219     * 
24220     * Here is an example on its usage:
24221     * @li @ref panes_example
24222     */
24223
24224    /**
24225     * @addtogroup Panes
24226     * @{
24227     */
24228
24229    /**
24230     * Add a new panes widget to the given parent Elementary
24231     * (container) object.
24232     *
24233     * @param parent The parent object.
24234     * @return a new panes widget handle or @c NULL, on errors.
24235     *
24236     * This function inserts a new panes widget on the canvas.
24237     *
24238     * @ingroup Panes
24239     */
24240    EAPI Evas_Object          *elm_panes_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24241
24242    /**
24243     * Set the left content of the panes widget.
24244     *
24245     * @param obj The panes object.
24246     * @param content The new left content object.
24247     *
24248     * Once the content object is set, a previously set one will be deleted.
24249     * If you want to keep that old content object, use the
24250     * elm_panes_content_left_unset() function.
24251     *
24252     * If panes is displayed vertically, left content will be displayed at
24253     * top.
24254     *
24255     * @see elm_panes_content_left_get()
24256     * @see elm_panes_content_right_set() to set content on the other side.
24257     *
24258     * @deprecated use elm_object_part_content_set() instead
24259     *
24260     * @ingroup Panes
24261     */
24262    EINA_DEPRECATED EAPI void                  elm_panes_content_left_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24263
24264    /**
24265     * Set the right content of the panes widget.
24266     *
24267     * @param obj The panes object.
24268     * @param content The new right content object.
24269     *
24270     * Once the content object is set, a previously set one will be deleted.
24271     * If you want to keep that old content object, use the
24272     * elm_panes_content_right_unset() function.
24273     *
24274     * If panes is displayed vertically, left content will be displayed at
24275     * bottom.
24276     *
24277     * @see elm_panes_content_right_get()
24278     * @see elm_panes_content_left_set() to set content on the other side.
24279     *
24280     * @deprecated use elm_object_part_content_set() instead
24281     *
24282     * @ingroup Panes
24283     */
24284    EINA_DEPRECATED EAPI void                  elm_panes_content_right_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24285
24286    /**
24287     * Get the left content of the panes.
24288     *
24289     * @param obj The panes object.
24290     * @return The left content object that is being used.
24291     *
24292     * Return the left content object which is set for this widget.
24293     *
24294     * @see elm_panes_content_left_set() for details.
24295     *
24296     * @deprecated use elm_object_part_content_get() instead
24297     *
24298     * @ingroup Panes
24299     */
24300    EINA_DEPRECATED EAPI Evas_Object          *elm_panes_content_left_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24301
24302    /**
24303     * Get the right content of the panes.
24304     *
24305     * @param obj The panes object
24306     * @return The right content object that is being used
24307     *
24308     * Return the right content object which is set for this widget.
24309     *
24310     * @see elm_panes_content_right_set() for details.
24311     *
24312     * @deprecated use elm_object_part_content_get() instead
24313     *
24314     * @ingroup Panes
24315     */
24316    EINA_DEPRECATED EAPI Evas_Object          *elm_panes_content_right_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24317
24318    /**
24319     * Unset the left content used for the panes.
24320     *
24321     * @param obj The panes object.
24322     * @return The left content object that was being used.
24323     *
24324     * Unparent and return the left content object which was set for this widget.
24325     *
24326     * @see elm_panes_content_left_set() for details.
24327     * @see elm_panes_content_left_get().
24328     *
24329     * @deprecated use elm_object_part_content_unset() instead
24330     *
24331     * @ingroup Panes
24332     */
24333    EINA_DEPRECATED EAPI Evas_Object          *elm_panes_content_left_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24334
24335    /**
24336     * Unset the right content used for the panes.
24337     *
24338     * @param obj The panes object.
24339     * @return The right content object that was being used.
24340     *
24341     * Unparent and return the right content object which was set for this
24342     * widget.
24343     *
24344     * @see elm_panes_content_right_set() for details.
24345     * @see elm_panes_content_right_get().
24346     *
24347     * @deprecated use elm_object_part_content_unset() instead
24348     *
24349     * @ingroup Panes
24350     */
24351    WILL_DEPRECATE  EAPI Evas_Object          *elm_panes_content_right_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24352
24353    /**
24354     * Get the size proportion of panes widget's left side.
24355     *
24356     * @param obj The panes object.
24357     * @return float value between 0.0 and 1.0 representing size proportion
24358     * of left side.
24359     *
24360     * @see elm_panes_content_left_size_set() for more details.
24361     *
24362     * @ingroup Panes
24363     */
24364    EAPI double                elm_panes_content_left_size_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24365
24366    /**
24367     * Set the size proportion of panes widget's left side.
24368     *
24369     * @param obj The panes object.
24370     * @param size Value between 0.0 and 1.0 representing size proportion
24371     * of left side.
24372     *
24373     * By default it's homogeneous, i.e., both sides have the same size.
24374     *
24375     * If something different is required, it can be set with this function.
24376     * For example, if the left content should be displayed over
24377     * 75% of the panes size, @p size should be passed as @c 0.75.
24378     * This way, right content will be resized to 25% of panes size.
24379     *
24380     * If displayed vertically, left content is displayed at top, and
24381     * right content at bottom.
24382     *
24383     * @note This proportion will change when user drags the panes bar.
24384     *
24385     * @see elm_panes_content_left_size_get()
24386     *
24387     * @ingroup Panes
24388     */
24389    EAPI void                  elm_panes_content_left_size_set(Evas_Object *obj, double size) EINA_ARG_NONNULL(1);
24390
24391   /**
24392    * Set the orientation of a given panes widget.
24393    *
24394    * @param obj The panes object.
24395    * @param horizontal Use @c EINA_TRUE to make @p obj to be
24396    * @b horizontal, @c EINA_FALSE to make it @b vertical.
24397    *
24398    * Use this function to change how your panes is to be
24399    * disposed: vertically or horizontally.
24400    *
24401    * By default it's displayed horizontally.
24402    *
24403    * @see elm_panes_horizontal_get()
24404    *
24405    * @ingroup Panes
24406    */
24407    EAPI void                  elm_panes_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
24408
24409    /**
24410     * Retrieve the orientation of a given panes widget.
24411     *
24412     * @param obj The panes object.
24413     * @return @c EINA_TRUE, if @p obj is set to be @b horizontal,
24414     * @c EINA_FALSE if it's @b vertical (and on errors).
24415     *
24416     * @see elm_panes_horizontal_set() for more details.
24417     *
24418     * @ingroup Panes
24419     */
24420    EAPI Eina_Bool             elm_panes_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24421    EAPI void                  elm_panes_fixed_set(Evas_Object *obj, Eina_Bool fixed) EINA_ARG_NONNULL(1);
24422    EAPI Eina_Bool             elm_panes_fixed_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24423
24424    /**
24425     * @}
24426     */
24427
24428    /**
24429     * @defgroup Flip Flip
24430     *
24431     * @image html img/widget/flip/preview-00.png
24432     * @image latex img/widget/flip/preview-00.eps
24433     *
24434     * This widget holds 2 content objects(Evas_Object): one on the front and one
24435     * on the back. It allows you to flip from front to back and vice-versa using
24436     * various animations.
24437     *
24438     * If either the front or back contents are not set the flip will treat that
24439     * as transparent. So if you wore to set the front content but not the back,
24440     * and then call elm_flip_go() you would see whatever is below the flip.
24441     *
24442     * For a list of supported animations see elm_flip_go().
24443     *
24444     * Signals that you can add callbacks for are:
24445     * "animate,begin" - when a flip animation was started
24446     * "animate,done" - when a flip animation is finished
24447     *
24448     * @ref tutorial_flip show how to use most of the API.
24449     *
24450     * @{
24451     */
24452    typedef enum _Elm_Flip_Mode
24453      {
24454         ELM_FLIP_ROTATE_Y_CENTER_AXIS,
24455         ELM_FLIP_ROTATE_X_CENTER_AXIS,
24456         ELM_FLIP_ROTATE_XZ_CENTER_AXIS,
24457         ELM_FLIP_ROTATE_YZ_CENTER_AXIS,
24458         ELM_FLIP_CUBE_LEFT,
24459         ELM_FLIP_CUBE_RIGHT,
24460         ELM_FLIP_CUBE_UP,
24461         ELM_FLIP_CUBE_DOWN,
24462         ELM_FLIP_PAGE_LEFT,
24463         ELM_FLIP_PAGE_RIGHT,
24464         ELM_FLIP_PAGE_UP,
24465         ELM_FLIP_PAGE_DOWN
24466      } Elm_Flip_Mode;
24467    typedef enum _Elm_Flip_Interaction
24468      {
24469         ELM_FLIP_INTERACTION_NONE,
24470         ELM_FLIP_INTERACTION_ROTATE,
24471         ELM_FLIP_INTERACTION_CUBE,
24472         ELM_FLIP_INTERACTION_PAGE
24473      } Elm_Flip_Interaction;
24474    typedef enum _Elm_Flip_Direction
24475      {
24476         ELM_FLIP_DIRECTION_UP, /**< Allows interaction with the top of the widget */
24477         ELM_FLIP_DIRECTION_DOWN, /**< Allows interaction with the bottom of the widget */
24478         ELM_FLIP_DIRECTION_LEFT, /**< Allows interaction with the left portion of the widget */
24479         ELM_FLIP_DIRECTION_RIGHT /**< Allows interaction with the right portion of the widget */
24480      } Elm_Flip_Direction;
24481    /**
24482     * @brief Add a new flip to the parent
24483     *
24484     * @param parent The parent object
24485     * @return The new object or NULL if it cannot be created
24486     */
24487    EAPI Evas_Object *elm_flip_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24488    /**
24489     * @brief Set the front content of the flip widget.
24490     *
24491     * @param obj The flip object
24492     * @param content The new front content object
24493     *
24494     * Once the content object is set, a previously set one will be deleted.
24495     * If you want to keep that old content object, use the
24496     * elm_flip_content_front_unset() function.
24497     */
24498    EAPI void         elm_flip_content_front_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24499    /**
24500     * @brief Set the back content of the flip widget.
24501     *
24502     * @param obj The flip object
24503     * @param content The new back content object
24504     *
24505     * Once the content object is set, a previously set one will be deleted.
24506     * If you want to keep that old content object, use the
24507     * elm_flip_content_back_unset() function.
24508     */
24509    EAPI void         elm_flip_content_back_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24510    /**
24511     * @brief Get the front content used for the flip
24512     *
24513     * @param obj The flip object
24514     * @return The front content object that is being used
24515     *
24516     * Return the front content object which is set for this widget.
24517     */
24518    EAPI Evas_Object *elm_flip_content_front_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24519    /**
24520     * @brief Get the back content used for the flip
24521     *
24522     * @param obj The flip object
24523     * @return The back content object that is being used
24524     *
24525     * Return the back content object which is set for this widget.
24526     */
24527    EAPI Evas_Object *elm_flip_content_back_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24528    /**
24529     * @brief Unset the front content used for the flip
24530     *
24531     * @param obj The flip object
24532     * @return The front content object that was being used
24533     *
24534     * Unparent and return the front content object which was set for this widget.
24535     */
24536    EAPI Evas_Object *elm_flip_content_front_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24537    /**
24538     * @brief Unset the back content used for the flip
24539     *
24540     * @param obj The flip object
24541     * @return The back content object that was being used
24542     *
24543     * Unparent and return the back content object which was set for this widget.
24544     */
24545    EAPI Evas_Object *elm_flip_content_back_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24546    /**
24547     * @brief Get flip front visibility state
24548     *
24549     * @param obj The flip objct
24550     * @return EINA_TRUE if front front is showing, EINA_FALSE if the back is
24551     * showing.
24552     */
24553    EAPI Eina_Bool    elm_flip_front_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24554    /**
24555     * @brief Set flip perspective
24556     *
24557     * @param obj The flip object
24558     * @param foc The coordinate to set the focus on
24559     * @param x The X coordinate
24560     * @param y The Y coordinate
24561     *
24562     * @warning This function currently does nothing.
24563     */
24564    EAPI void         elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y) EINA_ARG_NONNULL(1);
24565    /**
24566     * @brief Runs the flip animation
24567     *
24568     * @param obj The flip object
24569     * @param mode The mode type
24570     *
24571     * Flips the front and back contents using the @p mode animation. This
24572     * efectively hides the currently visible content and shows the hidden one.
24573     *
24574     * There a number of possible animations to use for the flipping:
24575     * @li ELM_FLIP_ROTATE_X_CENTER_AXIS - Rotate the currently visible content
24576     * around a horizontal axis in the middle of its height, the other content
24577     * is shown as the other side of the flip.
24578     * @li ELM_FLIP_ROTATE_Y_CENTER_AXIS - Rotate the currently visible content
24579     * around a vertical axis in the middle of its width, the other content is
24580     * shown as the other side of the flip.
24581     * @li ELM_FLIP_ROTATE_XZ_CENTER_AXIS - Rotate the currently visible content
24582     * around a diagonal axis in the middle of its width, the other content is
24583     * shown as the other side of the flip.
24584     * @li ELM_FLIP_ROTATE_YZ_CENTER_AXIS - Rotate the currently visible content
24585     * around a diagonal axis in the middle of its height, the other content is
24586     * shown as the other side of the flip.
24587     * @li ELM_FLIP_CUBE_LEFT - Rotate the currently visible content to the left
24588     * as if the flip was a cube, the other content is show as the right face of
24589     * the cube.
24590     * @li ELM_FLIP_CUBE_RIGHT - Rotate the currently visible content to the
24591     * right as if the flip was a cube, the other content is show as the left
24592     * face of the cube.
24593     * @li ELM_FLIP_CUBE_UP - Rotate the currently visible content up as if the
24594     * flip was a cube, the other content is show as the bottom face of the cube.
24595     * @li ELM_FLIP_CUBE_DOWN - Rotate the currently visible content down as if
24596     * the flip was a cube, the other content is show as the upper face of the
24597     * cube.
24598     * @li ELM_FLIP_PAGE_LEFT - Move the currently visible content to the left as
24599     * if the flip was a book, the other content is shown as the page below that.
24600     * @li ELM_FLIP_PAGE_RIGHT - Move the currently visible content to the right
24601     * as if the flip was a book, the other content is shown as the page below
24602     * that.
24603     * @li ELM_FLIP_PAGE_UP - Move the currently visible content up as if the
24604     * flip was a book, the other content is shown as the page below that.
24605     * @li ELM_FLIP_PAGE_DOWN - Move the currently visible content down as if the
24606     * flip was a book, the other content is shown as the page below that.
24607     *
24608     * @image html elm_flip.png
24609     * @image latex elm_flip.eps width=\textwidth
24610     */
24611    EAPI void         elm_flip_go(Evas_Object *obj, Elm_Flip_Mode mode) EINA_ARG_NONNULL(1);
24612    /**
24613     * @brief Set the interactive flip mode
24614     *
24615     * @param obj The flip object
24616     * @param mode The interactive flip mode to use
24617     *
24618     * This sets if the flip should be interactive (allow user to click and
24619     * drag a side of the flip to reveal the back page and cause it to flip).
24620     * By default a flip is not interactive. You may also need to set which
24621     * sides of the flip are "active" for flipping and how much space they use
24622     * (a minimum of a finger size) with elm_flip_interacton_direction_enabled_set()
24623     * and elm_flip_interacton_direction_hitsize_set()
24624     *
24625     * The four avilable mode of interaction are:
24626     * @li ELM_FLIP_INTERACTION_NONE - No interaction is allowed
24627     * @li ELM_FLIP_INTERACTION_ROTATE - Interaction will cause rotate animation
24628     * @li ELM_FLIP_INTERACTION_CUBE - Interaction will cause cube animation
24629     * @li ELM_FLIP_INTERACTION_PAGE - Interaction will cause page animation
24630     *
24631     * @note ELM_FLIP_INTERACTION_ROTATE won't cause
24632     * ELM_FLIP_ROTATE_XZ_CENTER_AXIS or ELM_FLIP_ROTATE_YZ_CENTER_AXIS to
24633     * happen, those can only be acheived with elm_flip_go();
24634     */
24635    EAPI void         elm_flip_interaction_set(Evas_Object *obj, Elm_Flip_Interaction mode);
24636    /**
24637     * @brief Get the interactive flip mode
24638     *
24639     * @param obj The flip object
24640     * @return The interactive flip mode
24641     *
24642     * Returns the interactive flip mode set by elm_flip_interaction_set()
24643     */
24644    EAPI Elm_Flip_Interaction elm_flip_interaction_get(const Evas_Object *obj);
24645    /**
24646     * @brief Set which directions of the flip respond to interactive flip
24647     *
24648     * @param obj The flip object
24649     * @param dir The direction to change
24650     * @param enabled If that direction is enabled or not
24651     *
24652     * By default all directions are disabled, so you may want to enable the
24653     * desired directions for flipping if you need interactive flipping. You must
24654     * call this function once for each direction that should be enabled.
24655     *
24656     * @see elm_flip_interaction_set()
24657     */
24658    EAPI void         elm_flip_interacton_direction_enabled_set(Evas_Object *obj, Elm_Flip_Direction dir, Eina_Bool enabled);
24659    /**
24660     * @brief Get the enabled state of that flip direction
24661     *
24662     * @param obj The flip object
24663     * @param dir The direction to check
24664     * @return If that direction is enabled or not
24665     *
24666     * Gets the enabled state set by elm_flip_interacton_direction_enabled_set()
24667     *
24668     * @see elm_flip_interaction_set()
24669     */
24670    EAPI Eina_Bool    elm_flip_interacton_direction_enabled_get(Evas_Object *obj, Elm_Flip_Direction dir);
24671    /**
24672     * @brief Set the amount of the flip that is sensitive to interactive flip
24673     *
24674     * @param obj The flip object
24675     * @param dir The direction to modify
24676     * @param hitsize The amount of that dimension (0.0 to 1.0) to use
24677     *
24678     * Set the amount of the flip that is sensitive to interactive flip, with 0
24679     * representing no area in the flip and 1 representing the entire flip. There
24680     * is however a consideration to be made in that the area will never be
24681     * smaller than the finger size set(as set in your Elementary configuration).
24682     *
24683     * @see elm_flip_interaction_set()
24684     */
24685    EAPI void         elm_flip_interacton_direction_hitsize_set(Evas_Object *obj, Elm_Flip_Direction dir, double hitsize);
24686    /**
24687     * @brief Get the amount of the flip that is sensitive to interactive flip
24688     *
24689     * @param obj The flip object
24690     * @param dir The direction to check
24691     * @return The size set for that direction
24692     *
24693     * Returns the amount os sensitive area set by
24694     * elm_flip_interacton_direction_hitsize_set().
24695     */
24696    EAPI double       elm_flip_interacton_direction_hitsize_get(Evas_Object *obj, Elm_Flip_Direction dir);
24697    /**
24698     * @}
24699     */
24700
24701    /* scrolledentry */
24702    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24703    EINA_DEPRECATED EAPI void         elm_scrolled_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line) EINA_ARG_NONNULL(1);
24704    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_single_line_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24705    EINA_DEPRECATED EAPI void         elm_scrolled_entry_password_set(Evas_Object *obj, Eina_Bool password) EINA_ARG_NONNULL(1);
24706    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_password_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24707    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_set(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
24708    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_entry_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24709    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_append(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
24710    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_is_empty(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24711    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_selection_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24712    EINA_DEPRECATED EAPI void         elm_scrolled_entry_entry_insert(Evas_Object *obj, const char *entry) EINA_ARG_NONNULL(1);
24713    EINA_DEPRECATED EAPI void         elm_scrolled_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap) EINA_ARG_NONNULL(1);
24714    EINA_DEPRECATED EAPI void         elm_scrolled_entry_editable_set(Evas_Object *obj, Eina_Bool editable) EINA_ARG_NONNULL(1);
24715    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_editable_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24716    EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_none(Evas_Object *obj) EINA_ARG_NONNULL(1);
24717    EINA_DEPRECATED EAPI void         elm_scrolled_entry_select_all(Evas_Object *obj) EINA_ARG_NONNULL(1);
24718    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
24719    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
24720    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_up(Evas_Object *obj) EINA_ARG_NONNULL(1);
24721    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_down(Evas_Object *obj) EINA_ARG_NONNULL(1);
24722    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
24723    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
24724    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_begin_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
24725    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_line_end_set(Evas_Object *obj) EINA_ARG_NONNULL(1);
24726    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_begin(Evas_Object *obj) EINA_ARG_NONNULL(1);
24727    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_selection_end(Evas_Object *obj) EINA_ARG_NONNULL(1);
24728    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24729    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cursor_is_visible_format_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24730    EINA_DEPRECATED EAPI const char  *elm_scrolled_entry_cursor_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24731    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cursor_pos_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
24732    EINA_DEPRECATED EAPI int          elm_scrolled_entry_cursor_pos_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24733    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_cut(Evas_Object *obj) EINA_ARG_NONNULL(1);
24734    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_copy(Evas_Object *obj) EINA_ARG_NONNULL(1);
24735    EINA_DEPRECATED EAPI void         elm_scrolled_entry_selection_paste(Evas_Object *obj) EINA_ARG_NONNULL(1);
24736    EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
24737    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);
24738    EINA_DEPRECATED EAPI void         elm_scrolled_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled) EINA_ARG_NONNULL(1);
24739    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_context_menu_disabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24740    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);
24741    EINA_DEPRECATED EAPI void         elm_scrolled_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
24742    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);
24743    EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_set(Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1, 2);
24744    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24745    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_icon_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24746    EINA_DEPRECATED EAPI void         elm_scrolled_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
24747    EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_set(Evas_Object *obj, Evas_Object *end) EINA_ARG_NONNULL(1, 2);
24748    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24749    EINA_DEPRECATED EAPI Evas_Object *elm_scrolled_entry_end_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24750    EINA_DEPRECATED EAPI void         elm_scrolled_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting) EINA_ARG_NONNULL(1);
24751    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);
24752    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);
24753    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);
24754    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);
24755    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);
24756    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);
24757    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format) EINA_ARG_NONNULL(1);
24758    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format) EINA_ARG_NONNULL(1);
24759    EINA_DEPRECATED EAPI void         elm_scrolled_entry_file_save(Evas_Object *obj) EINA_ARG_NONNULL(1);
24760    EINA_DEPRECATED EAPI void         elm_scrolled_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave) EINA_ARG_NONNULL(1);
24761    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_autosave_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24762    EINA_DEPRECATED EAPI void         elm_scrolled_entry_cnp_textonly_set(Evas_Object *obj, Eina_Bool textonly) EINA_ARG_NONNULL(1);
24763    EINA_DEPRECATED EAPI Eina_Bool    elm_scrolled_entry_cnp_textonly_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
24764
24765    /**
24766     * @defgroup Conformant Conformant
24767     * @ingroup Elementary
24768     *
24769     * @image html img/widget/conformant/preview-00.png
24770     * @image latex img/widget/conformant/preview-00.eps width=\textwidth
24771     *
24772     * @image html img/conformant.png
24773     * @image latex img/conformant.eps width=\textwidth
24774     *
24775     * The aim is to provide a widget that can be used in elementary apps to
24776     * account for space taken up by the indicator, virtual keypad & softkey
24777     * windows when running the illume2 module of E17.
24778     *
24779     * So conformant content will be sized and positioned considering the
24780     * space required for such stuff, and when they popup, as a keyboard
24781     * shows when an entry is selected, conformant content won't change.
24782     *
24783     * Available styles for it:
24784     * - @c "default"
24785     *
24786     * Default contents parts of the conformant widget that you can use for are:
24787     * @li "default" - A content of the conformant
24788     *
24789     * See how to use this widget in this example:
24790     * @ref conformant_example
24791     */
24792
24793    /**
24794     * @addtogroup Conformant
24795     * @{
24796     */
24797
24798    /**
24799     * Add a new conformant widget to the given parent Elementary
24800     * (container) object.
24801     *
24802     * @param parent The parent object.
24803     * @return A new conformant widget handle or @c NULL, on errors.
24804     *
24805     * This function inserts a new conformant widget on the canvas.
24806     *
24807     * @ingroup Conformant
24808     */
24809    EAPI Evas_Object *elm_conformant_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24810
24811    /**
24812     * Set the content of the conformant widget.
24813     *
24814     * @param obj The conformant object.
24815     * @param content The content to be displayed by the conformant.
24816     *
24817     * Content will be sized and positioned considering the space required
24818     * to display a virtual keyboard. So it won't fill all the conformant
24819     * size. This way is possible to be sure that content won't resize
24820     * or be re-positioned after the keyboard is displayed.
24821     *
24822     * Once the content object is set, a previously set one will be deleted.
24823     * If you want to keep that old content object, use the
24824     * elm_object_content_unset() function.
24825     *
24826     * @see elm_object_content_unset()
24827     * @see elm_object_content_get()
24828     *
24829     * @deprecated use elm_object_content_set() instead
24830     *
24831     * @ingroup Conformant
24832     */
24833    WILL_DEPRECATE  EAPI void         elm_conformant_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24834
24835    /**
24836     * Get the content of the conformant widget.
24837     *
24838     * @param obj The conformant object.
24839     * @return The content that is being used.
24840     *
24841     * Return the content object which is set for this widget.
24842     * It won't be unparent from conformant. For that, use
24843     * elm_object_content_unset().
24844     *
24845     * @see elm_object_content_set().
24846     * @see elm_object_content_unset()
24847     *
24848     * @deprecated use elm_object_content_get() instead
24849     *
24850     * @ingroup Conformant
24851     */
24852    WILL_DEPRECATE  EAPI Evas_Object *elm_conformant_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24853
24854    /**
24855     * Unset the content of the conformant widget.
24856     *
24857     * @param obj The conformant object.
24858     * @return The content that was being used.
24859     *
24860     * Unparent and return the content object which was set for this widget.
24861     *
24862     * @see elm_object_content_set().
24863     *
24864     * @deprecated use elm_object_content_unset() instead
24865     *
24866     * @ingroup Conformant
24867     */
24868    EINA_DEPRECATED EAPI Evas_Object *elm_conformant_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24869
24870    /**
24871     * Returns the Evas_Object that represents the content area.
24872     *
24873     * @param obj The conformant object.
24874     * @return The content area of the widget.
24875     *
24876     * @ingroup Conformant
24877     */
24878    EAPI Evas_Object *elm_conformant_content_area_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24879
24880    /**
24881     * @}
24882     */
24883
24884    /**
24885     * @defgroup Mapbuf Mapbuf
24886     * @ingroup Elementary
24887     *
24888     * @image html img/widget/mapbuf/preview-00.png
24889     * @image latex img/widget/mapbuf/preview-00.eps width=\textwidth
24890     *
24891     * This holds one content object and uses an Evas Map of transformation
24892     * points to be later used with this content. So the content will be
24893     * moved, resized, etc as a single image. So it will improve performance
24894     * when you have a complex interafce, with a lot of elements, and will
24895     * need to resize or move it frequently (the content object and its
24896     * children).
24897     *
24898     * Default contents parts of the mapbuf widget that you can use for are:
24899     * @li "default" - A content of the mapbuf
24900     *
24901     * To enable map, elm_mapbuf_enabled_set() should be used.
24902     * 
24903     * See how to use this widget in this example:
24904     * @ref mapbuf_example
24905     */
24906
24907    /**
24908     * @addtogroup Mapbuf
24909     * @{
24910     */
24911
24912    /**
24913     * Add a new mapbuf widget to the given parent Elementary
24914     * (container) object.
24915     *
24916     * @param parent The parent object.
24917     * @return A new mapbuf widget handle or @c NULL, on errors.
24918     *
24919     * This function inserts a new mapbuf widget on the canvas.
24920     *
24921     * @ingroup Mapbuf
24922     */
24923    EAPI Evas_Object *elm_mapbuf_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
24924
24925    /**
24926     * Set the content of the mapbuf.
24927     *
24928     * @param obj The mapbuf object.
24929     * @param content The content that will be filled in this mapbuf object.
24930     *
24931     * Once the content object is set, a previously set one will be deleted.
24932     * If you want to keep that old content object, use the
24933     * elm_mapbuf_content_unset() function.
24934     *
24935     * To enable map, elm_mapbuf_enabled_set() should be used.
24936     *
24937     * @deprecated use elm_object_content_set() instead
24938     *
24939     * @ingroup Mapbuf
24940     */
24941    WILL_DEPRECATE  EAPI void         elm_mapbuf_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1);
24942
24943    /**
24944     * Get the content of the mapbuf.
24945     *
24946     * @param obj The mapbuf object.
24947     * @return The content that is being used.
24948     *
24949     * Return the content object which is set for this widget.
24950     *
24951     * @see elm_mapbuf_content_set() for details.
24952     *
24953     * @deprecated use elm_object_content_get() instead
24954     *
24955     * @ingroup Mapbuf
24956     */
24957    WILL_DEPRECATE  EAPI Evas_Object *elm_mapbuf_content_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
24958
24959    /**
24960     * Unset the content of the mapbuf.
24961     *
24962     * @param obj The mapbuf object.
24963     * @return The content that was being used.
24964     *
24965     * Unparent and return the content object which was set for this widget.
24966     *
24967     * @see elm_mapbuf_content_set() for details.
24968     *
24969     * @deprecated use elm_object_content_unset() instead
24970     *
24971     * @ingroup Mapbuf
24972     */
24973    WILL_DEPRECATE  EAPI Evas_Object *elm_mapbuf_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
24974
24975    /**
24976     * Enable or disable the map.
24977     *
24978     * @param obj The mapbuf object.
24979     * @param enabled @c EINA_TRUE to enable map or @c EINA_FALSE to disable it.
24980     *
24981     * This enables the map that is set or disables it. On enable, the object
24982     * geometry will be saved, and the new geometry will change (position and
24983     * size) to reflect the map geometry set.
24984     *
24985     * Also, when enabled, alpha and smooth states will be used, so if the
24986     * content isn't solid, alpha should be enabled, for example, otherwise
24987     * a black retangle will fill the content.
24988     *
24989     * When disabled, the stored map will be freed and geometry prior to
24990     * enabling the map will be restored.
24991     *
24992     * It's disabled by default.
24993     *
24994     * @see elm_mapbuf_alpha_set()
24995     * @see elm_mapbuf_smooth_set()
24996     *
24997     * @ingroup Mapbuf
24998     */
24999    EAPI void         elm_mapbuf_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
25000
25001    /**
25002     * Get a value whether map is enabled or not.
25003     *
25004     * @param obj The mapbuf object.
25005     * @return @c EINA_TRUE means map is enabled. @c EINA_FALSE indicates
25006     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
25007     *
25008     * @see elm_mapbuf_enabled_set() for details.
25009     *
25010     * @ingroup Mapbuf
25011     */
25012    EAPI Eina_Bool    elm_mapbuf_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25013
25014    /**
25015     * Enable or disable smooth map rendering.
25016     *
25017     * @param obj The mapbuf object.
25018     * @param smooth @c EINA_TRUE to enable smooth map rendering or @c EINA_FALSE
25019     * to disable it.
25020     *
25021     * This sets smoothing for map rendering. If the object is a type that has
25022     * its own smoothing settings, then both the smooth settings for this object
25023     * and the map must be turned off.
25024     *
25025     * By default smooth maps are enabled.
25026     *
25027     * @ingroup Mapbuf
25028     */
25029    EAPI void         elm_mapbuf_smooth_set(Evas_Object *obj, Eina_Bool smooth) EINA_ARG_NONNULL(1);
25030
25031    /**
25032     * Get a value whether smooth map rendering is enabled or not.
25033     *
25034     * @param obj The mapbuf object.
25035     * @return @c EINA_TRUE means smooth map rendering is enabled. @c EINA_FALSE
25036     * indicates it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
25037     *
25038     * @see elm_mapbuf_smooth_set() for details.
25039     *
25040     * @ingroup Mapbuf
25041     */
25042    EAPI Eina_Bool    elm_mapbuf_smooth_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25043
25044    /**
25045     * Set or unset alpha flag for map rendering.
25046     *
25047     * @param obj The mapbuf object.
25048     * @param alpha @c EINA_TRUE to enable alpha blending or @c EINA_FALSE
25049     * to disable it.
25050     *
25051     * This sets alpha flag for map rendering. If the object is a type that has
25052     * its own alpha settings, then this will take precedence. Only image objects
25053     * have this currently. It stops alpha blending of the map area, and is
25054     * useful if you know the object and/or all sub-objects is 100% solid.
25055     *
25056     * Alpha is enabled by default.
25057     *
25058     * @ingroup Mapbuf
25059     */
25060    EAPI void         elm_mapbuf_alpha_set(Evas_Object *obj, Eina_Bool alpha) EINA_ARG_NONNULL(1);
25061
25062    /**
25063     * Get a value whether alpha blending is enabled or not.
25064     *
25065     * @param obj The mapbuf object.
25066     * @return @c EINA_TRUE means alpha blending is enabled. @c EINA_FALSE
25067     * indicates it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
25068     *
25069     * @see elm_mapbuf_alpha_set() for details.
25070     *
25071     * @ingroup Mapbuf
25072     */
25073    EAPI Eina_Bool    elm_mapbuf_alpha_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25074
25075    /**
25076     * @}
25077     */
25078
25079    /**
25080     * @defgroup Flipselector Flip Selector
25081     *
25082     * @image html img/widget/flipselector/preview-00.png
25083     * @image latex img/widget/flipselector/preview-00.eps
25084     *
25085     * A flip selector is a widget to show a set of @b text items, one
25086     * at a time, with the same sheet switching style as the @ref Clock
25087     * "clock" widget, when one changes the current displaying sheet
25088     * (thus, the "flip" in the name).
25089     *
25090     * User clicks to flip sheets which are @b held for some time will
25091     * make the flip selector to flip continuosly and automatically for
25092     * the user. The interval between flips will keep growing in time,
25093     * so that it helps the user to reach an item which is distant from
25094     * the current selection.
25095     *
25096     * Smart callbacks one can register to:
25097     * - @c "selected" - when the widget's selected text item is changed
25098     * - @c "overflowed" - when the widget's current selection is changed
25099     *   from the first item in its list to the last
25100     * - @c "underflowed" - when the widget's current selection is changed
25101     *   from the last item in its list to the first
25102     *
25103     * Available styles for it:
25104     * - @c "default"
25105     *
25106          * To set/get the label of the flipselector item, you can use
25107          * elm_object_item_text_set/get APIs.
25108          * Once the text is set, a previously set one will be deleted.
25109          * 
25110     * Here is an example on its usage:
25111     * @li @ref flipselector_example
25112     */
25113
25114    /**
25115     * @addtogroup Flipselector
25116     * @{
25117     */
25118
25119    /**
25120     * Add a new flip selector widget to the given parent Elementary
25121     * (container) widget
25122     *
25123     * @param parent The parent object
25124     * @return a new flip selector widget handle or @c NULL, on errors
25125     *
25126     * This function inserts a new flip selector widget on the canvas.
25127     *
25128     * @ingroup Flipselector
25129     */
25130    EAPI Evas_Object               *elm_flipselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
25131
25132    /**
25133     * Programmatically select the next item of a flip selector widget
25134     *
25135     * @param obj The flipselector object
25136     *
25137     * @note The selection will be animated. Also, if it reaches the
25138     * end of its list of member items, it will continue with the first
25139     * one onwards.
25140     *
25141     * @ingroup Flipselector
25142     */
25143    EAPI void                       elm_flipselector_flip_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
25144
25145    /**
25146     * Programmatically select the previous item of a flip selector
25147     * widget
25148     *
25149     * @param obj The flipselector object
25150     *
25151     * @note The selection will be animated.  Also, if it reaches the
25152     * beginning of its list of member items, it will continue with the
25153     * last one backwards.
25154     *
25155     * @ingroup Flipselector
25156     */
25157    EAPI void                       elm_flipselector_flip_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
25158
25159    /**
25160     * Append a (text) item to a flip selector widget
25161     *
25162     * @param obj The flipselector object
25163     * @param label The (text) label of the new item
25164     * @param func Convenience callback function to take place when
25165     * item is selected
25166     * @param data Data passed to @p func, above
25167     * @return A handle to the item added or @c NULL, on errors
25168     *
25169     * The widget's list of labels to show will be appended with the
25170     * given value. If the user wishes so, a callback function pointer
25171     * can be passed, which will get called when this same item is
25172     * selected.
25173     *
25174     * @note The current selection @b won't be modified by appending an
25175     * element to the list.
25176     *
25177     * @note The maximum length of the text label is going to be
25178     * determined <b>by the widget's theme</b>. Strings larger than
25179     * that value are going to be @b truncated.
25180     *
25181     * @ingroup Flipselector
25182     */
25183    EAPI Elm_Object_Item     *elm_flipselector_item_append(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data) EINA_ARG_NONNULL(1);
25184
25185    /**
25186     * Prepend a (text) item to a flip selector widget
25187     *
25188     * @param obj The flipselector object
25189     * @param label The (text) label of the new item
25190     * @param func Convenience callback function to take place when
25191     * item is selected
25192     * @param data Data passed to @p func, above
25193     * @return A handle to the item added or @c NULL, on errors
25194     *
25195     * The widget's list of labels to show will be prepended with the
25196     * given value. If the user wishes so, a callback function pointer
25197     * can be passed, which will get called when this same item is
25198     * selected.
25199     *
25200     * @note The current selection @b won't be modified by prepending
25201     * an element to the list.
25202     *
25203     * @note The maximum length of the text label is going to be
25204     * determined <b>by the widget's theme</b>. Strings larger than
25205     * that value are going to be @b truncated.
25206     *
25207     * @ingroup Flipselector
25208     */
25209    EAPI Elm_Object_Item     *elm_flipselector_item_prepend(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data) EINA_ARG_NONNULL(1);
25210
25211    /**
25212     * Get the internal list of items in a given flip selector widget.
25213     *
25214     * @param obj The flipselector object
25215     * @return The list of items (#Elm_Object_Item as data) or
25216     * @c NULL on errors.
25217     *
25218     * This list is @b not to be modified in any way and must not be
25219     * freed. Use the list members with functions like
25220     * elm_object_item_text_set(),
25221     * elm_object_item_text_get(),
25222     * elm_flipselector_item_del(),
25223     * elm_flipselector_item_selected_get(),
25224     * elm_flipselector_item_selected_set().
25225     *
25226     * @warning This list is only valid until @p obj object's internal
25227     * items list is changed. It should be fetched again with another
25228     * call to this function when changes happen.
25229     *
25230     * @ingroup Flipselector
25231     */
25232    EAPI const Eina_List           *elm_flipselector_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25233
25234    /**
25235     * Get the first item in the given flip selector widget's list of
25236     * items.
25237     *
25238     * @param obj The flipselector object
25239     * @return The first item or @c NULL, if it has no items (and on
25240     * errors)
25241     *
25242     * @see elm_flipselector_item_append()
25243     * @see elm_flipselector_last_item_get()
25244     *
25245     * @ingroup Flipselector
25246     */
25247    EAPI Elm_Object_Item     *elm_flipselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25248
25249    /**
25250     * Get the last item in the given flip selector widget's list of
25251     * items.
25252     *
25253     * @param obj The flipselector object
25254     * @return The last item or @c NULL, if it has no items (and on
25255     * errors)
25256     *
25257     * @see elm_flipselector_item_prepend()
25258     * @see elm_flipselector_first_item_get()
25259     *
25260     * @ingroup Flipselector
25261     */
25262    EAPI Elm_Object_Item     *elm_flipselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25263
25264    /**
25265     * Get the currently selected item in a flip selector widget.
25266     *
25267     * @param obj The flipselector object
25268     * @return The selected item or @c NULL, if the widget has no items
25269     * (and on erros)
25270     *
25271     * @ingroup Flipselector
25272     */
25273    EAPI Elm_Object_Item     *elm_flipselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25274
25275    /**
25276     * Set whether a given flip selector widget's item should be the
25277     * currently selected one.
25278     *
25279     * @param it The flip selector item
25280     * @param selected @c EINA_TRUE to select it, @c EINA_FALSE to unselect.
25281     *
25282     * This sets whether @p item is or not the selected (thus, under
25283     * display) one. If @p item is different than one under display,
25284     * the latter will be unselected. If the @p item is set to be
25285     * unselected, on the other hand, the @b first item in the widget's
25286     * internal members list will be the new selected one.
25287     *
25288     * @see elm_flipselector_item_selected_get()
25289     *
25290     * @ingroup Flipselector
25291     */
25292    EAPI void                       elm_flipselector_item_selected_set(Elm_Object_Item *it, Eina_Bool selected) EINA_ARG_NONNULL(1);
25293
25294    /**
25295     * Get whether a given flip selector widget's item is the currently
25296     * selected one.
25297     *
25298     * @param it The flip selector item
25299     * @return @c EINA_TRUE, if it's selected, @c EINA_FALSE otherwise
25300     * (or on errors).
25301     *
25302     * @see elm_flipselector_item_selected_set()
25303     *
25304     * @ingroup Flipselector
25305     */
25306    EAPI Eina_Bool                  elm_flipselector_item_selected_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
25307
25308    /**
25309     * Delete a given item from a flip selector widget.
25310     *
25311     * @param it The item to delete
25312     *
25313     * @ingroup Flipselector
25314     */
25315    EAPI void                       elm_flipselector_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
25316
25317    /**
25318     * Get the label of a given flip selector widget's item.
25319     *
25320     * @param it The item to get label from
25321     * @return The text label of @p item or @c NULL, on errors
25322     *
25323     * @see elm_object_item_text_set()
25324     *
25325     * @deprecated see elm_object_item_text_get() instead
25326     * @ingroup Flipselector
25327     */
25328    EINA_DEPRECATED EAPI const char                *elm_flipselector_item_label_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
25329
25330    /**
25331     * Set the label of a given flip selector widget's item.
25332     *
25333     * @param it The item to set label on
25334     * @param label The text label string, in UTF-8 encoding
25335     *
25336     * @see elm_object_item_text_get()
25337     *
25338          * @deprecated see elm_object_item_text_set() instead
25339     * @ingroup Flipselector
25340     */
25341    EINA_DEPRECATED EAPI void                       elm_flipselector_item_label_set(Elm_Object_Item *it, const char *label) EINA_ARG_NONNULL(1);
25342
25343    /**
25344     * Gets the item before @p item in a flip selector widget's
25345     * internal list of items.
25346     *
25347     * @param it The item to fetch previous from
25348     * @return The item before the @p item, in its parent's list. If
25349     *         there is no previous item for @p item or there's an
25350     *         error, @c NULL is returned.
25351     *
25352     * @see elm_flipselector_item_next_get()
25353     *
25354     * @ingroup Flipselector
25355     */
25356    EAPI Elm_Object_Item     *elm_flipselector_item_prev_get(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
25357
25358    /**
25359     * Gets the item after @p item in a flip selector widget's
25360     * internal list of items.
25361     *
25362     * @param it The item to fetch next from
25363     * @return The item after the @p item, in its parent's list. If
25364     *         there is no next item for @p item or there's an
25365     *         error, @c NULL is returned.
25366     *
25367     * @see elm_flipselector_item_next_get()
25368     *
25369     * @ingroup Flipselector
25370     */
25371    EAPI Elm_Object_Item     *elm_flipselector_item_next_get(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
25372
25373    /**
25374     * Set the interval on time updates for an user mouse button hold
25375     * on a flip selector widget.
25376     *
25377     * @param obj The flip selector object
25378     * @param interval The (first) interval value in seconds
25379     *
25380     * This interval value is @b decreased while the user holds the
25381     * mouse pointer either flipping up or flipping doww a given flip
25382     * selector.
25383     *
25384     * This helps the user to get to a given item distant from the
25385     * current one easier/faster, as it will start to flip quicker and
25386     * quicker on mouse button holds.
25387     *
25388     * The calculation for the next flip interval value, starting from
25389     * the one set with this call, is the previous interval divided by
25390     * 1.05, so it decreases a little bit.
25391     *
25392     * The default starting interval value for automatic flips is
25393     * @b 0.85 seconds.
25394     *
25395     * @see elm_flipselector_interval_get()
25396     *
25397     * @ingroup Flipselector
25398     */
25399    EAPI void                       elm_flipselector_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
25400
25401    /**
25402     * Get the interval on time updates for an user mouse button hold
25403     * on a flip selector widget.
25404     *
25405     * @param obj The flip selector object
25406     * @return The (first) interval value, in seconds, set on it
25407     *
25408     * @see elm_flipselector_interval_set() for more details
25409     *
25410     * @ingroup Flipselector
25411     */
25412    EAPI double                     elm_flipselector_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25413    /**
25414     * @}
25415     */
25416
25417    /**
25418     * @addtogroup Calendar
25419     * @{
25420     */
25421
25422    /**
25423     * @enum _Elm_Calendar_Mark_Repeat
25424     * @typedef Elm_Calendar_Mark_Repeat
25425     *
25426     * Event periodicity, used to define if a mark should be repeated
25427     * @b beyond event's day. It's set when a mark is added.
25428     *
25429     * So, for a mark added to 13th May with periodicity set to WEEKLY,
25430     * there will be marks every week after this date. Marks will be displayed
25431     * at 13th, 20th, 27th, 3rd June ...
25432     *
25433     * Values don't work as bitmask, only one can be choosen.
25434     *
25435     * @see elm_calendar_mark_add()
25436     *
25437     * @ingroup Calendar
25438     */
25439    typedef enum _Elm_Calendar_Mark_Repeat
25440      {
25441         ELM_CALENDAR_UNIQUE, /**< Default value. Marks will be displayed only on event day. */
25442         ELM_CALENDAR_DAILY, /**< Marks will be displayed everyday after event day (inclusive). */
25443         ELM_CALENDAR_WEEKLY, /**< Marks will be displayed every week after event day (inclusive) - i.e. each seven days. */
25444         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*/
25445         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. */
25446      } Elm_Calendar_Mark_Repeat;
25447
25448    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(). */
25449
25450    /**
25451     * Add a new calendar widget to the given parent Elementary
25452     * (container) object.
25453     *
25454     * @param parent The parent object.
25455     * @return a new calendar widget handle or @c NULL, on errors.
25456     *
25457     * This function inserts a new calendar widget on the canvas.
25458     *
25459     * @ref calendar_example_01
25460     *
25461     * @ingroup Calendar
25462     */
25463    EAPI Evas_Object       *elm_calendar_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
25464
25465    /**
25466     * Get weekdays names displayed by the calendar.
25467     *
25468     * @param obj The calendar object.
25469     * @return Array of seven strings to be used as weekday names.
25470     *
25471     * By default, weekdays abbreviations get from system are displayed:
25472     * E.g. for an en_US locale: "Sun, Mon, Tue, Wed, Thu, Fri, Sat"
25473     * The first string is related to Sunday, the second to Monday...
25474     *
25475     * @see elm_calendar_weekdays_name_set()
25476     *
25477     * @ref calendar_example_05
25478     *
25479     * @ingroup Calendar
25480     */
25481    EAPI const char       **elm_calendar_weekdays_names_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25482
25483    /**
25484     * Set weekdays names to be displayed by the calendar.
25485     *
25486     * @param obj The calendar object.
25487     * @param weekdays Array of seven strings to be used as weekday names.
25488     * @warning It must have 7 elements, or it will access invalid memory.
25489     * @warning The strings must be NULL terminated ('@\0').
25490     *
25491     * By default, weekdays abbreviations get from system are displayed:
25492     * E.g. for an en_US locale: "Sun, Mon, Tue, Wed, Thu, Fri, Sat"
25493     *
25494     * The first string should be related to Sunday, the second to Monday...
25495     *
25496     * The usage should be like this:
25497     * @code
25498     *   const char *weekdays[] =
25499     *   {
25500     *      "Sunday", "Monday", "Tuesday", "Wednesday",
25501     *      "Thursday", "Friday", "Saturday"
25502     *   };
25503     *   elm_calendar_weekdays_names_set(calendar, weekdays);
25504     * @endcode
25505     *
25506     * @see elm_calendar_weekdays_name_get()
25507     *
25508     * @ref calendar_example_02
25509     *
25510     * @ingroup Calendar
25511     */
25512    EAPI void               elm_calendar_weekdays_names_set(Evas_Object *obj, const char *weekdays[]) EINA_ARG_NONNULL(1, 2);
25513
25514    /**
25515     * Set the minimum and maximum values for the year
25516     *
25517     * @param obj The calendar object
25518     * @param min The minimum year, greater than 1901;
25519     * @param max The maximum year;
25520     *
25521     * Maximum must be greater than minimum, except if you don't wan't to set
25522     * maximum year.
25523     * Default values are 1902 and -1.
25524     *
25525     * If the maximum year is a negative value, it will be limited depending
25526     * on the platform architecture (year 2037 for 32 bits);
25527     *
25528     * @see elm_calendar_min_max_year_get()
25529     *
25530     * @ref calendar_example_03
25531     *
25532     * @ingroup Calendar
25533     */
25534    EAPI void               elm_calendar_min_max_year_set(Evas_Object *obj, int min, int max) EINA_ARG_NONNULL(1);
25535
25536    /**
25537     * Get the minimum and maximum values for the year
25538     *
25539     * @param obj The calendar object.
25540     * @param min The minimum year.
25541     * @param max The maximum year.
25542     *
25543     * Default values are 1902 and -1.
25544     *
25545     * @see elm_calendar_min_max_year_get() for more details.
25546     *
25547     * @ref calendar_example_05
25548     *
25549     * @ingroup Calendar
25550     */
25551    EAPI void               elm_calendar_min_max_year_get(const Evas_Object *obj, int *min, int *max) EINA_ARG_NONNULL(1);
25552
25553    /**
25554     * Enable or disable day selection
25555     *
25556     * @param obj The calendar object.
25557     * @param enabled @c EINA_TRUE to enable selection or @c EINA_FALSE to
25558     * disable it.
25559     *
25560     * Enabled by default. If disabled, the user still can select months,
25561     * but not days. Selected days are highlighted on calendar.
25562     * It should be used if you won't need such selection for the widget usage.
25563     *
25564     * When a day is selected, or month is changed, smart callbacks for
25565     * signal "changed" will be called.
25566     *
25567     * @see elm_calendar_day_selection_enable_get()
25568     *
25569     * @ref calendar_example_04
25570     *
25571     * @ingroup Calendar
25572     */
25573    EAPI void               elm_calendar_day_selection_enabled_set(Evas_Object *obj, Eina_Bool enabled) EINA_ARG_NONNULL(1);
25574
25575    /**
25576     * Get a value whether day selection is enabled or not.
25577     *
25578     * @see elm_calendar_day_selection_enable_set() for details.
25579     *
25580     * @param obj The calendar object.
25581     * @return EINA_TRUE means day selection is enabled. EINA_FALSE indicates
25582     * it's disabled. If @p obj is NULL, EINA_FALSE is returned.
25583     *
25584     * @ref calendar_example_05
25585     *
25586     * @ingroup Calendar
25587     */
25588    EAPI Eina_Bool          elm_calendar_day_selection_enabled_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25589
25590
25591    /**
25592     * Set selected date to be highlighted on calendar.
25593     *
25594     * @param obj The calendar object.
25595     * @param selected_time A @b tm struct to represent the selected date.
25596     *
25597     * Set the selected date, changing the displayed month if needed.
25598     * Selected date changes when the user goes to next/previous month or
25599     * select a day pressing over it on calendar.
25600     *
25601     * @see elm_calendar_selected_time_get()
25602     *
25603     * @ref calendar_example_04
25604     *
25605     * @ingroup Calendar
25606     */
25607    EAPI void               elm_calendar_selected_time_set(Evas_Object *obj, struct tm *selected_time) EINA_ARG_NONNULL(1);
25608
25609    /**
25610     * Get selected date.
25611     *
25612     * @param obj The calendar object
25613     * @param selected_time A @b tm struct to point to selected date
25614     * @return EINA_FALSE means an error ocurred and returned time shouldn't
25615     * be considered.
25616     *
25617     * Get date selected by the user or set by function
25618     * elm_calendar_selected_time_set().
25619     * Selected date changes when the user goes to next/previous month or
25620     * select a day pressing over it on calendar.
25621     *
25622     * @see elm_calendar_selected_time_get()
25623     *
25624     * @ref calendar_example_05
25625     *
25626     * @ingroup Calendar
25627     */
25628    EAPI Eina_Bool          elm_calendar_selected_time_get(const Evas_Object *obj, struct tm *selected_time) EINA_ARG_NONNULL(1, 2);
25629
25630    /**
25631     * Set a function to format the string that will be used to display
25632     * month and year;
25633     *
25634     * @param obj The calendar object
25635     * @param format_function Function to set the month-year string given
25636     * the selected date
25637     *
25638     * By default it uses strftime with "%B %Y" format string.
25639     * It should allocate the memory that will be used by the string,
25640     * that will be freed by the widget after usage.
25641     * A pointer to the string and a pointer to the time struct will be provided.
25642     *
25643     * Example:
25644     * @code
25645     * static char *
25646     * _format_month_year(struct tm *selected_time)
25647     * {
25648     *    char buf[32];
25649     *    if (!strftime(buf, sizeof(buf), "%B %Y", selected_time)) return NULL;
25650     *    return strdup(buf);
25651     * }
25652     *
25653     * elm_calendar_format_function_set(calendar, _format_month_year);
25654     * @endcode
25655     *
25656     * @ref calendar_example_02
25657     *
25658     * @ingroup Calendar
25659     */
25660    EAPI void               elm_calendar_format_function_set(Evas_Object *obj, char * (*format_function) (struct tm *stime)) EINA_ARG_NONNULL(1);
25661
25662    /**
25663     * Add a new mark to the calendar
25664     *
25665     * @param obj The calendar object
25666     * @param mark_type A string used to define the type of mark. It will be
25667     * emitted to the theme, that should display a related modification on these
25668     * days representation.
25669     * @param mark_time A time struct to represent the date of inclusion of the
25670     * mark. For marks that repeats it will just be displayed after the inclusion
25671     * date in the calendar.
25672     * @param repeat Repeat the event following this periodicity. Can be a unique
25673     * mark (that don't repeat), daily, weekly, monthly or annually.
25674     * @return The created mark or @p NULL upon failure.
25675     *
25676     * Add a mark that will be drawn in the calendar respecting the insertion
25677     * time and periodicity. It will emit the type as signal to the widget theme.
25678     * Default theme supports "holiday" and "checked", but it can be extended.
25679     *
25680     * It won't immediately update the calendar, drawing the marks.
25681     * For this, call elm_calendar_marks_draw(). However, when user selects
25682     * next or previous month calendar forces marks drawn.
25683     *
25684     * Marks created with this method can be deleted with
25685     * elm_calendar_mark_del().
25686     *
25687     * Example
25688     * @code
25689     * struct tm selected_time;
25690     * time_t current_time;
25691     *
25692     * current_time = time(NULL) + 5 * 84600;
25693     * localtime_r(&current_time, &selected_time);
25694     * elm_calendar_mark_add(cal, "holiday", selected_time,
25695     *     ELM_CALENDAR_ANNUALLY);
25696     *
25697     * current_time = time(NULL) + 1 * 84600;
25698     * localtime_r(&current_time, &selected_time);
25699     * elm_calendar_mark_add(cal, "checked", selected_time, ELM_CALENDAR_UNIQUE);
25700     *
25701     * elm_calendar_marks_draw(cal);
25702     * @endcode
25703     *
25704     * @see elm_calendar_marks_draw()
25705     * @see elm_calendar_mark_del()
25706     *
25707     * @ref calendar_example_06
25708     *
25709     * @ingroup Calendar
25710     */
25711    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);
25712
25713    /**
25714     * Delete mark from the calendar.
25715     *
25716     * @param mark The mark to be deleted.
25717     *
25718     * If deleting all calendar marks is required, elm_calendar_marks_clear()
25719     * should be used instead of getting marks list and deleting each one.
25720     *
25721     * @see elm_calendar_mark_add()
25722     *
25723     * @ref calendar_example_06
25724     *
25725     * @ingroup Calendar
25726     */
25727    EAPI void               elm_calendar_mark_del(Elm_Calendar_Mark *mark) EINA_ARG_NONNULL(1);
25728
25729    /**
25730     * Remove all calendar's marks
25731     *
25732     * @param obj The calendar object.
25733     *
25734     * @see elm_calendar_mark_add()
25735     * @see elm_calendar_mark_del()
25736     *
25737     * @ingroup Calendar
25738     */
25739    EAPI void               elm_calendar_marks_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
25740
25741
25742    /**
25743     * Get a list of all the calendar marks.
25744     *
25745     * @param obj The calendar object.
25746     * @return An @c Eina_List of calendar marks objects, or @c NULL on failure.
25747     *
25748     * @see elm_calendar_mark_add()
25749     * @see elm_calendar_mark_del()
25750     * @see elm_calendar_marks_clear()
25751     *
25752     * @ingroup Calendar
25753     */
25754    EAPI const Eina_List   *elm_calendar_marks_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25755
25756    /**
25757     * Draw calendar marks.
25758     *
25759     * @param obj The calendar object.
25760     *
25761     * Should be used after adding, removing or clearing marks.
25762     * It will go through the entire marks list updating the calendar.
25763     * If lots of marks will be added, add all the marks and then call
25764     * this function.
25765     *
25766     * When the month is changed, i.e. user selects next or previous month,
25767     * marks will be drawed.
25768     *
25769     * @see elm_calendar_mark_add()
25770     * @see elm_calendar_mark_del()
25771     * @see elm_calendar_marks_clear()
25772     *
25773     * @ref calendar_example_06
25774     *
25775     * @ingroup Calendar
25776     */
25777    EAPI void               elm_calendar_marks_draw(Evas_Object *obj) EINA_ARG_NONNULL(1);
25778
25779    /**
25780     * Set a day text color to the same that represents Saturdays.
25781     *
25782     * @param obj The calendar object.
25783     * @param pos The text position. Position is the cell counter, from left
25784     * to right, up to down. It starts on 0 and ends on 41.
25785     *
25786     * @deprecated use elm_calendar_mark_add() instead like:
25787     *
25788     * @code
25789     * struct tm t = { 0, 0, 12, 6, 0, 0, 6, 6, -1 };
25790     * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
25791     * @endcode
25792     *
25793     * @see elm_calendar_mark_add()
25794     *
25795     * @ingroup Calendar
25796     */
25797    EINA_DEPRECATED EAPI void               elm_calendar_text_saturday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
25798
25799    /**
25800     * Set a day text color to the same that represents Sundays.
25801     *
25802     * @param obj The calendar object.
25803     * @param pos The text position. Position is the cell counter, from left
25804     * to right, up to down. It starts on 0 and ends on 41.
25805
25806     * @deprecated use elm_calendar_mark_add() instead like:
25807     *
25808     * @code
25809     * struct tm t = { 0, 0, 12, 7, 0, 0, 0, 0, -1 };
25810     * elm_calendar_mark_add(obj, "sat", &t, ELM_CALENDAR_WEEKLY);
25811     * @endcode
25812     *
25813     * @see elm_calendar_mark_add()
25814     *
25815     * @ingroup Calendar
25816     */
25817    EINA_DEPRECATED EAPI void               elm_calendar_text_sunday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
25818
25819    /**
25820     * Set a day text color to the same that represents Weekdays.
25821     *
25822     * @param obj The calendar object
25823     * @param pos The text position. Position is the cell counter, from left
25824     * to right, up to down. It starts on 0 and ends on 41.
25825     *
25826     * @deprecated use elm_calendar_mark_add() instead like:
25827     *
25828     * @code
25829     * struct tm t = { 0, 0, 12, 1, 0, 0, 0, 0, -1 };
25830     *
25831     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // monday
25832     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
25833     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // tuesday
25834     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
25835     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // wednesday
25836     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
25837     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // thursday
25838     * t.tm_tm_mday++; t.tm_wday++; t.tm_yday++;
25839     * elm_calendar_mark_add(obj, "week", &t, ELM_CALENDAR_WEEKLY); // friday
25840     * @endcode
25841     *
25842     * @see elm_calendar_mark_add()
25843     *
25844     * @ingroup Calendar
25845     */
25846    EINA_DEPRECATED EAPI void               elm_calendar_text_weekday_color_set(Evas_Object *obj, int pos) EINA_ARG_NONNULL(1);
25847
25848    /**
25849     * Set the interval on time updates for an user mouse button hold
25850     * on calendar widgets' month selection.
25851     *
25852     * @param obj The calendar object
25853     * @param interval The (first) interval value in seconds
25854     *
25855     * This interval value is @b decreased while the user holds the
25856     * mouse pointer either selecting next or previous month.
25857     *
25858     * This helps the user to get to a given month distant from the
25859     * current one easier/faster, as it will start to change quicker and
25860     * quicker on mouse button holds.
25861     *
25862     * The calculation for the next change interval value, starting from
25863     * the one set with this call, is the previous interval divided by
25864     * 1.05, so it decreases a little bit.
25865     *
25866     * The default starting interval value for automatic changes is
25867     * @b 0.85 seconds.
25868     *
25869     * @see elm_calendar_interval_get()
25870     *
25871     * @ingroup Calendar
25872     */
25873    EAPI void               elm_calendar_interval_set(Evas_Object *obj, double interval) EINA_ARG_NONNULL(1);
25874
25875    /**
25876     * Get the interval on time updates for an user mouse button hold
25877     * on calendar widgets' month selection.
25878     *
25879     * @param obj The calendar object
25880     * @return The (first) interval value, in seconds, set on it
25881     *
25882     * @see elm_calendar_interval_set() for more details
25883     *
25884     * @ingroup Calendar
25885     */
25886    EAPI double             elm_calendar_interval_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25887
25888    /**
25889     * @}
25890     */
25891
25892    /**
25893     * @defgroup Diskselector Diskselector
25894     * @ingroup Elementary
25895     *
25896     * @image html img/widget/diskselector/preview-00.png
25897     * @image latex img/widget/diskselector/preview-00.eps
25898     *
25899     * A diskselector is a kind of list widget. It scrolls horizontally,
25900     * and can contain label and icon objects. Three items are displayed
25901     * with the selected one in the middle.
25902     *
25903     * It can act like a circular list with round mode and labels can be
25904     * reduced for a defined length for side items.
25905     *
25906     * Smart callbacks one can listen to:
25907     * - "selected" - when item is selected, i.e. scroller stops.
25908     *
25909     * Available styles for it:
25910     * - @c "default"
25911     *
25912     * List of examples:
25913     * @li @ref diskselector_example_01
25914     * @li @ref diskselector_example_02
25915     */
25916
25917    /**
25918     * @addtogroup Diskselector
25919     * @{
25920     */
25921
25922    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(). */
25923
25924    /**
25925     * Add a new diskselector widget to the given parent Elementary
25926     * (container) object.
25927     *
25928     * @param parent The parent object.
25929     * @return a new diskselector widget handle or @c NULL, on errors.
25930     *
25931     * This function inserts a new diskselector widget on the canvas.
25932     *
25933     * @ingroup Diskselector
25934     */
25935    EAPI Evas_Object           *elm_diskselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
25936
25937    /**
25938     * Enable or disable round mode.
25939     *
25940     * @param obj The diskselector object.
25941     * @param round @c EINA_TRUE to enable round mode or @c EINA_FALSE to
25942     * disable it.
25943     *
25944     * Disabled by default. If round mode is enabled the items list will
25945     * work like a circle list, so when the user reaches the last item,
25946     * the first one will popup.
25947     *
25948     * @see elm_diskselector_round_get()
25949     *
25950     * @ingroup Diskselector
25951     */
25952    EAPI void                   elm_diskselector_round_set(Evas_Object *obj, Eina_Bool round) EINA_ARG_NONNULL(1);
25953
25954    /**
25955     * Get a value whether round mode is enabled or not.
25956     *
25957     * @see elm_diskselector_round_set() for details.
25958     *
25959     * @param obj The diskselector object.
25960     * @return @c EINA_TRUE means round mode is enabled. @c EINA_FALSE indicates
25961     * it's disabled. If @p obj is @c NULL, @c EINA_FALSE is returned.
25962     *
25963     * @ingroup Diskselector
25964     */
25965    EAPI Eina_Bool              elm_diskselector_round_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25966
25967    /**
25968     * Get the side labels max length.
25969     *
25970     * @deprecated use elm_diskselector_side_label_length_get() instead:
25971     *
25972     * @param obj The diskselector object.
25973     * @return The max length defined for side labels, or 0 if not a valid
25974     * diskselector.
25975     *
25976     * @ingroup Diskselector
25977     */
25978    EINA_DEPRECATED EAPI int    elm_diskselector_side_label_lenght_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
25979
25980    /**
25981     * Set the side labels max length.
25982     *
25983     * @deprecated use elm_diskselector_side_label_length_set() instead:
25984     *
25985     * @param obj The diskselector object.
25986     * @param len The max length defined for side labels.
25987     *
25988     * @ingroup Diskselector
25989     */
25990    EINA_DEPRECATED EAPI void   elm_diskselector_side_label_lenght_set(Evas_Object *obj, int len) EINA_ARG_NONNULL(1);
25991
25992    /**
25993     * Get the side labels max length.
25994     *
25995     * @see elm_diskselector_side_label_length_set() for details.
25996     *
25997     * @param obj The diskselector object.
25998     * @return The max length defined for side labels, or 0 if not a valid
25999     * diskselector.
26000     *
26001     * @ingroup Diskselector
26002     */
26003    EAPI int                    elm_diskselector_side_label_length_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26004
26005    /**
26006     * Set the side labels max length.
26007     *
26008     * @param obj The diskselector object.
26009     * @param len The max length defined for side labels.
26010     *
26011     * Length is the number of characters of items' label that will be
26012     * visible when it's set on side positions. It will just crop
26013     * the string after defined size. E.g.:
26014     *
26015     * An item with label "January" would be displayed on side position as
26016     * "Jan" if max length is set to 3, or "Janu", if this property
26017     * is set to 4.
26018     *
26019     * When it's selected, the entire label will be displayed, except for
26020     * width restrictions. In this case label will be cropped and "..."
26021     * will be concatenated.
26022     *
26023     * Default side label max length is 3.
26024     *
26025     * This property will be applyed over all items, included before or
26026     * later this function call.
26027     *
26028     * @ingroup Diskselector
26029     */
26030    EAPI void                   elm_diskselector_side_label_length_set(Evas_Object *obj, int len) EINA_ARG_NONNULL(1);
26031
26032    /**
26033     * Set the number of items to be displayed.
26034     *
26035     * @param obj The diskselector object.
26036     * @param num The number of items the diskselector will display.
26037     *
26038     * Default value is 3, and also it's the minimun. If @p num is less
26039     * than 3, it will be set to 3.
26040     *
26041     * Also, it can be set on theme, using data item @c display_item_num
26042     * on group "elm/diskselector/item/X", where X is style set.
26043     * E.g.:
26044     *
26045     * group { name: "elm/diskselector/item/X";
26046     * data {
26047     *     item: "display_item_num" "5";
26048     *     }
26049     *
26050     * @ingroup Diskselector
26051     */
26052    EAPI void                   elm_diskselector_display_item_num_set(Evas_Object *obj, int num) EINA_ARG_NONNULL(1);
26053
26054    /**
26055     * Get the number of items in the diskselector object.
26056     *
26057     * @param obj The diskselector object.
26058     *
26059     * @ingroup Diskselector
26060     */
26061    EAPI int                   elm_diskselector_display_item_num_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26062
26063    /**
26064     * Set bouncing behaviour when the scrolled content reaches an edge.
26065     *
26066     * Tell the internal scroller object whether it should bounce or not
26067     * when it reaches the respective edges for each axis.
26068     *
26069     * @param obj The diskselector object.
26070     * @param h_bounce Whether to bounce or not in the horizontal axis.
26071     * @param v_bounce Whether to bounce or not in the vertical axis.
26072     *
26073     * @see elm_scroller_bounce_set()
26074     *
26075     * @ingroup Diskselector
26076     */
26077    EAPI void                   elm_diskselector_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce) EINA_ARG_NONNULL(1);
26078
26079    /**
26080     * Get the bouncing behaviour of the internal scroller.
26081     *
26082     * Get whether the internal scroller should bounce when the edge of each
26083     * axis is reached scrolling.
26084     *
26085     * @param obj The diskselector object.
26086     * @param h_bounce Pointer where to store the bounce state of the horizontal
26087     * axis.
26088     * @param v_bounce Pointer where to store the bounce state of the vertical
26089     * axis.
26090     *
26091     * @see elm_scroller_bounce_get()
26092     * @see elm_diskselector_bounce_set()
26093     *
26094     * @ingroup Diskselector
26095     */
26096    EAPI void                   elm_diskselector_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce) EINA_ARG_NONNULL(1);
26097
26098    /**
26099     * Get the scrollbar policy.
26100     *
26101     * @see elm_diskselector_scroller_policy_get() for details.
26102     *
26103     * @param obj The diskselector object.
26104     * @param policy_h Pointer where to store horizontal scrollbar policy.
26105     * @param policy_v Pointer where to store vertical scrollbar policy.
26106     *
26107     * @ingroup Diskselector
26108     */
26109    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);
26110
26111    /**
26112     * Set the scrollbar policy.
26113     *
26114     * @param obj The diskselector object.
26115     * @param policy_h Horizontal scrollbar policy.
26116     * @param policy_v Vertical scrollbar policy.
26117     *
26118     * This sets the scrollbar visibility policy for the given scroller.
26119     * #ELM_SCROLLER_POLICY_AUTO means the scrollbar is made visible if it
26120     * is needed, and otherwise kept hidden. #ELM_SCROLLER_POLICY_ON turns
26121     * it on all the time, and #ELM_SCROLLER_POLICY_OFF always keeps it off.
26122     * This applies respectively for the horizontal and vertical scrollbars.
26123     *
26124     * The both are disabled by default, i.e., are set to
26125     * #ELM_SCROLLER_POLICY_OFF.
26126     *
26127     * @ingroup Diskselector
26128     */
26129    EAPI void                   elm_diskselector_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) EINA_ARG_NONNULL(1);
26130
26131    /**
26132     * Remove all diskselector's items.
26133     *
26134     * @param obj The diskselector object.
26135     *
26136     * @see elm_diskselector_item_del()
26137     * @see elm_diskselector_item_append()
26138     *
26139     * @ingroup Diskselector
26140     */
26141    EAPI void                   elm_diskselector_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
26142
26143    /**
26144     * Get a list of all the diskselector items.
26145     *
26146     * @param obj The diskselector object.
26147     * @return An @c Eina_List of diskselector items, #Elm_Diskselector_Item,
26148     * or @c NULL on failure.
26149     *
26150     * @see elm_diskselector_item_append()
26151     * @see elm_diskselector_item_del()
26152     * @see elm_diskselector_clear()
26153     *
26154     * @ingroup Diskselector
26155     */
26156    EAPI const Eina_List       *elm_diskselector_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26157
26158    /**
26159     * Appends a new item to the diskselector object.
26160     *
26161     * @param obj The diskselector object.
26162     * @param label The label of the diskselector item.
26163     * @param icon The icon object to use at left side of the item. An
26164     * icon can be any Evas object, but usually it is an icon created
26165     * with elm_icon_add().
26166     * @param func The function to call when the item is selected.
26167     * @param data The data to associate with the item for related callbacks.
26168     *
26169     * @return The created item or @c NULL upon failure.
26170     *
26171     * A new item will be created and appended to the diskselector, i.e., will
26172     * be set as last item. Also, if there is no selected item, it will
26173     * be selected. This will always happens for the first appended item.
26174     *
26175     * If no icon is set, label will be centered on item position, otherwise
26176     * the icon will be placed at left of the label, that will be shifted
26177     * to the right.
26178     *
26179     * Items created with this method can be deleted with
26180     * elm_diskselector_item_del().
26181     *
26182     * Associated @p data can be properly freed when item is deleted if a
26183     * callback function is set with elm_diskselector_item_del_cb_set().
26184     *
26185     * If a function is passed as argument, it will be called everytime this item
26186     * is selected, i.e., the user stops the diskselector with this
26187     * item on center position. If such function isn't needed, just passing
26188     * @c NULL as @p func is enough. The same should be done for @p data.
26189     *
26190     * Simple example (with no function callback or data associated):
26191     * @code
26192     * disk = elm_diskselector_add(win);
26193     * ic = elm_icon_add(win);
26194     * elm_icon_file_set(ic, "path/to/image", NULL);
26195     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
26196     * elm_diskselector_item_append(disk, "label", ic, NULL, NULL);
26197     * @endcode
26198     *
26199     * @see elm_diskselector_item_del()
26200     * @see elm_diskselector_item_del_cb_set()
26201     * @see elm_diskselector_clear()
26202     * @see elm_icon_add()
26203     *
26204     * @ingroup Diskselector
26205     */
26206    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);
26207
26208
26209    /**
26210     * Delete them item from the diskselector.
26211     *
26212     * @param it The item of diskselector to be deleted.
26213     *
26214     * If deleting all diskselector items is required, elm_diskselector_clear()
26215     * should be used instead of getting items list and deleting each one.
26216     *
26217     * @see elm_diskselector_clear()
26218     * @see elm_diskselector_item_append()
26219     * @see elm_diskselector_item_del_cb_set()
26220     *
26221     * @ingroup Diskselector
26222     */
26223    EAPI void                   elm_diskselector_item_del(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26224
26225    /**
26226     * Set the function called when a diskselector item is freed.
26227     *
26228     * @param it The item to set the callback on
26229     * @param func The function called
26230     *
26231     * If there is a @p func, then it will be called prior item's memory release.
26232     * That will be called with the following arguments:
26233     * @li item's data;
26234     * @li item's Evas object;
26235     * @li item itself;
26236     *
26237     * This way, a data associated to a diskselector item could be properly
26238     * freed.
26239     *
26240     * @ingroup Diskselector
26241     */
26242    EAPI void                   elm_diskselector_item_del_cb_set(Elm_Diskselector_Item *item, Evas_Smart_Cb func) EINA_ARG_NONNULL(1);
26243
26244    /**
26245     * Get the data associated to the item.
26246     *
26247     * @param it The diskselector item
26248     * @return The data associated to @p it
26249     *
26250     * The return value is a pointer to data associated to @p item when it was
26251     * created, with function elm_diskselector_item_append(). If no data
26252     * was passed as argument, it will return @c NULL.
26253     *
26254     * @see elm_diskselector_item_append()
26255     *
26256     * @ingroup Diskselector
26257     */
26258    EAPI void                  *elm_diskselector_item_data_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26259
26260    /**
26261     * Set the icon associated to the item.
26262     *
26263     * @param it The diskselector item
26264     * @param icon The icon object to associate with @p it
26265     *
26266     * The icon object to use at left side of the item. An
26267     * icon can be any Evas object, but usually it is an icon created
26268     * with elm_icon_add().
26269     *
26270     * Once the icon object is set, a previously set one will be deleted.
26271     * @warning Setting the same icon for two items will cause the icon to
26272     * dissapear from the first item.
26273     *
26274     * If an icon was passed as argument on item creation, with function
26275     * elm_diskselector_item_append(), it will be already
26276     * associated to the item.
26277     *
26278     * @see elm_diskselector_item_append()
26279     * @see elm_diskselector_item_icon_get()
26280     *
26281     * @ingroup Diskselector
26282     */
26283    EAPI void                   elm_diskselector_item_icon_set(Elm_Diskselector_Item *item, Evas_Object *icon) EINA_ARG_NONNULL(1);
26284
26285    /**
26286     * Get the icon associated to the item.
26287     *
26288     * @param it The diskselector item
26289     * @return The icon associated to @p it
26290     *
26291     * The return value is a pointer to the icon associated to @p item when it was
26292     * created, with function elm_diskselector_item_append(), or later
26293     * with function elm_diskselector_item_icon_set. If no icon
26294     * was passed as argument, it will return @c NULL.
26295     *
26296     * @see elm_diskselector_item_append()
26297     * @see elm_diskselector_item_icon_set()
26298     *
26299     * @ingroup Diskselector
26300     */
26301    EAPI Evas_Object           *elm_diskselector_item_icon_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26302
26303    /**
26304     * Set the label of item.
26305     *
26306     * @param it The item of diskselector.
26307     * @param label The label of item.
26308     *
26309     * The label to be displayed by the item.
26310     *
26311     * If no icon is set, label will be centered on item position, otherwise
26312     * the icon will be placed at left of the label, that will be shifted
26313     * to the right.
26314     *
26315     * An item with label "January" would be displayed on side position as
26316     * "Jan" if max length is set to 3 with function
26317     * elm_diskselector_side_label_lenght_set(), or "Janu", if this property
26318     * is set to 4.
26319     *
26320     * When this @p item is selected, the entire label will be displayed,
26321     * except for width restrictions.
26322     * In this case label will be cropped and "..." will be concatenated,
26323     * but only for display purposes. It will keep the entire string, so
26324     * if diskselector is resized the remaining characters will be displayed.
26325     *
26326     * If a label was passed as argument on item creation, with function
26327     * elm_diskselector_item_append(), it will be already
26328     * displayed by the item.
26329     *
26330     * @see elm_diskselector_side_label_lenght_set()
26331     * @see elm_diskselector_item_label_get()
26332     * @see elm_diskselector_item_append()
26333     *
26334     * @ingroup Diskselector
26335     */
26336    EAPI void                   elm_diskselector_item_label_set(Elm_Diskselector_Item *item, const char *label) EINA_ARG_NONNULL(1);
26337
26338    /**
26339     * Get the label of item.
26340     *
26341     * @param it The item of diskselector.
26342     * @return The label of item.
26343     *
26344     * The return value is a pointer to the label associated to @p item when it was
26345     * created, with function elm_diskselector_item_append(), or later
26346     * with function elm_diskselector_item_label_set. If no label
26347     * was passed as argument, it will return @c NULL.
26348     *
26349     * @see elm_diskselector_item_label_set() for more details.
26350     * @see elm_diskselector_item_append()
26351     *
26352     * @ingroup Diskselector
26353     */
26354    EAPI const char            *elm_diskselector_item_label_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26355
26356    /**
26357     * Get the selected item.
26358     *
26359     * @param obj The diskselector object.
26360     * @return The selected diskselector item.
26361     *
26362     * The selected item can be unselected with function
26363     * elm_diskselector_item_selected_set(), and the first item of
26364     * diskselector will be selected.
26365     *
26366     * The selected item always will be centered on diskselector, with
26367     * full label displayed, i.e., max lenght set to side labels won't
26368     * apply on the selected item. More details on
26369     * elm_diskselector_side_label_length_set().
26370     *
26371     * @ingroup Diskselector
26372     */
26373    EAPI Elm_Diskselector_Item *elm_diskselector_selected_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26374
26375    /**
26376     * Set the selected state of an item.
26377     *
26378     * @param it The diskselector item
26379     * @param selected The selected state
26380     *
26381     * This sets the selected state of the given item @p it.
26382     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
26383     *
26384     * If a new item is selected the previosly selected will be unselected.
26385     * Previoulsy selected item can be get with function
26386     * elm_diskselector_selected_item_get().
26387     *
26388     * If the item @p it is unselected, the first item of diskselector will
26389     * be selected.
26390     *
26391     * Selected items will be visible on center position of diskselector.
26392     * So if it was on another position before selected, or was invisible,
26393     * diskselector will animate items until the selected item reaches center
26394     * position.
26395     *
26396     * @see elm_diskselector_item_selected_get()
26397     * @see elm_diskselector_selected_item_get()
26398     *
26399     * @ingroup Diskselector
26400     */
26401    EAPI void                   elm_diskselector_item_selected_set(Elm_Diskselector_Item *item, Eina_Bool selected) EINA_ARG_NONNULL(1);
26402
26403    /*
26404     * Get whether the @p item is selected or not.
26405     *
26406     * @param it The diskselector item.
26407     * @return @c EINA_TRUE means item is selected. @c EINA_FALSE indicates
26408     * it's not. If @p obj is @c NULL, @c EINA_FALSE is returned.
26409     *
26410     * @see elm_diskselector_selected_item_set() for details.
26411     * @see elm_diskselector_item_selected_get()
26412     *
26413     * @ingroup Diskselector
26414     */
26415    EAPI Eina_Bool              elm_diskselector_item_selected_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26416
26417    /**
26418     * Get the first item of the diskselector.
26419     *
26420     * @param obj The diskselector object.
26421     * @return The first item, or @c NULL if none.
26422     *
26423     * The list of items follows append order. So it will return the first
26424     * item appended to the widget that wasn't deleted.
26425     *
26426     * @see elm_diskselector_item_append()
26427     * @see elm_diskselector_items_get()
26428     *
26429     * @ingroup Diskselector
26430     */
26431    EAPI Elm_Diskselector_Item *elm_diskselector_first_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26432
26433    /**
26434     * Get the last item of the diskselector.
26435     *
26436     * @param obj The diskselector object.
26437     * @return The last item, or @c NULL if none.
26438     *
26439     * The list of items follows append order. So it will return last first
26440     * item appended to the widget that wasn't deleted.
26441     *
26442     * @see elm_diskselector_item_append()
26443     * @see elm_diskselector_items_get()
26444     *
26445     * @ingroup Diskselector
26446     */
26447    EAPI Elm_Diskselector_Item *elm_diskselector_last_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26448
26449    /**
26450     * Get the item before @p item in diskselector.
26451     *
26452     * @param it The diskselector item.
26453     * @return The item before @p item, or @c NULL if none or on failure.
26454     *
26455     * The list of items follows append order. So it will return item appended
26456     * just before @p item and that wasn't deleted.
26457     *
26458     * If it is the first item, @c NULL will be returned.
26459     * First item can be get by elm_diskselector_first_item_get().
26460     *
26461     * @see elm_diskselector_item_append()
26462     * @see elm_diskselector_items_get()
26463     *
26464     * @ingroup Diskselector
26465     */
26466    EAPI Elm_Diskselector_Item *elm_diskselector_item_prev_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26467
26468    /**
26469     * Get the item after @p item in diskselector.
26470     *
26471     * @param it The diskselector item.
26472     * @return The item after @p item, or @c NULL if none or on failure.
26473     *
26474     * The list of items follows append order. So it will return item appended
26475     * just after @p item and that wasn't deleted.
26476     *
26477     * If it is the last item, @c NULL will be returned.
26478     * Last item can be get by elm_diskselector_last_item_get().
26479     *
26480     * @see elm_diskselector_item_append()
26481     * @see elm_diskselector_items_get()
26482     *
26483     * @ingroup Diskselector
26484     */
26485    EAPI Elm_Diskselector_Item *elm_diskselector_item_next_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26486
26487    /**
26488     * Set the text to be shown in the diskselector item.
26489     *
26490     * @param item Target item
26491     * @param text The text to set in the content
26492     *
26493     * Setup the text as tooltip to object. The item can have only one tooltip,
26494     * so any previous tooltip data is removed.
26495     *
26496     * @see elm_object_tooltip_text_set() for more details.
26497     *
26498     * @ingroup Diskselector
26499     */
26500    EAPI void                   elm_diskselector_item_tooltip_text_set(Elm_Diskselector_Item *item, const char *text) EINA_ARG_NONNULL(1);
26501
26502    /**
26503     * Set the content to be shown in the tooltip item.
26504     *
26505     * Setup the tooltip to item. The item can have only one tooltip,
26506     * so any previous tooltip data is removed. @p func(with @p data) will
26507     * be called every time that need show the tooltip and it should
26508     * return a valid Evas_Object. This object is then managed fully by
26509     * tooltip system and is deleted when the tooltip is gone.
26510     *
26511     * @param item the diskselector item being attached a tooltip.
26512     * @param func the function used to create the tooltip contents.
26513     * @param data what to provide to @a func as callback data/context.
26514     * @param del_cb called when data is not needed anymore, either when
26515     *        another callback replaces @p func, the tooltip is unset with
26516     *        elm_diskselector_item_tooltip_unset() or the owner @a item
26517     *        dies. This callback receives as the first parameter the
26518     *        given @a data, and @c event_info is the item.
26519     *
26520     * @see elm_object_tooltip_content_cb_set() for more details.
26521     *
26522     * @ingroup Diskselector
26523     */
26524    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);
26525
26526    /**
26527     * Unset tooltip from item.
26528     *
26529     * @param item diskselector item to remove previously set tooltip.
26530     *
26531     * Remove tooltip from item. The callback provided as del_cb to
26532     * elm_diskselector_item_tooltip_content_cb_set() will be called to notify
26533     * it is not used anymore.
26534     *
26535     * @see elm_object_tooltip_unset() for more details.
26536     * @see elm_diskselector_item_tooltip_content_cb_set()
26537     *
26538     * @ingroup Diskselector
26539     */
26540    EAPI void                   elm_diskselector_item_tooltip_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26541
26542
26543    /**
26544     * Sets a different style for this item tooltip.
26545     *
26546     * @note before you set a style you should define a tooltip with
26547     *       elm_diskselector_item_tooltip_content_cb_set() or
26548     *       elm_diskselector_item_tooltip_text_set()
26549     *
26550     * @param item diskselector item with tooltip already set.
26551     * @param style the theme style to use (default, transparent, ...)
26552     *
26553     * @see elm_object_tooltip_style_set() for more details.
26554     *
26555     * @ingroup Diskselector
26556     */
26557    EAPI void                   elm_diskselector_item_tooltip_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
26558
26559    /**
26560     * Get the style for this item tooltip.
26561     *
26562     * @param item diskselector item with tooltip already set.
26563     * @return style the theme style in use, defaults to "default". If the
26564     *         object does not have a tooltip set, then NULL is returned.
26565     *
26566     * @see elm_object_tooltip_style_get() for more details.
26567     * @see elm_diskselector_item_tooltip_style_set()
26568     *
26569     * @ingroup Diskselector
26570     */
26571    EAPI const char            *elm_diskselector_item_tooltip_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26572
26573    /**
26574     * Set the cursor to be shown when mouse is over the diskselector item
26575     *
26576     * @param item Target item
26577     * @param cursor the cursor name to be used.
26578     *
26579     * @see elm_object_cursor_set() for more details.
26580     *
26581     * @ingroup Diskselector
26582     */
26583    EAPI void                   elm_diskselector_item_cursor_set(Elm_Diskselector_Item *item, const char *cursor) EINA_ARG_NONNULL(1);
26584
26585    /**
26586     * Get the cursor to be shown when mouse is over the diskselector item
26587     *
26588     * @param item diskselector item with cursor already set.
26589     * @return the cursor name.
26590     *
26591     * @see elm_object_cursor_get() for more details.
26592     * @see elm_diskselector_cursor_set()
26593     *
26594     * @ingroup Diskselector
26595     */
26596    EAPI const char            *elm_diskselector_item_cursor_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26597
26598
26599    /**
26600     * Unset the cursor to be shown when mouse is over the diskselector item
26601     *
26602     * @param item Target item
26603     *
26604     * @see elm_object_cursor_unset() for more details.
26605     * @see elm_diskselector_cursor_set()
26606     *
26607     * @ingroup Diskselector
26608     */
26609    EAPI void                   elm_diskselector_item_cursor_unset(Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26610
26611    /**
26612     * Sets a different style for this item cursor.
26613     *
26614     * @note before you set a style you should define a cursor with
26615     *       elm_diskselector_item_cursor_set()
26616     *
26617     * @param item diskselector item with cursor already set.
26618     * @param style the theme style to use (default, transparent, ...)
26619     *
26620     * @see elm_object_cursor_style_set() for more details.
26621     *
26622     * @ingroup Diskselector
26623     */
26624    EAPI void                   elm_diskselector_item_cursor_style_set(Elm_Diskselector_Item *item, const char *style) EINA_ARG_NONNULL(1);
26625
26626
26627    /**
26628     * Get the style for this item cursor.
26629     *
26630     * @param item diskselector item with cursor already set.
26631     * @return style the theme style in use, defaults to "default". If the
26632     *         object does not have a cursor set, then @c NULL is returned.
26633     *
26634     * @see elm_object_cursor_style_get() for more details.
26635     * @see elm_diskselector_item_cursor_style_set()
26636     *
26637     * @ingroup Diskselector
26638     */
26639    EAPI const char            *elm_diskselector_item_cursor_style_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26640
26641
26642    /**
26643     * Set if the cursor set should be searched on the theme or should use
26644     * the provided by the engine, only.
26645     *
26646     * @note before you set if should look on theme you should define a cursor
26647     * with elm_diskselector_item_cursor_set().
26648     * By default it will only look for cursors provided by the engine.
26649     *
26650     * @param item widget item with cursor already set.
26651     * @param engine_only boolean to define if cursors set with
26652     * elm_diskselector_item_cursor_set() should be searched only
26653     * between cursors provided by the engine or searched on widget's
26654     * theme as well.
26655     *
26656     * @see elm_object_cursor_engine_only_set() for more details.
26657     *
26658     * @ingroup Diskselector
26659     */
26660    EAPI void                   elm_diskselector_item_cursor_engine_only_set(Elm_Diskselector_Item *item, Eina_Bool engine_only) EINA_ARG_NONNULL(1);
26661
26662    /**
26663     * Get the cursor engine only usage for this item cursor.
26664     *
26665     * @param item widget item with cursor already set.
26666     * @return engine_only boolean to define it cursors should be looked only
26667     * between the provided by the engine or searched on widget's theme as well.
26668     * If the item does not have a cursor set, then @c EINA_FALSE is returned.
26669     *
26670     * @see elm_object_cursor_engine_only_get() for more details.
26671     * @see elm_diskselector_item_cursor_engine_only_set()
26672     *
26673     * @ingroup Diskselector
26674     */
26675    EAPI Eina_Bool              elm_diskselector_item_cursor_engine_only_get(const Elm_Diskselector_Item *item) EINA_ARG_NONNULL(1);
26676
26677    /**
26678     * @}
26679     */
26680
26681    /**
26682     * @defgroup Colorselector Colorselector
26683     *
26684     * @{
26685     *
26686     * @image html img/widget/colorselector/preview-00.png
26687     * @image latex img/widget/colorselector/preview-00.eps
26688     *
26689     * @brief Widget for user to select a color.
26690     *
26691     * Signals that you can add callbacks for are:
26692     * "changed" - When the color value changes(event_info is NULL).
26693     *
26694     * See @ref tutorial_colorselector.
26695     */
26696    /**
26697     * @brief Add a new colorselector to the parent
26698     *
26699     * @param parent The parent object
26700     * @return The new object or NULL if it cannot be created
26701     *
26702     * @ingroup Colorselector
26703     */
26704    EAPI Evas_Object *elm_colorselector_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
26705    /**
26706     * Set a color for the colorselector
26707     *
26708     * @param obj   Colorselector object
26709     * @param r     r-value of color
26710     * @param g     g-value of color
26711     * @param b     b-value of color
26712     * @param a     a-value of color
26713     *
26714     * @ingroup Colorselector
26715     */
26716    EAPI void         elm_colorselector_color_set(Evas_Object *obj, int r, int g , int b, int a) EINA_ARG_NONNULL(1);
26717    /**
26718     * Get a color from the colorselector
26719     *
26720     * @param obj   Colorselector object
26721     * @param r     integer pointer for r-value of color
26722     * @param g     integer pointer for g-value of color
26723     * @param b     integer pointer for b-value of color
26724     * @param a     integer pointer for a-value of color
26725     *
26726     * @ingroup Colorselector
26727     */
26728    EAPI void         elm_colorselector_color_get(const Evas_Object *obj, int *r, int *g , int *b, int *a) EINA_ARG_NONNULL(1);
26729    /**
26730     * @}
26731     */
26732
26733    /**
26734     * @defgroup Ctxpopup Ctxpopup
26735     *
26736     * @image html img/widget/ctxpopup/preview-00.png
26737     * @image latex img/widget/ctxpopup/preview-00.eps
26738     *
26739     * @brief Context popup widet.
26740     *
26741     * A ctxpopup is a widget that, when shown, pops up a list of items.
26742     * It automatically chooses an area inside its parent object's view
26743     * (set via elm_ctxpopup_add() and elm_ctxpopup_hover_parent_set()) to
26744     * optimally fit into it. In the default theme, it will also point an
26745     * arrow to it's top left position at the time one shows it. Ctxpopup
26746     * items have a label and/or an icon. It is intended for a small
26747     * number of items (hence the use of list, not genlist).
26748     *
26749     * @note Ctxpopup is a especialization of @ref Hover.
26750     *
26751     * Signals that you can add callbacks for are:
26752     * "dismissed" - the ctxpopup was dismissed
26753     *
26754     * Default contents parts of the ctxpopup widget that you can use for are:
26755     * @li "default" - A content of the ctxpopup
26756     *
26757     * Default contents parts of the naviframe items that you can use for are:
26758     * @li "icon" - A icon in the title area
26759     * 
26760     * Default text parts of the naviframe items that you can use for are:
26761     * @li "default" - Title label in the title area
26762     *
26763     * @ref tutorial_ctxpopup shows the usage of a good deal of the API.
26764     * @{
26765     */
26766    typedef enum _Elm_Ctxpopup_Direction
26767      {
26768         ELM_CTXPOPUP_DIRECTION_DOWN, /**< ctxpopup show appear below clicked
26769                                           area */
26770         ELM_CTXPOPUP_DIRECTION_RIGHT, /**< ctxpopup show appear to the right of
26771                                            the clicked area */
26772         ELM_CTXPOPUP_DIRECTION_LEFT, /**< ctxpopup show appear to the left of
26773                                           the clicked area */
26774         ELM_CTXPOPUP_DIRECTION_UP, /**< ctxpopup show appear above the clicked
26775                                         area */
26776         ELM_CTXPOPUP_DIRECTION_UNKNOWN, /**< ctxpopup does not determine it's direction yet*/
26777      } Elm_Ctxpopup_Direction;
26778 #define Elm_Ctxpopup_Item Elm_Object_Item
26779
26780    /**
26781     * @brief Add a new Ctxpopup object to the parent.
26782     *
26783     * @param parent Parent object
26784     * @return New object or @c NULL, if it cannot be created
26785     */
26786    EAPI Evas_Object  *elm_ctxpopup_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
26787    /**
26788     * @brief Set the Ctxpopup's parent
26789     *
26790     * @param obj The ctxpopup object
26791     * @param area The parent to use
26792     *
26793     * Set the parent object.
26794     *
26795     * @note elm_ctxpopup_add() will automatically call this function
26796     * with its @c parent argument.
26797     *
26798     * @see elm_ctxpopup_add()
26799     * @see elm_hover_parent_set()
26800     */
26801    EAPI void          elm_ctxpopup_hover_parent_set(Evas_Object *obj, Evas_Object *parent) EINA_ARG_NONNULL(1, 2);
26802    /**
26803     * @brief Get the Ctxpopup's parent
26804     *
26805     * @param obj The ctxpopup object
26806     *
26807     * @see elm_ctxpopup_hover_parent_set() for more information
26808     */
26809    EAPI Evas_Object  *elm_ctxpopup_hover_parent_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26810    /**
26811     * @brief Clear all items in the given ctxpopup object.
26812     *
26813     * @param obj Ctxpopup object
26814     */
26815    EAPI void          elm_ctxpopup_clear(Evas_Object *obj) EINA_ARG_NONNULL(1);
26816    /**
26817     * @brief Change the ctxpopup's orientation to horizontal or vertical.
26818     *
26819     * @param obj Ctxpopup object
26820     * @param horizontal @c EINA_TRUE for horizontal mode, @c EINA_FALSE for vertical
26821     */
26822    EAPI void          elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal) EINA_ARG_NONNULL(1);
26823    /**
26824     * @brief Get the value of current ctxpopup object's orientation.
26825     *
26826     * @param obj Ctxpopup object
26827     * @return @c EINA_TRUE for horizontal mode, @c EINA_FALSE for vertical mode (or errors)
26828     *
26829     * @see elm_ctxpopup_horizontal_set()
26830     */
26831    EAPI Eina_Bool     elm_ctxpopup_horizontal_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26832    /**
26833     * @brief Add a new item to a ctxpopup object.
26834     *
26835     * @param obj Ctxpopup object
26836     * @param icon Icon to be set on new item
26837     * @param label The Label of the new item
26838     * @param func Convenience function called when item selected
26839     * @param data Data passed to @p func
26840     * @return A handle to the item added or @c NULL, on errors
26841     *
26842     * @warning Ctxpopup can't hold both an item list and a content at the same
26843     * time. When an item is added, any previous content will be removed.
26844     *
26845     * @see elm_ctxpopup_content_set()
26846     */
26847    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);
26848    /**
26849     * @brief Delete the given item in a ctxpopup object.
26850     *
26851     * @param it Ctxpopup item to be deleted
26852     *
26853     * @see elm_ctxpopup_item_append()
26854     */
26855    EAPI void          elm_ctxpopup_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26856    /**
26857     * @brief Set the ctxpopup item's state as disabled or enabled.
26858     *
26859     * @param it Ctxpopup item to be enabled/disabled
26860     * @param disabled @c EINA_TRUE to disable it, @c EINA_FALSE to enable it
26861     *
26862     * When disabled the item is greyed out to indicate it's state.
26863     * @deprecated use elm_object_item_disabled_set() instead
26864     */
26865    WILL_DEPRECATE  EAPI void          elm_ctxpopup_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled) EINA_ARG_NONNULL(1);
26866    /**
26867     * @brief Get the ctxpopup item's disabled/enabled state.
26868     *
26869     * @param it Ctxpopup item to be enabled/disabled
26870     * @return disabled @c EINA_TRUE, if disabled, @c EINA_FALSE otherwise
26871     *
26872     * @see elm_ctxpopup_item_disabled_set()
26873     * @deprecated use elm_object_item_disabled_get() instead
26874     */
26875    EAPI Eina_Bool     elm_ctxpopup_item_disabled_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26876    /**
26877     * @brief Get the icon object for the given ctxpopup item.
26878     *
26879     * @param it Ctxpopup item
26880     * @return icon object or @c NULL, if the item does not have icon or an error
26881     * occurred
26882     *
26883     * @see elm_ctxpopup_item_append()
26884     * @see elm_ctxpopup_item_icon_set()
26885     *
26886     * @deprecated use elm_object_item_part_content_get() instead
26887     */
26888    WILL_DEPRECATE  EAPI Evas_Object  *elm_ctxpopup_item_icon_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26889    /**
26890     * @brief Sets the side icon associated with the ctxpopup item
26891     *
26892     * @param it Ctxpopup item
26893     * @param icon Icon object to be set
26894     *
26895     * Once the icon object is set, a previously set one will be deleted.
26896     * @warning Setting the same icon for two items will cause the icon to
26897     * dissapear from the first item.
26898     *
26899     * @see elm_ctxpopup_item_append()
26900     *  
26901     * @deprecated use elm_object_item_part_content_set() instead
26902     *
26903     */
26904    WILL_DEPRECATE  EAPI void          elm_ctxpopup_item_icon_set(Elm_Object_Item *it, Evas_Object *icon) EINA_ARG_NONNULL(1);
26905    /**
26906     * @brief Get the label for the given ctxpopup item.
26907     *
26908     * @param it Ctxpopup item
26909     * @return label string or @c NULL, if the item does not have label or an
26910     * error occured
26911     *
26912     * @see elm_ctxpopup_item_append()
26913     * @see elm_ctxpopup_item_label_set()
26914     *
26915     * @deprecated use elm_object_item_text_get() instead
26916     */
26917    WILL_DEPRECATE  EAPI const char   *elm_ctxpopup_item_label_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
26918    /**
26919     * @brief (Re)set the label on the given ctxpopup item.
26920     *
26921     * @param it Ctxpopup item
26922     * @param label String to set as label
26923     *
26924     * @deprecated use elm_object_item_text_set() instead
26925     */
26926    WILL_DEPRECATE  EAPI void          elm_ctxpopup_item_label_set(Elm_Object_Item *it, const char *label) EINA_ARG_NONNULL(1);
26927    /**
26928     * @brief Set an elm widget as the content of the ctxpopup.
26929     *
26930     * @param obj Ctxpopup object
26931     * @param content Content to be swallowed
26932     *
26933     * If the content object is already set, a previous one will bedeleted. If
26934     * you want to keep that old content object, use the
26935     * elm_ctxpopup_content_unset() function.
26936     *
26937     * @warning Ctxpopup can't hold both a item list and a content at the same
26938     * time. When a content is set, any previous items will be removed.
26939     * 
26940     * @deprecated use elm_object_content_set() instead
26941     *
26942     */
26943    WILL_DEPRECATE  EAPI void          elm_ctxpopup_content_set(Evas_Object *obj, Evas_Object *content) EINA_ARG_NONNULL(1, 2);
26944    /**
26945     * @brief Unset the ctxpopup content
26946     *
26947     * @param obj Ctxpopup object
26948     * @return The content that was being used
26949     *
26950     * Unparent and return the content object which was set for this widget.
26951     *
26952     * @deprecated use elm_object_content_unset()
26953     *
26954     * @see elm_ctxpopup_content_set()
26955     *
26956     * @deprecated use elm_object_content_unset() instead
26957     *
26958     */
26959    WILL_DEPRECATE  EAPI Evas_Object  *elm_ctxpopup_content_unset(Evas_Object *obj) EINA_ARG_NONNULL(1);
26960    /**
26961     * @brief Set the direction priority of a ctxpopup.
26962     *
26963     * @param obj Ctxpopup object
26964     * @param first 1st priority of direction
26965     * @param second 2nd priority of direction
26966     * @param third 3th priority of direction
26967     * @param fourth 4th priority of direction
26968     *
26969     * This functions gives a chance to user to set the priority of ctxpopup
26970     * showing direction. This doesn't guarantee the ctxpopup will appear in the
26971     * requested direction.
26972     *
26973     * @see Elm_Ctxpopup_Direction
26974     */
26975    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);
26976    /**
26977     * @brief Get the direction priority of a ctxpopup.
26978     *
26979     * @param obj Ctxpopup object
26980     * @param first 1st priority of direction to be returned
26981     * @param second 2nd priority of direction to be returned
26982     * @param third 3th priority of direction to be returned
26983     * @param fourth 4th priority of direction to be returned
26984     *
26985     * @see elm_ctxpopup_direction_priority_set() for more information.
26986     */
26987    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);
26988
26989    /**
26990     * @brief Get the current direction of a ctxpopup.
26991     *
26992     * @param obj Ctxpopup object
26993     * @return current direction of a ctxpopup
26994     *
26995     * @warning Once the ctxpopup showed up, the direction would be determined
26996     */
26997    EAPI Elm_Ctxpopup_Direction elm_ctxpopup_direction_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
26998
26999    /**
27000     * @}
27001     */
27002
27003    /* transit */
27004    /**
27005     *
27006     * @defgroup Transit Transit
27007     * @ingroup Elementary
27008     *
27009     * Transit is designed to apply various animated transition effects to @c
27010     * Evas_Object, such like translation, rotation, etc. For using these
27011     * effects, create an @ref Elm_Transit and add the desired transition effects.
27012     *
27013     * Once the effects are added into transit, they will be automatically
27014     * managed (their callback will be called until the duration is ended, and
27015     * they will be deleted on completion).
27016     *
27017     * Example:
27018     * @code
27019     * Elm_Transit *trans = elm_transit_add();
27020     * elm_transit_object_add(trans, obj);
27021     * elm_transit_effect_translation_add(trans, 0, 0, 280, 280
27022     * elm_transit_duration_set(transit, 1);
27023     * elm_transit_auto_reverse_set(transit, EINA_TRUE);
27024     * elm_transit_tween_mode_set(transit, ELM_TRANSIT_TWEEN_MODE_DECELERATE);
27025     * elm_transit_repeat_times_set(transit, 3);
27026     * @endcode
27027     *
27028     * Some transition effects are used to change the properties of objects. They
27029     * are:
27030     * @li @ref elm_transit_effect_translation_add
27031     * @li @ref elm_transit_effect_color_add
27032     * @li @ref elm_transit_effect_rotation_add
27033     * @li @ref elm_transit_effect_wipe_add
27034     * @li @ref elm_transit_effect_zoom_add
27035     * @li @ref elm_transit_effect_resizing_add
27036     *
27037     * Other transition effects are used to make one object disappear and another
27038     * object appear on its old place. These effects are:
27039     *
27040     * @li @ref elm_transit_effect_flip_add
27041     * @li @ref elm_transit_effect_resizable_flip_add
27042     * @li @ref elm_transit_effect_fade_add
27043     * @li @ref elm_transit_effect_blend_add
27044     *
27045     * It's also possible to make a transition chain with @ref
27046     * elm_transit_chain_transit_add.
27047     *
27048     * @warning We strongly recommend to use elm_transit just when edje can not do
27049     * the trick. Edje has more advantage than Elm_Transit, it has more flexibility and
27050     * animations can be manipulated inside the theme.
27051     *
27052     * List of examples:
27053     * @li @ref transit_example_01_explained
27054     * @li @ref transit_example_02_explained
27055     * @li @ref transit_example_03_c
27056     * @li @ref transit_example_04_c
27057     *
27058     * @{
27059     */
27060
27061    /**
27062     * @enum Elm_Transit_Tween_Mode
27063     *
27064     * The type of acceleration used in the transition.
27065     */
27066    typedef enum
27067      {
27068         ELM_TRANSIT_TWEEN_MODE_LINEAR, /**< Constant speed */
27069         ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL, /**< Starts slow, increase speed
27070                                              over time, then decrease again
27071                                              and stop slowly */
27072         ELM_TRANSIT_TWEEN_MODE_DECELERATE, /**< Starts fast and decrease
27073                                              speed over time */
27074         ELM_TRANSIT_TWEEN_MODE_ACCELERATE /**< Starts slow and increase speed
27075                                             over time */
27076      } Elm_Transit_Tween_Mode;
27077
27078    /**
27079     * @enum Elm_Transit_Effect_Flip_Axis
27080     *
27081     * The axis where flip effect should be applied.
27082     */
27083    typedef enum
27084      {
27085         ELM_TRANSIT_EFFECT_FLIP_AXIS_X, /**< Flip on X axis */
27086         ELM_TRANSIT_EFFECT_FLIP_AXIS_Y /**< Flip on Y axis */
27087      } Elm_Transit_Effect_Flip_Axis;
27088    /**
27089     * @enum Elm_Transit_Effect_Wipe_Dir
27090     *
27091     * The direction where the wipe effect should occur.
27092     */
27093    typedef enum
27094      {
27095         ELM_TRANSIT_EFFECT_WIPE_DIR_LEFT, /**< Wipe to the left */
27096         ELM_TRANSIT_EFFECT_WIPE_DIR_RIGHT, /**< Wipe to the right */
27097         ELM_TRANSIT_EFFECT_WIPE_DIR_UP, /**< Wipe up */
27098         ELM_TRANSIT_EFFECT_WIPE_DIR_DOWN /**< Wipe down */
27099      } Elm_Transit_Effect_Wipe_Dir;
27100    /** @enum Elm_Transit_Effect_Wipe_Type
27101     *
27102     * Whether the wipe effect should show or hide the object.
27103     */
27104    typedef enum
27105      {
27106         ELM_TRANSIT_EFFECT_WIPE_TYPE_HIDE, /**< Hide the object during the
27107                                              animation */
27108         ELM_TRANSIT_EFFECT_WIPE_TYPE_SHOW /**< Show the object during the
27109                                             animation */
27110      } Elm_Transit_Effect_Wipe_Type;
27111
27112    /**
27113     * @typedef Elm_Transit
27114     *
27115     * The Transit created with elm_transit_add(). This type has the information
27116     * about the objects which the transition will be applied, and the
27117     * transition effects that will be used. It also contains info about
27118     * duration, number of repetitions, auto-reverse, etc.
27119     */
27120    typedef struct _Elm_Transit Elm_Transit;
27121    typedef void Elm_Transit_Effect;
27122    /**
27123     * @typedef Elm_Transit_Effect_Transition_Cb
27124     *
27125     * Transition callback called for this effect on each transition iteration.
27126     */
27127    typedef void (*Elm_Transit_Effect_Transition_Cb) (Elm_Transit_Effect *effect, Elm_Transit *transit, double progress);
27128    /**
27129     * Elm_Transit_Effect_End_Cb
27130     *
27131     * Transition callback called for this effect when the transition is over.
27132     */
27133    typedef void (*Elm_Transit_Effect_End_Cb) (Elm_Transit_Effect *effect, Elm_Transit *transit);
27134
27135    /**
27136     * Elm_Transit_Del_Cb
27137     *
27138     * A callback called when the transit is deleted.
27139     */
27140    typedef void (*Elm_Transit_Del_Cb) (void *data, Elm_Transit *transit);
27141
27142    /**
27143     * Add new transit.
27144     *
27145     * @note Is not necessary to delete the transit object, it will be deleted at
27146     * the end of its operation.
27147     * @note The transit will start playing when the program enter in the main loop, is not
27148     * necessary to give a start to the transit.
27149     *
27150     * @return The transit object.
27151     *
27152     * @ingroup Transit
27153     */
27154    EAPI Elm_Transit                *elm_transit_add(void);
27155
27156    /**
27157     * Stops the animation and delete the @p transit object.
27158     *
27159     * Call this function if you wants to stop the animation before the duration
27160     * time. Make sure the @p transit object is still alive with
27161     * elm_transit_del_cb_set() function.
27162     * All added effects will be deleted, calling its repective data_free_cb
27163     * functions. The function setted by elm_transit_del_cb_set() will be called.
27164     *
27165     * @see elm_transit_del_cb_set()
27166     *
27167     * @param transit The transit object to be deleted.
27168     *
27169     * @ingroup Transit
27170     * @warning Just call this function if you are sure the transit is alive.
27171     */
27172    EAPI void                        elm_transit_del(Elm_Transit *transit) EINA_ARG_NONNULL(1);
27173
27174    /**
27175     * Add a new effect to the transit.
27176     *
27177     * @note The cb function and the data are the key to the effect. If you try to
27178     * add an already added effect, nothing is done.
27179     * @note After the first addition of an effect in @p transit, if its
27180     * effect list become empty again, the @p transit will be killed by
27181     * elm_transit_del(transit) function.
27182     *
27183     * Exemple:
27184     * @code
27185     * Elm_Transit *transit = elm_transit_add();
27186     * elm_transit_effect_add(transit,
27187     *                        elm_transit_effect_blend_op,
27188     *                        elm_transit_effect_blend_context_new(),
27189     *                        elm_transit_effect_blend_context_free);
27190     * @endcode
27191     *
27192     * @param transit The transit object.
27193     * @param transition_cb The operation function. It is called when the
27194     * animation begins, it is the function that actually performs the animation.
27195     * It is called with the @p data, @p transit and the time progression of the
27196     * animation (a double value between 0.0 and 1.0).
27197     * @param effect The context data of the effect.
27198     * @param end_cb The function to free the context data, it will be called
27199     * at the end of the effect, it must finalize the animation and free the
27200     * @p data.
27201     *
27202     * @ingroup Transit
27203     * @warning The transit free the context data at the and of the transition with
27204     * the data_free_cb function, do not use the context data in another transit.
27205     */
27206    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);
27207
27208    /**
27209     * Delete an added effect.
27210     *
27211     * This function will remove the effect from the @p transit, calling the
27212     * data_free_cb to free the @p data.
27213     *
27214     * @see elm_transit_effect_add()
27215     *
27216     * @note If the effect is not found, nothing is done.
27217     * @note If the effect list become empty, this function will call
27218     * elm_transit_del(transit), that is, it will kill the @p transit.
27219     *
27220     * @param transit The transit object.
27221     * @param transition_cb The operation function.
27222     * @param effect The context data of the effect.
27223     *
27224     * @ingroup Transit
27225     */
27226    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);
27227
27228    /**
27229     * Add new object to apply the effects.
27230     *
27231     * @note After the first addition of an object in @p transit, if its
27232     * object list become empty again, the @p transit will be killed by
27233     * elm_transit_del(transit) function.
27234     * @note If the @p obj belongs to another transit, the @p obj will be
27235     * removed from it and it will only belong to the @p transit. If the old
27236     * transit stays without objects, it will die.
27237     * @note When you add an object into the @p transit, its state from
27238     * evas_object_pass_events_get(obj) is saved, and it is applied when the
27239     * transit ends, if you change this state whith evas_object_pass_events_set()
27240     * after add the object, this state will change again when @p transit stops to
27241     * run.
27242     *
27243     * @param transit The transit object.
27244     * @param obj Object to be animated.
27245     *
27246     * @ingroup Transit
27247     * @warning It is not allowed to add a new object after transit begins to go.
27248     */
27249    EAPI void                        elm_transit_object_add(Elm_Transit *transit, Evas_Object *obj) EINA_ARG_NONNULL(1, 2);
27250
27251    /**
27252     * Removes an added object from the transit.
27253     *
27254     * @note If the @p obj is not in the @p transit, nothing is done.
27255     * @note If the list become empty, this function will call
27256     * elm_transit_del(transit), that is, it will kill the @p transit.
27257     *
27258     * @param transit The transit object.
27259     * @param obj Object to be removed from @p transit.
27260     *
27261     * @ingroup Transit
27262     * @warning It is not allowed to remove objects after transit begins to go.
27263     */
27264    EAPI void                        elm_transit_object_remove(Elm_Transit *transit, Evas_Object *obj) EINA_ARG_NONNULL(1, 2);
27265
27266    /**
27267     * Get the objects of the transit.
27268     *
27269     * @param transit The transit object.
27270     * @return a Eina_List with the objects from the transit.
27271     *
27272     * @ingroup Transit
27273     */
27274    EAPI const Eina_List            *elm_transit_objects_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27275
27276    /**
27277     * Enable/disable keeping up the objects states.
27278     * If it is not kept, the objects states will be reset when transition ends.
27279     *
27280     * @note @p transit can not be NULL.
27281     * @note One state includes geometry, color, map data.
27282     *
27283     * @param transit The transit object.
27284     * @param state_keep Keeping or Non Keeping.
27285     *
27286     * @ingroup Transit
27287     */
27288    EAPI void                        elm_transit_objects_final_state_keep_set(Elm_Transit *transit, Eina_Bool state_keep) EINA_ARG_NONNULL(1);
27289
27290    /**
27291     * Get a value whether the objects states will be reset or not.
27292     *
27293     * @note @p transit can not be NULL
27294     *
27295     * @see elm_transit_objects_final_state_keep_set()
27296     *
27297     * @param transit The transit object.
27298     * @return EINA_TRUE means the states of the objects will be reset.
27299     * If @p transit is NULL, EINA_FALSE is returned
27300     *
27301     * @ingroup Transit
27302     */
27303    EAPI Eina_Bool                   elm_transit_objects_final_state_keep_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27304
27305    /**
27306     * Set the event enabled when transit is operating.
27307     *
27308     * If @p enabled is EINA_TRUE, the objects of the transit will receives
27309     * events from mouse and keyboard during the animation.
27310     * @note When you add an object with elm_transit_object_add(), its state from
27311     * evas_object_pass_events_get(obj) is saved, and it is applied when the
27312     * transit ends, if you change this state with evas_object_pass_events_set()
27313     * after adding the object, this state will change again when @p transit stops
27314     * to run.
27315     *
27316     * @param transit The transit object.
27317     * @param enabled Events are received when enabled is @c EINA_TRUE, and
27318     * ignored otherwise.
27319     *
27320     * @ingroup Transit
27321     */
27322    EAPI void                        elm_transit_event_enabled_set(Elm_Transit *transit, Eina_Bool enabled) EINA_ARG_NONNULL(1);
27323
27324    /**
27325     * Get the value of event enabled status.
27326     *
27327     * @see elm_transit_event_enabled_set()
27328     *
27329     * @param transit The Transit object
27330     * @return EINA_TRUE, when event is enabled. If @p transit is NULL
27331     * EINA_FALSE is returned
27332     *
27333     * @ingroup Transit
27334     */
27335    EAPI Eina_Bool                   elm_transit_event_enabled_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27336
27337    /**
27338     * Set the user-callback function when the transit is deleted.
27339     *
27340     * @note Using this function twice will overwrite the first function setted.
27341     * @note the @p transit object will be deleted after call @p cb function.
27342     *
27343     * @param transit The transit object.
27344     * @param cb Callback function pointer. This function will be called before
27345     * the deletion of the transit.
27346     * @param data Callback funtion user data. It is the @p op parameter.
27347     *
27348     * @ingroup Transit
27349     */
27350    EAPI void                        elm_transit_del_cb_set(Elm_Transit *transit, Elm_Transit_Del_Cb cb, void *data) EINA_ARG_NONNULL(1);
27351
27352    /**
27353     * Set reverse effect automatically.
27354     *
27355     * If auto reverse is setted, after running the effects with the progress
27356     * parameter from 0 to 1, it will call the effecs again with the progress
27357     * from 1 to 0. The transit will last for a time iqual to (2 * duration * repeat),
27358     * where the duration was setted with the function elm_transit_add and
27359     * the repeat with the function elm_transit_repeat_times_set().
27360     *
27361     * @param transit The transit object.
27362     * @param reverse EINA_TRUE means the auto_reverse is on.
27363     *
27364     * @ingroup Transit
27365     */
27366    EAPI void                        elm_transit_auto_reverse_set(Elm_Transit *transit, Eina_Bool reverse) EINA_ARG_NONNULL(1);
27367
27368    /**
27369     * Get if the auto reverse is on.
27370     *
27371     * @see elm_transit_auto_reverse_set()
27372     *
27373     * @param transit The transit object.
27374     * @return EINA_TRUE means auto reverse is on. If @p transit is NULL
27375     * EINA_FALSE is returned
27376     *
27377     * @ingroup Transit
27378     */
27379    EAPI Eina_Bool                   elm_transit_auto_reverse_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27380
27381    /**
27382     * Set the transit repeat count. Effect will be repeated by repeat count.
27383     *
27384     * This function sets the number of repetition the transit will run after
27385     * the first one, that is, if @p repeat is 1, the transit will run 2 times.
27386     * If the @p repeat is a negative number, it will repeat infinite times.
27387     *
27388     * @note If this function is called during the transit execution, the transit
27389     * will run @p repeat times, ignoring the times it already performed.
27390     *
27391     * @param transit The transit object
27392     * @param repeat Repeat count
27393     *
27394     * @ingroup Transit
27395     */
27396    EAPI void                        elm_transit_repeat_times_set(Elm_Transit *transit, int repeat) EINA_ARG_NONNULL(1);
27397
27398    /**
27399     * Get the transit repeat count.
27400     *
27401     * @see elm_transit_repeat_times_set()
27402     *
27403     * @param transit The Transit object.
27404     * @return The repeat count. If @p transit is NULL
27405     * 0 is returned
27406     *
27407     * @ingroup Transit
27408     */
27409    EAPI int                         elm_transit_repeat_times_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27410
27411    /**
27412     * Set the transit animation acceleration type.
27413     *
27414     * This function sets the tween mode of the transit that can be:
27415     * ELM_TRANSIT_TWEEN_MODE_LINEAR - The default mode.
27416     * ELM_TRANSIT_TWEEN_MODE_SINUSOIDAL - Starts in accelerate mode and ends decelerating.
27417     * ELM_TRANSIT_TWEEN_MODE_DECELERATE - The animation will be slowed over time.
27418     * ELM_TRANSIT_TWEEN_MODE_ACCELERATE - The animation will accelerate over time.
27419     *
27420     * @param transit The transit object.
27421     * @param tween_mode The tween type.
27422     *
27423     * @ingroup Transit
27424     */
27425    EAPI void                        elm_transit_tween_mode_set(Elm_Transit *transit, Elm_Transit_Tween_Mode tween_mode) EINA_ARG_NONNULL(1);
27426
27427    /**
27428     * Get the transit animation acceleration type.
27429     *
27430     * @note @p transit can not be NULL
27431     *
27432     * @param transit The transit object.
27433     * @return The tween type. If @p transit is NULL
27434     * ELM_TRANSIT_TWEEN_MODE_LINEAR is returned.
27435     *
27436     * @ingroup Transit
27437     */
27438    EAPI Elm_Transit_Tween_Mode      elm_transit_tween_mode_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27439
27440    /**
27441     * Set the transit animation time
27442     *
27443     * @note @p transit can not be NULL
27444     *
27445     * @param transit The transit object.
27446     * @param duration The animation time.
27447     *
27448     * @ingroup Transit
27449     */
27450    EAPI void                        elm_transit_duration_set(Elm_Transit *transit, double duration) EINA_ARG_NONNULL(1);
27451
27452    /**
27453     * Get the transit animation time
27454     *
27455     * @note @p transit can not be NULL
27456     *
27457     * @param transit The transit object.
27458     *
27459     * @return The transit animation time.
27460     *
27461     * @ingroup Transit
27462     */
27463    EAPI double                      elm_transit_duration_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27464
27465    /**
27466     * Starts the transition.
27467     * Once this API is called, the transit begins to measure the time.
27468     *
27469     * @note @p transit can not be NULL
27470     *
27471     * @param transit The transit object.
27472     *
27473     * @ingroup Transit
27474     */
27475    EAPI void                        elm_transit_go(Elm_Transit *transit) EINA_ARG_NONNULL(1);
27476
27477    /**
27478     * Pause/Resume the transition.
27479     *
27480     * If you call elm_transit_go again, the transit will be started from the
27481     * beginning, and will be unpaused.
27482     *
27483     * @note @p transit can not be NULL
27484     *
27485     * @param transit The transit object.
27486     * @param paused Whether the transition should be paused or not.
27487     *
27488     * @ingroup Transit
27489     */
27490    EAPI void                        elm_transit_paused_set(Elm_Transit *transit, Eina_Bool paused) EINA_ARG_NONNULL(1);
27491
27492    /**
27493     * Get the value of paused status.
27494     *
27495     * @see elm_transit_paused_set()
27496     *
27497     * @note @p transit can not be NULL
27498     *
27499     * @param transit The transit object.
27500     * @return EINA_TRUE means transition is paused. If @p transit is NULL
27501     * EINA_FALSE is returned
27502     *
27503     * @ingroup Transit
27504     */
27505    EAPI Eina_Bool                   elm_transit_paused_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27506
27507    /**
27508     * Get the time progression of the animation (a double value between 0.0 and 1.0).
27509     *
27510     * The value returned is a fraction (current time / total time). It
27511     * represents the progression position relative to the total.
27512     *
27513     * @note @p transit can not be NULL
27514     *
27515     * @param transit The transit object.
27516     *
27517     * @return The time progression value. If @p transit is NULL
27518     * 0 is returned
27519     *
27520     * @ingroup Transit
27521     */
27522    EAPI double                      elm_transit_progress_value_get(const Elm_Transit *transit) EINA_ARG_NONNULL(1);
27523
27524    /**
27525     * Makes the chain relationship between two transits.
27526     *
27527     * @note @p transit can not be NULL. Transit would have multiple chain transits.
27528     * @note @p chain_transit can not be NULL. Chain transits could be chained to the only one transit.
27529     *
27530     * @param transit The transit object.
27531     * @param chain_transit The chain transit object. This transit will be operated
27532     *        after transit is done.
27533     *
27534     * This function adds @p chain_transit transition to a chain after the @p
27535     * transit, and will be started as soon as @p transit ends. See @ref
27536     * transit_example_02_explained for a full example.
27537     *
27538     * @ingroup Transit
27539     */
27540    EAPI void                        elm_transit_chain_transit_add(Elm_Transit *transit, Elm_Transit *chain_transit) EINA_ARG_NONNULL(1, 2);
27541
27542    /**
27543     * Cut off the chain relationship between two transits.
27544     *
27545     * @note @p transit can not be NULL. Transit would have the chain relationship with @p chain transit.
27546     * @note @p chain_transit can not be NULL. Chain transits should be chained to the @p transit.
27547     *
27548     * @param transit The transit object.
27549     * @param chain_transit The chain transit object.
27550     *
27551     * This function remove the @p chain_transit transition from the @p transit.
27552     *
27553     * @ingroup Transit
27554     */
27555    EAPI void                        elm_transit_chain_transit_del(Elm_Transit *transit, Elm_Transit *chain_transit) EINA_ARG_NONNULL(1,2);
27556
27557    /**
27558     * Get the current chain transit list.
27559     *
27560     * @note @p transit can not be NULL.
27561     *
27562     * @param transit The transit object.
27563     * @return chain transit list.
27564     *
27565     * @ingroup Transit
27566     */
27567    EAPI Eina_List                  *elm_transit_chain_transits_get(const Elm_Transit *transit);
27568
27569    /**
27570     * Add the Resizing Effect to Elm_Transit.
27571     *
27572     * @note This API is one of the facades. It creates resizing effect context
27573     * and add it's required APIs to elm_transit_effect_add.
27574     *
27575     * @see elm_transit_effect_add()
27576     *
27577     * @param transit Transit object.
27578     * @param from_w Object width size when effect begins.
27579     * @param from_h Object height size when effect begins.
27580     * @param to_w Object width size when effect ends.
27581     * @param to_h Object height size when effect ends.
27582     * @return Resizing effect context data.
27583     *
27584     * @ingroup Transit
27585     */
27586    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);
27587
27588    /**
27589     * Add the Translation Effect to Elm_Transit.
27590     *
27591     * @note This API is one of the facades. It creates translation effect context
27592     * and add it's required APIs to elm_transit_effect_add.
27593     *
27594     * @see elm_transit_effect_add()
27595     *
27596     * @param transit Transit object.
27597     * @param from_dx X Position variation when effect begins.
27598     * @param from_dy Y Position variation when effect begins.
27599     * @param to_dx X Position variation when effect ends.
27600     * @param to_dy Y Position variation when effect ends.
27601     * @return Translation effect context data.
27602     *
27603     * @ingroup Transit
27604     * @warning It is highly recommended just create a transit with this effect when
27605     * the window that the objects of the transit belongs has already been created.
27606     * This is because this effect needs the geometry information about the objects,
27607     * and if the window was not created yet, it can get a wrong information.
27608     */
27609    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);
27610
27611    /**
27612     * Add the Zoom Effect to Elm_Transit.
27613     *
27614     * @note This API is one of the facades. It creates zoom effect context
27615     * and add it's required APIs to elm_transit_effect_add.
27616     *
27617     * @see elm_transit_effect_add()
27618     *
27619     * @param transit Transit object.
27620     * @param from_rate Scale rate when effect begins (1 is current rate).
27621     * @param to_rate Scale rate when effect ends.
27622     * @return Zoom effect context data.
27623     *
27624     * @ingroup Transit
27625     * @warning It is highly recommended just create a transit with this effect when
27626     * the window that the objects of the transit belongs has already been created.
27627     * This is because this effect needs the geometry information about the objects,
27628     * and if the window was not created yet, it can get a wrong information.
27629     */
27630    EAPI Elm_Transit_Effect *elm_transit_effect_zoom_add(Elm_Transit *transit, float from_rate, float to_rate);
27631
27632    /**
27633     * Add the Flip Effect to Elm_Transit.
27634     *
27635     * @note This API is one of the facades. It creates flip effect context
27636     * and add it's required APIs to elm_transit_effect_add.
27637     * @note This effect is applied to each pair of objects in the order they are listed
27638     * in the transit list of objects. The first object in the pair will be the
27639     * "front" object and the second will be the "back" object.
27640     *
27641     * @see elm_transit_effect_add()
27642     *
27643     * @param transit Transit object.
27644     * @param axis Flipping Axis(X or Y).
27645     * @param cw Flipping Direction. EINA_TRUE is clock-wise.
27646     * @return Flip effect context data.
27647     *
27648     * @ingroup Transit
27649     * @warning It is highly recommended just create a transit with this effect when
27650     * the window that the objects of the transit belongs has already been created.
27651     * This is because this effect needs the geometry information about the objects,
27652     * and if the window was not created yet, it can get a wrong information.
27653     */
27654    EAPI Elm_Transit_Effect *elm_transit_effect_flip_add(Elm_Transit *transit, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw);
27655
27656    /**
27657     * Add the Resizable Flip Effect to Elm_Transit.
27658     *
27659     * @note This API is one of the facades. It creates resizable flip effect context
27660     * and add it's required APIs to elm_transit_effect_add.
27661     * @note This effect is applied to each pair of objects in the order they are listed
27662     * in the transit list of objects. The first object in the pair will be the
27663     * "front" object and the second will be the "back" object.
27664     *
27665     * @see elm_transit_effect_add()
27666     *
27667     * @param transit Transit object.
27668     * @param axis Flipping Axis(X or Y).
27669     * @param cw Flipping Direction. EINA_TRUE is clock-wise.
27670     * @return Resizable flip effect context data.
27671     *
27672     * @ingroup Transit
27673     * @warning It is highly recommended just create a transit with this effect when
27674     * the window that the objects of the transit belongs has already been created.
27675     * This is because this effect needs the geometry information about the objects,
27676     * and if the window was not created yet, it can get a wrong information.
27677     */
27678    EAPI Elm_Transit_Effect *elm_transit_effect_resizable_flip_add(Elm_Transit *transit, Elm_Transit_Effect_Flip_Axis axis, Eina_Bool cw);
27679
27680    /**
27681     * Add the Wipe Effect to Elm_Transit.
27682     *
27683     * @note This API is one of the facades. It creates wipe effect context
27684     * and add it's required APIs to elm_transit_effect_add.
27685     *
27686     * @see elm_transit_effect_add()
27687     *
27688     * @param transit Transit object.
27689     * @param type Wipe type. Hide or show.
27690     * @param dir Wipe Direction.
27691     * @return Wipe effect context data.
27692     *
27693     * @ingroup Transit
27694     * @warning It is highly recommended just create a transit with this effect when
27695     * the window that the objects of the transit belongs has already been created.
27696     * This is because this effect needs the geometry information about the objects,
27697     * and if the window was not created yet, it can get a wrong information.
27698     */
27699    EAPI Elm_Transit_Effect *elm_transit_effect_wipe_add(Elm_Transit *transit, Elm_Transit_Effect_Wipe_Type type, Elm_Transit_Effect_Wipe_Dir dir);
27700
27701    /**
27702     * Add the Color Effect to Elm_Transit.
27703     *
27704     * @note This API is one of the facades. It creates color effect context
27705     * and add it's required APIs to elm_transit_effect_add.
27706     *
27707     * @see elm_transit_effect_add()
27708     *
27709     * @param transit        Transit object.
27710     * @param  from_r        RGB R when effect begins.
27711     * @param  from_g        RGB G when effect begins.
27712     * @param  from_b        RGB B when effect begins.
27713     * @param  from_a        RGB A when effect begins.
27714     * @param  to_r          RGB R when effect ends.
27715     * @param  to_g          RGB G when effect ends.
27716     * @param  to_b          RGB B when effect ends.
27717     * @param  to_a          RGB A when effect ends.
27718     * @return               Color effect context data.
27719     *
27720     * @ingroup Transit
27721     */
27722    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);
27723
27724    /**
27725     * Add the Fade Effect to Elm_Transit.
27726     *
27727     * @note This API is one of the facades. It creates fade effect context
27728     * and add it's required APIs to elm_transit_effect_add.
27729     * @note This effect is applied to each pair of objects in the order they are listed
27730     * in the transit list of objects. The first object in the pair will be the
27731     * "before" object and the second will be the "after" object.
27732     *
27733     * @see elm_transit_effect_add()
27734     *
27735     * @param transit Transit object.
27736     * @return Fade effect context data.
27737     *
27738     * @ingroup Transit
27739     * @warning It is highly recommended just create a transit with this effect when
27740     * the window that the objects of the transit belongs has already been created.
27741     * This is because this effect needs the color information about the objects,
27742     * and if the window was not created yet, it can get a wrong information.
27743     */
27744    EAPI Elm_Transit_Effect *elm_transit_effect_fade_add(Elm_Transit *transit);
27745
27746    /**
27747     * Add the Blend Effect to Elm_Transit.
27748     *
27749     * @note This API is one of the facades. It creates blend effect context
27750     * and add it's required APIs to elm_transit_effect_add.
27751     * @note This effect is applied to each pair of objects in the order they are listed
27752     * in the transit list of objects. The first object in the pair will be the
27753     * "before" object and the second will be the "after" object.
27754     *
27755     * @see elm_transit_effect_add()
27756     *
27757     * @param transit Transit object.
27758     * @return Blend effect context data.
27759     *
27760     * @ingroup Transit
27761     * @warning It is highly recommended just create a transit with this effect when
27762     * the window that the objects of the transit belongs has already been created.
27763     * This is because this effect needs the color information about the objects,
27764     * and if the window was not created yet, it can get a wrong information.
27765     */
27766    EAPI Elm_Transit_Effect *elm_transit_effect_blend_add(Elm_Transit *transit);
27767
27768    /**
27769     * Add the Rotation Effect to Elm_Transit.
27770     *
27771     * @note This API is one of the facades. It creates rotation effect context
27772     * and add it's required APIs to elm_transit_effect_add.
27773     *
27774     * @see elm_transit_effect_add()
27775     *
27776     * @param transit Transit object.
27777     * @param from_degree Degree when effect begins.
27778     * @param to_degree Degree when effect is ends.
27779     * @return Rotation effect context data.
27780     *
27781     * @ingroup Transit
27782     * @warning It is highly recommended just create a transit with this effect when
27783     * the window that the objects of the transit belongs has already been created.
27784     * This is because this effect needs the geometry information about the objects,
27785     * and if the window was not created yet, it can get a wrong information.
27786     */
27787    EAPI Elm_Transit_Effect *elm_transit_effect_rotation_add(Elm_Transit *transit, float from_degree, float to_degree);
27788
27789    /**
27790     * Add the ImageAnimation Effect to Elm_Transit.
27791     *
27792     * @note This API is one of the facades. It creates image animation effect context
27793     * and add it's required APIs to elm_transit_effect_add.
27794     * The @p images parameter is a list images paths. This list and
27795     * its contents will be deleted at the end of the effect by
27796     * elm_transit_effect_image_animation_context_free() function.
27797     *
27798     * Example:
27799     * @code
27800     * char buf[PATH_MAX];
27801     * Eina_List *images = NULL;
27802     * Elm_Transit *transi = elm_transit_add();
27803     *
27804     * snprintf(buf, sizeof(buf), "%s/images/icon_11.png", PACKAGE_DATA_DIR);
27805     * images = eina_list_append(images, eina_stringshare_add(buf));
27806     *
27807     * snprintf(buf, sizeof(buf), "%s/images/logo_small.png", PACKAGE_DATA_DIR);
27808     * images = eina_list_append(images, eina_stringshare_add(buf));
27809     * elm_transit_effect_image_animation_add(transi, images);
27810     *
27811     * @endcode
27812     *
27813     * @see elm_transit_effect_add()
27814     *
27815     * @param transit Transit object.
27816     * @param images Eina_List of images file paths. This list and
27817     * its contents will be deleted at the end of the effect by
27818     * elm_transit_effect_image_animation_context_free() function.
27819     * @return Image Animation effect context data.
27820     *
27821     * @ingroup Transit
27822     */
27823    EAPI Elm_Transit_Effect *elm_transit_effect_image_animation_add(Elm_Transit *transit, Eina_List *images);
27824    /**
27825     * @}
27826     */
27827
27828    /* Store */
27829    typedef struct _Elm_Store                      Elm_Store;
27830    typedef struct _Elm_Store_DBsystem             Elm_Store_DBsystem;
27831    typedef struct _Elm_Store_Filesystem           Elm_Store_Filesystem;
27832    typedef struct _Elm_Store_Item                 Elm_Store_Item;
27833    typedef struct _Elm_Store_Item_DBsystem        Elm_Store_Item_DBsystem;
27834    typedef struct _Elm_Store_Item_Filesystem      Elm_Store_Item_Filesystem;
27835    typedef struct _Elm_Store_Item_Info            Elm_Store_Item_Info;
27836    typedef struct _Elm_Store_Item_Info_Filesystem Elm_Store_Item_Info_Filesystem;
27837    typedef struct _Elm_Store_Item_Mapping         Elm_Store_Item_Mapping;
27838    typedef struct _Elm_Store_Item_Mapping_Empty   Elm_Store_Item_Mapping_Empty;
27839    typedef struct _Elm_Store_Item_Mapping_Icon    Elm_Store_Item_Mapping_Icon;
27840    typedef struct _Elm_Store_Item_Mapping_Photo   Elm_Store_Item_Mapping_Photo;
27841    typedef struct _Elm_Store_Item_Mapping_Custom  Elm_Store_Item_Mapping_Custom;
27842
27843    typedef Eina_Bool (*Elm_Store_Item_List_Cb) (void *data, Elm_Store_Item_Info *info);
27844    typedef void      (*Elm_Store_Item_Fetch_Cb) (void *data, Elm_Store_Item *sti, Elm_Store_Item_Info *info);
27845    typedef void      (*Elm_Store_Item_Unfetch_Cb) (void *data, Elm_Store_Item *sti, Elm_Store_Item_Info *info);
27846    typedef void      (*Elm_Store_Item_Select_Cb) (void *data, Elm_Store_Item *sti);
27847    typedef int       (*Elm_Store_Item_Sort_Cb) (void *data, Elm_Store_Item_Info *info1, Elm_Store_Item_Info *info2);
27848    typedef void      (*Elm_Store_Item_Free_Cb) (void *data, Elm_Store_Item_Info *info);
27849    typedef void     *(*Elm_Store_Item_Mapping_Cb) (void *data, Elm_Store_Item *sti, const char *part);
27850
27851    typedef enum
27852      {
27853         ELM_STORE_ITEM_MAPPING_NONE = 0,
27854         ELM_STORE_ITEM_MAPPING_LABEL, // const char * -> label
27855         ELM_STORE_ITEM_MAPPING_STATE, // Eina_Bool -> state
27856         ELM_STORE_ITEM_MAPPING_ICON, // char * -> icon path
27857         ELM_STORE_ITEM_MAPPING_PHOTO, // char * -> photo path
27858         ELM_STORE_ITEM_MAPPING_CUSTOM, // item->custom(it->data, it, part) -> void * (-> any)
27859         // can add more here as needed by common apps
27860         ELM_STORE_ITEM_MAPPING_LAST
27861      } Elm_Store_Item_Mapping_Type;
27862
27863    struct _Elm_Store_Item_Mapping_Icon
27864      {
27865         // FIXME: allow edje file icons
27866         int                   w, h;
27867         Elm_Icon_Lookup_Order lookup_order;
27868         Eina_Bool             standard_name : 1;
27869         Eina_Bool             no_scale : 1;
27870         Eina_Bool             smooth : 1;
27871         Eina_Bool             scale_up : 1;
27872         Eina_Bool             scale_down : 1;
27873      };
27874
27875    struct _Elm_Store_Item_Mapping_Empty
27876      {
27877         Eina_Bool             dummy;
27878      };
27879
27880    struct _Elm_Store_Item_Mapping_Photo
27881      {
27882         int                   size;
27883      };
27884
27885    struct _Elm_Store_Item_Mapping_Custom
27886      {
27887         Elm_Store_Item_Mapping_Cb func;
27888      };
27889
27890    struct _Elm_Store_Item_Mapping
27891      {
27892         Elm_Store_Item_Mapping_Type     type;
27893         const char                     *part;
27894         int                             offset;
27895         union
27896           {
27897              Elm_Store_Item_Mapping_Empty  empty;
27898              Elm_Store_Item_Mapping_Icon   icon;
27899              Elm_Store_Item_Mapping_Photo  photo;
27900              Elm_Store_Item_Mapping_Custom custom;
27901              // add more types here
27902           } details;
27903      };
27904
27905    struct _Elm_Store_Item_Info
27906      {
27907         int                           index;
27908         int                           item_type;
27909         int                           group_index;
27910         Eina_Bool                     rec_item;
27911         int                           pre_group_index;
27912
27913         Elm_Genlist_Item_Class       *item_class;
27914         const Elm_Store_Item_Mapping *mapping;
27915         void                         *data;
27916         char                         *sort_id;
27917      };
27918
27919    struct _Elm_Store_Item_Info_Filesystem
27920      {
27921         Elm_Store_Item_Info  base;
27922         char                *path;
27923      };
27924
27925 #define ELM_STORE_ITEM_MAPPING_END { ELM_STORE_ITEM_MAPPING_NONE, NULL, 0, { .empty = { EINA_TRUE } } }
27926 #define ELM_STORE_ITEM_MAPPING_OFFSET(st, it) offsetof(st, it)
27927
27928    /**
27929     * dbsystem Store object
27930     *
27931     * @addtogroup DBStore
27932     * @{
27933     *
27934     * @return The new object or NULL if it cannot be created
27935     */
27936    EAPI Elm_Store              *elm_store_dbsystem_new(void);
27937    /**
27938     * Sets the item count of a store
27939     *
27940     * @param st The store object
27941     * @param count The item count of an store
27942     */
27943    EAPI void                    elm_store_item_count_set(Elm_Store *st, int count) EINA_ARG_NONNULL(1);
27944    /**
27945     * Set the select func that select the state of a list item whether true or false
27946     *
27947     * @param st The store object
27948     * @param func The select cb function of an store
27949     * @param data The new data pointer to set
27950     */
27951    EAPI void                    elm_store_item_select_func_set(Elm_Store *st, Elm_Store_Item_Select_Cb func, const void *data) EINA_ARG_NONNULL(1);
27952    /**
27953     * Sets the sort func that sort the item with a next in the list
27954     *
27955     * @param st The store object
27956     * @param func The sort cb function of an store
27957     * @param data The new data pointer to set
27958     */
27959    EAPI void                    elm_store_item_sort_func_set(Elm_Store *st, Elm_Store_Item_Sort_Cb func, const void *data) EINA_ARG_NONNULL(1);
27960    /**
27961     * Set the store item free func
27962     *
27963     * @param st The store object
27964     * @param func The free cb function of an store
27965     * @param data The new data pointer to set
27966     */
27967    EAPI void                    elm_store_item_free_func_set(Elm_Store *st, Elm_Store_Item_Free_Cb func, const void *data) EINA_ARG_NONNULL(1);
27968    /**
27969     * Get the item index that included header items
27970     *
27971     * @param sti The store item object
27972     * @return The item index in genlist
27973     */
27974    EAPI int                     elm_store_item_data_index_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27975    /**
27976     * Get the DB pointer of an item
27977     *
27978     * @param sti The store item object
27979     * @return The DB pointer of item
27980     */
27981    EAPI void                   *elm_store_dbsystem_db_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27982    /**
27983     * Set the DB pointer of an item
27984     *
27985     * @param sti The store item object
27986     * @parm p_db The DB pointer of item
27987     */
27988    EAPI void                    elm_store_dbsystem_db_set(Elm_Store *store, void *pDB) EINA_ARG_NONNULL(1);
27989    /**
27990     */
27991    EAPI int                     elm_store_item_index_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
27992    /**
27993     * Append the item to the genlist
27994     *
27995     * @param st The store object
27996     * @param info The store item info dbsystem object
27997     * @return The item of store
27998     */
27999    EAPI Elm_Store_Item         *elm_store_item_add(Elm_Store *st, Elm_Store_Item_Info *info) EINA_ARG_NONNULL(1);
28000    /**
28001     * Realize the visible items to the screen
28002     *
28003     * @param st The store object
28004     */
28005    EAPI void                    elm_store_item_update(Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
28006    /**
28007     * Realize the item to the screen
28008     *
28009     * @param sti The store item object
28010     */
28011    EAPI void                    elm_store_visible_items_update(Elm_Store *st) EINA_ARG_NONNULL(1);
28012    /**
28013     * Delete the item of genlist
28014     *
28015     * @param sti The store item object
28016     */
28017    EAPI void                    elm_store_item_del(Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
28018    EAPI void                    elm_store_free(Elm_Store *st);
28019    EAPI Elm_Store              *elm_store_filesystem_new(void);
28020    EAPI void                    elm_store_filesystem_directory_set(Elm_Store *st, const char *dir) EINA_ARG_NONNULL(1);
28021    EAPI const char             *elm_store_filesystem_directory_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
28022    EAPI const char             *elm_store_item_filesystem_path_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
28023
28024    EAPI void                    elm_store_target_genlist_set(Elm_Store *st, Evas_Object *obj) EINA_ARG_NONNULL(1);
28025
28026    EAPI void                    elm_store_cache_set(Elm_Store *st, int max) EINA_ARG_NONNULL(1);
28027    EAPI int                     elm_store_cache_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
28028    EAPI void                    elm_store_list_func_set(Elm_Store *st, Elm_Store_Item_List_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
28029    EAPI void                    elm_store_fetch_func_set(Elm_Store *st, Elm_Store_Item_Fetch_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
28030    EAPI void                    elm_store_fetch_thread_set(Elm_Store *st, Eina_Bool use_thread) EINA_ARG_NONNULL(1);
28031    EAPI Eina_Bool               elm_store_fetch_thread_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
28032
28033    EAPI void                    elm_store_unfetch_func_set(Elm_Store *st, Elm_Store_Item_Unfetch_Cb func, const void *data) EINA_ARG_NONNULL(1, 2);
28034    EAPI void                    elm_store_sorted_set(Elm_Store *st, Eina_Bool sorted) EINA_ARG_NONNULL(1);
28035    EAPI Eina_Bool               elm_store_sorted_get(const Elm_Store *st) EINA_ARG_NONNULL(1);
28036    EAPI void                    elm_store_item_data_set(Elm_Store_Item *sti, void *data) EINA_ARG_NONNULL(1);
28037    EAPI void                   *elm_store_item_data_get(Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
28038    EAPI const Elm_Store        *elm_store_item_store_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
28039    EAPI const Elm_Genlist_Item *elm_store_item_genlist_item_get(const Elm_Store_Item *sti) EINA_ARG_NONNULL(1);
28040    /**
28041     * @}
28042     */
28043
28044    /**
28045     * @defgroup SegmentControl SegmentControl
28046     * @ingroup Elementary
28047     *
28048     * @image html img/widget/segment_control/preview-00.png
28049     * @image latex img/widget/segment_control/preview-00.eps width=\textwidth
28050     *
28051     * @image html img/segment_control.png
28052     * @image latex img/segment_control.eps width=\textwidth
28053     *
28054     * Segment control widget is a horizontal control made of multiple segment
28055     * items, each segment item functioning similar to discrete two state button.
28056     * A segment control groups the items together and provides compact
28057     * single button with multiple equal size segments.
28058     *
28059     * Segment item size is determined by base widget
28060     * size and the number of items added.
28061     * Only one segment item can be at selected state. A segment item can display
28062     * combination of Text and any Evas_Object like Images or other widget.
28063     *
28064     * Smart callbacks one can listen to:
28065     * - "changed" - When the user clicks on a segment item which is not
28066     *   previously selected and get selected. The event_info parameter is the
28067     *   segment item pointer.
28068     *
28069     * Available styles for it:
28070     * - @c "default"
28071     *
28072     * Here is an example on its usage:
28073     * @li @ref segment_control_example
28074     */
28075
28076    /**
28077     * @addtogroup SegmentControl
28078     * @{
28079     */
28080
28081    typedef struct _Elm_Segment_Item Elm_Segment_Item; /**< Item handle for a segment control widget. */
28082
28083    /**
28084     * Add a new segment control widget to the given parent Elementary
28085     * (container) object.
28086     *
28087     * @param parent The parent object.
28088     * @return a new segment control widget handle or @c NULL, on errors.
28089     *
28090     * This function inserts a new segment control widget on the canvas.
28091     *
28092     * @ingroup SegmentControl
28093     */
28094    EAPI Evas_Object      *elm_segment_control_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
28095
28096    /**
28097     * Append a new item to the segment control object.
28098     *
28099     * @param obj The segment control object.
28100     * @param icon The icon object to use for the left side of the item. An
28101     * icon can be any Evas object, but usually it is an icon created
28102     * with elm_icon_add().
28103     * @param label The label of the item.
28104     *        Note that, NULL is different from empty string "".
28105     * @return The created item or @c NULL upon failure.
28106     *
28107     * A new item will be created and appended to the segment control, i.e., will
28108     * be set as @b last item.
28109     *
28110     * If it should be inserted at another position,
28111     * elm_segment_control_item_insert_at() should be used instead.
28112     *
28113     * Items created with this function can be deleted with function
28114     * elm_segment_control_item_del() or elm_segment_control_item_del_at().
28115     *
28116     * @note @p label set to @c NULL is different from empty string "".
28117     * If an item
28118     * only has icon, it will be displayed bigger and centered. If it has
28119     * icon and label, even that an empty string, icon will be smaller and
28120     * positioned at left.
28121     *
28122     * Simple example:
28123     * @code
28124     * sc = elm_segment_control_add(win);
28125     * ic = elm_icon_add(win);
28126     * elm_icon_file_set(ic, "path/to/image", NULL);
28127     * elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE);
28128     * elm_segment_control_item_add(sc, ic, "label");
28129     * evas_object_show(sc);
28130     * @endcode
28131     *
28132     * @see elm_segment_control_item_insert_at()
28133     * @see elm_segment_control_item_del()
28134     *
28135     * @ingroup SegmentControl
28136     */
28137    EAPI Elm_Segment_Item *elm_segment_control_item_add(Evas_Object *obj, Evas_Object *icon, const char *label) EINA_ARG_NONNULL(1);
28138
28139    /**
28140     * Insert a new item to the segment control object at specified position.
28141     *
28142     * @param obj The segment control object.
28143     * @param icon The icon object to use for the left side of the item. An
28144     * icon can be any Evas object, but usually it is an icon created
28145     * with elm_icon_add().
28146     * @param label The label of the item.
28147     * @param index Item position. Value should be between 0 and items count.
28148     * @return The created item or @c NULL upon failure.
28149
28150     * Index values must be between @c 0, when item will be prepended to
28151     * segment control, and items count, that can be get with
28152     * elm_segment_control_item_count_get(), case when item will be appended
28153     * to segment control, just like elm_segment_control_item_add().
28154     *
28155     * Items created with this function can be deleted with function
28156     * elm_segment_control_item_del() or elm_segment_control_item_del_at().
28157     *
28158     * @note @p label set to @c NULL is different from empty string "".
28159     * If an item
28160     * only has icon, it will be displayed bigger and centered. If it has
28161     * icon and label, even that an empty string, icon will be smaller and
28162     * positioned at left.
28163     *
28164     * @see elm_segment_control_item_add()
28165     * @see elm_segment_control_item_count_get()
28166     * @see elm_segment_control_item_del()
28167     *
28168     * @ingroup SegmentControl
28169     */
28170    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);
28171
28172    /**
28173     * Remove a segment control item from its parent, deleting it.
28174     *
28175     * @param it The item to be removed.
28176     *
28177     * Items can be added with elm_segment_control_item_add() or
28178     * elm_segment_control_item_insert_at().
28179     *
28180     * @ingroup SegmentControl
28181     */
28182    EAPI void              elm_segment_control_item_del(Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
28183
28184    /**
28185     * Remove a segment control item at given index from its parent,
28186     * deleting it.
28187     *
28188     * @param obj The segment control object.
28189     * @param index The position of the segment control item to be deleted.
28190     *
28191     * Items can be added with elm_segment_control_item_add() or
28192     * elm_segment_control_item_insert_at().
28193     *
28194     * @ingroup SegmentControl
28195     */
28196    EAPI void              elm_segment_control_item_del_at(Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
28197
28198    /**
28199     * Get the Segment items count from segment control.
28200     *
28201     * @param obj The segment control object.
28202     * @return Segment items count.
28203     *
28204     * It will just return the number of items added to segment control @p obj.
28205     *
28206     * @ingroup SegmentControl
28207     */
28208    EAPI int               elm_segment_control_item_count_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28209
28210    /**
28211     * Get the item placed at specified index.
28212     *
28213     * @param obj The segment control object.
28214     * @param index The index of the segment item.
28215     * @return The segment control item or @c NULL on failure.
28216     *
28217     * Index is the position of an item in segment control widget. Its
28218     * range is from @c 0 to <tt> count - 1 </tt>.
28219     * Count is the number of items, that can be get with
28220     * elm_segment_control_item_count_get().
28221     *
28222     * @ingroup SegmentControl
28223     */
28224    EAPI Elm_Segment_Item *elm_segment_control_item_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
28225
28226    /**
28227     * Get the label of item.
28228     *
28229     * @param obj The segment control object.
28230     * @param index The index of the segment item.
28231     * @return The label of the item at @p index.
28232     *
28233     * The return value is a pointer to the label associated to the item when
28234     * it was created, with function elm_segment_control_item_add(), or later
28235     * with function elm_segment_control_item_label_set. If no label
28236     * was passed as argument, it will return @c NULL.
28237     *
28238     * @see elm_segment_control_item_label_set() for more details.
28239     * @see elm_segment_control_item_add()
28240     *
28241     * @ingroup SegmentControl
28242     */
28243    EAPI const char       *elm_segment_control_item_label_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
28244
28245    /**
28246     * Set the label of item.
28247     *
28248     * @param it The item of segment control.
28249     * @param text The label of item.
28250     *
28251     * The label to be displayed by the item.
28252     * Label will be at right of the icon (if set).
28253     *
28254     * If a label was passed as argument on item creation, with function
28255     * elm_control_segment_item_add(), it will be already
28256     * displayed by the item.
28257     *
28258     * @see elm_segment_control_item_label_get()
28259     * @see elm_segment_control_item_add()
28260     *
28261     * @ingroup SegmentControl
28262     */
28263    EAPI void              elm_segment_control_item_label_set(Elm_Segment_Item* it, const char* label) EINA_ARG_NONNULL(1);
28264
28265    /**
28266     * Get the icon associated to the item.
28267     *
28268     * @param obj The segment control object.
28269     * @param index The index of the segment item.
28270     * @return The left side icon associated to the item at @p index.
28271     *
28272     * The return value is a pointer to the icon associated to the item when
28273     * it was created, with function elm_segment_control_item_add(), or later
28274     * with function elm_segment_control_item_icon_set(). If no icon
28275     * was passed as argument, it will return @c NULL.
28276     *
28277     * @see elm_segment_control_item_add()
28278     * @see elm_segment_control_item_icon_set()
28279     *
28280     * @ingroup SegmentControl
28281     */
28282    EAPI Evas_Object      *elm_segment_control_item_icon_get(const Evas_Object *obj, int index) EINA_ARG_NONNULL(1);
28283
28284    /**
28285     * Set the icon associated to the item.
28286     *
28287     * @param it The segment control item.
28288     * @param icon The icon object to associate with @p it.
28289     *
28290     * The icon object to use at left side of the item. An
28291     * icon can be any Evas object, but usually it is an icon created
28292     * with elm_icon_add().
28293     *
28294     * Once the icon object is set, a previously set one will be deleted.
28295     * @warning Setting the same icon for two items will cause the icon to
28296     * dissapear from the first item.
28297     *
28298     * If an icon was passed as argument on item creation, with function
28299     * elm_segment_control_item_add(), it will be already
28300     * associated to the item.
28301     *
28302     * @see elm_segment_control_item_add()
28303     * @see elm_segment_control_item_icon_get()
28304     *
28305     * @ingroup SegmentControl
28306     */
28307    EAPI void              elm_segment_control_item_icon_set(Elm_Segment_Item *it, Evas_Object *icon) EINA_ARG_NONNULL(1);
28308
28309    /**
28310     * Get the index of an item.
28311     *
28312     * @param it The segment control item.
28313     * @return The position of item in segment control widget.
28314     *
28315     * Index is the position of an item in segment control widget. Its
28316     * range is from @c 0 to <tt> count - 1 </tt>.
28317     * Count is the number of items, that can be get with
28318     * elm_segment_control_item_count_get().
28319     *
28320     * @ingroup SegmentControl
28321     */
28322    EAPI int               elm_segment_control_item_index_get(const Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
28323
28324    /**
28325     * Get the base object of the item.
28326     *
28327     * @param it The segment control item.
28328     * @return The base object associated with @p it.
28329     *
28330     * Base object is the @c Evas_Object that represents that item.
28331     *
28332     * @ingroup SegmentControl
28333     */
28334    EAPI Evas_Object      *elm_segment_control_item_object_get(const Elm_Segment_Item *it) EINA_ARG_NONNULL(1);
28335
28336    /**
28337     * Get the selected item.
28338     *
28339     * @param obj The segment control object.
28340     * @return The selected item or @c NULL if none of segment items is
28341     * selected.
28342     *
28343     * The selected item can be unselected with function
28344     * elm_segment_control_item_selected_set().
28345     *
28346     * The selected item always will be highlighted on segment control.
28347     *
28348     * @ingroup SegmentControl
28349     */
28350    EAPI Elm_Segment_Item *elm_segment_control_item_selected_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
28351
28352    /**
28353     * Set the selected state of an item.
28354     *
28355     * @param it The segment control item
28356     * @param select The selected state
28357     *
28358     * This sets the selected state of the given item @p it.
28359     * @c EINA_TRUE for selected, @c EINA_FALSE for not selected.
28360     *
28361     * If a new item is selected the previosly selected will be unselected.
28362     * Previoulsy selected item can be get with function
28363     * elm_segment_control_item_selected_get().
28364     *
28365     * The selected item always will be highlighted on segment control.
28366     *
28367     * @see elm_segment_control_item_selected_get()
28368     *
28369     * @ingroup SegmentControl
28370     */
28371    EAPI void              elm_segment_control_item_selected_set(Elm_Segment_Item *it, Eina_Bool select) EINA_ARG_NONNULL(1);
28372
28373    /**
28374     * @}
28375     */
28376
28377    /**
28378     * @defgroup Grid Grid
28379     *
28380     * The grid is a grid layout widget that lays out a series of children as a
28381     * fixed "grid" of widgets using a given percentage of the grid width and
28382     * height each using the child object.
28383     *
28384     * The Grid uses a "Virtual resolution" that is stretched to fill the grid
28385     * widgets size itself. The default is 100 x 100, so that means the
28386     * position and sizes of children will effectively be percentages (0 to 100)
28387     * of the width or height of the grid widget
28388     *
28389     * @{
28390     */
28391
28392    /**
28393     * Add a new grid to the parent
28394     *
28395     * @param parent The parent object
28396     * @return The new object or NULL if it cannot be created
28397     *
28398     * @ingroup Grid
28399     */
28400    EAPI Evas_Object *elm_grid_add(Evas_Object *parent);
28401
28402    /**
28403     * Set the virtual size of the grid
28404     *
28405     * @param obj The grid object
28406     * @param w The virtual width of the grid
28407     * @param h The virtual height of the grid
28408     *
28409     * @ingroup Grid
28410     */
28411    EAPI void         elm_grid_size_set(Evas_Object *obj, int w, int h);
28412
28413    /**
28414     * Get the virtual size of the grid
28415     *
28416     * @param obj The grid object
28417     * @param w Pointer to integer to store the virtual width of the grid
28418     * @param h Pointer to integer to store the virtual height of the grid
28419     *
28420     * @ingroup Grid
28421     */
28422    EAPI void         elm_grid_size_get(Evas_Object *obj, int *w, int *h);
28423
28424    /**
28425     * Pack child at given position and size
28426     *
28427     * @param obj The grid object
28428     * @param subobj The child to pack
28429     * @param x The virtual x coord at which to pack it
28430     * @param y The virtual y coord at which to pack it
28431     * @param w The virtual width at which to pack it
28432     * @param h The virtual height at which to pack it
28433     *
28434     * @ingroup Grid
28435     */
28436    EAPI void         elm_grid_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h);
28437
28438    /**
28439     * Unpack a child from a grid object
28440     *
28441     * @param obj The grid object
28442     * @param subobj The child to unpack
28443     *
28444     * @ingroup Grid
28445     */
28446    EAPI void         elm_grid_unpack(Evas_Object *obj, Evas_Object *subobj);
28447
28448    /**
28449     * Faster way to remove all child objects from a grid object.
28450     *
28451     * @param obj The grid object
28452     * @param clear If true, it will delete just removed children
28453     *
28454     * @ingroup Grid
28455     */
28456    EAPI void         elm_grid_clear(Evas_Object *obj, Eina_Bool clear);
28457
28458    /**
28459     * Set packing of an existing child at to position and size
28460     *
28461     * @param subobj The child to set packing of
28462     * @param x The virtual x coord at which to pack it
28463     * @param y The virtual y coord at which to pack it
28464     * @param w The virtual width at which to pack it
28465     * @param h The virtual height at which to pack it
28466     *
28467     * @ingroup Grid
28468     */
28469    EAPI void         elm_grid_pack_set(Evas_Object *subobj, int x, int y, int w, int h);
28470
28471    /**
28472     * get packing of a child
28473     *
28474     * @param subobj The child to query
28475     * @param x Pointer to integer to store the virtual x coord
28476     * @param y Pointer to integer to store the virtual y coord
28477     * @param w Pointer to integer to store the virtual width
28478     * @param h Pointer to integer to store the virtual height
28479     *
28480     * @ingroup Grid
28481     */
28482    EAPI void         elm_grid_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h);
28483
28484    /**
28485     * @}
28486     */
28487
28488    EAPI Evas_Object *elm_factory_add(Evas_Object *parent);
28489    EINA_DEPRECATED EAPI void         elm_factory_content_set(Evas_Object *obj, Evas_Object *content);
28490    EINA_DEPRECATED EAPI Evas_Object *elm_factory_content_get(const Evas_Object *obj);
28491    EAPI void         elm_factory_maxmin_mode_set(Evas_Object *obj, Eina_Bool enabled);
28492    EAPI Eina_Bool    elm_factory_maxmin_mode_get(const Evas_Object *obj);
28493    EAPI void         elm_factory_maxmin_reset_set(Evas_Object *obj);
28494
28495    /**
28496     * @defgroup Video Video
28497     *
28498     * @addtogroup Video
28499     * @{
28500     *
28501     * Elementary comes with two object that help design application that need
28502     * to display video. The main one, Elm_Video, display a video by using Emotion.
28503     * It does embedded the video inside an Edje object, so you can do some
28504     * animation depending on the video state change. It does also implement a
28505     * ressource management policy to remove this burden from the application writer.
28506     *
28507     * The second one, Elm_Player is a video player that need to be linked with and Elm_Video.
28508     * It take care of updating its content according to Emotion event and provide a
28509     * way to theme itself. It also does automatically raise the priority of the
28510     * linked Elm_Video so it will use the video decoder if available. It also does
28511     * activate the remember function on the linked Elm_Video object.
28512     *
28513     * Signals that you can add callback for are :
28514     *
28515     * "forward,clicked" - the user clicked the forward button.
28516     * "info,clicked" - the user clicked the info button.
28517     * "next,clicked" - the user clicked the next button.
28518     * "pause,clicked" - the user clicked the pause button.
28519     * "play,clicked" - the user clicked the play button.
28520     * "prev,clicked" - the user clicked the prev button.
28521     * "rewind,clicked" - the user clicked the rewind button.
28522     * "stop,clicked" - the user clicked the stop button.
28523     * 
28524     * Default contents parts of the player widget that you can use for are:
28525     * @li "video" - A video of the player
28526     * 
28527     */
28528
28529    /**
28530     * @brief Add a new Elm_Player object to the given parent Elementary (container) object.
28531     *
28532     * @param parent The parent object
28533     * @return a new player widget handle or @c NULL, on errors.
28534     *
28535     * This function inserts a new player widget on the canvas.
28536     *
28537     * @see elm_object_part_content_set()
28538     *
28539     * @ingroup Video
28540     */
28541    EAPI Evas_Object *elm_player_add(Evas_Object *parent);
28542
28543    /**
28544     * @brief Link a Elm_Payer with an Elm_Video object.
28545     *
28546     * @param player the Elm_Player object.
28547     * @param video The Elm_Video object.
28548     *
28549     * This mean that action on the player widget will affect the
28550     * video object and the state of the video will be reflected in
28551     * the player itself.
28552     *
28553     * @see elm_player_add()
28554     * @see elm_video_add()
28555     * @deprecated use elm_object_part_content_set() instead
28556     *
28557     * @ingroup Video
28558     */
28559    EINA_DEPRECATED EAPI void elm_player_video_set(Evas_Object *player, Evas_Object *video);
28560
28561    /**
28562     * @brief Add a new Elm_Video object to the given parent Elementary (container) object.
28563     *
28564     * @param parent The parent object
28565     * @return a new video widget handle or @c NULL, on errors.
28566     *
28567     * This function inserts a new video widget on the canvas.
28568     *
28569     * @seeelm_video_file_set()
28570     * @see elm_video_uri_set()
28571     *
28572     * @ingroup Video
28573     */
28574    EAPI Evas_Object *elm_video_add(Evas_Object *parent);
28575
28576    /**
28577     * @brief Define the file that will be the video source.
28578     *
28579     * @param video The video object to define the file for.
28580     * @param filename The file to target.
28581     *
28582     * This function will explicitly define a filename as a source
28583     * for the video of the Elm_Video object.
28584     *
28585     * @see elm_video_uri_set()
28586     * @see elm_video_add()
28587     * @see elm_player_add()
28588     *
28589     * @ingroup Video
28590     */
28591    EAPI void elm_video_file_set(Evas_Object *video, const char *filename);
28592
28593    /**
28594     * @brief Define the uri that will be the video source.
28595     *
28596     * @param video The video object to define the file for.
28597     * @param uri The uri to target.
28598     *
28599     * This function will define an uri as a source for the video of the
28600     * Elm_Video object. URI could be remote source of video, like http:// or local source
28601     * like for example WebCam who are most of the time v4l2:// (but that depend and
28602     * you should use Emotion API to request and list the available Webcam on your system).
28603     *
28604     * @see elm_video_file_set()
28605     * @see elm_video_add()
28606     * @see elm_player_add()
28607     *
28608     * @ingroup Video
28609     */
28610    EAPI void elm_video_uri_set(Evas_Object *video, const char *uri);
28611
28612    /**
28613     * @brief Get the underlying Emotion object.
28614     *
28615     * @param video The video object to proceed the request on.
28616     * @return the underlying Emotion object.
28617     *
28618     * @ingroup Video
28619     */
28620    EAPI Evas_Object *elm_video_emotion_get(const Evas_Object *video);
28621
28622    /**
28623     * @brief Start to play the video
28624     *
28625     * @param video The video object to proceed the request on.
28626     *
28627     * Start to play the video and cancel all suspend state.
28628     *
28629     * @ingroup Video
28630     */
28631    EAPI void elm_video_play(Evas_Object *video);
28632
28633    /**
28634     * @brief Pause the video
28635     *
28636     * @param video The video object to proceed the request on.
28637     *
28638     * Pause the video and start a timer to trigger suspend mode.
28639     *
28640     * @ingroup Video
28641     */
28642    EAPI void elm_video_pause(Evas_Object *video);
28643
28644    /**
28645     * @brief Stop the video
28646     *
28647     * @param video The video object to proceed the request on.
28648     *
28649     * Stop the video and put the emotion in deep sleep mode.
28650     *
28651     * @ingroup Video
28652     */
28653    EAPI void elm_video_stop(Evas_Object *video);
28654
28655    /**
28656     * @brief Is the video actually playing.
28657     *
28658     * @param video The video object to proceed the request on.
28659     * @return EINA_TRUE if the video is actually playing.
28660     *
28661     * You should consider watching event on the object instead of polling
28662     * the object state.
28663     *
28664     * @ingroup Video
28665     */
28666    EAPI Eina_Bool elm_video_is_playing(const Evas_Object *video);
28667
28668    /**
28669     * @brief Is it possible to seek inside the video.
28670     *
28671     * @param video The video object to proceed the request on.
28672     * @return EINA_TRUE if is possible to seek inside the video.
28673     *
28674     * @ingroup Video
28675     */
28676    EAPI Eina_Bool elm_video_is_seekable(const Evas_Object *video);
28677
28678    /**
28679     * @brief Is the audio muted.
28680     *
28681     * @param video The video object to proceed the request on.
28682     * @return EINA_TRUE if the audio is muted.
28683     *
28684     * @ingroup Video
28685     */
28686    EAPI Eina_Bool elm_video_audio_mute_get(const Evas_Object *video);
28687
28688    /**
28689     * @brief Change the mute state of the Elm_Video object.
28690     *
28691     * @param video The video object to proceed the request on.
28692     * @param mute The new mute state.
28693     *
28694     * @ingroup Video
28695     */
28696    EAPI void elm_video_audio_mute_set(Evas_Object *video, Eina_Bool mute);
28697
28698    /**
28699     * @brief Get the audio level of the current video.
28700     *
28701     * @param video The video object to proceed the request on.
28702     * @return the current audio level.
28703     *
28704     * @ingroup Video
28705     */
28706    EAPI double elm_video_audio_level_get(const Evas_Object *video);
28707
28708    /**
28709     * @brief Set the audio level of anElm_Video object.
28710     *
28711     * @param video The video object to proceed the request on.
28712     * @param volume The new audio volume.
28713     *
28714     * @ingroup Video
28715     */
28716    EAPI void elm_video_audio_level_set(Evas_Object *video, double volume);
28717
28718    EAPI double elm_video_play_position_get(const Evas_Object *video);
28719    EAPI void elm_video_play_position_set(Evas_Object *video, double position);
28720    EAPI double elm_video_play_length_get(const Evas_Object *video);
28721    EAPI void elm_video_remember_position_set(Evas_Object *video, Eina_Bool remember);
28722    EAPI Eina_Bool elm_video_remember_position_get(const Evas_Object *video);
28723    EAPI const char *elm_video_title_get(const Evas_Object *video);
28724    /**
28725     * @}
28726     */
28727
28728    // FIXME: incomplete - carousel. don't use this until this comment is removed
28729    typedef struct _Elm_Carousel_Item Elm_Carousel_Item;
28730    EAPI Evas_Object       *elm_carousel_add(Evas_Object *parent);
28731    EAPI Elm_Carousel_Item *elm_carousel_item_add(Evas_Object *obj, Evas_Object *icon, const char *label, Evas_Smart_Cb func, const void *data);
28732    EAPI void               elm_carousel_item_del(Elm_Carousel_Item *item);
28733    EAPI void               elm_carousel_item_select(Elm_Carousel_Item *item);
28734    /* smart callbacks called:
28735     * "clicked" - when the user clicks on a carousel item and becomes selected
28736     */
28737
28738    /* datefield */
28739
28740    typedef enum _Elm_Datefield_ItemType
28741      {
28742         ELM_DATEFIELD_YEAR = 0,
28743         ELM_DATEFIELD_MONTH,
28744         ELM_DATEFIELD_DATE,
28745         ELM_DATEFIELD_HOUR,
28746         ELM_DATEFIELD_MINUTE,
28747         ELM_DATEFIELD_AMPM
28748      } Elm_Datefield_ItemType;
28749
28750    EAPI Evas_Object *elm_datefield_add(Evas_Object *parent);
28751    EAPI void         elm_datefield_format_set(Evas_Object *obj, const char *fmt);
28752    EAPI char        *elm_datefield_format_get(const Evas_Object *obj);
28753    EAPI void         elm_datefield_item_enabled_set(Evas_Object *obj, Elm_Datefield_ItemType itemtype, Eina_Bool enable);
28754    EAPI Eina_Bool    elm_datefield_item_enabled_get(const Evas_Object *obj, Elm_Datefield_ItemType itemtype);
28755    EAPI void         elm_datefield_item_value_set(Evas_Object *obj, Elm_Datefield_ItemType itemtype, int value);
28756    EAPI int          elm_datefield_item_value_get(const Evas_Object *obj, Elm_Datefield_ItemType itemtype);
28757    EAPI void         elm_datefield_item_min_set(Evas_Object *obj, Elm_Datefield_ItemType itemtype, int value, Eina_Bool abs_limit);
28758    EAPI int          elm_datefield_item_min_get(const Evas_Object *obj, Elm_Datefield_ItemType itemtype);
28759    EAPI Eina_Bool    elm_datefield_item_min_is_absolute(const Evas_Object *obj, Elm_Datefield_ItemType itemtype);
28760    EAPI void         elm_datefield_item_max_set(Evas_Object *obj, Elm_Datefield_ItemType itemtype, int value, Eina_Bool abs_limit);
28761    EAPI int          elm_datefield_item_max_get(const Evas_Object *obj, Elm_Datefield_ItemType itemtype);
28762    EAPI Eina_Bool    elm_datefield_item_max_is_absolute(const Evas_Object *obj, Elm_Datefield_ItemType itemtype);
28763
28764    /* smart callbacks called:
28765    * "changed" - when datefield value is changed, this signal is sent.
28766    */
28767
28768    /* popup */
28769    typedef enum _Elm_Popup_Response
28770      {
28771         ELM_POPUP_RESPONSE_NONE = -1,
28772         ELM_POPUP_RESPONSE_TIMEOUT = -2,
28773         ELM_POPUP_RESPONSE_OK = -3,
28774         ELM_POPUP_RESPONSE_CANCEL = -4,
28775         ELM_POPUP_RESPONSE_CLOSE = -5
28776      } Elm_Popup_Response;
28777
28778    typedef enum _Elm_Popup_Mode
28779      {
28780         ELM_POPUP_TYPE_NONE = 0,
28781         ELM_POPUP_TYPE_ALERT = (1 << 0)
28782      } Elm_Popup_Mode;
28783
28784    typedef enum _Elm_Popup_Orient
28785      {
28786         ELM_POPUP_ORIENT_TOP,
28787         ELM_POPUP_ORIENT_CENTER,
28788         ELM_POPUP_ORIENT_BOTTOM,
28789         ELM_POPUP_ORIENT_LEFT,
28790         ELM_POPUP_ORIENT_RIGHT,
28791         ELM_POPUP_ORIENT_TOP_LEFT,
28792         ELM_POPUP_ORIENT_TOP_RIGHT,
28793         ELM_POPUP_ORIENT_BOTTOM_LEFT,
28794         ELM_POPUP_ORIENT_BOTTOM_RIGHT
28795      } Elm_Popup_Orient;
28796
28797    /* smart callbacks called:
28798     * "response" - when ever popup is closed, this signal is sent with appropriate response id.".
28799     */
28800
28801    EAPI Evas_Object *elm_popup_add(Evas_Object *parent);
28802    EAPI void         elm_popup_desc_set(Evas_Object *obj, const char *text);
28803    EAPI const char  *elm_popup_desc_get(Evas_Object *obj);
28804    EAPI void         elm_popup_title_label_set(Evas_Object *obj, const char *text);
28805    EAPI const char  *elm_popup_title_label_get(Evas_Object *obj);
28806    EAPI void         elm_popup_title_icon_set(Evas_Object *obj, Evas_Object *icon);
28807    EAPI Evas_Object *elm_popup_title_icon_get(Evas_Object *obj);
28808    EAPI void         elm_popup_content_set(Evas_Object *obj, Evas_Object *content);
28809    EAPI Evas_Object *elm_popup_content_get(Evas_Object *obj);
28810    EAPI void         elm_popup_buttons_add(Evas_Object *obj,int no_of_buttons, const char *first_button_text,  ...);
28811    EAPI Evas_Object *elm_popup_with_buttons_add(Evas_Object *parent, const char *title, const char *desc_text,int no_of_buttons, const char *first_button_text, ... );
28812    EAPI void         elm_popup_timeout_set(Evas_Object *obj, double timeout);
28813    EAPI void         elm_popup_mode_set(Evas_Object *obj, Elm_Popup_Mode mode);
28814    EAPI void         elm_popup_response(Evas_Object *obj, int  response_id);
28815    EAPI void         elm_popup_orient_set(Evas_Object *obj, Elm_Popup_Orient orient);
28816    EAPI int          elm_popup_run(Evas_Object *obj);
28817
28818    /**
28819     * @defgroup Naviframe Naviframe
28820     * @ingroup Elementary
28821     *
28822     * @brief Naviframe is a kind of view manager for the applications.
28823     *
28824     * Naviframe provides functions to switch different pages with stack
28825     * mechanism. It means if one page(item) needs to be changed to the new one,
28826     * then naviframe would push the new page to it's internal stack. Of course,
28827     * it can be back to the previous page by popping the top page. Naviframe
28828     * provides some transition effect while the pages are switching (same as
28829     * pager).
28830     *
28831     * Since each item could keep the different styles, users could keep the
28832     * same look & feel for the pages or different styles for the items in it's
28833     * application.
28834     *
28835     * Signals that you can add callback for are:
28836     * @li "transition,finished" - When the transition is finished in changing
28837     *     the item
28838     * @li "title,clicked" - User clicked title area
28839     *
28840     * Default contents parts of the naviframe items that you can use for are:
28841     * @li "default" - A main content of the page
28842     * @li "icon" - An icon in the title area
28843     * @li "prev_btn" - A button to go to the previous page
28844     * @li "next_btn" - A button to go to the next page
28845     *
28846     * Default text parts of the naviframe items that you can use for are:
28847     * @li "default" - Title label in the title area
28848     * @li "subtitle" - Sub-title label in the title area
28849     *
28850     * @ref tutorial_naviframe gives a good overview of the usage of the API.
28851     */
28852
28853   //Available commonly
28854   #define ELM_NAVIFRAME_ITEM_CONTENT "elm.swallow.content"
28855   #define ELM_NAVIFRAME_ITEM_ICON "elm.swallow.icon"
28856   #define ELM_NAVIFRAME_ITEM_OPTIONHEADER "elm.swallow.optionheader"
28857   #define ELM_NAVIFRAME_ITEM_TITLE_LABEL "elm.text.title"
28858   #define ELM_NAVIFRAME_ITEM_PREV_BTN "elm.swallow.prev_btn"
28859   #define ELM_NAVIFRAME_ITEM_TITLE_LEFT_BTN "elm.swallow.left_btn"
28860   #define ELM_NAVIFRAME_ITEM_TITLE_RIGHT_BTN "elm.swallow.right_btn"
28861   #define ELM_NAVIFRAME_ITEM_TITLE_MORE_BTN "elm.swallow.more_btn"
28862   #define ELM_NAVIFRAME_ITEM_CONTROLBAR "elm.swallow.controlbar"
28863   #define ELM_NAVIFRAME_ITEM_SIGNAL_OPTIONHEADER_CLOSE "elm,state,optionheader,close", ""
28864   #define ELM_NAVIFRAME_ITEM_SIGNAL_OPTIONHEADER_OPEN "elm,state,optionheader,open", ""
28865   #define ELM_NAVIFRAME_ITEM_SIGNAL_OPTIONHEADER_INSTANT_CLOSE "elm,state,optionheader,instant_close", ""
28866   #define ELM_NAVIFRAME_ITEM_SIGNAL_OPTIONHEADER_INSTANT_OPEN "elm,state,optionheader,instant_open", ""
28867   #define ELM_NAVIFRAME_ITEM_SIGNAL_CONTROLBAR_CLOSE "elm,state,controlbar,close", ""
28868   #define ELM_NAVIFRAME_ITEM_SIGNAL_CONTROLBAR_OPEN "elm,state,controlbar,open", ""
28869   #define ELM_NAVIFRAME_ITEM_SIGNAL_CONTROLBAR_INSTANT_CLOSE "elm,state,controlbar,instant_close", ""
28870   #define ELM_NAVIFRAME_ITEM_SIGNAL_CONTROLBAR_INSTANT_OPEN "elm,state,controlbar,instant_open", ""
28871
28872    //Available only in a style - "2line"
28873   #define ELM_NAVIFRAME_ITEM_OPTIONHEADER2 "elm.swallow.optionheader2"
28874
28875   //Available only in a style - "segment"
28876   #define ELM_NAVIFRAME_ITEM_SEGMENT2 "elm.swallow.segment2"
28877   #define ELM_NAVIFRAME_ITEM_SEGMENT3 "elm.swallow.segment3"
28878
28879    /**
28880     * @addtogroup Naviframe
28881     * @{
28882     */
28883
28884    /**
28885     * @brief Add a new Naviframe object to the parent.
28886     *
28887     * @param parent Parent object
28888     * @return New object or @c NULL, if it cannot be created
28889     *
28890     * @ingroup Naviframe
28891     */
28892    EAPI Evas_Object        *elm_naviframe_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
28893
28894    /**
28895     * @brief Push a new item to the top of the naviframe stack (and show it).
28896     *
28897     * @param obj The naviframe object
28898     * @param title_label The label in the title area. The name of the title
28899     *        label part is "elm.text.title"
28900     * @param prev_btn The button to go to the previous item. If it is NULL,
28901     *        then naviframe will create a back button automatically. The name of
28902     *        the prev_btn part is "elm.swallow.prev_btn"
28903     * @param next_btn The button to go to the next item. Or It could be just an
28904     *        extra function button. The name of the next_btn part is
28905     *        "elm.swallow.next_btn"
28906     * @param content The main content object. The name of content part is
28907     *        "elm.swallow.content"
28908     * @param item_style The current item style name. @c NULL would be default.
28909     * @return The created item or @c NULL upon failure.
28910     *
28911     * The item pushed becomes one page of the naviframe, this item will be
28912     * deleted when it is popped.
28913     *
28914     * @see also elm_naviframe_item_style_set()
28915     * @see also elm_naviframe_item_insert_before()
28916     * @see also elm_naviframe_item_insert_after()
28917     *
28918     * The following styles are available for this item:
28919     * @li @c "default"
28920     *
28921     * @ingroup Naviframe
28922     */
28923    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);
28924
28925    /**
28926     * @brief Insert a new item into the naviframe before item @p before.
28927     *
28928     * @param before The naviframe item to insert before.
28929     * @param title_label The label in the title area. The name of the title
28930     *        label part is "elm.text.title"
28931     * @param prev_btn The button to go to the previous item. If it is NULL,
28932     *        then naviframe will create a back button automatically. The name of
28933     *        the prev_btn part is "elm.swallow.prev_btn"
28934     * @param next_btn The button to go to the next item. Or It could be just an
28935     *        extra function button. The name of the next_btn part is
28936     *        "elm.swallow.next_btn"
28937     * @param content The main content object. The name of content part is
28938     *        "elm.swallow.content"
28939     * @param item_style The current item style name. @c NULL would be default.
28940     * @return The created item or @c NULL upon failure.
28941     *
28942     * The item is inserted into the naviframe straight away without any
28943     * transition operations. This item will be deleted when it is popped.
28944     *
28945     * @see also elm_naviframe_item_style_set()
28946     * @see also elm_naviframe_item_push()
28947     * @see also elm_naviframe_item_insert_after()
28948     *
28949     * The following styles are available for this item:
28950     * @li @c "default"
28951     *
28952     * @ingroup Naviframe
28953     */
28954    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);
28955
28956    /**
28957     * @brief Insert a new item into the naviframe after item @p after.
28958     *
28959     * @param after The naviframe item to insert after.
28960     * @param title_label The label in the title area. The name of the title
28961     *        label part is "elm.text.title"
28962     * @param prev_btn The button to go to the previous item. If it is NULL,
28963     *        then naviframe will create a back button automatically. The name of
28964     *        the prev_btn part is "elm.swallow.prev_btn"
28965     * @param next_btn The button to go to the next item. Or It could be just an
28966     *        extra function button. The name of the next_btn part is
28967     *        "elm.swallow.next_btn"
28968     * @param content The main content object. The name of content part is
28969     *        "elm.swallow.content"
28970     * @param item_style The current item style name. @c NULL would be default.
28971     * @return The created item or @c NULL upon failure.
28972     *
28973     * The item is inserted into the naviframe straight away without any
28974     * transition operations. This item will be deleted when it is popped.
28975     *
28976     * @see also elm_naviframe_item_style_set()
28977     * @see also elm_naviframe_item_push()
28978     * @see also elm_naviframe_item_insert_before()
28979     *
28980     * The following styles are available for this item:
28981     * @li @c "default"
28982     *
28983     * @ingroup Naviframe
28984     */
28985    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);
28986
28987    /**
28988     * @brief Pop an item that is on top of the stack
28989     *
28990     * @param obj The naviframe object
28991     * @return @c NULL or the content object(if the
28992     *         elm_naviframe_content_preserve_on_pop_get is true).
28993     *
28994     * This pops an item that is on the top(visible) of the naviframe, makes it
28995     * disappear, then deletes the item. The item that was underneath it on the
28996     * stack will become visible.
28997     *
28998     * @see also elm_naviframe_content_preserve_on_pop_get()
28999     *
29000     * @ingroup Naviframe
29001     */
29002    EAPI Evas_Object        *elm_naviframe_item_pop(Evas_Object *obj) EINA_ARG_NONNULL(1);
29003
29004    /**
29005     * @brief Pop the items between the top and the above one on the given item.
29006     *
29007     * @param it The naviframe item
29008     *
29009     * @ingroup Naviframe
29010     */
29011    EAPI void                elm_naviframe_item_pop_to(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
29012
29013    /**
29014     * Promote an item already in the naviframe stack to the top of the stack
29015     *
29016     * @param it The naviframe item
29017     *
29018     * This will take the indicated item and promote it to the top of the stack
29019     * as if it had been pushed there. The item must already be inside the
29020     * naviframe stack to work.
29021     *
29022     */
29023    EAPI void                elm_naviframe_item_promote(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
29024
29025    /**
29026     * @brief Delete the given item instantly.
29027     *
29028     * @param it The naviframe item
29029     *
29030     * This just deletes the given item from the naviframe item list instantly.
29031     * So this would not emit any signals for view transitions but just change
29032     * the current view if the given item is a top one.
29033     *
29034     * @ingroup Naviframe
29035     */
29036    EAPI void                elm_naviframe_item_del(Elm_Object_Item *it) EINA_ARG_NONNULL(1);
29037
29038    /**
29039     * @brief preserve the content objects when items are popped.
29040     *
29041     * @param obj The naviframe object
29042     * @param preserve Enable the preserve mode if EINA_TRUE, disable otherwise
29043     *
29044     * @see also elm_naviframe_content_preserve_on_pop_get()
29045     *
29046     * @ingroup Naviframe
29047     */
29048    EAPI void                elm_naviframe_content_preserve_on_pop_set(Evas_Object *obj, Eina_Bool preserve) EINA_ARG_NONNULL(1);
29049
29050    /**
29051     * @brief Get a value whether preserve mode is enabled or not.
29052     *
29053     * @param obj The naviframe object
29054     * @return If @c EINA_TRUE, preserve mode is enabled
29055     *
29056     * @see also elm_naviframe_content_preserve_on_pop_set()
29057     *
29058     * @ingroup Naviframe
29059     */
29060    EAPI Eina_Bool           elm_naviframe_content_preserve_on_pop_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
29061
29062    /**
29063     * @brief Get a top item on the naviframe stack
29064     *
29065     * @param obj The naviframe object
29066     * @return The top item on the naviframe stack or @c NULL, if the stack is
29067     *         empty
29068     *
29069     * @ingroup Naviframe
29070     */
29071    EAPI Elm_Object_Item    *elm_naviframe_top_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
29072
29073    /**
29074     * @brief Get a bottom item on the naviframe stack
29075     *
29076     * @param obj The naviframe object
29077     * @return The bottom item on the naviframe stack or @c NULL, if the stack is
29078     *         empty
29079     *
29080     * @ingroup Naviframe
29081     */
29082    EAPI Elm_Object_Item    *elm_naviframe_bottom_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
29083
29084    /**
29085     * @brief Set an item style
29086     *
29087     * @param obj The naviframe item
29088     * @param item_style The current item style name. @c NULL would be default
29089     *
29090     * The following styles are available for this item:
29091     * @li @c "default"
29092     *
29093     * @see also elm_naviframe_item_style_get()
29094     *
29095     * @ingroup Naviframe
29096     */
29097    EAPI void                elm_naviframe_item_style_set(Elm_Object_Item *it, const char *item_style) EINA_ARG_NONNULL(1);
29098
29099    /**
29100     * @brief Get an item style
29101     *
29102     * @param obj The naviframe item
29103     * @return The current item style name
29104     *
29105     * @see also elm_naviframe_item_style_set()
29106     *
29107     * @ingroup Naviframe
29108     */
29109    EAPI const char         *elm_naviframe_item_style_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
29110
29111    /**
29112     * @brief Show/Hide the title area
29113     *
29114     * @param it The naviframe item
29115     * @param visible If @c EINA_TRUE, title area will be visible, hidden
29116     *        otherwise
29117     *
29118     * When the title area is invisible, then the controls would be hidden so as     * to expand the content area to full-size.
29119     *
29120     * @see also elm_naviframe_item_title_visible_get()
29121     *
29122     * @ingroup Naviframe
29123     */
29124    EAPI void                elm_naviframe_item_title_visible_set(Elm_Object_Item *it, Eina_Bool visible) EINA_ARG_NONNULL(1);
29125
29126    /**
29127     * @brief Get a value whether title area is visible or not.
29128     *
29129     * @param it The naviframe item
29130     * @return If @c EINA_TRUE, title area is visible
29131     *
29132     * @see also elm_naviframe_item_title_visible_set()
29133     *
29134     * @ingroup Naviframe
29135     */
29136    EAPI Eina_Bool           elm_naviframe_item_title_visible_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
29137
29138    /**
29139     * @brief Set creating prev button automatically or not
29140     *
29141     * @param obj The naviframe object
29142     * @param auto_pushed If @c EINA_TRUE, the previous button(back button) will
29143     *        be created internally when you pass the @c NULL to the prev_btn
29144     *        parameter in elm_naviframe_item_push
29145     *
29146     * @see also elm_naviframe_item_push()
29147     *
29148     * @ingroup Naviframe
29149     */
29150    EAPI void                elm_naviframe_prev_btn_auto_pushed_set(Evas_Object *obj, Eina_Bool auto_pushed) EINA_ARG_NONNULL(1);
29151
29152    /**
29153     * @brief Get a value whether prev button(back button) will be auto pushed or
29154     *        not.
29155     *
29156     * @param obj The naviframe object
29157     * @return If @c EINA_TRUE, prev button will be auto pushed.
29158     *
29159     * @see also elm_naviframe_item_push()
29160     *           elm_naviframe_prev_btn_auto_pushed_set()
29161     *
29162     * @ingroup Naviframe
29163     */
29164    EAPI Eina_Bool           elm_naviframe_prev_btn_auto_pushed_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
29165
29166    /**
29167     * @brief Get a list of all the naviframe items.
29168     *
29169     * @param obj The naviframe object
29170     * @return An Eina_Inlist* of naviframe items, #Elm_Object_Item,
29171     * or @c NULL on failure.
29172     *
29173     * @ingroup Naviframe
29174     */
29175    EAPI Eina_Inlist        *elm_naviframe_items_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
29176
29177    /**
29178     * @}
29179     */
29180
29181    /**
29182     * @defgroup Controlbar Controlbar
29183     * @ingroup Elementary
29184     * @addtogroup Controlbar
29185     * @{
29186     *
29187     * This is a Controlbar. It can contain label and icon objects.
29188     * In edit mode, you can change the location of items.
29189     */
29190
29191    /* Control Bar */
29192
29193    typedef enum _Elm_Controlbar_Mode_Type
29194      {
29195         ELM_CONTROLBAR_MODE_DEFAULT = 0,
29196         ELM_CONTROLBAR_MODE_TRANSLUCENCE,
29197         ELM_CONTROLBAR_MODE_TRANSPARENCY,
29198         ELM_CONTROLBAR_MODE_LARGE,
29199         ELM_CONTROLBAR_MODE_SMALL,
29200         ELM_CONTROLBAR_MODE_LEFT,
29201         ELM_CONTROLBAR_MODE_RIGHT
29202      } Elm_Controlbar_Mode_Type;
29203
29204    typedef struct _Elm_Controlbar_Item Elm_Controlbar_Item;
29205    /**
29206     * Add a new controlbar object
29207     *
29208     * @param parent The parent object
29209     * @return The new object or NULL if it cannot be created
29210     */
29211    EAPI Evas_Object *elm_controlbar_add(Evas_Object *parent);
29212    /**
29213     * Append new tab item
29214     *
29215     * @param    obj The controlbar object
29216     * @param    icon_path The icon path of item
29217     * @param    label The label of item
29218     * @param    view The view of item
29219     * @return   The item of controlbar
29220     */
29221    EAPI Elm_Controlbar_Item *elm_controlbar_tab_item_append(Evas_Object *obj, const char *icon_path, const char *label, Evas_Object *view);
29222    /**
29223     * Prepend new tab item
29224     *
29225     * @param    obj The controlbar object
29226     * @param    icon_path The icon path of item
29227     * @param    label The label of item
29228     * @param    view The view of item
29229     * @return   The item of controlbar
29230     */
29231    EAPI Elm_Controlbar_Item *elm_controlbar_tab_item_prepend(Evas_Object *obj, const char *icon_path, const char *label, Evas_Object *view);
29232    /**
29233     * Insert new tab item before given item
29234     *
29235     * @param    obj The controlbar object
29236     * @param    before The given item
29237     * @param    icon_path The icon path of item
29238     * @param    label The label of item
29239     * @param    view The view of item
29240     * @return   The item of controlbar
29241     */
29242    EAPI Elm_Controlbar_Item *elm_controlbar_tab_item_insert_before(Evas_Object *obj, Elm_Controlbar_Item *before, const char *icon_path, const char *label, Evas_Object *view);
29243    /**
29244     * Insert new tab item after given item
29245     *
29246     * @param    obj The controlbar object
29247     * @param    after The given item
29248     * @param    icon_path The icon path of item
29249     * @param    label The label of item
29250     * @param    view The view of item
29251     * @return   The item of controlbar
29252     */
29253    EAPI Elm_Controlbar_Item *elm_controlbar_tab_item_insert_after(Evas_Object *obj, Elm_Controlbar_Item *after, const char *icon_path, const char *label, Evas_Object *view);
29254    /**
29255     * Append new tool item
29256     *
29257     * @param    obj The controlbar object
29258     * @param    icon_path The icon path of item
29259     * @param    label The label of item
29260     * @param    func Callback function of item
29261     * @param    data The data of callback function
29262     * @return   The item of controlbar
29263     */
29264    EAPI Elm_Controlbar_Item *elm_controlbar_tool_item_append(Evas_Object *obj, const char *icon_path, const char *label, void (*func) (void *data, Evas_Object *obj, void *event_info), void *data);
29265    /**
29266     * Prepend new tool item
29267     *
29268     * @param    obj The controlbar object
29269     * @param    icon_path The icon path of item
29270     * @param    label The label of item
29271     * @param    func Callback function of item
29272     * @param    data The data of callback function
29273     * @return   The item of controlbar
29274     */
29275    EAPI Elm_Controlbar_Item *elm_controlbar_tool_item_prepend(Evas_Object *obj, const char *icon_path, const char *label, void (*func) (void *data, Evas_Object *obj, void *event_info), void *data);
29276    /**
29277     * Insert new tool item before given item
29278     *
29279     * @param    obj The controlbar object
29280     * @param    before The given item
29281     * @param    icon_path The icon path of item
29282     * @param    label The label of item
29283     * @param    func Callback function of item
29284     * @param    data The data of callback function
29285     * @return   The item of controlbar
29286     */
29287    EAPI Elm_Controlbar_Item *elm_controlbar_tool_item_insert_before(Evas_Object *obj, Elm_Controlbar_Item *before, const char *icon_path, const char *label, void (*func) (void *data, Evas_Object *obj, void *event_info), void *data);
29288    /**
29289     * Insert new tool item after given item
29290     *
29291     * @param    obj The controlbar object
29292     * @param    after The given item
29293     * @param    icon_path The icon path of item
29294     * @param    label The label of item
29295     * @param    func Callback function of item
29296     * @param    data The data of callback function
29297     * @return   The item of controlbar
29298     */
29299    EAPI Elm_Controlbar_Item *elm_controlbar_tool_item_insert_after(Evas_Object *obj, Elm_Controlbar_Item *after, const char *icon_path, const char *label, void (*func) (void *data, Evas_Object *obj, void *event_info), void *data);
29300    /**
29301     * Append new object item
29302     *
29303     * @param    obj The controlbar object
29304     * @param    obj_item The object of item
29305     * @param    sel The number of sel occupied
29306     * @return  The item of controlbar
29307     */
29308    EAPI Elm_Controlbar_Item *elm_controlbar_object_item_append(Evas_Object *obj, Evas_Object *obj_item, const int sel);
29309    /**
29310     * Prepend new object item
29311     *
29312     * @param    obj The controlbar object
29313     * @param    obj_item The object of item
29314     * @param    sel The number of sel occupied
29315     * @return  The item of controlbar
29316     */
29317    EAPI Elm_Controlbar_Item *elm_controlbar_object_item_prepend(Evas_Object *obj, Evas_Object *obj_item, const int sel);
29318    /**
29319     * Insert new object item before given item
29320     *
29321     * @param    obj The controlbar object
29322     * @param    before The given item
29323     * @param    obj_item The object of item
29324     * @param    sel The number of sel occupied
29325     * @return  The item of controlbar
29326     */
29327    EAPI Elm_Controlbar_Item *elm_controlbar_object_item_insert_before(Evas_Object *obj, Elm_Controlbar_Item *before, Evas_Object *obj_item, const int sel);
29328    /**
29329     * Insert new object item after given item
29330     *
29331     * @param    obj The controlbar object
29332     * @param    after The given item
29333     * @param    obj_item The object of item
29334     * @param    sel The number of sel occupied
29335     * @return  The item of controlbar
29336     */
29337    EAPI Elm_Controlbar_Item *elm_controlbar_object_item_insert_after(Evas_Object *obj, Elm_Controlbar_Item *after, Evas_Object *obj_item, const int sel);
29338    /**
29339     * Get the object of the object item
29340     *
29341     * @param       it The item of controlbar
29342     * @return      The object of the object item
29343     */
29344    EAPI Evas_Object *elm_controlbar_object_item_object_get(const Elm_Controlbar_Item *it);
29345    /**
29346     * Delete item from controlbar
29347     *
29348     * @param    it The item of controlbar
29349     */
29350    EAPI void         elm_controlbar_item_del(Elm_Controlbar_Item *it);
29351    /**
29352     * Select item in controlbar
29353     *
29354     * @param    it The item of controlbar
29355     */
29356    EAPI void         elm_controlbar_item_select(Elm_Controlbar_Item *it);
29357    /**
29358     * Set the visible status of item in bar
29359     *
29360     * @param    it The item of controlbar
29361     * @param    bar EINA_TRUE or EINA_FALSE
29362     */
29363    EAPI void         elm_controlbar_item_visible_set(Elm_Controlbar_Item *it, Eina_Bool bar);
29364    /**
29365     * Get the result which or not item is visible in bar
29366     *
29367     * @param    it The item of controlbar
29368     * @return   EINA_TRUE or EINA_FALSE
29369     */
29370    EAPI Eina_Bool    elm_controlbar_item_visible_get(const Elm_Controlbar_Item * it);
29371    /**
29372     * Set item disable
29373     *
29374     * @param    it The item of controlbar
29375     * @param    bar EINA_TRUE or EINA_FALSE
29376     */
29377    EAPI void         elm_controlbar_item_disabled_set(Elm_Controlbar_Item * it, Eina_Bool disabled);
29378    /**
29379     * Get item disable
29380     *
29381     * @param    it The item of controlbar
29382     * @return   EINA_TRUE or EINA_FALSE
29383     */
29384    EAPI Eina_Bool    elm_controlbar_item_disabled_get(const Elm_Controlbar_Item * it);
29385    /**
29386     * Set the icon of item
29387     *
29388     * @param    it The item of controlbar
29389     * @param    icon_path The icon path of the item
29390     * @return   The icon object
29391     */
29392    EAPI void         elm_controlbar_item_icon_set(Elm_Controlbar_Item *it, const char *icon_path);
29393    /**
29394     * Get the icon of item
29395     *
29396     * @param    it The item of controlbar
29397     * @return   The icon object
29398     */
29399    EAPI Evas_Object *elm_controlbar_item_icon_get(const Elm_Controlbar_Item *it);
29400    /**
29401     * Set the label of item
29402     *
29403     * @param    it The item of controlbar
29404     * @param    label The label of item
29405     */
29406    EAPI void         elm_controlbar_item_label_set(Elm_Controlbar_Item *it, const char *label);
29407    /**
29408     * Get the label of item
29409     *
29410     * @param    it The item of controlbar
29411     * @return The label of item
29412     */
29413    EAPI const char  *elm_controlbar_item_label_get(const Elm_Controlbar_Item *it);
29414    /**
29415     * Get the selected item
29416     *
29417     * @param    obj The controlbar object
29418     * @return           The item of controlbar
29419     */
29420    EAPI Elm_Controlbar_Item *elm_controlbar_selected_item_get(const Evas_Object *obj);
29421    /**
29422     * Get the first item
29423     *
29424     * @param    obj The controlbar object
29425     * @return           The item of controlbar
29426     */
29427    EAPI Elm_Controlbar_Item *elm_controlbar_first_item_get(const Evas_Object *obj);
29428    /**
29429     * Get the last item
29430     *
29431     * @param    obj The controlbar object
29432     * @return           The item of controlbar
29433     */
29434    EAPI Elm_Controlbar_Item *elm_controlbar_last_item_get(const Evas_Object *obj);
29435    /**
29436     * Get the items
29437     *
29438     * @param    obj The controlbar object
29439     * @return   The list of the items
29440     */
29441    EAPI const Eina_List   *elm_controlbar_items_get(const Evas_Object *obj);
29442    /**
29443     * Get the previous item
29444     *
29445     * @param    it The item of controlbar
29446     * @return   The previous item of the parameter item
29447     */
29448    EAPI Elm_Controlbar_Item *elm_controlbar_item_prev(Elm_Controlbar_Item *it);
29449    /**
29450     * Get the next item
29451     *
29452     * @param    obj The controlbar object
29453     * @return   The next item of the parameter item
29454     */
29455    EAPI Elm_Controlbar_Item *elm_controlbar_item_next(Elm_Controlbar_Item *it);
29456    /**
29457     * Set the view of the item
29458     *
29459     * @param    it The item of controlbar
29460     * @param    view The view for the item
29461     */
29462    EAPI void         elm_controlbar_item_view_set(Elm_Controlbar_Item *it, Evas_Object * view);
29463    /**
29464     * Get the view of the item
29465     *
29466     * @param    it The item of controlbar
29467     * @return   The view for the item
29468     */
29469    EAPI Evas_Object *elm_controlbar_item_view_get(const Elm_Controlbar_Item *it);
29470    /**
29471     * Unset the view of the item
29472     *
29473     * @param    it The item of controlbar
29474     * @return   The view for the item
29475     */
29476    EAPI Evas_Object *elm_controlbar_item_view_unset(Elm_Controlbar_Item *it);
29477    /**
29478     * Set the vertical mode of the controlbar
29479     *
29480     * @param    obj The object of the controlbar
29481     * @param    vertical The vertical mode of the controlbar (TRUE = vertical, FALSE = horizontal)
29482     */
29483    EAPI Evas_Object *elm_controlbar_item_button_get(const Elm_Controlbar_Item *it);
29484    /**
29485     * Set the mode of the controlbar
29486     *
29487     * @param    obj The object of the controlbar
29488     * @param    mode The mode of the controlbar
29489     */
29490    EAPI void         elm_controlbar_mode_set(Evas_Object *obj, int mode);
29491    /**
29492     * Set the alpha of the controlbar
29493     *
29494     * @param    obj The object of the controlbar
29495     * @param    alpha The alpha value of the controlbar (0-100)
29496     */
29497    EAPI void         elm_controlbar_alpha_set(Evas_Object *obj, int alpha);
29498    /**
29499     * Set auto-align mode of the controlbar(It's not prepared yet)
29500     * If you set the auto-align and add items more than 5,
29501     * the "more" item will be made and the items more than 5 will be unvisible.
29502     *
29503     * @param    obj The object of the controlbar
29504     * @param    auto_align The dicision that the controlbar use the auto-align
29505     */
29506    EAPI void         elm_controlbar_item_auto_align_set(Evas_Object *obj, Eina_Bool auto_align);
29507    /**
29508     * Get the button object of the item
29509     *
29510     * @param    it The item of controlbar
29511     * @return  button object of the item
29512     */
29513    EAPI void         elm_controlbar_vertical_set(Evas_Object *obj, Eina_Bool vertical);
29514    /**
29515     * @}
29516     */
29517
29518
29519    /**
29520     * @defgroup Searchbar Searchbar
29521     * @addtogroup TickerNoti
29522     * @{
29523     * @ingroup Elementary
29524     *
29525     * This is Searchbar.
29526     * It can contain a simple entry and button object.
29527     */
29528
29529    /**
29530     * Add a new searchbar to the parent
29531     * @param parent The parent object
29532     * @return The new object or NULL if it cannot be created
29533     */
29534    EAPI Evas_Object *elm_searchbar_add(Evas_Object *parent);
29535    /**
29536     * set the text of entry
29537     *
29538     * @param obj The searchbar object
29539     * @return void
29540     */
29541    EAPI void         elm_searchbar_text_set(Evas_Object *obj, const char *entry);
29542    /**
29543     * get the text of entry
29544     *
29545     * @param obj The searchbar object
29546     * @return string pointer of entry
29547     */
29548    EAPI const char  *elm_searchbar_text_get(Evas_Object *obj);
29549    /**
29550     * get the pointer of entry
29551     *
29552     * @param obj The searchbar object
29553     * @return the entry object
29554     */
29555    EAPI Evas_Object *elm_searchbar_entry_get(Evas_Object *obj);
29556    /**
29557     * get the pointer of editfield
29558     *
29559     * @param obj The searchbar object
29560     * @return the editfield object
29561     */
29562    EAPI Evas_Object *elm_searchbar_editfield_get(Evas_Object *obj);
29563    /**
29564     * set the cancel button animation flag
29565     *
29566     * @param obj The searchbar object
29567     * @param cancel_btn_ani_flag The flag of animating cancen button or not
29568     * @return void
29569     */
29570    EAPI void         elm_searchbar_cancel_button_animation_set(Evas_Object *obj, Eina_Bool cancel_btn_ani_flag);
29571    /**
29572     * set the cancel button show mode
29573     *
29574     * @param obj The searchbar object
29575     * @param visible The flag of cancen button show or not
29576     * @return void
29577     */
29578    EAPI void         elm_searchbar_cancel_button_set(Evas_Object *obj, Eina_Bool visible);
29579    /**
29580     * clear searchbar status
29581     *
29582     * @param obj The searchbar object
29583     * @return void
29584     */
29585    EAPI void         elm_searchbar_clear(Evas_Object *obj);
29586    /**
29587     * set the searchbar boundary rect mode(with bg rect) set
29588     *
29589     * @param obj The searchbar object
29590     * @param boundary The present flag of boundary rect or not
29591     * @return void
29592     */
29593    EAPI void         elm_searchbar_boundary_rect_set(Evas_Object *obj, Eina_Bool boundary);
29594    /**
29595     * @}
29596     */
29597
29598    EAPI Evas_Object *elm_page_control_add(Evas_Object *parent);
29599    EAPI void         elm_page_control_page_count_set(Evas_Object *obj, unsigned int page_count);
29600    EAPI void         elm_page_control_page_id_set(Evas_Object *obj, unsigned int page_id);
29601    EAPI unsigned int elm_page_control_page_id_get(Evas_Object *obj);
29602
29603    /* NoContents */
29604    EAPI Evas_Object *elm_nocontents_add(Evas_Object *parent);
29605    EAPI void         elm_nocontents_label_set(Evas_Object *obj, const char *label);
29606    EAPI const char  *elm_nocontents_label_get(const Evas_Object *obj);
29607    EAPI void         elm_nocontents_custom_set(const Evas_Object *obj, Evas_Object *custom);
29608    EAPI Evas_Object *elm_nocontents_custom_get(const Evas_Object *obj);
29609
29610    /**
29611     * @defgroup TickerNoti TickerNoti
29612     * @addtogroup TickerNoti
29613     * @{
29614     *
29615     * This is a notification widget which can be used to display some short information.
29616     *
29617     * Parts which can be used with elm_object_text_part_set() and
29618     * elm_object_text_part_get():
29619     *
29620     * @li NULL/"default" - Operates on tickernoti content-text
29621     *
29622     * Parts which can be used with elm_object_content_part_set(),
29623     * elm_object_content_part_get() and elm_object_content_part_unset():
29624     *
29625     * @li "icon" - Operates on tickernoti's icon
29626     * @li "button" - Operates on tickernoti's button
29627     *
29628     * smart callbacks called:
29629     * @li "clicked" - emitted when tickernoti is clicked, except at the
29630     * swallow/button region, if any.
29631     * @li "hide" - emitted when the tickernoti is completely hidden. In case of
29632     * any hide animation, this signal is emitted after the animation.
29633     */
29634    typedef enum
29635      {
29636         ELM_TICKERNOTI_ORIENT_TOP = 0,
29637         ELM_TICKERNOTI_ORIENT_BOTTOM,
29638         ELM_TICKERNOTI_ORIENT_LAST
29639      }  Elm_Tickernoti_Orient;
29640
29641    /**
29642     * Add a tickernoti object to @p parent
29643     *
29644     * @param parent The parent object
29645     *
29646     * @return The tickernoti object, or NULL upon failure
29647     */
29648    EAPI Evas_Object              *elm_tickernoti_add (Evas_Object *parent);
29649    /**
29650     * Set the orientation of the tickernoti object
29651     *
29652     * @param obj The tickernoti object
29653     * @param orient The orientation of tickernoti object
29654     */
29655    EAPI void                      elm_tickernoti_orient_set (Evas_Object *obj, Elm_Tickernoti_Orient orient) EINA_ARG_NONNULL(1);
29656    /**
29657     * Get the orientation of the tickernoti object
29658     *
29659     * @param obj The tickernotil object
29660     * @return The orientation of tickernotil object
29661     */
29662    EAPI Elm_Tickernoti_Orient     elm_tickernoti_orient_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
29663    /**
29664     * Get the rotation of tickernoti object
29665     *
29666     * @param obj The tickernotil object
29667     * @return The rotation angle
29668     */
29669    EAPI int                       elm_tickernoti_rotation_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
29670    /**
29671     * Set the rotation angle for the tickernoti object
29672     *
29673     * @param obj The tickernoti object
29674     * @param angle The rotation angle(in degree) will be used on the tickernoti object
29675     */
29676    EAPI void                      elm_tickernoti_rotation_set (Evas_Object *obj, int angle) EINA_ARG_NONNULL(1);
29677    /**
29678     * Get the view window(elm_win) on the tickernoti object
29679     *
29680     * @param obj The tickernotil object
29681     * @return internal view window(elm_win) object
29682     */
29683    EAPI Evas_Object              *elm_tickernoti_win_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
29684    /* #### Below APIs and data structures are going to be deprecated, announcment will be made soon ####*/
29685    /**
29686     * @deprecated
29687     */
29688    typedef enum
29689     {
29690        ELM_TICKERNOTI_DEFAULT,
29691        ELM_TICKERNOTI_DETAILVIEW
29692     } Elm_Tickernoti_Mode;
29693    /**
29694     * Set the detail label on the tickernoti object
29695     *
29696     * @param obj The tickernoti object
29697     * @param label The label will be used on the tickernoti object
29698     * @deprecated use elm_object_text_set() instead
29699     */
29700    WILL_DEPRECATE  EAPI void                      elm_tickernoti_detailview_label_set (Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
29701    /**
29702     * Get the detail label used on the tickernoti object
29703     *
29704     * @param obj The tickernotil object
29705     * @return The string inside the label
29706     * @deprecated use elm_object_text_get() instead
29707     */
29708    WILL_DEPRECATE  EAPI const char               *elm_tickernoti_detailview_label_get (const Evas_Object *obj)EINA_ARG_NONNULL(1);
29709    /**
29710     * Set the button object used on the tickernoti object
29711     *
29712     * @param obj The tickernotil object
29713     * @param button The button object will be used on the tickernoti object
29714     * @deprecated use elm_object_content_part_set() instead with "icon" as part name
29715     */
29716    WILL_DEPRECATE  EAPI void                      elm_tickernoti_detailview_button_set (Evas_Object *obj, Evas_Object *button) EINA_ARG_NONNULL(2);
29717    /**
29718     * Get the button object used on the tickernoti object
29719     *
29720     * @param obj The tickernotil object
29721     * @return The button object inside the tickernoti
29722     * @deprecated use elm_object_content_part_get() instead with "button" as part name
29723     */
29724    WILL_DEPRECATE  EAPI Evas_Object              *elm_tickernoti_detailview_button_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
29725    /**
29726     * Set the detail icon object used on the tickernoti object
29727     *
29728     * @param obj The tickernotil object
29729     * @param icon The icon object will be used on the tickernoti object
29730     * @deprecated use elm_object_content_part_set() instead with "icon" as part name
29731     */
29732    WILL_DEPRECATE  EAPI void                      elm_tickernoti_detailview_icon_set (Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
29733    /**
29734     * Get the detail icon object used on the tickernoti object
29735     *
29736     * @param obj The tickernotil object
29737     * @return The icon object inside the tickernoti
29738     * @deprecated use elm_object_content_part_get() instead with "icon" as part name
29739     */
29740    WILL_DEPRECATE  EAPI Evas_Object              *elm_tickernoti_detailview_icon_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
29741    /**
29742     * Get the view mode on the tickernoti object
29743     *
29744     * @param obj The tickernotil object
29745     * @return The view mode
29746     * @deprecated removed as now styles are used instead
29747     */
29748    WILL_DEPRECATE  EAPI Evas_Object              *elm_tickernoti_detailview_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
29749    /**
29750     * Set the view mode used on the tickernoti object
29751     *
29752     * @param obj The tickernotil object
29753     * @param mode The view mode will be used on the tickernoti object
29754     * @deprecated removed as now styles are used instead
29755     */
29756    WILL_DEPRECATE  EAPI void                      elm_tickernoti_mode_set (Evas_Object *obj, Elm_Tickernoti_Mode mode) EINA_ARG_NONNULL(1);
29757    /**
29758     * Get the detail view window(elm_win) on the tickernoti object
29759     *
29760     * @param obj The tickernotil object
29761     * @return detail view window(elm_win) object
29762     */
29763    WILL_DEPRECATE  EAPI Elm_Tickernoti_Mode       elm_tickernoti_mode_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
29764    /**
29765     * Set the orientation of the tickernoti object
29766     *
29767     * @param obj The tickernoti object
29768     * @param orient The orientation of tickernoti object
29769     * @deprecated use elm_tickernoti_orient_set() instead
29770     */
29771    WILL_DEPRECATE  EAPI void                      elm_tickernoti_orientation_set (Evas_Object *obj, Elm_Tickernoti_Orient orient) EINA_ARG_NONNULL(1);
29772    /**
29773     * Get the orientation of the tickernoti object
29774     *
29775     * @param obj The tickernotil object
29776     * @return The orientation of tickernotil object
29777     * @deprecated use elm_tickernoti_orient_get() instead
29778     */
29779    WILL_DEPRECATE  EAPI Elm_Tickernoti_Orient     elm_tickernoti_orientation_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
29780    /**
29781     * Set the label on the tickernoti object
29782     *
29783     * @param obj The tickernoti object
29784     * @param label The label will be used on the tickernoti object
29785     * @deprecated use elm_object_text_get()
29786     */
29787    WILL_DEPRECATE  EAPI void                      elm_tickernoti_label_set (Evas_Object *obj, const char *label) EINA_ARG_NONNULL(1);
29788    /**
29789     * Get the label used on the tickernoti object
29790     *
29791     * @param obj The tickernotil object
29792     * @return The string inside the label
29793     * @deprecated use elm_object_text_get() instead
29794     */
29795    WILL_DEPRECATE  EAPI const char               *elm_tickernoti_label_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
29796    /**
29797     * Set the icon object of the tickernoti object
29798     *
29799     * @param obj The tickernotil object
29800     * @param icon The icon object will be used on the tickernoti object
29801     * @deprecated use elm_object_content_part_set() instead with "icon" as part name
29802     */
29803    WILL_DEPRECATE  EAPI void                      elm_tickernoti_icon_set (Evas_Object *obj, Evas_Object *icon) EINA_ARG_NONNULL(1);
29804    /**
29805     * Get the icon object of the tickernoti object
29806     *
29807     * @param obj The tickernotil object
29808     * @return The icon object inside the tickernoti
29809     * @deprecated use elm_object_content_part_get() instead with "icon" as part name
29810     */
29811    WILL_DEPRECATE  EAPI Evas_Object              *elm_tickernoti_icon_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
29812    /**
29813     * Set the action button object used on the tickernoti object
29814     *
29815     * @param obj The tickernotil object
29816     * @param button The button object will be used on the tickernoti object
29817     * @deprecated use elm_object_content_part_set() instead with "button" as part name
29818     */
29819    WILL_DEPRECATE  EAPI void                      elm_tickernoti_button_set (Evas_Object *obj, Evas_Object *button) EINA_ARG_NONNULL(1);
29820    /**
29821     * Get the action button object used on the tickernoti object
29822     *
29823     * @param obj The tickernotil object
29824     * @return The button object inside the tickernoti
29825     * @deprecated use elm_object_content_part_get() instead with "button" as part name
29826     */
29827    WILL_DEPRECATE  EAPI Evas_Object              *elm_tickernoti_button_get (const Evas_Object *obj) EINA_ARG_NONNULL(1);
29828    /**
29829     * @}
29830     */
29831
29832    /**
29833     * @defgroup Colorpalette Colorpalette
29834     * @ingroup Elementary
29835     * @addtogroup Colorpalette
29836     * @{
29837     *
29838     * Using colorpalette, you can select a color by clicking
29839     * a color rectangle on the colorpalette.
29840     *
29841     * Smart callbacks that you can add are:
29842     *
29843     * clicked - This signal is sent when a color rectangle is clicked.
29844     */
29845    typedef struct _Colorpalette_Color Elm_Colorpalette_Color;
29846    struct _Colorpalette_Color
29847      {
29848         unsigned int r, g, b;
29849      };
29850
29851    /**
29852     * Add a new colorpalette to the parent.
29853     *
29854     * @param parent The parent object
29855     * @return The new object or NULL if it cannot be created
29856     *
29857     * @ingroup Colorpalette
29858     */
29859    EAPI Evas_Object *elm_colorpalette_add(Evas_Object *parent);
29860    /**
29861     * Set colors to the colorpalette.
29862     *
29863     * @param obj   Colorpalette object
29864     * @param color_num     number of the colors on the colorpalette
29865     * @param color     Color lists
29866     */
29867    EAPI void         elm_colorpalette_color_set(Evas_Object *obj, int color_num, Elm_Colorpalette_Color *color);
29868    /**
29869     * Set row/column value for the colorpalette.
29870     *
29871     * @param obj   Colorpalette object
29872     * @param row   row value for the colorpalette
29873     * @param col   column value for the colorpalette
29874     */
29875    EAPI void         elm_colorpalette_row_column_set(Evas_Object *obj, int row, int col);
29876
29877    /**
29878     * @}
29879     */
29880
29881    /* editfield */
29882    EAPI Evas_Object *elm_editfield_add(Evas_Object *parent);
29883    EAPI void         elm_editfield_label_set(Evas_Object *obj, const char *label);
29884    EAPI const char  *elm_editfield_label_get(Evas_Object *obj);
29885    EAPI void         elm_editfield_guide_text_set(Evas_Object *obj, const char *text);
29886    EAPI const char  *elm_editfield_guide_text_get(Evas_Object *obj);
29887    EAPI Evas_Object *elm_editfield_entry_get(Evas_Object *obj);
29888 //   EAPI Evas_Object *elm_editfield_clear_button_show(Evas_Object *obj, Eina_Bool show);
29889    EINA_DEPRECATED EAPI void elm_editfield_right_icon_set(Evas_Object *obj, Evas_Object *icon);
29890    EINA_DEPRECATED EAPI Evas_Object *elm_editfield_right_icon_get(Evas_Object *obj);
29891    EINA_DEPRECATED EAPI void elm_editfield_left_icon_set(Evas_Object *obj, Evas_Object *icon);
29892    EINA_DEPRECATED EAPI Evas_Object *elm_editfield_left_icon_get(Evas_Object *obj);
29893    EAPI void         elm_editfield_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line);
29894    EAPI Eina_Bool    elm_editfield_entry_single_line_get(Evas_Object *obj);
29895    EAPI void         elm_editfield_eraser_set(Evas_Object *obj, Eina_Bool visible);
29896    EAPI Eina_Bool    elm_editfield_eraser_get(Evas_Object *obj);
29897    /* smart callbacks called:
29898     * "clicked" - when an editfield is clicked
29899     * "unfocused" - when an editfield is unfocused
29900     */
29901
29902
29903    /**
29904     * @defgroup Multibuttonenetry Multibuttonenetry
29905     *
29906     * @image html img/widget/flipselector/preview-00.png
29907     * @image latex img/widget/flipselector/preview-00.eps
29908     *
29909     * A Multibuttonentry is a widget to allow a user to insert a text button.
29910     * the text button is inserted by pressing the "return" key. If there is no space in the current row,
29911     * the new button is entered in the next row. If the button is pressed, it will become focused. 
29912     * The focus can be removed by pressing the "backspace" key.
29913     * when items are added over 1 lines, if Multibuttonentry lost focus, it becase shrink mode ( made it 1 line)
29914     *
29915     * Smart callbacks one can register to:
29916     * - @c "item,selected" - when item is selected . it can be called by backspace key.                       
29917     * - @c "item,added" - when a new multibuttonentry item is added. 
29918     * - @c "item,deleted" -when a multibuttonentry item is deleted. 
29919     * - @c "item,clicked" - selected item of multibuttonentry is clicked.                  
29920     * - @c "clicked" - when multibuttonentry is clicked. 
29921     * - @c "focused" - when multibuttonentry is focused. 
29922     * - @c "unfocused" - when multibuttonentry is unfocused. 
29923     * - @c "expanded" - when multibuttonentry is expanded . 
29924     * - @c "shrank" - when multibuttonentry is shrank. 
29925     * - @c "shrank,state,changed" - when shrink mode state of multibuttonentry is changed. 
29926     *
29927     * Here is an example on its usage:
29928     * @li @ref multibuttonentry_example
29929     */
29930     /**
29931     * @addtogroup Multibuttonentry
29932     * @{
29933     */
29934
29935    /* multibuttonentry */
29936    typedef struct _Multibuttonentry_Item Elm_Multibuttonentry_Item;
29937    typedef Eina_Bool (*Elm_Multibuttonentry_Item_Verify_Callback) (Evas_Object *obj, const char *item_label, void *item_data, void *data);
29938
29939    /**
29940     * @brief Add a new multibuttonentry to the parent
29941     *
29942     * @param parent The parent object
29943     * @return The new object or NULL if it cannot be created
29944     */
29945    EAPI Evas_Object               *elm_multibuttonentry_add(Evas_Object *parent);
29946    /**
29947     * Get the label
29948     *
29949     * @param obj The multibuttonentry object
29950     * @return The label, or NULL if none
29951     */
29952    EAPI const char                *elm_multibuttonentry_label_get(const Evas_Object *obj);
29953    /**
29954     * Set the label
29955     *
29956     * @param obj The multibuttonentry object
29957     * @param label The text label string
29958     */
29959    EAPI void                       elm_multibuttonentry_label_set(Evas_Object *obj, const char *label);
29960    /**
29961     * Get the entry of the multibuttonentry object
29962     *
29963     * @param obj The multibuttonentry object
29964     * @return The entry object, or NULL if none
29965     */
29966    EAPI Evas_Object               *elm_multibuttonentry_entry_get(const Evas_Object *obj);
29967    /**
29968     * Get the guide text
29969     *
29970     * @param obj The multibuttonentry object
29971     * @return The guide text, or NULL if none
29972     */
29973    EAPI const char *               elm_multibuttonentry_guide_text_get(const Evas_Object *obj);
29974    /**
29975     * Set the guide text
29976     *
29977     * @param obj The multibuttonentry object
29978     * @param label The guide text string
29979     */
29980    EAPI void                       elm_multibuttonentry_guide_text_set(Evas_Object *obj, const char *guidetext);
29981    /**
29982     * Get the value of shrink_mode state.
29983     *
29984     * @param obj The multibuttonentry object
29985     * @param the value of shrink mode state.
29986     */
29987    EAPI int                        elm_multibuttonentry_contracted_state_get(const Evas_Object *obj);
29988    /**
29989     * Set/Unset the multibuttonentry to shrink mode state of single line
29990     *
29991     * @param obj The multibuttonentry object
29992     * @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.
29993     */
29994    EAPI void                       elm_multibuttonentry_contracted_state_set(Evas_Object *obj, int contracted);
29995    /**
29996     * Prepend a new item to the multibuttonentry
29997     *
29998     * @param obj The multibuttonentry object
29999     * @param label The label of new item
30000     * @param data The ponter to the data to be attached
30001     * @return A handle to the item added or NULL if not possible
30002     */
30003    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_add_start(Evas_Object *obj, const char *label, void *data);
30004    /**
30005     * Append a new item to the multibuttonentry
30006     *
30007     * @param obj The multibuttonentry object
30008     * @param label The label of new item
30009     * @param data The ponter to the data to be attached
30010     * @return A handle to the item added or NULL if not possible
30011     */
30012    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_add_end(Evas_Object *obj, const char *label, void *data);
30013    /**
30014     * Add a new item to the multibuttonentry before the indicated object
30015     *
30016     * reference.
30017     * @param obj The multibuttonentry object
30018     * @param before The item before which to add it
30019     * @param label The label of new item
30020     * @param data The ponter to the data to be attached
30021     * @return A handle to the item added or NULL if not possible
30022     */
30023    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_add_before(Evas_Object *obj, const char *label, Elm_Multibuttonentry_Item *before, void *data);
30024    /**
30025     * Add a new item to the multibuttonentry after the indicated object
30026     *
30027     * @param obj The multibuttonentry object
30028     * @param after The item after which to add it
30029     * @param label The label of new item
30030     * @param data The ponter to the data to be attached
30031     * @return A handle to the item added or NULL if not possible
30032     */
30033    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_add_after(Evas_Object *obj, const char *label, Elm_Multibuttonentry_Item *after, void *data);
30034    /**
30035     * Get a list of items in the multibuttonentry
30036     *
30037     * @param obj The multibuttonentry object
30038     * @return The list of items, or NULL if none
30039     */
30040    EAPI const Eina_List           *elm_multibuttonentry_items_get(const Evas_Object *obj);
30041    /**
30042     * Get the first item in the multibuttonentry
30043     *
30044     * @param obj The multibuttonentry object
30045     * @return The first item, or NULL if none
30046     */
30047    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_first_get(const Evas_Object *obj);
30048    /**
30049     * Get the last item in the multibuttonentry
30050     *
30051     * @param obj The multibuttonentry object
30052     * @return The last item, or NULL if none
30053     */
30054    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_last_get(const Evas_Object *obj);
30055    /**
30056     * Get the selected item in the multibuttonentry
30057     *
30058     * @param obj The multibuttonentry object
30059     * @return The selected item, or NULL if none
30060     */
30061    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_selected_get(const Evas_Object *obj);
30062    /**
30063     * Set the selected state of an item
30064     *
30065     * @param item The item
30066     * @param selected if it's EINA_TRUE, select the item otherwise, unselect the item
30067     */
30068    EAPI void                       elm_multibuttonentry_item_selected_set(Elm_Multibuttonentry_Item *item);
30069    /**
30070    * unselect all of items.
30071    *
30072    * @param obj The multibuttonentry object
30073    */
30074    EAPI void                       elm_multibuttonentry_item_unselect_all(Evas_Object *obj);
30075   /**
30076    * Delete a given item
30077    *
30078    * @param item The item
30079    */
30080    EAPI void                       elm_multibuttonentry_item_del(Elm_Multibuttonentry_Item *item);
30081   /**
30082    * Remove all items in the multibuttonentry.
30083    *
30084    * @param obj The multibuttonentry object
30085    */
30086    EAPI void                       elm_multibuttonentry_items_del(Evas_Object *obj);
30087   /**
30088    * Get the label of a given item
30089    *
30090    * @param item The item
30091    * @return The label of a given item, or NULL if none
30092    */
30093    EAPI const char                *elm_multibuttonentry_item_label_get(const Elm_Multibuttonentry_Item *item);
30094   /**
30095    * Set the label of a given item
30096    *
30097    * @param item The item
30098    * @param label The text label string
30099    */
30100    EAPI void                       elm_multibuttonentry_item_label_set(Elm_Multibuttonentry_Item *item, const char *str);
30101   /**
30102    * Get the previous item in the multibuttonentry
30103    *
30104    * @param item The item
30105    * @return The item before the item @p item
30106    */
30107    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_prev(Elm_Multibuttonentry_Item *item);
30108   /**
30109    * Get the next item in the multibuttonentry
30110    *
30111    * @param item The item
30112    * @return The item after the item @p item
30113    */
30114    EAPI Elm_Multibuttonentry_Item *elm_multibuttonentry_item_next(Elm_Multibuttonentry_Item *item);
30115
30116    EAPI void                      *elm_multibuttonentry_item_data_get(const Elm_Multibuttonentry_Item *item);
30117    EAPI void                       elm_multibuttonentry_item_data_set(Elm_Multibuttonentry_Item *item, void *data);
30118    EAPI void                       elm_multibuttonentry_item_verify_callback_set(Evas_Object *obj, Elm_Multibuttonentry_Item_Verify_Callback func, void *data);
30119
30120    /**
30121     * @}
30122     */
30123
30124    /**
30125     * @defgroup Stackedicon Stackedicon
30126     * @ingroup Elementary
30127     * @addtogroup Stackedicon
30128     * @{
30129     *
30130     * This is a Stackedicon.
30131     * smart callback called:
30132     * "expanded" - This signal is emitted when a stackedicon is expanded.
30133     * "clicked" - This signal is emitted when a stackedicon is clicked.
30134     *
30135     * available styles:
30136     * default
30137     */
30138    typedef struct _Stackedicon_Item Elm_Stackedicon_Item;
30139    /**
30140     * Add a new stackedicon to the parent
30141     *
30142     * @param parent The parent object
30143     * @return The new object or NULL if it cannot be created
30144     */
30145    EAPI Evas_Object          *elm_stackedicon_add(Evas_Object *parent);
30146    /**
30147     * This appends a path to the stackedicon
30148     *
30149     * @param    obj   The stackedicon object
30150     * @param    path   The image full path
30151     * @return   The new item or NULL if it cannot be created
30152     */
30153    EAPI Elm_Stackedicon_Item *elm_stackedicon_item_append(Evas_Object *obj, const char *path);
30154    /**
30155     * This prepends a path to the stackedicon
30156     *
30157     * @param    obj   The stackedicon object
30158     * @param    path   The image full path
30159     * @return   The new item or NULL if it cannot be created
30160     */
30161    EAPI Elm_Stackedicon_Item *elm_stackedicon_item_prepend(Evas_Object *obj, const char *path);
30162    /**
30163     * This delete a path at the stackedicon
30164     *
30165     * @param    Elm_Stackedicon_Item   The delete item
30166     */
30167    EAPI void                  elm_stackedicon_item_del(Elm_Stackedicon_Item *it);
30168    /**
30169     * Get item list from the stackedicon
30170     *
30171     * @param    obj   The stackedicon object
30172     * @return   The item list or NULL if it cannot be created
30173     */
30174    EAPI Eina_List            *elm_stackedicon_item_list_get(Evas_Object *obj);
30175    /**
30176     * @}
30177     */
30178
30179    /* Dayselector */
30180    typedef enum
30181      {
30182         ELM_DAYSELECTOR_SUN,
30183         ELM_DAYSELECTOR_MON,
30184         ELM_DAYSELECTOR_TUE,
30185         ELM_DAYSELECTOR_WED,
30186         ELM_DAYSELECTOR_THU,
30187         ELM_DAYSELECTOR_FRI,
30188         ELM_DAYSELECTOR_SAT
30189      } Elm_DaySelector_Day;
30190
30191    EAPI Evas_Object *elm_dayselector_add(Evas_Object *parent);
30192    EAPI Eina_Bool    elm_dayselector_check_state_get(Evas_Object *obj, Elm_DaySelector_Day day);
30193    EAPI void         elm_dayselector_check_state_set(Evas_Object *obj, Elm_DaySelector_Day day, Eina_Bool checked);
30194
30195    /**
30196     * @defgroup Imageslider Imageslider
30197     * @ingroup Elementary
30198     * @addtogroup Imageslider
30199     * @{
30200     *
30201     * By flicking images on the screen,
30202     * you can see the images in specific path.
30203     */
30204    typedef struct _Imageslider_Item Elm_Imageslider_Item;
30205    typedef void (*Elm_Imageslider_Cb)(void *data, Evas_Object *obj, void *event_info);
30206
30207    /**
30208     * Add an Image Slider widget
30209     *
30210     * @param        parent  The parent object
30211     * @return       The new Image slider object or NULL if it cannot be created
30212     */
30213    EAPI Evas_Object           *elm_imageslider_add(Evas_Object *parent) EINA_ARG_NONNULL(1);
30214    /**
30215     * Append an Image Slider item
30216     *
30217     * @param        obj          The Image Slider object
30218     * @param        photo_file   photo file path
30219     * @param        func         callback function
30220     * @param        data         callback data
30221     * @return       The Image Slider item handle or NULL
30222     */
30223    EAPI Elm_Imageslider_Item  *elm_imageslider_item_append(Evas_Object *obj, const char *photo_file, Elm_Imageslider_Cb func, void *data) EINA_ARG_NONNULL(1);
30224    /**
30225     * Insert an Image Slider item into the Image Slider Widget by using the given index.
30226     *
30227     * @param        obj                     The Image Slider object
30228     * @param        photo_file      photo file path
30229     * @param        func            callback function
30230     * @param        index           required position
30231     * @param        data            callback data
30232     * @return       The Image Slider item handle or NULL
30233     */
30234    EAPI Elm_Imageslider_Item  *elm_imageslider_item_append_relative(Evas_Object *obj, const char *photo_file, Elm_Imageslider_Cb func, unsigned int index, void *data) EINA_ARG_NONNULL(1);
30235    /**
30236     * Prepend Image Slider item
30237     *
30238     * @param        obj          The Image Slider object
30239     * @param        photo_file   photo file path
30240     * @param        func         callback function
30241     * @param        data         callback data
30242     * @return       The imageslider item handle or NULL
30243     */
30244    EAPI Elm_Imageslider_Item  *elm_imageslider_item_prepend(Evas_Object *obj, const char *photo_file, Elm_Imageslider_Cb func, void *data) EINA_ARG_NONNULL(1);
30245    /**
30246     * Delete the selected Image Slider item
30247     *
30248     * @param it             The selected Image Slider item handle
30249     */
30250    EAPI void                   elm_imageslider_item_del(Elm_Imageslider_Item *it) EINA_ARG_NONNULL(1);
30251    /**
30252     * Get the selected Image Slider item
30253     *
30254     * @param obj            The Image Slider object
30255     * @return The selected Image Slider item or NULL
30256     */
30257    EAPI Elm_Imageslider_Item  *elm_imageslider_selected_item_get(Evas_Object *obj) EINA_ARG_NONNULL(1);
30258    /**
30259     * Get whether an Image Slider item is selected or not
30260     *
30261     * @param it              the selected Image Slider item
30262     * @return EINA_TRUE or EINA_FALSE
30263     */
30264    EAPI Eina_Bool              elm_imageslider_item_selected_get(Elm_Imageslider_Item *it) EINA_ARG_NONNULL(1);
30265    /**
30266     * Set the selected Image Slider item
30267     *
30268     * @param it             The Imaga Slider item
30269     */
30270    EAPI void                   elm_imageslider_item_selected_set(Elm_Imageslider_Item *it) EINA_ARG_NONNULL(1);
30271    /**
30272     * Get the photo file path of given Image Slider item
30273     *
30274     * @param it             The Image Slider item
30275     * @return The photo file path or NULL;
30276     */
30277    EAPI const char            *elm_imageslider_item_photo_file_get(Elm_Imageslider_Item *it) EINA_ARG_NONNULL(1);
30278    /**
30279     * Sets the photo file path of given Image Slider item
30280     *
30281     * @param it         The Image Slider item
30282     * @param photo_file The photo file path or NULL;
30283     */
30284    EAPI Elm_Imageslider_Item  *elm_imageslider_item_prev(Elm_Imageslider_Item *it) EINA_ARG_NONNULL(1);
30285    /**
30286     * Get the previous Image Slider item
30287     *
30288     * @param it             The Image Slider item
30289     * @return The previous Image Slider item or NULL
30290     */
30291    EAPI Elm_Imageslider_Item  *elm_imageslider_item_next(Elm_Imageslider_Item *it) EINA_ARG_NONNULL(1);
30292    /**
30293     * Get the next Image Slider item
30294     *
30295     * @param it             The Image Slider item
30296     * @return The next Image Slider item or NULL
30297     */
30298    EAPI void                   elm_imageslider_prev(Evas_Object *obj) EINA_ARG_NONNULL(1);
30299    /**
30300     * Move to the previous Image Slider item
30301     *
30302     * @param obj    The Image Slider object
30303     */
30304    EAPI void                   elm_imageslider_next(Evas_Object *obj) EINA_ARG_NONNULL(1);
30305    /**
30306     * Move to the next Image Slider item
30307     *
30308     * @param obj The Image Slider object
30309     */
30310    EAPI void                   elm_imageslider_item_photo_file_set(Elm_Imageslider_Item *it, const char *photo_file) EINA_ARG_NONNULL(1,2);
30311    /**
30312     * Updates an Image Slider item
30313     *
30314     * @param it The Image Slider item
30315     */
30316    EAPI void                   elm_imageslider_item_update(Elm_Imageslider_Item *it) EINA_ARG_NONNULL(1);
30317    /**
30318     * @}
30319     */
30320 #ifdef __cplusplus
30321 }
30322 #endif
30323
30324 #endif