aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshashank.p <shashank.p@samsung.com>2016-03-08 07:47:57 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2016-03-08 07:50:07 +0100
commit339da71b84b136c8ed8ab286e64d9615167e308a (patch)
tree0a39d876e76f0e510f563e8ada567b8ea2212d19
parentfileselector: clarify the condition statement for checking ok button (diff)
downloadelementary-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.eo7
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;
}