Gtk.Image.prototype.get_gicon

function get_gicon():void {
    // Gjs wrapper for gtk_image_get_gicon()
}

Gets the Gio.Icon and size being displayed by the Gtk.Image. The storage type of the image must be Gtk.ImageType.empty or Gtk.ImageType.gicon (see Gtk.get_storage_type). The caller of this function does not own a reference to the returned Gio.Icon.

Since 2.14