UnixMountPoint

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

Constructors

this
this(GUnixMountPoint* gUnixMountPoint, bool ownedRef)

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.

getStruct
void* getStruct()

the main Gtk struct as a void*

getUnixMountPointStruct
GUnixMountPoint* getUnixMountPointStruct()

Get the main Gtk struct

guessCanEject
bool 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.

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.

Variables

gUnixMountPoint
GUnixMountPoint* gUnixMountPoint;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta