Gio.Drive.prototype.can_eject
function can_eject(): Boolean { // Gjs wrapper for g_drive_can_eject() }
Checks if a drive can be ejected.
- Returns
true if the drive can be ejected, false otherwise.
function can_eject(): Boolean { // Gjs wrapper for g_drive_can_eject() }
Checks if a drive can be ejected.
true if the drive can be ejected, false otherwise.