diff options
author | james ellis osborne iii <jamesellis@twee.se> | 2018-08-01 12:02:26 -0700 |
---|---|---|
committer | apache <apache@e5-web1.enlightenment.org> | 2018-08-01 12:02:26 -0700 |
commit | a1aaac72afd1fc9aa676e5de23b81646713cf7d2 (patch) | |
tree | 968351c306494423b74d427174cfe3d881bb7256 /pages | |
parent | 648daa4bdb9ba64519c2df994d28342669fd284e (diff) |
Wiki page sandbox_gadgets.md changed with summary [cleaned up compile line formatting] by james ellis osborne iii
Diffstat (limited to 'pages')
-rw-r--r-- | pages/develop/e/sandbox_gadgets.md.txt | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/pages/develop/e/sandbox_gadgets.md.txt b/pages/develop/e/sandbox_gadgets.md.txt index 28e968b08..5d6554d88 100644 --- a/pages/develop/e/sandbox_gadgets.md.txt +++ b/pages/develop/e/sandbox_gadgets.md.txt | |||
@@ -83,17 +83,7 @@ elm_main(int argc, char **argv) | |||
83 | 83 | ||
84 | Compile it (and other examples on this page) with: | 84 | Compile it (and other examples on this page) with: |
85 | 85 | ||
86 | cc example.c -o example `pkg-config --cflags --libs enlightenment` | 86 | <code>cc example.c -o example `pkg-config --cflags --libs enlightenment`</code> |
87 | |||
88 | If ''pkg-config'' is complaining about not finding Elementary you may | ||
89 | want to adjust your ''PKG_CONFIG_PATH'' environment variable to point | ||
90 | to where the ''.pc'' files are installed. Perhaps like: | ||
91 | |||
92 | export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH | ||
93 | |||
94 | Please see this nice page | ||
95 | [[http://people.freedesktop.org/~dbn/pkg-config-guide.html|about pkg-config]] | ||
96 | Which should tell you what it is and how it works if you are having trouble. | ||
97 | 87 | ||
98 | The variable ``gadget`` is used to determine if the application is running as a gadget or as a standalone application. The variable ``id_num`` is used to identify the ID of the gadget, if the application is indeed running as a gadget. If the application is running as a gadget, the window is set to alpha so that the background of the window does not show up. This is for aesthetics purposes so that gadgets on gadget sites don't all have a background. | 88 | The variable ``gadget`` is used to determine if the application is running as a gadget or as a standalone application. The variable ``id_num`` is used to identify the ID of the gadget, if the application is indeed running as a gadget. If the application is running as a gadget, the window is set to alpha so that the background of the window does not show up. This is for aesthetics purposes so that gadgets on gadget sites don't all have a background. |
99 | 89 | ||