From: Christian K. <waf...@go...> - 2011-03-09 19:19:51
|
Yes, understood. >What's your use case? Other than simple tests? I write a calculator module, mainly with edje and embryo, and i wanted to add a quick keyboard entry. For the numbers i use elementary buttons, but they simply call internal embryo functions. But the point of getting the focus was a matter i thought of too. Its okay if this wont work, was just an idea. 2011/3/9 Gustavo Sverzut Barbieri <bar...@pr...> > On Wed, Mar 9, 2011 at 2:25 PM, Christian K. <waf...@go...> > wrote: > > Well, okay. > > > > Just for information: Any reason why? I'm curious. > > because there was never a reason (= use case) for that. First of all, > the object itself needs to have focus to receive events > (evas_object_focus_set(obj, EINA_TRUE)), and those who set this are > the ones that often react to these events... they are more complex to > handle, do you need keyname, symbol, modifiers? > > What's your use case? Other than simple tests? > > NB: if you have a TEXTBLOCK that is editable you can do more to it, it > is used as the base for elementary's elm_entry, so if you want > something like that, take a look there. > > > -- > Gustavo Sverzut Barbieri > http://profusion.mobi embedded systems > -------------------------------------- > MSN: bar...@gm... > Skype: gsbarbieri > Mobile: +55 (19) 9225-2202 > |