Gtk.ImageMenuItem.prototype.get_use_stock

function get_use_stock():Boolean {
    // Gjs wrapper for gtk_image_menu_item_get_use_stock()
}

Checks whether the label set in the menuitem is used as a stock id to select the stock item for the item.

Since 2.16

Returns

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