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 = false)

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

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

compare
int compare(UnixMountPoint mount2)

Compares two unix mount points.

copy
UnixMountPoint copy()

Makes a copy of mount_point.

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

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.

Static functions

getType
GType getType()

Variables

gUnixMountPoint
GUnixMountPoint* gUnixMountPoint;

the main Gtk struct