NativeVolumeMonitor

Undocumented in source.

Constructors

this
this(GNativeVolumeMonitor* gNativeVolumeMonitor, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

getNativeVolumeMonitorStruct
GNativeVolumeMonitor* getNativeVolumeMonitorStruct()

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

getType
GType getType()

Variables

gNativeVolumeMonitor
GNativeVolumeMonitor* gNativeVolumeMonitor;

the main Gtk struct

Inherited Members

From VolumeMonitor

gVolumeMonitor
GVolumeMonitor* gVolumeMonitor;

the main Gtk struct

getVolumeMonitorStruct
GVolumeMonitor* getVolumeMonitorStruct()

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
getType
GType getType()
adoptOrphanMount
VolumeIF adoptOrphanMount(MountIF 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.

getConnectedDrives
ListG getConnectedDrives()

Gets a list of drives connected to the system.

getMountForUuid
MountIF getMountForUuid(string uuid)

Finds a #GMount object by its UUID (see g_mount_get_uuid())

getMounts
ListG getMounts()

Gets a list of the mounts on the system.

getVolumeForUuid
VolumeIF getVolumeForUuid(string uuid)

Finds a #GVolume object by its UUID (see g_volume_get_uuid())

getVolumes
ListG getVolumes()

Gets a list of the volumes on the system.

connectedSignals
int[string] connectedSignals;
Undocumented in source.
onDriveChangedListeners
void delegate(DriveIF, VolumeMonitor)[] onDriveChangedListeners;
Undocumented in source.
addOnDriveChanged
void addOnDriveChanged(void delegate(DriveIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when a drive changes.

callBackDriveChanged
void callBackDriveChanged(GVolumeMonitor* volumemonitorStruct, GDrive* drive, VolumeMonitor _volumemonitor)
Undocumented in source. Be warned that the author may not have intended to support it.
onDriveConnectedListeners
void delegate(DriveIF, VolumeMonitor)[] onDriveConnectedListeners;
Undocumented in source.
addOnDriveConnected
void addOnDriveConnected(void delegate(DriveIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when a drive is connected to the system.

callBackDriveConnected
void callBackDriveConnected(GVolumeMonitor* volumemonitorStruct, GDrive* drive, VolumeMonitor _volumemonitor)
Undocumented in source. Be warned that the author may not have intended to support it.
onDriveDisconnectedListeners
void delegate(DriveIF, VolumeMonitor)[] onDriveDisconnectedListeners;
Undocumented in source.
addOnDriveDisconnected
void addOnDriveDisconnected(void delegate(DriveIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when a drive is disconnected from the system.

callBackDriveDisconnected
void callBackDriveDisconnected(GVolumeMonitor* volumemonitorStruct, GDrive* drive, VolumeMonitor _volumemonitor)
Undocumented in source. Be warned that the author may not have intended to support it.
onDriveEjectButtonListeners
void delegate(DriveIF, VolumeMonitor)[] onDriveEjectButtonListeners;
Undocumented in source.
addOnDriveEjectButton
void addOnDriveEjectButton(void delegate(DriveIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when the eject button is pressed on @drive.

callBackDriveEjectButton
void callBackDriveEjectButton(GVolumeMonitor* volumemonitorStruct, GDrive* drive, VolumeMonitor _volumemonitor)
Undocumented in source. Be warned that the author may not have intended to support it.
onDriveStopButtonListeners
void delegate(DriveIF, VolumeMonitor)[] onDriveStopButtonListeners;
Undocumented in source.
addOnDriveStopButton
void addOnDriveStopButton(void delegate(DriveIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when the stop button is pressed on @drive.

callBackDriveStopButton
void callBackDriveStopButton(GVolumeMonitor* volumemonitorStruct, GDrive* drive, VolumeMonitor _volumemonitor)
Undocumented in source. Be warned that the author may not have intended to support it.
onMountAddedListeners
void delegate(MountIF, VolumeMonitor)[] onMountAddedListeners;
Undocumented in source.
addOnMountAdded
void addOnMountAdded(void delegate(MountIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when a mount is added.

callBackMountAdded
void callBackMountAdded(GVolumeMonitor* volumemonitorStruct, GMount* mount, VolumeMonitor _volumemonitor)
Undocumented in source. Be warned that the author may not have intended to support it.
onMountChangedListeners
void delegate(MountIF, VolumeMonitor)[] onMountChangedListeners;
Undocumented in source.
addOnMountChanged
void addOnMountChanged(void delegate(MountIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when a mount changes.

callBackMountChanged
void callBackMountChanged(GVolumeMonitor* volumemonitorStruct, GMount* mount, VolumeMonitor _volumemonitor)
Undocumented in source. Be warned that the author may not have intended to support it.
onMountPreUnmountListeners
void delegate(MountIF, VolumeMonitor)[] onMountPreUnmountListeners;
Undocumented in source.
addOnMountPreUnmount
void addOnMountPreUnmount(void delegate(MountIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when a mount is about to be removed.

callBackMountPreUnmount
void callBackMountPreUnmount(GVolumeMonitor* volumemonitorStruct, GMount* mount, VolumeMonitor _volumemonitor)
Undocumented in source. Be warned that the author may not have intended to support it.
onMountRemovedListeners
void delegate(MountIF, VolumeMonitor)[] onMountRemovedListeners;
Undocumented in source.
addOnMountRemoved
void addOnMountRemoved(void delegate(MountIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when a mount is removed.

callBackMountRemoved
void callBackMountRemoved(GVolumeMonitor* volumemonitorStruct, GMount* mount, VolumeMonitor _volumemonitor)
Undocumented in source. Be warned that the author may not have intended to support it.
onVolumeAddedListeners
void delegate(VolumeIF, VolumeMonitor)[] onVolumeAddedListeners;
Undocumented in source.
addOnVolumeAdded
void addOnVolumeAdded(void delegate(VolumeIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when a mountable volume is added to the system.

callBackVolumeAdded
void callBackVolumeAdded(GVolumeMonitor* volumemonitorStruct, GVolume* volume, VolumeMonitor _volumemonitor)
Undocumented in source. Be warned that the author may not have intended to support it.
onVolumeChangedListeners
void delegate(VolumeIF, VolumeMonitor)[] onVolumeChangedListeners;
Undocumented in source.
addOnVolumeChanged
void addOnVolumeChanged(void delegate(VolumeIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when mountable volume is changed.

callBackVolumeChanged
void callBackVolumeChanged(GVolumeMonitor* volumemonitorStruct, GVolume* volume, VolumeMonitor _volumemonitor)
Undocumented in source. Be warned that the author may not have intended to support it.
onVolumeRemovedListeners
void delegate(VolumeIF, VolumeMonitor)[] onVolumeRemovedListeners;
Undocumented in source.
addOnVolumeRemoved
void addOnVolumeRemoved(void delegate(VolumeIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when a mountable volume is removed from the system.

callBackVolumeRemoved
void callBackVolumeRemoved(GVolumeMonitor* volumemonitorStruct, GVolume* volume, VolumeMonitor _volumemonitor)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta