2011-12-29 23:20:48 -08:00
|
|
|
/**
|
2016-03-16 08:05:31 -07:00
|
|
|
* @defgroup Elm_Toolbar Toolbar
|
2011-12-29 23:20:48 -08:00
|
|
|
* @ingroup Elementary
|
|
|
|
*
|
2012-08-30 09:45:00 -07:00
|
|
|
* @image html toolbar_inheritance_tree.png
|
|
|
|
* @image latex toolbar_inheritance_tree.eps
|
|
|
|
*
|
2011-12-29 23:20:48 -08:00
|
|
|
* @image html img/widget/toolbar/preview-00.png
|
|
|
|
* @image latex img/widget/toolbar/preview-00.eps width=\textwidth
|
|
|
|
*
|
|
|
|
* @image html img/toolbar.png
|
|
|
|
* @image latex img/toolbar.eps width=\textwidth
|
|
|
|
*
|
|
|
|
* A toolbar is a widget that displays a list of items inside
|
|
|
|
* a box. It can be scrollable, show a menu with items that don't fit
|
|
|
|
* to toolbar size or even crop them.
|
|
|
|
*
|
|
|
|
* Only one item can be selected at a time.
|
|
|
|
*
|
|
|
|
* Items can have multiple states, or show menus when selected by the user.
|
|
|
|
*
|
2012-08-30 09:45:00 -07:00
|
|
|
* This widget implements the @b @ref elm-scrollable-interface
|
2012-08-30 16:19:05 -07:00
|
|
|
* interface, so that all (non-deprecated) functions for the base
|
2014-08-13 08:42:43 -07:00
|
|
|
* @ref Scroller widget also work for toolbars (since 1.8)
|
2012-08-30 09:45:00 -07:00
|
|
|
*
|
2011-12-29 23:20:48 -08:00
|
|
|
* Smart callbacks one can listen to:
|
2012-08-30 09:45:00 -07:00
|
|
|
* - @c "clicked" - when the user clicks on a toolbar item and becomes
|
|
|
|
* selected.
|
|
|
|
* - @c "longpressed" - when the toolbar is pressed for a certain
|
|
|
|
* amount of time.
|
|
|
|
* - @c "language,changed" - when the program language changes.
|
elm: added more "focused" and "unfocused" documentations.
genlist, hover, index, list, map, photocam, progressbar, radio, scroller, slider, slideshow, spinner, toolbar, win.
2013-06-09 22:12:51 -07:00
|
|
|
* - @c "focused" - When the toolbar has received focus. (since 1.8)
|
|
|
|
* - @c "unfocused" - When the toolbar has lost focus. (since 1.8)
|
2014-03-23 08:22:32 -07:00
|
|
|
* - @c "item,focused" - When the toolbar item has received focus. (since 1.10)
|
|
|
|
* - @c "item,unfocused" - When the toolbar item has lost focus. (since 1.10)
|
2014-07-19 09:46:35 -07:00
|
|
|
* - @c "selected" - when an item is selected. @p event_info is a selected
|
|
|
|
* item. (since 1.11)
|
|
|
|
* - @c "unselected" - when an item is unselected. @p event_info is a
|
|
|
|
* unselected item. (since 1.11)
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* Available styles for it:
|
|
|
|
* - @c "default"
|
|
|
|
* - @c "transparent" - no background or shadow, just show the content
|
|
|
|
*
|
|
|
|
* Default text parts of the toolbar items that you can use for are:
|
2014-09-04 09:11:58 -07:00
|
|
|
* @li "default" - A label of the toolbar item
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* Supported elm_object_item common APIs.
|
2013-09-17 09:56:16 -07:00
|
|
|
* @li @ref elm_object_item_del
|
2012-04-17 13:33:59 -07:00
|
|
|
* @li @ref elm_object_item_disabled_set
|
|
|
|
* @li @ref elm_object_item_disabled_get
|
|
|
|
* @li @ref elm_object_item_part_text_set
|
|
|
|
* @li @ref elm_object_item_part_text_get
|
2013-09-17 09:56:16 -07:00
|
|
|
* @li @ref elm_object_item_part_content_set
|
|
|
|
* @li @ref elm_object_item_part_content_get
|
|
|
|
* @li @ref elm_object_item_part_content_unset
|
2014-03-23 08:22:32 -07:00
|
|
|
* @li @ref elm_object_item_focus_set
|
|
|
|
* @li @ref elm_object_item_focus_get
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* List of examples:
|
|
|
|
* @li @ref toolbar_example_01
|
|
|
|
* @li @ref toolbar_example_02
|
|
|
|
* @li @ref toolbar_example_03
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2016-03-16 08:05:31 -07:00
|
|
|
* @addtogroup Elm_Toolbar
|
2011-12-29 23:20:48 -08:00
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
2013-04-29 00:03:21 -07:00
|
|
|
#include <elm_toolbar_common.h>
|
|
|
|
#ifdef EFL_EO_API_SUPPORT
|
|
|
|
#include <elm_toolbar_eo.h>
|
|
|
|
#endif
|
|
|
|
#ifndef EFL_NOLEGACY_API_SUPPORT
|
|
|
|
#include <elm_toolbar_legacy.h>
|
|
|
|
#endif
|
2012-11-11 23:29:17 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|