On Fri, Feb 25, 2011 at 12:28 PM, Frederik Sdun <[email protected]> wrote: > Moin, > > I wrote a (not yet finished) patch to filter and search in gengrids. If > you like this feature I would step up to implement it for the other > grids/lists/... > > But there are some questions in current stage: > * to allow the user to show a widget with the current searchstring: > should i emit a signal or allow him to set a methods to > start,hide,delete,update his widgets? > * should i add a default indicator? > > current BUGS: > * item not shown after cancel: press w -> scroll -> backspace > * Your bug here > > Any additional ideas I should implement, too? > Maybe sort by rating of the compare callback? > > If you want to test it: the patch includes some addional lines for > elementary_test-> Gengrid in filter mode. If you want to test search > mode: replace elm_gengrid_filter_set by elm_gengrid_search_set.
No time to review or test it now, but I LOVE this idea. As such I guess elm_list and elm_genlist should have similar infrastructure, could you make them generic? At least function callback signatures and names? That said I guess having the search entry out of the widget would make more sense. It's simple to do with elm_scrolled_entry, you can even swallow clear and search buttons inside both icon/end so you have something like KDE's, web or some mobile systems. -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [email protected] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
