From 38608b3c33d20b3c3ac29801a7643db4c164a283 Mon Sep 17 00:00:00 2001 From: "shashank.p" Date: Tue, 8 Mar 2016 07:47:57 +0100 Subject: [PATCH] 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 --- legacy/elementary/src/lib/elm_genlist.eo | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/legacy/elementary/src/lib/elm_genlist.eo b/legacy/elementary/src/lib/elm_genlist.eo index f3a0d09..ee2dd0e 100644 --- a/legacy/elementary/src/lib/elm_genlist.eo +++ b/legacy/elementary/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; } -- 2.7.4