Re: WHere is the icons
- From: Igor Korot <ikorot01 gmail com>
- To: Stefan Salewski <mail ssalewski de>
- Cc: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: WHere is the icons
- Date: Mon, 10 Aug 2015 12:28:17 -0400
Stefan,
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:
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
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]