Learn R Programming

RGtk2 (version 2.20.1)

GMount: GMount

Description

Mount management

Arguments

Methods and Functions

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)

Hierarchy

GInterface +----GMount

Detailed Description

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.

References

http://library.gnome.org/devel//gio/GMount.html