Interface

Gio-2.0GioDriveSignalSignatures

interface SignalSignatures {
    changed: () => void;
    disconnected: () => void;
    "eject-button": () => void;
    "stop-button": () => void;
}
Index
changed: () => void

Emitted when the drive's state has changed.

disconnected: () => void

This signal is emitted when the Gio.Drive have been disconnected. If the recipient is holding references to the object they should release them so the object can be finalized.

"eject-button": () => void

Emitted when the physical eject button (if any) of a drive has been pressed.

"stop-button": () => void

Emitted when the physical stop button (if any) of a drive has been pressed.

2.22