Dear All.

I added a new feature "reorder mode" of gengrid refer to genlist reorder
mode.

After set this reorder API, if user press an item (long press), the item can
be moved another position.
Then if the user releases the item, the item will be reordered in gengrid.

Please review this patch.

Thanks.

[API]
==================================================================
/**
 * Set the reorder mode
 *
 * @param obj The Gengrid object
 * @param reorder_mode The reorder mode
 * (EINA_TRUE = on, EINA_FALSE = off)
 *
 * @ingroup Gengrid
 */
EAPI void
elm_gengrid_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode)

/**
 * Get the reorder mode
 *
 * @param obj The Gengrid object
 * @return The reorder mode
 * (EINA_TRUE = on, EINA_FALSE = off)
 *
 * @ingroup Gengrid
 */
EAPI Eina_Bool
elm_gengrid_reorder_mode_get(const Evas_Object *obj)
==================================================================

Attachment: elm_gengrid.patch
Description: Binary data

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to