From: Hyoyoung Chang <hyoyoung@gmail.com>
[framework/uifw/elementary.git] / src / lib / elm_gengrid.h
index 6b3e0e6..8ab0cdb 100644 (file)
@@ -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);
+
+/**
  * @}
  */