Gtk.Image.prototype.get_stock

function get_stock():void {
    // Gjs wrapper for gtk_image_get_stock()
}

Gets the stock icon name and size being displayed by the Gtk.Image. The storage type of the image must be Gtk.ImageType.empty or Gtk.ImageType.stock (see Gtk.get_storage_type). The returned string is owned by the Gtk.Image and should not be freed.