On Wed, Aug 24, 2011 at 7:02 PM, Drucker, Benjamin T
<benjamin.t.druc...@intel.com> wrote:
> I have a bunch of screens among which I animate with horizontal swipes.  
> Right now I have implemented this as an elm list where each list item is the 
> size of the whole screen.  I can swipe left or right to get different screens.
>
> The problem is that I only want to see full screens, i.e. paged scrolling 
> like gengrid has.  It doesn't look like the list or even the genlist has 
> this.  If I could get to the underlying smart scroller of the list, I could 
> do this I think.
>
> Short of hacking the elm library, is there a way I can do this?  Maybe I need 
> to reimplement my list as a horizontal gengrid that is only tall enough to 
> hold one row of items?  I am a little loath to make this change since I have 
> not, to date, seen (relative) paging working on other gengrids I have.

Elementary API is not set in stone yet, so we can take patch :-) I
think that adding page to genlist make sense as this is a feature
gengrid already have. My personnal opinion is that genlist and gengrid
are really the same kind of object, just with a different layout
function. So they should provide the same kind of feature and they
should have a very close API. Right now, the code doesn't express that
at all, that's why gengrid is far less optimal than genlist, but you
get the idea.
-- 
Cedric BAIL

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to