Dear all, I introduce a new feature "reorder mode" of genlist. Using this feature, user can reoder genlist items dynamically.
[API] ================================================================== - EAPI Eina_Bool elm_genlist_item_rename_mode_get(Elm_Genlist_Item *it) Get the rename mode state of an item. This gets the rename mode state of an item - EAPI void elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode) Set genlist reorder mode. This enables the item is moved to another item. ================================================================== 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 reodered in genlist. When the user releases the holding item, Elm_Genlist_Item_Class.func.moved callback is also called. If needed, the application can add some logic in that callback function. Please review this patch. Thanks.
genlist_reorder_mode.diff
Description: Binary data
------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel