replacement for GtkImageMenuItem



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


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