Yes, I'm him :) (Thank you for your help on IRC, btw)

I did read the code in e_menu.c (and related files), and didn't notice any
extra funtions to be invoked besides the ones you pointed out that night.
I'll take a look at the ecore_evas code as well (I should have already done
that).

I really miss some kind of tool to generate a graph of C code flow. I'm a OO
programmer, and this lack of encapsulation where everyting is everywhere
makes reading the code a bit harder :) - Don't get me wrong, my complain is
about C, not E code. Thanks god this project has a clear an readable code -

        - Juan

-----Mensaje original-----
De: Corey Donohoe [mailto:[EMAIL PROTECTED]
Enviado el: mi�rcoles, 19 de enero de 2005 20:21
Para: Juan Med�n
CC: [email protected]
Asunto: Re: [E-devel] How add events ?


I'm guessing it was you who asked this on IRC the other day, seriously look
into the ecore_evas callbacks :)

% grep mouse_ /usr/local/include/Ecore_Evas.h
EAPI void        ecore_evas_callback_mouse_in_set(Ecore_Evas *ee, void
(*func) (Ecore_Evas *ee));
EAPI void        ecore_evas_callback_mouse_out_set(Ecore_Evas *ee, void
(*func) (Ecore_Evas *ee));

* Juan Med�n ([EMAIL PROTECTED]) wrote:
>       I'don't know if questions like this belong to this list. If it doesn't,
just
> let me know.
>
>       I'm trying to add an event handler to an Ecore_Evas object. I'm just
using a
> call to:
>
>       ecore_event_handler_add(ECORE_X_EVENT_MOUSE_IN, aCallbackFunction, 
> NULL);
>       ecore_x_events_allow_all();
>
>       But the callback function never is invoked.
>
>       If I set a timer callback function like:
>
>       ecore_timer_add(0.5, aTimerCallbackFunction, NULL);
>
>       It works beautifully.
>
>       Is there anything else I must do after adding the event handler ?
>
>       - Juan
__
Corey Donohoe
http://www.atmos.org



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to