Back to Seed Clases

Gio


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker Gio.MountOperation

Class Gio.MountOperation

Import line: Gio = imports.gi.Gio;
GIR File: Gio-2.0.gir
C documentation: GMountOperation
Class : MountOperation
Extends: GObject.Object
GMountOperation provides a mechanism for interacting with the user.
It can be used for authenticating mountable operations, such as loop
mounting files, hard drive partitions or server locations. It can
also be used to ask the user questions or show a list of applications
preventing unmount or eject operations from completing.
Note that GMountOperation is used for more than just GMount
objects – for example it is also used in g_drive_start() and
g_drive_stop().
Users should instantiate a subclass of this that implements all the
various callbacks to show the required dialogs, such as
GtkMountOperation. If no user interaction is desired (for example
when automounting filesystems at login time), usually NULL can be
passed, see each method taking a GMountOperation for details.
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events - usage syntax: this.signals.EVENTNAME.connect( Function )
Event Defined By
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gio.Drive
Method
eject_with_operation (MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data) : none
Ejects a drive.
Gio.Drive
Method
start (DriveStartFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data) : none
Asynchronously starts a drive.
Gio.Drive
Method
stop (MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data) : none
Asynchronously stops a drive.
Gio.File
Method
eject_mountable_with_operation (MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data) : none
Starts an asynchronous eject on a mountable.
Gio.File
Method
mount_enclosing_volume (MountMountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data) : none
Starts a mount_operation, mounting the volume that contains the file location.
Gio.File
Method
mount_mountable (MountMountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data) : none
Mounts a file of type G_FILE_TYPE_MOUNTABLE.
Gio.File
Method
start_mountable (DriveStartFlags flags, MountOperation start_operation, Cancellable cancellable, Function callback, void* user_data) : none
Starts a file of type G_FILE_TYPE_MOUNTABLE.
Gio.File
Method
stop_mountable (MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data) : none
Stops a file of type G_FILE_TYPE_MOUNTABLE.
Gio.File
Method
unmount_mountable_with_operation (MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data) : none
Unmounts a file of type G_FILE_TYPE_MOUNTABLE.
Gio.Mount
Method
eject_with_operation (MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data) : none
Ejects a mount.
Gio.Mount
Method
remount (MountMountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data) : none
Remounts a mount.
Gio.Mount
Method
unmount_with_operation (MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data) : none
Unmounts a mount.
Gio.Volume
Method
eject_with_operation (MountUnmountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data) : none
Ejects a volume.
Gio.Volume
Method
mount (MountMountFlags flags, MountOperation mount_operation, Cancellable cancellable, Function callback, void* user_data) : none
Mounts a volume.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:11:14 GMT+0800 (HKT)