Gio.Volume.prototype.get_icon

function get_icon(): Gio.Icon {
    // Gjs wrapper for g_volume_get_icon()
}
  

Gets the icon for volume.

Returns

a Gio.Icon. The returned object should be unreffed with GObject.Object.prototype.unref when no longer needed.