2011-12-29 23:20:48 -08:00
|
|
|
/**
|
2016-03-16 08:05:31 -07:00
|
|
|
* @defgroup Elm_Progressbar Progress bar
|
2012-04-16 18:35:46 -07:00
|
|
|
* @ingroup Elementary
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2012-06-05 15:41:21 -07:00
|
|
|
* @image html progressbar_inheritance_tree.png
|
|
|
|
* @image latex progressbar_inheritance_tree.eps
|
|
|
|
*
|
2011-12-29 23:20:48 -08:00
|
|
|
* The progress bar is a widget for visually representing the
|
|
|
|
* progress status of a given job/task.
|
|
|
|
*
|
|
|
|
* A progress bar may be horizontal or vertical. It may display an
|
|
|
|
* icon besides it, as well as primary and @b units labels. The
|
|
|
|
* former is meant to label the widget as a whole, while the
|
|
|
|
* latter, which is formatted with floating point values (and thus
|
|
|
|
* accepts a <c>printf</c>-style format string, like <c>"%1.2f
|
|
|
|
* units"</c>), is meant to label the widget's <b>progress
|
|
|
|
* value</b>. Label, icon and unit strings/objects are @b optional
|
|
|
|
* for progress bars.
|
|
|
|
*
|
2012-02-16 00:28:36 -08:00
|
|
|
* A progress bar may be @b inverted, in which case it gets its
|
|
|
|
* values inverted, i.e., high values being on the left or top and
|
|
|
|
* low values on the right or bottom, for horizontal and vertical modes
|
|
|
|
* respectively.
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* The @b span of the progress, as set by
|
|
|
|
* elm_progressbar_span_size_set(), is its length (horizontally or
|
|
|
|
* vertically), unless one puts size hints on the widget to expand
|
|
|
|
* on desired directions, by any container. That length will be
|
2012-02-16 00:28:36 -08:00
|
|
|
* scaled by the object or applications scaling factor.
|
|
|
|
* Applications can query the progress bar for its value with
|
2011-12-29 23:20:48 -08:00
|
|
|
* elm_progressbar_value_get().
|
|
|
|
*
|
2012-05-03 15:43:37 -07:00
|
|
|
* This widget inherits from the @ref Layout one, so that all the
|
|
|
|
* functions acting on it also work for progress bar objects.
|
|
|
|
*
|
2012-06-22 15:45:13 -07:00
|
|
|
* This widget emits the following signals, besides the ones sent from
|
|
|
|
* @ref Layout:
|
2013-06-09 22:51:22 -07:00
|
|
|
* @li @c "changed" - when the value is changed (since 1.7)
|
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
|
|
|
* @li @c "focused" - When the progressbar has received focus. (since 1.8)
|
|
|
|
* @li @c "unfocused" - When the progressbar 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)
|
2012-06-22 15:45:13 -07:00
|
|
|
*
|
2012-06-14 05:41:18 -07:00
|
|
|
* This widget has the following styles:
|
2011-12-29 23:20:48 -08:00
|
|
|
* - @c "default"
|
|
|
|
* - @c "wheel" (simple style, no text, no progression, only
|
|
|
|
* "pulse" effect is available)
|
|
|
|
*
|
2012-02-27 18:39:31 -08:00
|
|
|
* Default content parts of the progressbar widget that you can use for are:
|
2011-12-29 23:20:48 -08:00
|
|
|
* @li "icon" - An icon of the progressbar
|
|
|
|
*
|
2014-09-04 03:45:34 -07:00
|
|
|
* Default text parts of the progressbar widget that you can use for are:
|
2014-09-04 09:11:58 -07:00
|
|
|
* @li "default" - A label of the progressbar
|
2014-09-04 03:45:34 -07:00
|
|
|
*
|
2012-01-08 22:55:51 -08:00
|
|
|
* Supported elm_object common APIs.
|
2012-04-17 13:33:59 -07:00
|
|
|
* @li @ref elm_object_part_text_set
|
|
|
|
* @li @ref elm_object_part_text_get
|
|
|
|
* @li @ref elm_object_part_content_set
|
|
|
|
* @li @ref elm_object_part_content_get
|
|
|
|
* @li @ref elm_object_part_content_unset
|
2012-01-08 22:55:51 -08:00
|
|
|
*
|
2011-12-29 23:20:48 -08:00
|
|
|
* Here is an example on its usage:
|
|
|
|
* @li @ref progressbar_example
|
|
|
|
*/
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2014-04-10 00:36:38 -07:00
|
|
|
#include "elm_progressbar_common.h"
|
Elementary: Split headers for Map, Menu, Panel, Panes, Photocam, Plug,
Prefs, ProgressBar, Radio. Route, Segment Control, Separator, Slider,
Slideshow, Spinner, Systray, Table, Thumb, Video, Web.
2013-04-28 02:58:28 -07:00
|
|
|
#ifdef EFL_EO_API_SUPPORT
|
|
|
|
#include "elm_progressbar_eo.h"
|
|
|
|
#endif
|
|
|
|
#ifndef EFL_NOLEGACY_API_SUPPORT
|
|
|
|
#include "elm_progressbar_legacy.h"
|
|
|
|
#endif
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|