From: Carsten H. (T. R. <ra...@ra...> - 2010-05-14 03:31:13
|
On Fri, 14 May 2010 08:50:59 +0800 rui kou <mi...@gm...> said: there already is such a mode - you can enable it on a gadcon and it enables/disabled move/resize mode. > yea,I really want a generic binding to all gadgets > > 2010/5/13 Carsten Haitzler <ra...@ra...> > > > On Wed, 12 May 2010 13:04:28 +0800 rui kou <mi...@gm...> said: > > > > > Hi > > > > > > I want to add a lang pressed event callback to gadgets, for I am using a > > > table with touchscreen. > > > > > > I have find delayed_action in e_actions.c But how can I use it? > > > > thats a generic binding mechanism - not really for gadgets. your gagdet > > would > > handle a mouse press and release. press would start a timer. release delete > > it. > > if timer goes off - u held mouse for at least that long and thus u can do > > the > > delayed action. as such you may want to handle mouse moves too (it u click > > and > > drag then release - different to click and hold - also u may want a minimum > > amount of movement before it cancels the timer to allow for mouse wobble - > > or > > finger wobble) > > > > -- > > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > > The Rasterman (Carsten Haitzler) ra...@ra... > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > enlightenment-devel mailing list > enl...@li... > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ra...@ra... |