### Class

# Phosh MountOperation

since: 0

#### Description [src]

    final class Phosh.MountOperation : Gio.MountOperation
    {
      /* No available fields */
    }

`GMountOperation` using UI

A `GMountOperation` that uses system modal dialogs for input.

Available since: 0

#### Ancestors

- GMountOperation
- GObject

#### Constructors

###### phosh_mount_operation_new

No description available.

since: 0

#### Instance methods

##### Methods inherited from GMountOperation (19)

###### g_mount_operation_get_anonymous

Check to see whether the mount operation is being used for an anonymous user.

unstable since: 2.0

###### g_mount_operation_get_choice

Gets a choice from the mount operation.

unstable since: 2.0

###### g_mount_operation_get_domain

Gets the domain of the mount operation.

unstable since: 2.0

###### g_mount_operation_get_is_tcrypt_hidden_volume

Check to see whether the mount operation is being used for a TCRYPT hidden volume.

unstable since: 2.58

###### g_mount_operation_get_is_tcrypt_system_volume

Check to see whether the mount operation is being used for a TCRYPT system volume.

unstable since: 2.58

###### g_mount_operation_get_password

Gets a password from the mount operation.

unstable since: 2.0

###### g_mount_operation_get_password_save

Gets the state of saving passwords for the mount operation.

unstable since: 2.0

###### g_mount_operation_get_pim

Gets a PIM from the mount operation.

unstable since: 2.58

###### g_mount_operation_get_username

Get the user name from the mount operation.

unstable since: 2.0

###### g_mount_operation_reply

Emits the `GMountOperation::reply` signal.

unstable since: 2.0

###### g_mount_operation_set_anonymous

Sets the mount operation to use an anonymous user if `anonymous` is `TRUE`.

unstable since: 2.0

###### g_mount_operation_set_choice

Sets a default choice for the mount operation.

unstable since: 2.0

###### g_mount_operation_set_domain

Sets the mount operation’s domain.

unstable since: 2.0

###### g_mount_operation_set_is_tcrypt_hidden_volume

Sets the mount operation to use a hidden volume if `hidden_volume` is `TRUE`.

unstable since: 2.58

###### g_mount_operation_set_is_tcrypt_system_volume

Sets the mount operation to use a system volume if `system_volume` is `TRUE`.

unstable since: 2.58

###### g_mount_operation_set_password

Sets the mount operation’s password to `password`.

unstable since: 2.0

###### g_mount_operation_set_password_save

Sets the state of saving passwords for the mount operation.

unstable since: 2.0

###### g_mount_operation_set_pim

Sets the mount operation’s PIM to `pim`.

unstable since: 2.58

###### g_mount_operation_set_username

Sets the user name within `op` to `username`.

unstable since: 2.0

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

##### Properties inherited from GMountOperation (9)

###### Gio.MountOperation:anonymous

Whether to use an anonymous user when authenticating.

unstable since: 2.0

###### Gio.MountOperation:choice

The index of the user’s choice when a question is asked during the mount operation. See the `GMountOperation::ask-question` signal.

unstable since: 2.0

###### Gio.MountOperation:domain

The domain to use for the mount operation.

unstable since: 2.0

###### Gio.MountOperation:is-tcrypt-hidden-volume

Whether the device to be unlocked is a TCRYPT hidden volume. See the VeraCrypt documentation.

unstable since: 2.58

###### Gio.MountOperation:is-tcrypt-system-volume

Whether the device to be unlocked is a TCRYPT system volume. In this context, a system volume is a volume with a bootloader and operating system installed. This is only supported for Windows operating systems. For further documentation, see the VeraCrypt documentation.

unstable since: 2.58

###### Gio.MountOperation:password

The password that is used for authentication when carrying out the mount operation.

unstable since: 2.0

###### Gio.MountOperation:password-save

Determines if and how the password information should be saved.

unstable since: 2.0

###### Gio.MountOperation:pim

The VeraCrypt PIM value, when unlocking a VeraCrypt volume. See the VeraCrypt documentation.

unstable since: 2.58

###### Gio.MountOperation:username

The user name that is used for authentication when carrying out the mount operation.

unstable since: 2.0

#### Signals

##### Signals inherited from GMountOperation (6)

###### GMountOperation::aborted

Emitted by the backend when e.g. a device becomes unavailable while a mount operation is in progress.

unstable since: 2.20

###### GMountOperation::ask-password

Emitted when a mount operation asks the user for a password.

unstable since: 2.0

###### GMountOperation::ask-question

Emitted when asking the user a question and gives a list of choices for the user to choose from.

unstable since: 2.0

###### GMountOperation::reply

Emitted when the user has replied to the mount operation.

unstable since: 2.0

###### GMountOperation::show-processes

Emitted when one or more processes are blocking an operation e.g. unmounting/ejecting a `GMount` or stopping a `GDrive`.

unstable since: 2.22

###### GMountOperation::show-unmount-progress

Emitted when an unmount operation has been busy for more than some time (typically 1.5 seconds).

unstable since: 2.34

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

unstable since: 2.0

#### Class structure

    struct PhoshMountOperationClass {
      GMountOperationClass parent_class;

    }

No description available.

###### Class members

`parent_class: GMountOperationClass`
  No description available.