I've applied it on svn.
It may be interesting for cases when you may want to give some kind of
feedback to users that the list is on the edge (maybe playing a sound,
who knows =) )

But for adding / deleting items on the fly, please verify if genlist
doesn't provide everything you need.
>From elm_genlist doc:

 In order to implement the ability to add and delete items on the fly,
 Genlist implements a class/callback system where the application provides
 a structure with information about that type of item (genlist may contain
 multiple different items with different classes, states and styles).
 Genlist will call the functions in this struct (methods) when an item is
 “realized” (that is created dynamically while scrolling). All objects will
 simply be deleted  when no longer needed with evas_object_del().

These edge signals will be emitted after the scroller stops, and
possibly bounces, what can leads you to a weird look and feel
if the idea is to create a dynamic list, if I'm not missing something.

Best regards,

On Wed, Nov 10, 2010 at 12:05 AM, Daniel Juyung Seo
<seojuyu...@gmail.com> wrote:
> This idea looks excellent.
> We needed this feature.
> I would test this very soon on the phone.
>
> Thank you.
>
> Daniel Juyung Seo.
>
> On Wed, Nov 10, 2010 at 6:36 AM, Rui Miguel Silva Seabra <r...@1407.org> 
> wrote:
>> Em 09-11-2010 20:07, Marco Trevisan (Treviño) escreveu:
>>> This small patch allows to get a smart callback when the scrollers in an
>>> elm_list or in an elm_genlist fire the edge,{top,bottom,left,right}
>>> signals, backporting them to the list object.
>>>
>>> The new smart callbacks called are:
>>>   · "scroll,edge,top" - the list is scrolled until the top edge
>>>   · "scroll,edge,bottom" - the list is scrolled until the bottom edge
>>>   · "scroll,edge,left" - the list is scrolled until the left edge
>>>   · "scroll,edge,right" - the list is scrolled until the right edge
>>>
>>> I figure this could be useful for creating dynamic lists which get
>>> updated (adding more items) when the bottom edge is reached...
>>
>> Yummy!
>>
>> Rui
>>
>> ------------------------------------------------------------------------------
>> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
>> David G. Thomson, author of the best-selling book "Blueprint to a
>> Billion" shares his insights and actions to help propel your
>> business during the next growth cycle. Listen Now!
>> http://p.sf.net/sfu/SAP-dev2dev
>> _______________________________________________
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to