Class
GtkMountOperation
Description [src]
class Gtk.MountOperation : Gio.MountOperation
{
GtkMountOperationPrivate* priv
}
This should not be accessed directly. Use the accessor functions below.
Instance methods
gtk_mount_operation_get_screen
Gets the screen on which windows of the GtkMountOperation
will be shown.
since: 2.14
gtk_mount_operation_is_showing
Returns whether the GtkMountOperation
is currently displaying
a window.
since: 2.14
gtk_mount_operation_set_parent
Sets the transient parent for windows shown by the
GtkMountOperation
.
since: 2.14
gtk_mount_operation_set_screen
Sets the screen to show windows of the GtkMountOperation
on.
since: 2.14
Methods inherited from GMountOperation (19)
g_mount_operation_get_anonymous
Check to see whether the mount operation is being used for an anonymous user.
g_mount_operation_get_choice
Gets a choice from the mount operation.
g_mount_operation_get_domain
Gets the domain of the mount operation.
g_mount_operation_get_is_tcrypt_hidden_volume
Check to see whether the mount operation is being used for a TCRYPT hidden volume.
g_mount_operation_get_is_tcrypt_system_volume
Check to see whether the mount operation is being used for a TCRYPT system volume.
g_mount_operation_get_password
Gets a password from the mount operation.
g_mount_operation_get_password_save
Gets the state of saving passwords for the mount operation.
g_mount_operation_get_pim
Gets a PIM from the mount operation.
g_mount_operation_get_username
Get the user name from the mount operation.
g_mount_operation_reply
Emits the GMountOperation::reply
signal.
g_mount_operation_set_anonymous
Sets the mount operation to use an anonymous user if anonymous
is TRUE
.
g_mount_operation_set_choice
Sets a default choice for the mount operation.
g_mount_operation_set_domain
Sets the mount operation’s domain.
g_mount_operation_set_is_tcrypt_hidden_volume
Sets the mount operation to use a hidden volume if hidden_volume
is TRUE
.
g_mount_operation_set_is_tcrypt_system_volume
Sets the mount operation to use a system volume if system_volume
is TRUE
.
g_mount_operation_set_password
Sets the mount operation’s password to password
.
g_mount_operation_set_password_save
Sets the state of saving passwords for the mount operation.
g_mount_operation_set_pim
Sets the mount operation’s PIM to pim
.
g_mount_operation_set_username
Sets the user name within op
to username
.
Properties
Properties inherited from GMountOperation (9)
Gio.MountOperation:anonymous
Whether to use an anonymous user when authenticating.
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.
Gio.MountOperation:domain
The domain to use for the mount operation.
Gio.MountOperation:is-tcrypt-hidden-volume
Whether the device to be unlocked is a TCRYPT hidden volume. See the VeraCrypt documentation.
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.
Gio.MountOperation:password
The password that is used for authentication when carrying out the mount operation.
Gio.MountOperation:password-save
Determines if and how the password information should be saved.
Gio.MountOperation:pim
The VeraCrypt PIM value, when unlocking a VeraCrypt volume. See the VeraCrypt documentation.
Gio.MountOperation:username
The user name that is used for authentication when carrying out the mount operation.
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.
GMountOperation::ask-password
Emitted when a mount operation asks the user for a password.
GMountOperation::ask-question
Emitted when asking the user a question and gives a list of choices for the user to choose from.
GMountOperation::reply
Emitted when the user has replied to the mount operation.
GMountOperation::show-processes
Emitted when one or more processes are blocking an operation
e.g. unmounting/ejecting a GMount
or stopping a GDrive
.
GMountOperation::show-unmount-progress
Emitted when an unmount operation has been busy for more than some time (typically 1.5 seconds).
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.
Class structure
struct GtkMountOperationClass {
GMountOperationClass parent_class;
void (* _gtk_reserved1) (
void
);
void (* _gtk_reserved2) (
void
);
void (* _gtk_reserved3) (
void
);
void (* _gtk_reserved4) (
void
);
}
No description available.
Class members
parent_class: GMountOperationClass
The parent class.
_gtk_reserved1: void (* _gtk_reserved1) ( void )
No description available.
_gtk_reserved2: void (* _gtk_reserved2) ( void )
No description available.
_gtk_reserved3: void (* _gtk_reserved3) ( void )
No description available.
_gtk_reserved4: void (* _gtk_reserved4) ( void )
No description available.