Method

GioDrivehas_media

Declaration

gboolean
g_drive_has_media (
  GDrive* drive
)

Description

Checks if the drive has media. Note that the OS may not be polling the drive for media changes; see g_drive_is_media_check_automatic() for more details.

Return value

Type: gboolean

TRUE if drive has media, FALSE otherwise.