You must include your icons in a resource file that you compile and link
with your application, as described in the gtkmm tutorial,
https://developer.gnome.org/gtkmm-tutorial/stable/sec-gio-resource.html.en
I don't know of any example program that uses add_resource_path(), but
the examples in the tutorial use resource icons in other situations.
Kjell
Den 2016-05-18 kl. 21:17, skrev Glus Xof:
Hi,
I just noticed that the API for Gtk::IconTheme has changed since 3.14
in a way that add_buildin_icon() is deprecated. Just now, I have been
using it.
I have some icons to integrate them in my application and by the means
of Autotools, these were located at DATADIR.... and so on.
Now, the add_resource_path() method is recommended instead, but I
don't understand at all how to organize them.
So, I have to ask you for a little more detailed documentation or, if
possible, an example...
Glus
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list