Genlist: Add function to search item by string.
authorKateryna Fesyna <k.fesyna@samsung.com>
Tue, 27 May 2014 06:53:11 +0000 (15:53 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Tue, 27 May 2014 06:55:05 +0000 (15:55 +0900)
commite4e57dc1949e7e2f5a08e54ceda039c6ab3c47f4
treecdc0ee1a093517023e2f1ff3de127cf873dfec98
parent71fc5afd638dc0e59403bd774a4bcc72e9db84e0
Genlist: Add function to search item by string.

Summary:
This function allows user to search for item in Genlist.
It takes four search parameters:
1. pointer to function to get text of the item. It could be the same with item's
   get_text function. This parameter is added to let user use the specific search key
   and to avoid problems with setting item's text, that is not constant.
2. pointer to the item from which search should start.
3. search pattern.
4. fnmatch() flags.
To check it's usage the new test is added to the elementary_test (Genlist Item Search By Text)

Reviewers: cedric, seoz, raster

CC: reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D566
src/bin/test.c
src/bin/test_genlist.c
src/lib/elm_genlist.c
src/lib/elm_genlist.eo
src/lib/elm_genlist_legacy.h