Re: Some icons to add... how ?
- From: Kjell Ahlstedt <kjell ahlstedt bredband net>
- To: Glus Xof <gtglus gmail com>
- Cc: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Re: Some icons to add... how ?
- Date: Mon, 23 May 2016 16:51:09 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]