aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/guides/c/ui/focus.md.txt
diff options
context:
space:
mode:
Diffstat (limited to 'pages/develop/guides/c/ui/focus.md.txt')
-rw-r--r--pages/develop/guides/c/ui/focus.md.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/pages/develop/guides/c/ui/focus.md.txt b/pages/develop/guides/c/ui/focus.md.txt
index 11de63288..12470fac0 100644
--- a/pages/develop/guides/c/ui/focus.md.txt
+++ b/pages/develop/guides/c/ui/focus.md.txt
@@ -50,7 +50,7 @@ When using this method the widget currently selected will lose the focus and the
This method can only be used on widgets implementing the ``Efl.Ui.Focus.User`` and ``Efl.Ui.Focus.Object`` interfaces but most widgets inherit from ``Elm.Widget`` which already does this, so you don't have to worry.
-Here's an usage example based on the EFL examples repository [tutorial/c/focus/src/focus_main.c](https://git.enlightenment.org/tools/examples.git/tree/tutorial/c/focus/src/focus_main.c):
+Here's an usage example based on the EFL examples repository [reference/c/ui/src/focus_main.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/ui/src/focus_main.c):
```c
button = efl_add(EFL_UI_BUTTON_CLASS, hbox,
@@ -69,7 +69,7 @@ Here's an usage example based on the EFL examples repository [tutorial/c/focus/s
Every time a widget gains or loses the focus, it emits the event ``EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED``. You can then retrieve the current focused state of the widget through the ``focus`` property using ``efl_ui_focus_object_focus_get()``.
-Here's an usage example based on the EFL examples repository [tutorial/c/focus/src/focus_main.c](https://git.enlightenment.org/tools/examples.git/tree/tutorial/c/focus/src/focus_main.c):
+Here's an usage example based on the EFL examples repository [reference/c/ui/src/focus_main.c](https://git.enlightenment.org/tools/examples.git/tree/reference/c/ui/src/focus_main.c):
```c
static void
@@ -113,3 +113,6 @@ Here's an usage example based on the EFL examples repository [tutorial/c/focus/s
[EFL API Reference guide](/develop/api/)
: Detailed documentation on the EFL API.
+
+[EFL Examples Repository](https://git.enlightenment.org/tools/examples.git/tree/reference/c/ui/src/focus_main.c)
+: Usage example of the focus API. \ No newline at end of file