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.
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.
The term ‘TCRYPT’ is used to mean ‘compatible with TrueCrypt and VeraCrypt’. TrueCrypt is a discontinued system for encrypting file containers, partitions or whole disks, typically used with Windows. VeraCrypt is a maintained fork of TrueCrypt with various improvements and auditing fixes.
Sets our main struct and passes it to the parent class.
Creates a new mount operation.
Emitted by the backend when e.g. a device becomes unavailable while a mount operation is in progress.
Emitted when a mount operation asks the user for a password.
Emitted when asking the user a question and gives a list of choices for the user to choose from.
Emitted when the user has replied to the mount operation.
Emitted when an unmount operation has been busy for more than some time (typically 1.5 seconds).
Check to see whether the mount operation is being used for an anonymous user.
Gets a choice from the mount operation.
Gets the domain of the mount operation.
Check to see whether the mount operation is being used for a TCRYPT hidden volume.
Check to see whether the mount operation is being used for a TCRYPT system volume.
Get the main Gtk struct
Gets a password from the mount operation.
Gets the state of saving passwords for the mount operation.
Gets a PIM from the mount operation.
the main Gtk struct as a void*
Get the user name from the mount operation.
Emits the reply signal.
Sets the mount operation to use an anonymous user if anonymous is TRUE.
Sets a default choice for the mount operation.
Sets the mount operation's domain.
Sets the mount operation to use a hidden volume if hidden_volume is TRUE.
Sets the mount operation to use a system volume if system_volume is TRUE.
Sets the mount operation's password to password.
Sets the state of saving passwords for the mount operation.
Sets the mount operation's PIM to pim.
Sets the user name within op to username.
the main Gtk struct