Hi, > ------- Original Message ------- > Sender : Carsten Haitzler<ras...@rasterman.com> > Date : Feb 15, 2013 20:15 (GMT+09:00) >Title : Re: [E-devel] [Query] Controlling further eventing on an edje >draggable part programmatically > > On Fri, 15 Feb 2013 11:02:13 +0000 (GMT) Rajeev Ranjan said: > >> Hi, >> I have a requirement where on certain event like on resize I dont want to >> keep allowing dragging for an edje draggable part even if mouse,up/touch,up >> has not yet been done after mouse,down. > > this sounds odd. can you please expand on why you need/want this? > Basically my requirement is related to elm_panes(vertical) where in landscape mode we have both contents set and in portrait mode, we have single content set and left size set to 1.0 to hide the other content area. Now when we tap on handler in panes in landscape mode and without lifting finger, rotate the device to portrait mode, then still the handler can be dragged. In this case, it is unwanted if there is a single content in portrait mode and the other one is unset when mode is portrait.
>> For this, I used pointer_mode: NOGRAB for draggable part but it didn't work >> in case of draggable as it kept taking drag events even if the mouse/touch >> was outside draggable geometry. Even synthesizing mouse,up,1 with source >> "" in edc had no effect and drag event was continuously >> going to the draggable part. > > nograb is a totally different thing to what you want i think.. so it's not > going to help :) >> I tested pointer_mode with NOGRAB option for parts other than draggable and found that the events outside the part geometry are ignored in this case(including mouse,up), so I thought that may be this should work with draggable as well. >> Please let me know if there is any way we can control this (avoiding further >> drag event for a drag part) programmatically. >> >> Thank you. >> Regards, >> Rajeev >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> http://p.sf.net/sfu/sophos-d2d-feb >> _______________________________________________ >> enlightenment-devel mailing list >> enlightenment-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> > > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > The Rasterman (Carsten Haitzler) ras...@rasterman.com Thank you. Regards, Rajeev ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel