From: Marco T. (T. <ma...@3v...> - 2010-11-09 20:08:09
|
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... M3T |