summaryrefslogtreecommitdiff
path: root/doc/evas_examples.dox
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2014-01-04 13:25:21 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2014-01-04 13:25:21 +0900
commit3ebc18731fa3712e9f7b29758908bf19fec7df83 (patch)
treea8aa6907b8c4be867689d02331aab1288e68af7e /doc/evas_examples.dox
parent9637c2b835c4b48b84a4509d57c1af19d1b8608f (diff)
downloadefl-3ebc18731fa3712e9f7b29758908bf19fec7df83.tar.gz
Use key instead of keyname for considering setxkbmap
Diffstat (limited to 'doc/evas_examples.dox')
-rw-r--r--doc/evas_examples.dox14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/evas_examples.dox b/doc/evas_examples.dox
index 103b8eabcc..809132f173 100644
--- a/doc/evas_examples.dox
+++ b/doc/evas_examples.dox
@@ -127,7 +127,7 @@
* @until ;
* The 'p' one will change the source of the proxy image to one of the
* other two, as seem above.
- * @skip if (strcmp(ev->keyname, "p") == 0)
+ * @skip if (strcmp(ev->key, "p") == 0)
* @until }
* Note the top right image, the smaller one:
* @dontinclude evas-images2.c
@@ -158,7 +158,7 @@
* The 's' command will save one of the images on the disk, in the png
* format:
* @dontinclude evas-images2.c
- * @skip if (strcmp(ev->keyname, "a") == 0)
+ * @skip if (strcmp(ev->key, "a") == 0)
* @until }
*
* The full example follows.
@@ -266,13 +266,13 @@
* processing for the canvas (in the example, just for 3 seconds). Try
* to issue events for it during that freeze time:
* @dontinclude evas-events.c
- * @skip if (strcmp(ev->keyname, "f") == 0)
+ * @skip if (strcmp(ev->key, "f") == 0)
* @until }
* The 'd' command will unregister those two canvas callbacks for you,
* so you won't see the messages about the focused object and the
* rendering process anymore:
* @dontinclude evas-events.c
- * @skip if (strcmp(ev->keyname, "d") == 0)
+ * @skip if (strcmp(ev->key, "d") == 0)
* @until }
* In this example, we start using a focused object to handle the input
* events -- the background rectangle. We register a callback on an key input
@@ -282,7 +282,7 @@
* @dontinclude evas-events.c
* @skip examine the keys pressed
* @until key grab
- * We do so by examining the @c ev->keyname string (remember the event
+ * We do so by examining the @c ev->key string (remember the event
* information struct for key down events is the #Evas_Event_Key_Down
* one). There's one more trick for grabbing input events on this
* example -- evas_object_key_grab(). The 'c' command will, when
@@ -314,7 +314,7 @@
* in the case) as not belonging to it when calculating mouse
* in/out/up/down events:
* @dontinclude evas-events.c
- * @skip if (strcmp(ev->keyname, "p") == 0)
+ * @skip if (strcmp(ev->key, "p") == 0)
* @until }
* To finish the example, try the command bound to Control + 'o',
* which exemplifies Evas' <b>obscured regions</b>. When firstly
@@ -479,7 +479,7 @@
* height of the box equally and, then, place the items in the cells
* in the diagonal:
* @dontinclude evas-box.c
- * @skip keyname, "0"
+ * @skip key, "0"
* @until }
* @dontinclude evas-box.c
* @skip custom 'diagonal' layout