Gtk.ImageMenuItem.prototype.set_use_stock

function set_use_stock(use_stock:Boolean):void {
    // Gjs wrapper for gtk_image_menu_item_set_use_stock()
}

If true, the label set in the menuitem is used as a stock id to select the stock item for the item.

Since 2.16

use_stock

true if the menuitem should use a stock item