aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_layout.c
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2010-09-27 00:51:16 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2010-09-27 00:51:16 +0000
commit0f90c50f472477a30b40017fbec577fffbee8585 (patch)
tree7e354c9d5806cf48f475eae876c7c7fe952cc1f0 /legacy/elementary/src/bin/test_layout.c
parenthelp users by showing some debug messages about themes not being found. (diff)
downloadefl-0f90c50f472477a30b40017fbec577fffbee8585.tar.gz
allow cursors on edje parts.
yeah, i should do the tooltips one as well, but it's boring so I'll leave the implementation as the exercise for someone else :-) and yeah, we should have that inside edje, like a nice description { cursor: "xterm"; }, but that's not going to happen in Edje 1.0. SVN revision: 52793
Diffstat (limited to 'legacy/elementary/src/bin/test_layout.c')
-rw-r--r--legacy/elementary/src/bin/test_layout.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/legacy/elementary/src/bin/test_layout.c b/legacy/elementary/src/bin/test_layout.c
index 728ed24b2d..b8e5fcd862 100644
--- a/legacy/elementary/src/bin/test_layout.c
+++ b/legacy/elementary/src/bin/test_layout.c
@@ -1,5 +1,6 @@
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
+#include <Elementary_Cursor.h>
void
test_layout(void *data, Evas_Object *obj, void *event_info)
{
@@ -37,6 +38,8 @@ test_layout(void *data, Evas_Object *obj, void *event_info)
elm_layout_content_set(ly, "element3", bt);
evas_object_show(bt);
+ elm_layout_part_cursor_set(ly, "text", ELM_CURSOR_WATCH);
+
evas_object_show(win);
}
#endif