X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Flib%2Felm_gengrid.h;h=8ab0cdb91d27ddfef53de969fec1ba7b1ce49a67;hb=4e2f88afcdffca053e5d68a07cf66c1209b42d87;hp=6b3e0e6c1117d4335814e0fb7378087a247d9b39;hpb=2e02b3dff3497618240e57427cbf95d741293b7a;p=framework%2Fuifw%2Felementary.git diff --git a/src/lib/elm_gengrid.h b/src/lib/elm_gengrid.h index 6b3e0e6..8ab0cdb 100644 --- a/src/lib/elm_gengrid.h +++ b/src/lib/elm_gengrid.h @@ -1464,5 +1464,42 @@ EAPI Elm_Object_Select_Mode_Type elm_gengrid_select_mode_get(const Evas_Object *obj); /** + * Set whether the gengrid items' should be hilighted when item selected. + * + * @param obj The gengrid object. + * @param hilight @c EINA_TRUE to enable hilight or @c EINA_FALSE to + * disable it. + * + * This will turn on/off the hilight effect when items are selected and + * they will or will not be hilighted. The selected and clicked + * callback functions will still be called. + * + * hilight is enabled by default. + * + * @see elm_gengrid_hilight_mode_get(). + * + * @ingroup Gengrid + */ + +EAPI void +elm_gengrid_hilight_mode_set(Evas_Object *obj, + Eina_Bool hilight); + +/** + * Get whether the gengrid items' should be hilighted when item selected. + * + * @param obj The gengrid object. + * @return @c EINA_TRUE means items can be hilighted. @c EINA_FALSE indicates + * they can't. If @p obj is @c NULL, @c EINA_FALSE is returned. + * + * @see elm_gengrid_hilight_mode_set() for details. + * + * @ingroup Gengrid + */ + +EAPI Eina_Bool +elm_gengrid_hilight_mode_get(const Evas_Object *obj); + +/** * @} */