2011-12-29 23:20:48 -08:00
|
|
|
/**
|
2016-03-16 08:05:31 -07:00
|
|
|
* @defgroup Elm_Diskselector Diskselector
|
2011-12-29 23:20:48 -08:00
|
|
|
* @ingroup Elementary
|
|
|
|
*
|
2012-07-17 15:09:07 -07:00
|
|
|
* @image html diskselector_inheritance_tree.png
|
|
|
|
* @image latex diskselector_inheritance_tree.eps
|
|
|
|
*
|
2011-12-29 23:20:48 -08:00
|
|
|
* @image html img/widget/diskselector/preview-00.png
|
|
|
|
* @image latex img/widget/diskselector/preview-00.eps
|
|
|
|
*
|
|
|
|
* A diskselector is a kind of list widget. It scrolls horizontally,
|
|
|
|
* and can contain label and icon objects. Three items are displayed
|
|
|
|
* with the selected one in the middle.
|
|
|
|
*
|
|
|
|
* It can act like a circular list with round mode and labels can be
|
|
|
|
* reduced for a defined length for side items.
|
|
|
|
*
|
2012-07-17 15:09:07 -07:00
|
|
|
* This widget implements the @b @ref elm-scrollable-interface
|
|
|
|
* interface, so that all (non-deprecated) functions for the base @ref
|
|
|
|
* Scroller widget also work for diskselectors.
|
|
|
|
*
|
|
|
|
* Some calls on the diskselector's API are marked as @b deprecated,
|
|
|
|
* as they just wrap the scrollable widgets counterpart functions. Use
|
|
|
|
* the ones we point you to, for each case of deprecation here,
|
|
|
|
* instead -- eventually the deprecated ones will be discarded (next
|
|
|
|
* major release).
|
|
|
|
*
|
|
|
|
* This widget emits the following signals, besides the ones sent from
|
|
|
|
* @ref Layout:
|
|
|
|
* @li @c "selected" - when item is selected, i.e. scroller stops.
|
2013-06-09 22:51:22 -07:00
|
|
|
* @li @c "clicked" - This is called when a user clicks an item (since 1.8)
|
2012-07-17 15:09:07 -07:00
|
|
|
* @li @c "scroll,anim,start" - scrolling animation has started
|
|
|
|
* @li @c "scroll,anim,stop" - scrolling animation has stopped
|
|
|
|
* @li @c "scroll,drag,start" - dragging the diskselector has started
|
|
|
|
* @li @c "scroll,drag,stop" - dragging the diskselector has stopped
|
elm: fixed focused and unfocused documentation.
1. ctxpopup, fileselector_entry, naviframe, popup, bubble, button, calendar, check, clock, colorselector, datetime, diskselector, flipselector, gengrid.
2. since 1.8
2013-06-09 21:44:25 -07:00
|
|
|
* @li @c "focused" - When the diskselector has received focus. (since 1.8)
|
|
|
|
* @li @c "unfocused" - When the diskselector has lost focus. (since 1.8)
|
2014-01-23 03:07:20 -08:00
|
|
|
* @li @c "language,changed" - the program's language changed (since 1.9)
|
2013-06-09 02:55:42 -07:00
|
|
|
*
|
2012-03-14 05:29:22 -07:00
|
|
|
* @note The "scroll,anim,*" and "scroll,drag,*" signals are only emitted by
|
|
|
|
* user intervention.
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* Available styles for it:
|
|
|
|
* - @c "default"
|
|
|
|
*
|
2012-02-27 18:39:31 -08:00
|
|
|
* Default content parts of the diskselector items that you can use for are:
|
2011-12-30 02:53:37 -08:00
|
|
|
* @li "icon" - An icon in the diskselector item
|
|
|
|
*
|
|
|
|
* Default text parts of the diskselector items that you can use for are:
|
2014-09-04 09:11:58 -07:00
|
|
|
* @li "default" - A label of the diskselector item
|
2012-01-08 22:55:51 -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_part_text_set
|
|
|
|
* @li @ref elm_object_item_part_text_get
|
|
|
|
* @li @ref elm_object_item_part_content_set
|
|
|
|
* @li @ref elm_object_item_part_content_get
|
2012-01-08 22:55:51 -08:00
|
|
|
*
|
2011-12-29 23:20:48 -08:00
|
|
|
* List of examples:
|
|
|
|
* @li @ref diskselector_example_01
|
|
|
|
* @li @ref diskselector_example_02
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2016-03-16 08:05:31 -07:00
|
|
|
* @addtogroup Elm_Diskselector
|
2011-12-29 23:20:48 -08:00
|
|
|
* @{
|
|
|
|
*/
|
|
|
|
|
Elementary: header split for DateTime, DaySelector, DiskSelector, Entry,
Flip, Flip Selector, Frame, Gesture Layer, GLView, Hover, Icon,
Inwin, Label.
2013-04-28 00:23:15 -07:00
|
|
|
#include "elm_diskselector_common.h"
|
|
|
|
#ifndef EFL_NOLEGACY_API_SUPPORT
|
|
|
|
#include "elm_diskselector_legacy.h"
|
|
|
|
#endif
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|