Learning_GTK4_tree/examples/application1
Jean Sirmai c07ee22637
initial
2023-12-12 11:36:42 +01:00
..
Makefile.example initial 2023-12-12 11:36:42 +01:00
README initial 2023-12-12 11:36:42 +01:00
exampleapp.c initial 2023-12-12 11:36:42 +01:00
exampleapp.h initial 2023-12-12 11:36:42 +01:00
exampleapp.png initial 2023-12-12 11:36:42 +01:00
exampleappwin.c initial 2023-12-12 11:36:42 +01:00
exampleappwin.h initial 2023-12-12 11:36:42 +01:00
main.c initial 2023-12-12 11:36:42 +01:00
meson.build initial 2023-12-12 11:36:42 +01:00
org.gtk.exampleapp.desktop initial 2023-12-12 11:36:42 +01:00

README

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