aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-08-27 06:33:23 -0700
committerapache <apache@e5-web1.enlightenment.org>2018-08-27 06:33:23 -0700
commite7fbc8a0e8531a898b65ada656af5011f91f8ba9 (patch)
treee39257be16468ca8c4011817fc2f15f575dae2e3
parentWiki page download-latest changed with summary [update python-efl download li... (diff)
downloadwww-content-e7fbc8a0e8531a898b65ada656af5011f91f8ba9.tar.gz
Wiki page hello-world-gui.md changed with summary [Sync with code] by Xavi Artigas
-rw-r--r--pages/develop/tutorials/c/hello-world-gui.md.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/pages/develop/tutorials/c/hello-world-gui.md.txt b/pages/develop/tutorials/c/hello-world-gui.md.txt
index f427cec6e..25e5e352b 100644
--- a/pages/develop/tutorials/c/hello-world-gui.md.txt
+++ b/pages/develop/tutorials/c/hello-world-gui.md.txt
@@ -255,12 +255,12 @@ You can add a text box widget using the ``EFL_UI_TEXT_CLASS`` and insert into yo
[...]
efl_add(EFL_UI_TEXT_CLASS, box,
efl_text_markup_set(efl_added, "Hello World. This is an <b>Efl.Ui</b> application!"),
- efl_ui_text_interactive_selection_allowed_set(efl_added, EINA_FALSE),
+ efl_text_interactive_selection_allowed_set(efl_added, EINA_FALSE),
efl_pack(box, efl_added));
[...]
```
-The ``efl_text_markup_set()`` lets you define what text to show in the text box. You can apply some formatting if you wish using some basic HTML-like markup. The ``efl_ui_text_interactive_selection_allowed_set(efl_added, EINA_FALSE)`` tells the application that the text cannot be modified by the user. ``efl_pack()`` fits the text box inside container box, taking up all the space available. This doesn't necessarily mean all the space: see below.
+The ``efl_text_markup_set()`` lets you define what text to show in the text box. You can apply some formatting if you wish using some basic HTML-like markup. The ``efl_text_interactive_selection_allowed_set(efl_added, EINA_FALSE)`` tells the application that the text cannot be modified by the user. ``efl_pack()`` fits the text box inside container box, taking up all the space available. This doesn't necessarily mean all the space: see below.
To add a button use the following code:
@@ -292,7 +292,7 @@ To change how much relative space each widget takes up, you use *weight hinting*
[...]
efl_add(EFL_UI_TEXT_CLASS, box,
efl_text_markup_set(efl_added, "Hello World.<br>This is an <b>Efl.Ui</b> application!"),
- efl_ui_text_interactive_selection_allowed_set(efl_added, EINA_FALSE),
+ efl_text_interactive_selection_allowed_set(efl_added, EINA_FALSE),
efl_gfx_size_hint_weight_set(efl_added, 1.0, 1.0),
efl_pack(box, efl_added));
@@ -383,7 +383,7 @@ _gui_setup()
efl_add(EFL_UI_TEXT_CLASS, box,
efl_text_markup_set(efl_added, "Hello World. This is an <b>Efl.Ui</b> application!"),
- efl_ui_text_interactive_selection_allowed_set(efl_added, EINA_FALSE),
+ efl_text_interactive_selection_allowed_set(efl_added, EINA_FALSE),
efl_gfx_size_hint_weight_set(efl_added, 1.0, 0.9),
efl_gfx_size_hint_align_set(efl_added, 0.5, 0.5),
efl_pack(box, efl_added));