diff options
-rw-r--r-- | src/extantz/extantz.c | 54 | ||||
-rw-r--r-- | src/libraries/winFang.c | 54 |
2 files changed, 54 insertions, 54 deletions
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c index fe6a3c2..5e79597 100644 --- a/src/extantz/extantz.c +++ b/src/extantz/extantz.c | |||
@@ -549,57 +549,3 @@ EAPI_MAIN int elm_main(int argc, char **argv) | |||
549 | return 0; | 549 | return 0; |
550 | } | 550 | } |
551 | ELM_MAIN() | 551 | ELM_MAIN() |
552 | |||
553 | |||
554 | |||
555 | /* CALLBACK types | ||
556 | |||
557 | void edje_object_signal_callback_add(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data) | ||
558 | typedef void(* Edje_Signal_Cb)(void *data, Evas_Object *obj, const char *emission, const char *source) | ||
559 | called for signals sent from edje that match emission and source | ||
560 | |||
561 | void evas_object_event_callback_add(Evas_Object *obj, Evas_Callback_Type type, Evas_Object_Event_Cb func, const void *data) | ||
562 | typedef void(* Evas_Object_Event_Cb )(void *data, Evas *e, Evas_Object *obj, void *event_info) | ||
563 | no propogation | ||
564 | |||
565 | void evas_object_smart_callback_add(Evas_Object *obj, const char *event, Evas_Smart_Cb func, const void *data) | ||
566 | typedef void(* Evas_Smart_Cb )(void *data, Evas_Object *obj, void *event_info) | ||
567 | smart events on smart objects | ||
568 | |||
569 | void elm_object_signal_callback_add(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data) | ||
570 | typedef void(* Edje_Signal_Cb)(void *data, Evas_Object *obj, const char *emission, const char *source) | ||
571 | called for signals sent from obj that match emission and source | ||
572 | |||
573 | void elm_object_event_callback_add(Evos_Object *, Elm_Event_Cb, void *) | ||
574 | typedef Eina_Bool(* Elm_Event_Cb)(void *data, Evas_Object *obj, Evas_Object *src, Evas_Callback_Type type, void *event_info) | ||
575 | called for all input events | ||
576 | Key up / down / mouse wheel events on a Elm widget | ||
577 | propogate up through parents | ||
578 | any focusable widget with this callback can deal with it | ||
579 | and tell Elm to stop propagating the event. | ||
580 | |||
581 | BUUUTT.... | ||
582 | |||
583 | There's also specific callbacks that don't follow the above. | ||
584 | |||
585 | static void _resize_gl(Evas_Object *obj) | ||
586 | static void _draw_gl(Evas_Object *obj) | ||
587 | |||
588 | elm_glview_resize_func_set(gld->elmGl, _resize_gl); | ||
589 | elm_glview_render_func_set(gld->elmGl, (Elm_GLView_Func_Cb) _draw_gl); | ||
590 | |||
591 | And others no doubt. | ||
592 | |||
593 | ALSOOOO.... | ||
594 | |||
595 | Ecore events. lol | ||
596 | |||
597 | |||
598 | BTW..... | ||
599 | |||
600 | Elm has C&P / DND, but it's very limited. So far only does Unix X text (plain, markup, html), images, and vcards. | ||
601 | Might as well imlpement it myself. | ||
602 | On the other hand, image is all I really need to fake it. | ||
603 | elm_cnp.h seems to be the only docs, not actually linked to the rest of Elm docs. | ||
604 | |||
605 | */ | ||
diff --git a/src/libraries/winFang.c b/src/libraries/winFang.c index 7b576e9..d17d732 100644 --- a/src/libraries/winFang.c +++ b/src/libraries/winFang.c | |||
@@ -346,3 +346,57 @@ Widget *widgetAdd(winFang *win, const Eo_Class *klass, Evas_Object *parent, char | |||
346 | 346 | ||
347 | return result; | 347 | return result; |
348 | } | 348 | } |
349 | |||
350 | |||
351 | /* CALLBACK types | ||
352 | |||
353 | void edje_object_signal_callback_add(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data) | ||
354 | typedef void(* Edje_Signal_Cb)(void *data, Evas_Object *obj, const char *emission, const char *source) | ||
355 | called for signals sent from edje that match emission and source | ||
356 | |||
357 | void evas_object_event_callback_add(Evas_Object *obj, Evas_Callback_Type type, Evas_Object_Event_Cb func, const void *data) | ||
358 | typedef void(* Evas_Object_Event_Cb )(void *data, Evas *e, Evas_Object *obj, void *event_info) | ||
359 | no propogation | ||
360 | |||
361 | void evas_object_smart_callback_add(Evas_Object *obj, const char *event, Evas_Smart_Cb func, const void *data) | ||
362 | typedef void(* Evas_Smart_Cb )(void *data, Evas_Object *obj, void *event_info) | ||
363 | smart events on smart objects | ||
364 | |||
365 | void elm_object_signal_callback_add(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data) | ||
366 | typedef void(* Edje_Signal_Cb)(void *data, Evas_Object *obj, const char *emission, const char *source) | ||
367 | called for signals sent from obj that match emission and source | ||
368 | |||
369 | void elm_object_event_callback_add(Evas_Object *, Elm_Event_Cb, void *) | ||
370 | typedef Eina_Bool(* Elm_Event_Cb)(void *data, Evas_Object *obj, Evas_Object *src, Evas_Callback_Type type, void *event_info) | ||
371 | called for all input events | ||
372 | Key up / down / mouse wheel events on a Elm widget | ||
373 | propogate up through parents | ||
374 | any focusable widget with this callback can deal with it | ||
375 | and tell Elm to stop propagating the event. | ||
376 | Seems to almost NEVER actually be called. Pfft. | ||
377 | |||
378 | BUUUTT.... | ||
379 | |||
380 | There's also specific callbacks that don't follow the above. | ||
381 | |||
382 | static void _resize_gl(Evas_Object *obj) | ||
383 | static void _draw_gl(Evas_Object *obj) | ||
384 | |||
385 | elm_glview_resize_func_set(gld->elmGl, _resize_gl); | ||
386 | elm_glview_render_func_set(gld->elmGl, (Elm_GLView_Func_Cb) _draw_gl); | ||
387 | |||
388 | And others no doubt. | ||
389 | |||
390 | ALSOOOO.... | ||
391 | |||
392 | Ecore events. lol | ||
393 | |||
394 | |||
395 | BTW..... | ||
396 | |||
397 | Elm has C&P / DND, but it's very limited. So far only does Unix X text (plain, markup, html), images, and vcards. | ||
398 | Might as well imlpement it myself. | ||
399 | On the other hand, image is all I really need to fake it. | ||
400 | elm_cnp.h seems to be the only docs, not actually linked to the rest of Elm docs. | ||
401 | |||
402 | */ | ||