Re: WHere is the icons
- From: Stefan Salewski <mail ssalewski de>
- To: Igor Korot <ikorot01 gmail com>
- Cc: "gtk-list gnome org" <gtk-list gnome org>
- Subject: Re: WHere is the icons
- Date: Mon, 10 Aug 2015 20:23:58 +0200
On Mon, 2015-08-10 at 12:28 -0400, Igor Korot wrote:
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).
Of course you can continue using the deprecated stock item, as long as
that still works...
My impression is, that recommendation for recent GTK3 is to have only
textual label for buttons and menu items generally, with some
exceptions...
We can use gtk_button_new() with a container widget argument, which may
contain a label and an image. Some details I found here
https://developer.gnome.org/gtk3/stable/GtkImageMenuItem.html
Unfortunately that is some more work now...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]