Re: WHere is the icons


On Mon, Aug 10, 2015 at 9:36 AM, Stefan Salewski <mail ssalewski de> wrote:
On Mon, 2015-08-10 at 01:28 -0400, Igor Korot wrote:
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

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

But then how do I set the label for such button?
It looks like this function can be used for bitmap buttons only (no labels).

Thank you.

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