I want my application to be bundled with it’s own resources. I mean I want all my resources to be compiled into application binary. And I managed to do it, however, I have problems with setting an icon for my main window. Icon is compiled with other gresources and I can get and display it with GtkImage (through GtkIconTheme object). However my GNOME on Wayland doesn’t display icon on my Window. Moreover, it doesn’t display any icon, even those already present in my system. So, my questions are:
- Is it possible to bundle ALL resources with the binary using GTK? (I’ve positive examples from other frameworks: Minecraft, Telegram, some Java apps…) And how to?
- How does Gnome decide which icon to display for the WINDOW?