NativeVolumeMonitor

Constructors

this
this(void* ptr, Flag!"Take" take)

Members

Functions

self
NativeVolumeMonitor self()

Returns this, for use in with statements.

Properties

gType
GType gType [@property getter]

Static functions

getGType
GType getGType()

Inherited Members

From VolumeMonitor

getGType
GType getGType()
gType
GType gType [@property getter]
self
VolumeMonitor self()

Returns this, for use in with statements.

adoptOrphanMount
gio.volume.Volume adoptOrphanMount(gio.mount.Mount mount)

This function should be called by any #GVolumeMonitor implementation when a new #GMount object is created that is not associated with a #GVolume object. It must be called just before emitting the mount_added signal.

get
gio.volume_monitor.VolumeMonitor get()

Gets the volume monitor used by gio.

getConnectedDrives
gio.drive.Drive[] getConnectedDrives()

Gets a list of drives connected to the system.

getMountForUuid
gio.mount.Mount getMountForUuid(string uuid)

Finds a #GMount object by its UUID (see gio.mount.Mount.getUuid)

getMounts
gio.mount.Mount[] getMounts()

Gets a list of the mounts on the system.

getVolumeForUuid
gio.volume.Volume getVolumeForUuid(string uuid)

Finds a #GVolume object by its UUID (see gio.volume.Volume.getUuid)

getVolumes
gio.volume.Volume[] getVolumes()

Gets a list of the volumes on the system.

connectDriveChanged
ulong connectDriveChanged(T callback, Flag!"After" after)

Connect to DriveChanged signal.

connectDriveConnected
ulong connectDriveConnected(T callback, Flag!"After" after)

Connect to DriveConnected signal.

connectDriveDisconnected
ulong connectDriveDisconnected(T callback, Flag!"After" after)

Connect to DriveDisconnected signal.

connectDriveEjectButton
ulong connectDriveEjectButton(T callback, Flag!"After" after)

Connect to DriveEjectButton signal.

connectDriveStopButton
ulong connectDriveStopButton(T callback, Flag!"After" after)

Connect to DriveStopButton signal.

connectMountAdded
ulong connectMountAdded(T callback, Flag!"After" after)

Connect to MountAdded signal.

connectMountChanged
ulong connectMountChanged(T callback, Flag!"After" after)

Connect to MountChanged signal.

connectMountPreUnmount
ulong connectMountPreUnmount(T callback, Flag!"After" after)

Connect to MountPreUnmount signal.

connectMountRemoved
ulong connectMountRemoved(T callback, Flag!"After" after)

Connect to MountRemoved signal.

connectVolumeAdded
ulong connectVolumeAdded(T callback, Flag!"After" after)

Connect to VolumeAdded signal.

connectVolumeChanged
ulong connectVolumeChanged(T callback, Flag!"After" after)

Connect to VolumeChanged signal.

connectVolumeRemoved
ulong connectVolumeRemoved(T callback, Flag!"After" after)

Connect to VolumeRemoved signal.