replacement for GtkImageMenuItem

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

 



Hi all,

GtkImageMenuItem is now deprecated, but I see no replacement of it. So I
see no way to have a menuitem with an image. What am I missing?


I also saw that in your documents:

Old:
item = gtk_image_menu_item_new_from_stock (GTK_STOCK_SAVE, NULL);

New:
item = gtk_menu_item_new_with_mnemonic (_(“_Save”));

I tried that (from python bindings):
item = Gtk.MenuItem.new_with_mnemonic(_("_Save"))

And I see no image.

GTK 3.10.7

-- 
Yann
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list





[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux