GObject.Object
 Gio.MountOperation
                Gio.MountOperation
		   
| Import line: | Gio = imports.gi.Gio; | 
| GIR File: | Gio-2.0.gir | 
| C documentation: | GMountOperation | 
| Class : | MountOperation | 
| Extends: | GObject.Object | 
| Properties | Defined By | |
|---|---|---|
| 
				anonymous : gboolean 
                   
                     
			 Whether to use an anonymous user when authenticating. Whether to use an anonymous user when authenticating. | Gio.MountOperation | |
| 
				choice : gint32 
                   
                     
			 The index of the user's choice when a question is asked during the mount operation. The index of the user's choice when a question is asked during the mount operation. See the GMountOperation::ask-question signal. | Gio.MountOperation | |
| 
				domain : String 
                   
                     
			 The domain to use for the mount operation. The domain to use for the mount operation. | Gio.MountOperation | |
| 
				parent_instance : GObject.Object 
                 read only  
                     
			 | Gio.MountOperation | |
| 
				password : String 
                   
                     
			 The password that is used for authentication when carrying out the mount operation. The password that is used for authentication when carrying out the mount operation. | Gio.MountOperation | |
| 
				password_save : Gio.PasswordSave 
                   
                     
			 Determines if and how the password information should be saved. Determines if and how the password information should be saved. | Gio.MountOperation | |
| 
				priv : Gio.MountOperationPrivate 
                 read only  
                     
			 | Gio.MountOperation | |
| 
				username : String 
                   
                     
			 The user name that is used for authentication when carrying out the mount operation. The user name that is used for authentication when carrying out the mount operation. | Gio.MountOperation | |
| Method / Constructor | Defined By | |
|---|---|---|
| 
			new  Gio.MountOperation
				
				 (Object properties) 
			
				
			
		 Create a new Gio.MountOperation 
			
			
			
				Create a new Gio.MountOperation
			
			
				 
 | ||
| 
			get_anonymous
				
				 () 
			
				
					 : 
					gboolean
					
				
			
		 Check to see whether the mount operation is being used for an anonymous user. 
			
				Check to see whether the mount operation is being used for an anonymous user. 
 | Gio.MountOperation | |
| 
			get_choice
				
				 () 
			
				
					 : 
					gint32
					
				
			
		 Gets a choice from the mount operation. 
			
				Gets a choice from the mount operation. the choice's list, or %0. 
 | Gio.MountOperation | |
| 
			get_domain
				
				 () 
			
				
					 : 
					String
					
				
			
		 Gets the domain of the mount operation. 
			
				Gets the domain of the mount operation.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.MountOperation | |
| 
			get_password
				
				 () 
			
				
					 : 
					String
					
				
			
		 Gets a password from the mount operation. 
			
				Gets a password from the mount operation.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.MountOperation | |
| 
			get_password_save
				
				 () 
			
				
					 : 
					Gio.PasswordSave
					
				
			
		 Gets the state of saving passwords for the mount operation. 
			
				Gets the state of saving passwords for the mount operation.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.MountOperation | |
| 
			get_username
				
				 () 
			
				
					 : 
					String
					
				
			
		 Get the user name from the mount operation. 
			
				Get the user name from the mount operation.
		    
				
			
			
			
			
			
			 
			
			
				 
 | Gio.MountOperation | |
| 
			reply
				
				 (MountOperationResult result) 
			
				
					 : 
					none
					
				
			
		 Emits the GMountOperation::reply signal. 
			
				Emits the GMountOperation::reply signal.
		    
				
			
			
			
			
				 
 
 | Gio.MountOperation | |
| 
			set_anonymous
				
				 (gboolean anonymous) 
			
				
					 : 
					none
					
				
			
		 Sets the mount operation to use an anonymous user if anonymous is TRUE. 
			
				Sets the mount operation to use an anonymous user if anonymous is TRUE.
		    
				
			
			
			
			
				 
 
 | Gio.MountOperation | |
| 
			set_choice
				
				 (gint32 choice) 
			
				
					 : 
					none
					
				
			
		 Sets a default choice for the mount operation. 
			
				Sets a default choice for the mount operation.
		    
				
			
			
			
			
				 
 
 | Gio.MountOperation | |
| 
			set_domain
				
				 (String domain) 
			
				
					 : 
					none
					
				
			
		 Sets the mount operation's domain. 
			
				Sets the mount operation's domain.
		    
				
			
			
			
			
				 
 
 | Gio.MountOperation | |
| 
			set_password
				
				 (String password) 
			
				
					 : 
					none
					
				
			
		 Sets the mount operation's password to password. 
			
				Sets the mount operation's password to password.
		    
				
			
			
			
			
				 
 
 | Gio.MountOperation | |
| 
			set_password_save
				
				 (PasswordSave save) 
			
				
					 : 
					none
					
				
			
		 Sets the state of saving passwords for the mount operation. 
			
				Sets the state of saving passwords for the mount operation.
		    
				
			
			
			
			
				 
 
 | Gio.MountOperation | |
| 
			set_username
				
				 (String username) 
			
				
					 : 
					none
					
				
			
		 Sets the user name within op to username. 
			
				Sets the user name within op to username.
		    
				
			
			
			
			
				 
 
 | Gio.MountOperation | |
| Event | Defined By | |
|---|---|---|
| 
		aborted (MountOperation self) 
                : 
					none
					
        
        
		 Emitted by the backend when e.g.
		   
		 
		    
			Emitted by the backend when e.g. a device becomes unavailable while a mount operation is in progress. Implementations of GMountOperation should handle this signal by dismissing open password dialogs. 
 
 | Gio.MountOperation | |
| 
		ask_password (MountOperation self, String message, String default_user, String default_domain, AskPasswordFlags flags) 
                : 
					none
					
        
        
		 Emitted when a mount operation asks the user for a password.
		   
		 
		    
			Emitted when a mount operation asks the user for a password. If the message contains a line break, the first line should be presented as a heading. For example, it may be used as the primary text in a GtkMessageDialog. 
 
 | Gio.MountOperation | |
| Emitted when asking the user a question and gives a list of choices for the user to choose from. 
		    
			Emitted when asking the user a question and gives a list of choices for the user to choose from. If the message contains a line break, the first line should be presented as a heading. For example, it may be used as the primary text in a GtkMessageDialog. 
 
 | Gio.MountOperation | |
| 
		reply (MountOperation self, MountOperationResult result) 
                : 
					none
					
        
        
		 Emitted when the user has replied to the mount operation.
		   
		 
		    
			Emitted when the user has replied to the mount operation.
		    
			 
			
				 
 
 | Gio.MountOperation | |
| Emitted when one or more processes are blocking an operation e.g. 
		    
			Emitted when one or more processes are blocking an operation e.g. unmounting/ejecting a GMount or stopping a GDrive. Note that this signal may be emitted several times to update the list of blocking processes as processes close files. The application should only respond with g_mount_operation_reply() to the latest signal (setting GMountOperation:choice to the choice the user made). If the message contains a line break, the first line should be presented as a heading. For example, it may be used as the primary text in a GtkMessageDialog. 
 
 | Gio.MountOperation | |
| 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. |