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)
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 @@
127 * @until ; 127 * @until ;
128 * The 'p' one will change the source of the proxy image to one of the 128 * The 'p' one will change the source of the proxy image to one of the
129 * other two, as seem above. 129 * other two, as seem above.
130 * @skip if (strcmp(ev->keyname, "p") == 0) 130 * @skip if (strcmp(ev->key, "p") == 0)
131 * @until } 131 * @until }
132 * Note the top right image, the smaller one: 132 * Note the top right image, the smaller one:
133 * @dontinclude evas-images2.c 133 * @dontinclude evas-images2.c
@@ -158,7 +158,7 @@
158 * The 's' command will save one of the images on the disk, in the png 158 * The 's' command will save one of the images on the disk, in the png
159 * format: 159 * format:
160 * @dontinclude evas-images2.c 160 * @dontinclude evas-images2.c
161 * @skip if (strcmp(ev->keyname, "a") == 0) 161 * @skip if (strcmp(ev->key, "a") == 0)
162 * @until } 162 * @until }
163 * 163 *
164 * The full example follows. 164 * The full example follows.
@@ -266,13 +266,13 @@
266 * processing for the canvas (in the example, just for 3 seconds). Try 266 * processing for the canvas (in the example, just for 3 seconds). Try
267 * to issue events for it during that freeze time: 267 * to issue events for it during that freeze time:
268 * @dontinclude evas-events.c 268 * @dontinclude evas-events.c
269 * @skip if (strcmp(ev->keyname, "f") == 0) 269 * @skip if (strcmp(ev->key, "f") == 0)
270 * @until } 270 * @until }
271 * The 'd' command will unregister those two canvas callbacks for you, 271 * The 'd' command will unregister those two canvas callbacks for you,
272 * so you won't see the messages about the focused object and the 272 * so you won't see the messages about the focused object and the
273 * rendering process anymore: 273 * rendering process anymore:
274 * @dontinclude evas-events.c 274 * @dontinclude evas-events.c
275 * @skip if (strcmp(ev->keyname, "d") == 0) 275 * @skip if (strcmp(ev->key, "d") == 0)
276 * @until } 276 * @until }
277 * In this example, we start using a focused object to handle the input 277 * In this example, we start using a focused object to handle the input
278 * events -- the background rectangle. We register a callback on an key input 278 * events -- the background rectangle. We register a callback on an key input
@@ -282,7 +282,7 @@
282 * @dontinclude evas-events.c 282 * @dontinclude evas-events.c
283 * @skip examine the keys pressed 283 * @skip examine the keys pressed
284 * @until key grab 284 * @until key grab
285 * We do so by examining the @c ev->keyname string (remember the event 285 * We do so by examining the @c ev->key string (remember the event
286 * information struct for key down events is the #Evas_Event_Key_Down 286 * information struct for key down events is the #Evas_Event_Key_Down
287 * one). There's one more trick for grabbing input events on this 287 * one). There's one more trick for grabbing input events on this
288 * example -- evas_object_key_grab(). The 'c' command will, when 288 * example -- evas_object_key_grab(). The 'c' command will, when
@@ -314,7 +314,7 @@
314 * in the case) as not belonging to it when calculating mouse 314 * in the case) as not belonging to it when calculating mouse
315 * in/out/up/down events: 315 * in/out/up/down events:
316 * @dontinclude evas-events.c 316 * @dontinclude evas-events.c
317 * @skip if (strcmp(ev->keyname, "p") == 0) 317 * @skip if (strcmp(ev->key, "p") == 0)
318 * @until } 318 * @until }
319 * To finish the example, try the command bound to Control + 'o', 319 * To finish the example, try the command bound to Control + 'o',
320 * which exemplifies Evas' <b>obscured regions</b>. When firstly 320 * which exemplifies Evas' <b>obscured regions</b>. When firstly
@@ -479,7 +479,7 @@
479 * height of the box equally and, then, place the items in the cells 479 * height of the box equally and, then, place the items in the cells
480 * in the diagonal: 480 * in the diagonal:
481 * @dontinclude evas-box.c 481 * @dontinclude evas-box.c
482 * @skip keyname, "0" 482 * @skip key, "0"
483 * @until } 483 * @until }
484 * @dontinclude evas-box.c 484 * @dontinclude evas-box.c
485 * @skip custom 'diagonal' layout 485 * @skip custom 'diagonal' layout