Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/edje
Dir : e17/libs/edje/src/bin
Modified Files:
edje_main.c
Log Message:
more fixme's added, more fixed up. external callbakcs are now in. calling
application can emit signals now too.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/bin/edje_main.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- edje_main.c 20 Jun 2003 10:44:36 -0000 1.6
+++ edje_main.c 21 Jun 2003 02:51:00 -0000 1.7
@@ -109,6 +109,12 @@
static Evas_Object *o_edje = NULL;
+static void
+cb (void *data, Evas_Object *o, const char *sig, const char *src)
+{
+ printf("CALLBACK for %p %p \"%s\" \"%s\"\n", data, o, sig, src);
+}
+
void
test_setup(char *file, char *name)
{
@@ -116,6 +122,8 @@
o = edje_add(evas);
edje_file_set(o, file, name);
+ edje_signal_callback_add(o, "do_it", "the_source", cb, NULL);
+ edje_signal_callback_add(o, "mouse,*", "logo", cb, NULL);
evas_object_move(o, 10, 10);
evas_object_resize(o, 220, 300);
evas_object_show(o);
@@ -153,7 +161,7 @@
file = argv[1];
if (argc >= 3) coll = argv[2];
/* FIXME: list collections */
- test_setup(argv[1], coll);
+ test_setup(file, coll);
ecore_main_loop_begin();
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs