diff options
author | shashank.p <shashank.p@samsung.com> | 2016-03-08 07:47:57 +0100 |
---|---|---|
committer | Marcel Hollerbach <marcel-hollerbach@t-online.de> | 2016-03-08 07:50:07 +0100 |
commit | 339da71b84b136c8ed8ab286e64d9615167e308a (patch) | |
tree | 0a39d876e76f0e510f563e8ada567b8ea2212d19 | |
parent | 1393440bda42090c9fe5b1080bb73c8e52e2be96 (diff) | |
download | elementary-339da71b84b136c8ed8ab286e64d9615167e308a.tar.gz |
elm_genlist: Added elm_genlist_filtered_items_count API
Summary: This clarifies the documentation of the new api.
Reviewers: SanghyeonLee, shilpasingh, cedric
Reviewed By: cedric
Subscribers: bu5hm4n, buds
Differential Revision: https://phab.enlightenment.org/D3725
-rw-r--r-- | src/lib/elm_genlist.eo | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/elm_genlist.eo b/src/lib/elm_genlist.eo index f3a0d0927..ee2dd0eec 100644 --- a/src/lib/elm_genlist.eo +++ b/src/lib/elm_genlist.eo @@ -426,10 +426,9 @@ class Elm.Genlist (Elm.Layout, Elm.Interface_Scrollable, Evas.Clickable_Interfac filtered_items_count @const { [[Return how many items have passed the filter currently. - This behaviour is O(1) and may or may not return the - filtered count for complete genlist based on the timing - of the call. To get complete count, call after "filter,done" - callback + This behaviour is O(1) and returns the count of items which + are currently passed by the filter. After "filter,done", the + call returns total count of the filtered items. ]] return: uint; } |