Gio.VolumeMonitor::drive-eject-button

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

Emitted when the eject button is pressed on drive.

Since 2.18

volumeMonitor

instance of Gio.VolumeMonitor that is emitting the signal

drive

the drive where the eject button was pressed