Gio.VolumeMonitor::drive-connected

connect('drive-connected', function (volumeMonitor, drive: Gio.Drive, ): void);
  

Emitted when a drive is connected to the system.

volumeMonitor

instance of Gio.VolumeMonitor that is emitting the signal

drive

a Gio.Drive that was connected.