Carsten Haitzler (The Rasterman) wrote:
On Tue, 14 Jun 2005 23:37:41 +0200 joel vennin <[EMAIL PROTECTED]> babbled:
Hello,
I've a little problem, let me explain:
I have a XWindow (Window) that can receive user defined XEvent. When
the Window get this event it should make some stuff. I want to know
how can i register (with the EFL API) a callback to the window
sensitive to a specific XEvent.
no - u want to add a handler - not a filter handler. the filter handlers are for
filtering out useless events before the events get processed. :)
And a user defined event is surely at ClientMessage, or event
ECORE_X_EVENT_CLIENT_MESSAGE which returns Ecore_X_Event_Client_Message
to the user.
Check out ecore_event_handler_add()
Sebastian
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel