WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=a1aaac72afd1fc9aa676e5de23b81646713cf7d2
commit a1aaac72afd1fc9aa676e5de23b81646713cf7d2 Author: james ellis osborne iii <[email protected]> Date: Wed Aug 1 12:02:26 2018 -0700 Wiki page sandbox_gadgets.md changed with summary [cleaned up compile line formatting] by james ellis osborne iii --- pages/develop/e/sandbox_gadgets.md.txt | 12 +----------- 1 file changed, 1 insertion(+), 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) Compile it (and other examples on this page) with: - cc example.c -o example `pkg-config --cflags --libs enlightenment` - -If ''pkg-config'' is complaining about not finding Elementary you may -want to adjust your ''PKG_CONFIG_PATH'' environment variable to point -to where the ''.pc'' files are installed. Perhaps like: - - export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH - -Please see this nice page -[[http://people.freedesktop.org/~dbn/pkg-config-guide.html|about pkg-config]] -Which should tell you what it is and how it works if you are having trouble. + <code>cc example.c -o example `pkg-config --cflags --libs enlightenment`</code> 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. --
