UnixMountPoint

Defines a Unix mount point (e.g. <filename>/dev</filename>). This corresponds roughly to a fstab entry.

Members

Functions

compare
int compare(gio.unix_mount_point.UnixMountPoint mount2)

Compares two unix mount points.

copy
gio.unix_mount_point.UnixMountPoint copy()

Makes a copy of mount_point.

getDevicePath
string getDevicePath()

Gets the device path for a unix mount point.

getFsType
string getFsType()

Gets the file system type for the mount point.

getMountPath
string getMountPath()

Gets the mount path for a unix mount point.

getOptions
string getOptions()

Gets the options for the mount point.

guessCanEject
bool guessCanEject()

Guesses whether a Unix mount point can be ejected.

guessIcon
gio.icon.Icon guessIcon()

Guesses the icon of a Unix mount point.

guessName
string guessName()

Guesses the name of a Unix mount point. The result is a translated string.

guessSymbolicIcon
gio.icon.Icon guessSymbolicIcon()

Guesses the symbolic icon of a Unix mount point.

isLoopback
bool isLoopback()

Checks if a unix mount point is a loopback device.

isReadonly
bool isReadonly()

Checks if a unix mount point is read only.

isUserMountable
bool isUserMountable()

Checks if a unix mount point is mountable by the user.

Static functions

at
gio.unix_mount_point.UnixMountPoint at(string mountPath, ulong timeRead)

Gets a #GUnixMountPoint for a given mount path. If time_read is set, it will be filled with a unix timestamp for checking if the mount points have changed since with gio.global.unixMountPointsChangedSince.

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

getType
GType getType()

Get the GType of this boxed type.

gType
GType gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.