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()
builder
NativeVolumeMonitorGidBuilder builder()

Get builder for gio.native_volume_monitor.NativeVolumeMonitor

Inherited Members

From VolumeMonitor

_getGType
GType _getGType()
_gType
GType _gType [@property getter]
self
VolumeMonitor self()

Returns this, for use in with statements.

builder
VolumeMonitorGidBuilder builder()

Get builder for gio.volume_monitor.VolumeMonitor

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
gulong connectDriveChanged(T callback, Flag!"After" after)

Connect to DriveChanged signal.

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

Connect to DriveConnected signal.

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

Connect to DriveDisconnected signal.

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

Connect to DriveEjectButton signal.

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

Connect to DriveStopButton signal.

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

Connect to MountAdded signal.

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

Connect to MountChanged signal.

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

Connect to MountPreUnmount signal.

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

Connect to MountRemoved signal.

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

Connect to VolumeAdded signal.

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

Connect to VolumeChanged signal.

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

Connect to VolumeRemoved signal.