[Elm] Colorselector now a layout.

SVN revision: 70743
This commit is contained in:
Gustavo Lima Chaves 2012-05-03 22:44:31 +00:00
parent 7abded1fb1
commit 97622d3d34
2 changed files with 1105 additions and 975 deletions

File diff suppressed because it is too large Load Diff

View File

@ -5,19 +5,26 @@
* @image html img/widget/colorselector/preview-00.png
* @image latex img/widget/colorselector/preview-00.eps
*
* A ColorSelector is a color selection widget. It allows application to set a
* series of colors.It also allows to load/save colors from/to config with a
* unique identifier, by default, the colors are loaded/saved from/to config
* using "default" identifier.
* The colors can be picked by user from the color set by clicking on individual color
* item on the palette or by selecting it from selector.
* A ColorSelector is a color selection widget. It allows application
* to set a series of colors.It also allows to load/save colors
* from/to config with a unique identifier, by default, the colors are
* loaded/saved from/to config using "default" identifier. The colors
* can be picked by user from the color set by clicking on individual
* color item on the palette or by selecting it from selector.
*
* Signals that you can add callbacks for are:
* - "changed" - When the color value changes on selector(event_info is NULL).
* - "color,item,selected" - When user clicks on color item. The event_info parameter
* of the callback will be the selected color item.
* - "color,item,longpressed" - When user long presses on color item. The event info
* parameter of the callback contains selected color item.
* This widget inherits from the @ref Layout one, so that all the
* functions acting on it also work for check objects.
*
* This widget emits the following signals, besides the ones sent from
* @ref Layout:
* - @c "changed" - When the color value changes on selector
* event_info is NULL.
* - @c "color,item,selected" - When user clicks on color item. The
* event_info parameter of the callback will be the selected color
* item.
* - @c "color,item,longpressed" - When user long presses on color
* item. The event info parameter of the callback contains selected
* color item.
*
* See @ref tutorial_colorselector.
* @{