Hi,

I've checkouted the SPLIT branch of Ecore yesterday ( may 17th ), and I am having trouble upgrading my apps to work with this new version.

Actually I am trying to add functionality to rephorm's standalone version of e's iconbar. I'd like it to cache the currently launched app's, so clicking on the icon of an open app would raise it rather than launching it again.

I'm trying to bind callbacks to CreateNotify, DestroyNotify, etc. It woked ok with the old ecore, I didn't manage to have it working with the new one. Browsing through ecore_x's source I didn't find the answer. But as in his "state of the E-nion" raster says that ecore has wrappers for all x events, I assumed this should work.

Here is what my code looks like:



main()
{
  int x, y, w, h;
  char buf[2048];

ecore_init();
ecore_evas_init();
ee = ecore_evas_software_x11_new(NULL,0,0,0,50,100);
ecore_evas_callback_mouse_out_set(ee,window_leave);
ecore_evas_callback_resize_set(ee, resize);
ecore_evas_callback_move_set(ee, resize);


ecore_event_handler_add(ECORE_EVENT_SIGNAL_EXIT, cb_exit, ee);

ecore_evas_callback_delete_request_set(ee, cb_exit);

ecore_event_handler_add(ECORE_X_EVENT_KEY_UP, key_up, NULL);
ecore_event_handler_add(ECORE_X_EVENT_WINDOW_CREATE, window_create, NULL);
...


The last two lines are not working, the events sent are never sent. Did I forget anything ?


btw, what is an event filter ? I don't understand what the command ecore_event_filter_add is supposed to do.



thanks Marc



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
enlightenment-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to