Re: [E-devel] How to grab a key event if the key binding is set in e

2010-02-22 Thread The Rasterman
On Mon, 22 Feb 2010 09:29:22 +0100 daniele_athome said: > Hello, I have another use case for this issue I need to implement myself. > > I use the power button in my own applications to do some actions in > them, but I want to do those actions only on short press; on long > press a lock-app shoul

Re: [E-devel] How to grab a key event if the key binding is set in e

2010-02-22 Thread Gustavo Sverzut Barbieri
On Mon, Feb 22, 2010 at 5:29 AM, daniele_athome wrote: > Hello, I have another use case for this issue I need to implement myself. > > I use the power button in my own applications to do some actions in > them, but I want to do those actions only on short press; on long > press a lock-app should a

Re: [E-devel] How to grab a key event if the key binding is set in e

2010-02-22 Thread daniele_athome
Hello, I have another use case for this issue I need to implement myself. I use the power button in my own applications to do some actions in them, but I want to do those actions only on short press; on long press a lock-app should activate. So my idea was something like delayed action in enlighte

Re: [E-devel] How to grab a key event if the key binding is set in e

2010-02-21 Thread Brian Wang
On Mon, Feb 22, 2010 at 12:33 PM, Carsten Haitzler wrote: > On Mon, 22 Feb 2010 11:33:48 +0800 Brian Wang > said: > >> How about the lock key?  On a portable gadget, the power button is >> often used as a lock button.  Here is the scenario: >> * WM handles the POWER button, which is configured t

Re: [E-devel] How to grab a key event if the key binding is set in e

2010-02-21 Thread The Rasterman
On Mon, 22 Feb 2010 11:33:48 +0800 Brian Wang said: > How about the lock key? On a portable gadget, the power button is > often used as a lock button. Here is the scenario: > * WM handles the POWER button, which is configured to call a lock app. > * POWER button is pressed -> lock-app starts up

Re: [E-devel] How to grab a key event if the key binding is set in e

2010-02-21 Thread Brian Wang
On Mon, Feb 22, 2010 at 10:04 AM, Gustavo Sverzut Barbieri wrote: > On 2/21/10, Brian Wang wrote: >> On Sun, Feb 14, 2010 at 9:20 AM, Carsten Haitzler >> wrote: >>> On Fri, 12 Feb 2010 16:18:21 +0800 Brian Wang >>> said: >>> Hello all, Here comes another newbie's question: H

Re: [E-devel] How to grab a key event if the key binding is set in e

2010-02-21 Thread Brian Wang
On Mon, Feb 22, 2010 at 9:39 AM, Carsten Haitzler wrote: > On Mon, 22 Feb 2010 09:24:02 +0800 Brian Wang > said: > >> On Sun, Feb 14, 2010 at 9:20 AM, Carsten Haitzler >> wrote: >> > On Fri, 12 Feb 2010 16:18:21 +0800 Brian Wang >> > said: >> > >> >> Hello all, >> >> >> >> Here comes another n

Re: [E-devel] How to grab a key event if the key binding is set in e

2010-02-21 Thread The Rasterman
On Mon, 22 Feb 2010 09:24:02 +0800 Brian Wang said: > On Sun, Feb 14, 2010 at 9:20 AM, Carsten Haitzler > wrote: > > On Fri, 12 Feb 2010 16:18:21 +0800 Brian Wang > > said: > > > >> Hello all, > >> > >> Here comes another newbie's question: > >> How can I grab a key event if the key binding is

Re: [E-devel] How to grab a key event if the key binding is set in e

2010-02-21 Thread Gustavo Sverzut Barbieri
On 2/21/10, Brian Wang wrote: > On Sun, Feb 14, 2010 at 9:20 AM, Carsten Haitzler > wrote: >> On Fri, 12 Feb 2010 16:18:21 +0800 Brian Wang >> said: >> >>> Hello all, >>> >>> Here comes another newbie's question: >>> How can I grab a key event if the key binding is already set in >>> enlightenme

Re: [E-devel] How to grab a key event if the key binding is set in e

2010-02-21 Thread Brian Wang
On Sun, Feb 14, 2010 at 9:20 AM, Carsten Haitzler wrote: > On Fri, 12 Feb 2010 16:18:21 +0800 Brian Wang > said: > >> Hello all, >> >> Here comes another newbie's question: >> How can I grab a key event if the key binding is already set in >> enlightenment? >> >> Thanks in advance. > > once a w

Re: [E-devel] How to grab a key event if the key binding is set in e

2010-02-13 Thread The Rasterman
On Fri, 12 Feb 2010 16:18:21 +0800 Brian Wang said: > Hello all, > > Here comes another newbie's question: > How can I grab a key event if the key binding is already set in enlightenment? > > Thanks in advance. once a wm grabs a key - it is gone for application input. event gets delivered to t

[E-devel] How to grab a key event if the key binding is set in e

2010-02-12 Thread Brian Wang
Hello all, Here comes another newbie's question: How can I grab a key event if the key binding is already set in enlightenment? Thanks in advance. brian -- brian -- Cool-Karaoke - The smallest recording studio, in your palm, open-sourced http://cool-idea.com.tw/ iMaGiNaTiOn