Hey, how about "focused" "unfocused" edje signals (e.g. "elm.focused") for elm widgets by default? I think some widgets already use them, but probably emit them privately.
-- Leif Am Freitag, 7. Juni 2013 um 00:50 schrieb Leif Middelschulte: > Am Donnerstag, 6. Juni 2013 um 18:16 schrieb Daniel Juyung Seo: > > On Thu, Jun 6, 2013 at 8:23 PM, Leif Middelschulte < > > leif.middelschu...@gmail.com (mailto:leif.middelschu...@gmail.com)> wrote: > > > > > Am Mittwoch, 5. Juni 2013 um 22:41 schrieb Chris Michael: > > > > On 05/06/13 19:18, Leif Middelschulte wrote: > > > > > Hi, > > > > > > > > > > I want a function to be called once an object loses the focus. > > > > > > > > > > I tried to add an evas object event callback for > > > EVAS_CALLBACK_FOCUS_OUT, > > > > > but it never gets called. See the attached code. > > > > > > > > > > Hopefully I'm just doing something wrong. > > > > > > > > I believe what you want to use is: > > > > > > > > evas_object_smart_callback_add(obj, "focused", _cb_focused, NULL); > > > > evas_object_smart_callback_add(obj, "unfocused", _cb_unfocused, NULL); > > > > > > > > > > > > > Doesn't work either. I think that I've tried another one "focus,out" or > > > similar too, which neither worked. > > > > > > > Well it should work with "focused" and "unfocused" smart callbacks. > > Can you test it again with the latest elementary? > > I just pushed "focused"/"unfocused" smart callbacks for all the focusable > > widgets. > > > > > > > > Hey Daniel, > > thanks! I just tested the example code I provided, with the given smart > callbacks and recent efl/elm and it seems to work :) > > -- > Leif > > > > > Thanks. > > > > Daniel Juyung Seo (SeoZ) > > > > > > > -- > > > Leif > > > > > > > > > > > dh > > > > > > > ------------------------------------------------------------------------------ > > > > > How ServiceNow helps IT people transform IT departments: > > > > > 1. A cloud service to automate IT design, transition and operations > > > > > 2. Dashboards that offer high-level views of enterprise services > > > > > 3. A single system of record for all IT processes > > > > > http://p.sf.net/sfu/servicenow-d2d-j > > > > > > > > > > > > > > > _______________________________________________ > > > > > enlightenment-devel mailing list > > > > > enlightenment-devel@lists.sourceforge.net > > > > > (mailto:enlightenment-devel@lists.sourceforge.net) (mailto: > > > > > > > > > > > > > > > enlightenment-devel@lists.sourceforge.net > > > (mailto:enlightenment-devel@lists.sourceforge.net)) > > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > How ServiceNow helps IT people transform IT departments: > > > 1. A cloud service to automate IT design, transition and operations > > > 2. Dashboards that offer high-level views of enterprise services > > > 3. A single system of record for all IT processes > > > http://p.sf.net/sfu/servicenow-d2d-j > > > _______________________________________________ > > > enlightenment-devel mailing list > > > enlightenment-devel@lists.sourceforge.net > > > (mailto:enlightenment-devel@lists.sourceforge.net) > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > > ------------------------------------------------------------------------------ > > How ServiceNow helps IT people transform IT departments: > > 1. A cloud service to automate IT design, transition and operations > > 2. Dashboards that offer high-level views of enterprise services > > 3. A single system of record for all IT processes > > http://p.sf.net/sfu/servicenow-d2d-j > > _______________________________________________ > > enlightenment-devel mailing list > > enlightenment-devel@lists.sourceforge.net > > (mailto:enlightenment-devel@lists.sourceforge.net) > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > > > > ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel