On Mon, Nov 29, 2010 at 4:30 PM, Iván Briano (Sachiel) <sachi...@gmail.com> wrote: > 2010/11/29 Dave Andreoli <d...@gurumeditation.it>: >> 2010/11/29 Tiago Falcão <ti...@profusion.mobi>: >>> Some time ago, we created a system to propagate events across the >>> Elementary widget tree, done mostly (and for now, only) to propagate >>> key events all the way to the top widget (usually, the window). It was >>> needed because the normal propagation Evas does works on Smart >>> Objects, but the Elementary works doesn't allow to make a smart member >>> out of every child of a widget. >>> >>> This system was internal, but we began to expose it, so the user can >>> hook his own callbacks to listen for key events at the window level >>> (or anything below), regardless of what widget is focused. This is >>> helpful for things like key bindings on an application. The user >>> callbacks will be called in case no widget in the tree processed the >>> event. >> >> So this will work only for key events, right? not mouse or others? >> >> If yes then the name: >> elm_widget_event_callback_add >> is wrong, should be something like: >> elm_widget_key_event_callback_add >> > > Only key events were done now out of necessity. I'm not sure more need > to be exposed, so before renaming stuff I guess we should think about > that.
Don't rename it, we'll find some usage for other non-key events as soon as we rename and freeze the API :-D -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel