WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=9fb7223e87bdd87d0008b3301479aec2bff044a6

commit 9fb7223e87bdd87d0008b3301479aec2bff044a6
Author: Stephen M Houston <smhousto...@gmail.com>
Date:   Tue Feb 13 08:57:36 2018 -0800

    Wiki page sandbox_gadgets.md changed with summary [] by Stephen M Houston
---
 pages/develop/e/sandbox_gadgets.md.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pages/develop/e/sandbox_gadgets.md.txt 
b/pages/develop/e/sandbox_gadgets.md.txt
index 199724fcd..9df649504 100644
--- a/pages/develop/e/sandbox_gadgets.md.txt
+++ b/pages/develop/e/sandbox_gadgets.md.txt
@@ -27,7 +27,7 @@ Running additional applications from within the gadget 
application will also bri
 
 Enlightenment populates its list of gadgets by looking for ``.desktop`` files 
installed to the directory ``enlightenment/gadgets`` under Enlightenment's 
library directory, which can be found using ``pkg-config --variable=libdir 
enlightenment``. This gadget list is then made available for use through each 
gadget site's "Add Gadgets" popup. These popups display either a live view of 
the gadget or a still image.
 
-When Enlightenment executes the gadget application it sets the environment 
variable ``E_GADGET_ID``. This environmental variable is how the gadget 
application will determine if it is being run as a gadget, if it is being 
displayed in the "Add Gadget" popup or if it has been added to a gadget site 
and has a unique gadget ID.
+When Enlightenment executes the gadget application it sets the environment 
variable ``E_GADGET_ID``. This environmental variable is how the gadget 
application will determine if it is being run as a gadget, if it is being 
displayed in the "Add Gadget" popup or if it has been added to a gadget site 
and has a unique gadget ID.  The environment variable ``E_GADGET_ORIENTATION`` 
is also set.  It will be equal to one of three values. ``Horizontal`` 
``Vertical`` or ``None`` and will indicate wh [...]
 
 To demonstrate this, a modified version of the Hello World app referenced in 
the Prerequisites section of this guide is used. Note the following important 
change: in the original version the window is created using 
``elm_win_util_standard_add()``, but in order to achieve transparency on the 
window for use as a gadget this is changed to ``elm_win_add()`` in this guide.
 

-- 


Reply via email to