gtk/examples/application1
Matthias Clasen 9f068866e2 examples: Use #pragma once consistently
It is our current coding style.
2023-12-20 10:29:45 -05:00
..
exampleapp.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
exampleapp.h examples: Use #pragma once consistently 2023-12-20 10:29:45 -05:00
exampleapp.png
exampleappwin.c
exampleappwin.h examples: Use #pragma once consistently 2023-12-20 10:29:45 -05:00
main.c
Makefile.example
meson.build examples: Add common_cflags to executables 2020-05-18 11:30:08 +02:00
org.gtk.exampleapp.desktop
README Refresh the tutorial examples 2020-05-11 08:15:56 -04:00

Step 1: A trivial application

To make gnome-shell use the desktop file and icon for this example
while running it uninstalled, do the following:

mkdir -p ~/.local/share/applications
sed -e "s#@bindir@#$PWD#" org.gtk.exampleapp.desktop \
  > ~/.local/share/applications/org.gtk.exampleapp.desktop

mkdir -p ~/.local/share/icons/hicolor/48x48/apps
cp exampleapp.png ~/.local/share/icons/hicolor/48x48/apps