On Wed, 19 Jan 2005 18:44:05 -0800 Juan Med__n <[EMAIL PROTECTED]> babbled:
(B
(B>       I'don't know if questions like this belong to this list. If it doesn't,
(Bjust 
(B> let me know.
(B> 
(B>       I'm trying to add an event handler to an Ecore_Evas object. I'm just
(Busing a 
(B> call to:
(B> 
(B>       ecore_event_handler_add(ECORE_X_EVENT_MOUSE_IN, aCallbackFunction,
(BNULL);
(B
(Bthats fine
(B
(B>       ecore_x_events_allow_all();
(B
(Bno - this function does not do what you want. its for grabs (key and button)
(Bwhen they are trapped you call this to allow them on. you need to select the
(Bevent mask on the window as well to start getting the events :)
(B
(B>       But the callback function never is invoked. 
(B> 
(B>       If I set a timer callback function like:
(B> 
(B>       ecore_timer_add(0.5, aTimerCallbackFunction, NULL);
(B> 
(B>       It works beautifully.
(B> 
(B>       Is there anything else I must do after adding the event handler ?
(B
(Brun the main loop? :) create a window to actually accept events? show it? :)
(B
(B>       - Juan
(B>       
(B> 
(B> 
(B> -------------------------------------------------------
(B> The SF.Net email is sponsored by: Beat the post-holiday blues
(B> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
(B> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
(B> _______________________________________________
(B> enlightenment-devel mailing list
(B> [email protected]
(B> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
(B> 
(B
(B
(B-- 
(B------------- Codito, ergo sum - "I code, therefore I am" --------------
(BThe Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
$BMg9%B?(B                              [EMAIL PROTECTED]
(BTokyo, Japan ($BEl5~(B $BF|K\(B)
(B
(B
(B-------------------------------------------------------
(BThis SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
(BTool for open source databases. Create drag-&-drop reports. Save time
(Bby over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
(BDownload a FREE copy at http://www.intelliview.com/go/osdn_nl
(B_______________________________________________
(Benlightenment-devel mailing list
([email protected]
(Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to