Op 18-07-18 om 02:32 schreef Benjamin Summerton via gtk-app-devel-list:
> How do I use an SVG as an Icon where I can scale it based on the DPI?
As Luca suggested the easiest is to use an icon name and it will handle
it for you. There is possibly another option by using cairo surfaces
which I had
SVG are supported in Gtk (and Glade)
Support for image formats is modularized in form of plugins, you just need
to get the plugin for SVG. In many distros you have to install 'librsvg' to
get the SVG loader.
As for scaling goes, GtkImage can scale images only when using icon-name
source and not
I'm currently developing an application (using the Gtk 3.x series). I've
got some icons I'd like to use (for buttons n' stuff) and they are in SVG
format.
It's pretty trivial to turn these into a PNG, and then into my .glade
file. But I'm a bit concerned about how much smaller bitmap images