Re: WHere is the icons



On Mon, 2015-08-10 at 01:28 -0400, Igor Korot wrote:
Hi,
I'm trying to run the modified GTK+3 application.

Sorry, no idea what "the modified GTK+3 application" is...


I have KDE4 as my WM and trying to run the application I see that my button
does not have a stock images.
However my app compiled against GTK+2 does have it.

So my question is: are the icons for GTK+3 in a different package that is not
installed by default.

Note that from

https://developer.gnome.org/gtk3/stable/GtkButton.html#gtk-button-new-from-icon-name

we have

"gtk_button_new_from_stock has been deprecated since version 3.10 and
should not be used in newly-written code.

Use gtk_button_new_with_label() instead."


So if we really want to have an image for a button, we may better use 

https://developer.gnome.org/gtk3/stable/GtkButton.html#gtk-button-new-from-icon-name



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]