NativeVolumeMonitor

Constructors

this
this(GNativeVolumeMonitor* gNativeVolumeMonitor, bool ownedRef)

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

Members

Functions

getNativeVolumeMonitorStruct
GNativeVolumeMonitor* getNativeVolumeMonitorStruct(bool transferOwnership)

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(bool transferOwnership)

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.

OnDriveChangedDelegateWrapper
class OnDriveChangedDelegateWrapper
Undocumented in source.
addOnDriveChanged
gulong addOnDriveChanged(void delegate(DriveIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when a drive changes.

callBackDriveChanged
void callBackDriveChanged(GVolumeMonitor* volumemonitorStruct, GDrive* drive, OnDriveChangedDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackDriveChangedDestroy
void callBackDriveChangedDestroy(OnDriveChangedDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
OnDriveConnectedDelegateWrapper
class OnDriveConnectedDelegateWrapper
Undocumented in source.
addOnDriveConnected
gulong addOnDriveConnected(void delegate(DriveIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when a drive is connected to the system.

callBackDriveConnected
void callBackDriveConnected(GVolumeMonitor* volumemonitorStruct, GDrive* drive, OnDriveConnectedDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackDriveConnectedDestroy
void callBackDriveConnectedDestroy(OnDriveConnectedDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
OnDriveDisconnectedDelegateWrapper
class OnDriveDisconnectedDelegateWrapper
Undocumented in source.
addOnDriveDisconnected
gulong addOnDriveDisconnected(void delegate(DriveIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when a drive is disconnected from the system.

callBackDriveDisconnected
void callBackDriveDisconnected(GVolumeMonitor* volumemonitorStruct, GDrive* drive, OnDriveDisconnectedDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackDriveDisconnectedDestroy
void callBackDriveDisconnectedDestroy(OnDriveDisconnectedDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
OnDriveEjectButtonDelegateWrapper
class OnDriveEjectButtonDelegateWrapper
Undocumented in source.
addOnDriveEjectButton
gulong addOnDriveEjectButton(void delegate(DriveIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when the eject button is pressed on @drive.

callBackDriveEjectButton
void callBackDriveEjectButton(GVolumeMonitor* volumemonitorStruct, GDrive* drive, OnDriveEjectButtonDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackDriveEjectButtonDestroy
void callBackDriveEjectButtonDestroy(OnDriveEjectButtonDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
OnDriveStopButtonDelegateWrapper
class OnDriveStopButtonDelegateWrapper
Undocumented in source.
addOnDriveStopButton
gulong addOnDriveStopButton(void delegate(DriveIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when the stop button is pressed on @drive.

callBackDriveStopButton
void callBackDriveStopButton(GVolumeMonitor* volumemonitorStruct, GDrive* drive, OnDriveStopButtonDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackDriveStopButtonDestroy
void callBackDriveStopButtonDestroy(OnDriveStopButtonDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
OnMountAddedDelegateWrapper
class OnMountAddedDelegateWrapper
Undocumented in source.
addOnMountAdded
gulong addOnMountAdded(void delegate(MountIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when a mount is added.

callBackMountAdded
void callBackMountAdded(GVolumeMonitor* volumemonitorStruct, GMount* mount, OnMountAddedDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackMountAddedDestroy
void callBackMountAddedDestroy(OnMountAddedDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
OnMountChangedDelegateWrapper
class OnMountChangedDelegateWrapper
Undocumented in source.
addOnMountChanged
gulong addOnMountChanged(void delegate(MountIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when a mount changes.

callBackMountChanged
void callBackMountChanged(GVolumeMonitor* volumemonitorStruct, GMount* mount, OnMountChangedDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackMountChangedDestroy
void callBackMountChangedDestroy(OnMountChangedDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
OnMountPreUnmountDelegateWrapper
class OnMountPreUnmountDelegateWrapper
Undocumented in source.
addOnMountPreUnmount
gulong addOnMountPreUnmount(void delegate(MountIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when a mount is about to be removed.

callBackMountPreUnmount
void callBackMountPreUnmount(GVolumeMonitor* volumemonitorStruct, GMount* mount, OnMountPreUnmountDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackMountPreUnmountDestroy
void callBackMountPreUnmountDestroy(OnMountPreUnmountDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
OnMountRemovedDelegateWrapper
class OnMountRemovedDelegateWrapper
Undocumented in source.
addOnMountRemoved
gulong addOnMountRemoved(void delegate(MountIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when a mount is removed.

callBackMountRemoved
void callBackMountRemoved(GVolumeMonitor* volumemonitorStruct, GMount* mount, OnMountRemovedDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackMountRemovedDestroy
void callBackMountRemovedDestroy(OnMountRemovedDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
OnVolumeAddedDelegateWrapper
class OnVolumeAddedDelegateWrapper
Undocumented in source.
addOnVolumeAdded
gulong 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, OnVolumeAddedDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackVolumeAddedDestroy
void callBackVolumeAddedDestroy(OnVolumeAddedDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
OnVolumeChangedDelegateWrapper
class OnVolumeChangedDelegateWrapper
Undocumented in source.
addOnVolumeChanged
gulong addOnVolumeChanged(void delegate(VolumeIF, VolumeMonitor) dlg, ConnectFlags connectFlags)

Emitted when mountable volume is changed.

callBackVolumeChanged
void callBackVolumeChanged(GVolumeMonitor* volumemonitorStruct, GVolume* volume, OnVolumeChangedDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackVolumeChangedDestroy
void callBackVolumeChangedDestroy(OnVolumeChangedDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.
OnVolumeRemovedDelegateWrapper
class OnVolumeRemovedDelegateWrapper
Undocumented in source.
addOnVolumeRemoved
gulong 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, OnVolumeRemovedDelegateWrapper wrapper)
Undocumented in source. Be warned that the author may not have intended to support it.
callBackVolumeRemovedDestroy
void callBackVolumeRemovedDestroy(OnVolumeRemovedDelegateWrapper wrapper, GClosure* closure)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta