I know that the usual way of giving an application an icon is via its desktop file. However, there are situations where this does not really apply:
- Development builds
- On Windows
How can I get custom window icons to work in these situations? I’ve both used
gtk::Window::set_default_icon_name to the AppID, but it does not work. I’m pretty sure the icon itself works though, because it is shown fine in the About dialog and the logs with
GTK_DEBUG set confirm this.
(As as side question: is it possible for an application to have multiple windows with different icons?)