Gtk4 image reference in ui file

Hello,
I’m migrating my old app to gtk4 and using some non-stock icons now. How do I reference them in the ui files, so that the builder finds them in development mode as well when the app is finally packaged and installed? Where should the icons be installed? Is it /usr/share/app-name?
Thanks in advance, Eicke

I think what you are looking for is the Themed Icons tutorial on the GNOME Developer website. If these are icons you will only use in your application, I would probably use the GResource method myself.

Thanx alot. GResource worked fine.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.