On Monday 03 September 2012 11:50, Carsten Haitzler wrote : > On Mon, 20 Aug 2012 23:32:41 +0200 Jérémy Zurcher <jer...@asynk.ch> said: > > > What I try to achieve is: > > - having a focused alpha fullscreen window > > - with a centered image showing the actual layout > > - shift and alt key down will show the corresponding image > > - Esc key down will destroy the win and give the focus back to the latest > > win > > - other key down will destroy the win and forward the event to the latest > > win > > > > I think I'm almost there using e_popup and edje, except focus and event > > forwarding. > > well e_popup is better. why do you need to deal with focus and event > forwarding? you don't need it at all. all you need is to grab the escape KEY > (like keybindings do) and hide the popup when escape is hit. it's simpler. > MUCH > simpler and it also means it stays around even while you type which isn't too > bad. :) event forwarding is a real pain and you really want to avoid it if you > can.
I followed your advises and implemented it using e_popup. It works well for a few weeks now and is usefull to me. I need event forwarding because I want to forward the last keydown which is not a shift or alt or esc, to the previous window so one does not need to press twice the searched key. you'll find here a just rebased diff http://cgit.asynk.ch/e/commit/?h=wip-xkb&id=3bb84b740b3dc4234b85e724c0738b17bc8efc08 could you point me the direction to the keydown forwarding and maybe tell me if this small addon could find it's place in E? if so what should be the path to search for layout edje file for? thanks > > > regards > > Jérémy > > > > On Sunday 12 August 2012 15:27, Carsten Haitzler wrote : > > > On Thu, 9 Aug 2012 15:18:48 +0200 jer...@asynk.ch said: > > > > > > I've looked at your patch and am really curious - wondering what exactly > > > you > > > want to achieve. from the LOOk of it you are just trying to place the icon > > > of your kbdlayout in the middle of the screen when you press a keycombo > > > (bound to an action). > > > > > > now what looks odd is HOW u are doing this... can you describe EXACTLY > > > what > > > you WANT to achieve? (e you use an e_win - where a popup would probably be > > > much more correct). i dont know why you store the current focused window > > > in > > > the struct at all. you look for icons in the e user dir - not system dir? > > > why?... back to.. what do u want to achieve? :) > > > > > > > Hi devs, > > > > > > > > as I bought meself a typematrix 2030 and switched my layout from CH_fr > > > > to fr_bepo, It felt like I needed an on screen keyboard preview. > > > > Hence my first e hack. > > > > > > > > Comments(even harsh), and help(alpha, event forwarding) welcome. > > > > > > > > Jérémy > > > > > > > > > -- > > > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > > > The Rasterman (Carsten Haitzler) ras...@rasterman.com > > > > > > > -- > > Jérémy Zurcher > > av General Guisan 49 > > 1400 Yverdon-les-bains > > +41 (0) 79 599 84 27 > > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > The Rasterman (Carsten Haitzler) ras...@rasterman.com > -- Jérémy Zurcher av General Guisan 49 1400 Yverdon-les-bains +41 (0) 79 599 84 27 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel