GMount
Mount management
gMountGetName(object)gMountGetUuid(object)gMountGetIcon(object)gMountGetDrive(object)gMountGetRoot(object)gMountGetVolume(object)gMountCanUnmount(object)gMountUnmount(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL)gMountUnmountFinish(object, result, .errwarn = TRUE)gMountUnmountWithOperation(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)gMountUnmountWithOperationFinish(object, result, .errwarn = TRUE)gMountRemount(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)gMountRemountFinish(object, result, .errwarn = TRUE)gMountCanEject(object)gMountEject(object, flags = "G_MOUNT_UNMOUNT_NONE", cancellable = NULL, callback, user.data = NULL)gMountEjectFinish(object, result, .errwarn = TRUE)gMountEjectWithOperation(object, flags, mount.operation, cancellable = NULL, callback, user.data = NULL)gMountEjectWithOperationFinish(object, result, .errwarn = TRUE)gMountGuessContentType(object, force.rescan, cancellable = NULL, callback, user.data = NULL)gMountGuessContentTypeFinish(object, result, .errwarn = TRUE)gMountGuessContentTypeSync(object, force.rescan, cancellable = NULL, .errwarn = TRUE)gMountIsShadowed(object)gMountShadow(object)gMountUnshadow(object)
GInterface +----GMount GEnum +----GMountMountFlags GFlags +----GMountUnmountFlags
The GMount interface represents user-visible mounts. Note, when
porting from GnomeVFS, GMount is the moral equivalent of GnomeVFSVolume.
GMount is a "mounted" filesystem that you can access. Mounted is in
quotes because it's not the same as a unix mount, it might be a gvfs
mount, but you can still access the files on it if you use GIO. Might or
might not be related to a volume object.
Unmounting a GMount instance is an asynchronous operation. For
more information about asynchronous operations, see GAsyncReady
and GSimpleAsyncReady. To unmount a GMount instance, first call
gMountUnmountWithOperation with (at least) the GMount instance and a
GAsyncReadyCallback. The callback will be fired when the
operation has resolved (either with success or failure), and a
GAsyncReady structure will be passed to the callback. That
callback should then call gMountUnmountWithOperationFinish with the GMount
and the GAsyncReady data to see if the operation was completed
successfully. If an error is present when gMountUnmountWithOperationFinish
is called, then it will be filled with any error information.
GMountA handle to an object implementing the GMountIface interface.
GMountMountFlagsFlags used when mounting a mount.
noneNo flags set.
GMountUnmountFlagsFlags used when an unmounting a mount.
noneNo flags set.
forceUnmount even if there are outstanding file operations on the mount.
changed(mount, user.data)Emitted when the mount has been changed.
mountthe object on which the signal is emitted
user.datauser data set when the signal handler was connected.
pre-unmount(mount, user.data)This signal is emitted when the GMount is about to be
unmounted.
Since 2.22
mountthe object on which the signal is emitted
user.datauser data set when the signal handler was connected.
unmounted(mount, user.data)This signal is emitted when the GMount have been
unmounted. If the recipient is holding references to the
object they should release them so the object can be
finalized.
mountthe object on which the signal is emitted
user.datauser data set when the signal handler was connected.
Derived by RGtkGen from GTK+ documentation
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.