Re: [E-devel] Swipe event for the elm_list

2010-10-12 Thread Flávio Ceolin
Would be great in elm_genlist too. That's the idea, so we can have swipe to show extra actions... like use the state concept from genlist to show extra actions one may use (in your case: forward, retweet, view profile, ...;  in my case I want to show action to add music to playlist, or in

[E-devel] Swipe event for the elm_list

2010-10-06 Thread Flávio Ceolin
Hello, I have done a patch to add a new event for the elm_list similar to the iphone swipe's effect. The event is quite simple, it's triggered when a horizontal drag plus mouse release occur. There are two patches, the first is the feature itself and the second is just two examples for

Re: [E-devel] Swipe event for the elm_list

2010-10-06 Thread Tiago Falcão
I prefer two signals: swipe,left and swipe,right. You can want register both with the same callback. I doesn't like listen and store 15 or N mouse_move events, i prefer listen mouse_move only to validate the horizontal path and don't store all the history. We can calculate the swipe only in

Re: [E-devel] Swipe event for the elm_list

2010-10-06 Thread Gustavo Sverzut Barbieri
2010/10/6 Tiago Falcão ti...@profusion.mobi: I prefer two signals: swipe,left and swipe,right. You can want register both with the same callback. Ceolin asked me and I said go with one, if required we do others later. Most software I've tested just listen for generic swipe action and the

Re: [E-devel] Swipe event for the elm_list

2010-10-06 Thread Flávio Ceolin
New patch with the modifications suggested by Gustavo Barbieri. On Wed, Oct 6, 2010 at 5:05 PM, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: 2010/10/6 Tiago Falcão ti...@profusion.mobi: I prefer two signals: swipe,left and swipe,right. You can want register both with the same

Re: [E-devel] Swipe event for the elm_list

2010-10-06 Thread Rui Miguel Silva Seabra
Em 06-10-2010 21:05, Gustavo Sverzut Barbieri escreveu: 2010/10/6 Tiago Falcãoti...@profusion.mobi: I prefer two signals: swipe,left and swipe,right. You can want register both with the same callback. Ceolin asked me and I said go with one, if required we do others later. Most software I've

Re: [E-devel] Swipe event for the elm_list

2010-10-06 Thread Gustavo Sverzut Barbieri
On Wed, Oct 6, 2010 at 8:22 PM, Rui Miguel Silva Seabra r...@1407.org wrote:  Em 06-10-2010 21:05, Gustavo Sverzut Barbieri escreveu: 2010/10/6 Tiago Falcãoti...@profusion.mobi: I prefer two signals: swipe,left and swipe,right. You can want register both with the same callback. Ceolin asked