2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* @defgroup Check Check
|
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 check_inheritance_tree.png
|
|
|
|
* @image latex check_inheritance_tree.eps
|
|
|
|
*
|
2011-12-29 23:20:48 -08:00
|
|
|
* @image html img/widget/check/preview-00.png
|
|
|
|
* @image latex img/widget/check/preview-00.eps
|
|
|
|
* @image html img/widget/check/preview-01.png
|
|
|
|
* @image latex img/widget/check/preview-01.eps
|
|
|
|
* @image html img/widget/check/preview-02.png
|
|
|
|
* @image latex img/widget/check/preview-02.eps
|
|
|
|
*
|
2012-05-03 15:42:03 -07:00
|
|
|
* @brief The check widget allows for toggling a value between true
|
|
|
|
* and false.
|
|
|
|
*
|
|
|
|
* Check objects are a lot like radio objects in layout and
|
|
|
|
* functionality, except they do not work as a group, but
|
|
|
|
* independently, and only toggle the value of a boolean between false
|
|
|
|
* and true. elm_check_state_set() sets the boolean state and
|
|
|
|
* elm_check_state_get() returns the current state. For convenience,
|
|
|
|
* like the radio objects, you can set a pointer to a boolean directly
|
|
|
|
* with elm_check_state_pointer_set() for it to modify.
|
|
|
|
*
|
|
|
|
* 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" - This is called whenever the user changes the state of
|
|
|
|
* the check objects (@c event_info is always @c NULL).
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2012-02-27 18:39:31 -08:00
|
|
|
* Default content parts of the check widget that you can use for are:
|
2011-12-29 23:20:48 -08:00
|
|
|
* @li "icon" - An icon of the check
|
|
|
|
*
|
|
|
|
* Default text parts of the check widget that you can use for are:
|
2012-01-02 04:53:29 -08:00
|
|
|
* @li "default" - A label of the check
|
|
|
|
* @li "on" - On state label of the check
|
|
|
|
* @li "off" - Off state label of the check
|
|
|
|
*
|
|
|
|
* Supported elm_object common APIs.
|
2012-04-17 13:33:59 -07:00
|
|
|
* @li @ref elm_object_disabled_set
|
|
|
|
* @li @ref elm_object_disabled_get
|
|
|
|
* @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
|
|
|
|
* @li @ref elm_object_signal_emit
|
|
|
|
* @li @ref elm_object_signal_callback_add
|
|
|
|
* @li @ref elm_object_signal_callback_del
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2011-12-29 23:41:47 -08:00
|
|
|
* @ref tutorial_check should give you a firm grasp of how to use this widget.
|
2012-03-28 02:02:22 -07:00
|
|
|
*
|
2011-12-29 23:20:48 -08:00
|
|
|
* @{
|
|
|
|
*/
|
2011-12-29 23:41:47 -08:00
|
|
|
|
2013-04-27 23:50:23 -07:00
|
|
|
#ifdef EFL_EO_API_SUPPORT
|
|
|
|
#include "elm_check_eo.h"
|
|
|
|
#endif
|
|
|
|
#ifndef EFL_NOLEGACY_API_SUPPORT
|
|
|
|
#include "elm_check_legacy.h"
|
|
|
|
#endif
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|