I'm assuming you're using Ecore_Evas to create a window/evas/etc. Ecore_Evas grabs all ECORE_X_EVENT's, causing your handler to not be called.

What you really want to be using is evas_object_event_callback_add(), with the EVAS_CALLBACK_* types.

hope that helps
--
rephorm


On Jan 19, 2005, at 8:44 PM, Juan Med�n 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
        


------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



------------------------------------------------------- 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