Gio.Drive.prototype.get_icon

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

Gets the icon for drive.

Returns

Gio.Icon for the drive. Free the returned object with GObject.Object.prototype.unref.