UnixMountPoint

Routines for managing mounted UNIX mount points and paths.

Note that <gio/gunixmounts.h> belongs to the UNIX-specific GIO interfaces, thus you have to use the gio-unix-2.0.pc pkg-config file when using it.

Constructors

this
this(GUnixMountPoint* gUnixMountPoint)

Sets our main struct and passes it to the parent class

Members

Functions

compare
int compare(UnixMountPoint mount2)

Compares two unix mount points.

free
void free()

Frees a unix 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. Since 2.32

getStruct
void* getStruct()

the main Gtk struct as a void*

getUnixMountPointStruct
GUnixMountPoint* getUnixMountPointStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
guessCanEject
int guessCanEject()

Guesses whether a Unix mount point can be ejected.

guessIcon
IconIF 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
IconIF guessSymbolicIcon()

Guesses the symbolic icon of a Unix mount point. Since 2.34

isLoopback
int isLoopback()

Checks if a unix mount point is a loopback device.

isReadonly
int isReadonly()

Checks if a unix mount point is read only.

isUserMountable
int isUserMountable()

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

Variables

gUnixMountPoint
GUnixMountPoint* gUnixMountPoint;

the main Gtk struct

Meta