MountOperationSignalName
public enum MountOperationSignalName : String, SignalNameProtocol
Undocumented
-
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.
Declaration
Swift
case aborted = "aborted"
-
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
.Declaration
Swift
case askPassword = "ask-password"
-
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
.Declaration
Swift
case askQuestion = "ask-question"
-
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.Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with
G_PARAM_EXPLICIT_NOTIFY
, then any call tog_object_set_property()
results innotify
being emitted, even if the new value is the same as the old. If they did passG_PARAM_EXPLICIT_NOTIFY
, then this signal is emitted only when they explicitly callg_object_notify()
org_object_notify_by_pspec()
, and common practice is to do that only when the value has actually changed.This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the
g_signal_connect()
call, like this:(C Language Example):
g_signal_connect (text_view->buffer, "notify::paste-target-list", G_CALLBACK (gtk_text_view_target_list_notify), text_view)
It is important to note that you must use canonical parameter names as detail strings for the notify signal.
Declaration
Swift
case notify = "notify"
-
Emitted when the user has replied to the mount operation.
Declaration
Swift
case reply = "reply"
-
Emitted when one or more processes are blocking an operation e.g. unmounting/ejecting a
GMount
or stopping aGDrive
.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 (settingGMountOperation: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
.Declaration
Swift
case showProcesses = "show-processes"
-
Emitted when an unmount operation has been busy for more than some time (typically 1.5 seconds).
When unmounting or ejecting a volume, the kernel might need to flush pending data in its buffers to the volume stable storage, and this operation can take a considerable amount of time. This signal may be emitted several times as long as the unmount operation is outstanding, and then one last time when the operation is completed, with
bytes_left
set to zero.Implementations of GMountOperation should handle this signal by showing an UI notification, and then dismiss it, or show another notification of completion, when
bytes_left
reaches zero.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
.Declaration
Swift
case showUnmountProgress = "show-unmount-progress"
-
Whether to use an anonymous user when authenticating.
Declaration
Swift
case notifyAnonymous = "notify::anonymous"
-
The index of the user’s choice when a question is asked during the mount operation. See the
GMountOperation::ask-question
signal.Declaration
Swift
case notifyChoice = "notify::choice"
-
The display where dialogs will be shown.
Declaration
Swift
case notifyDisplay = "notify::display"
-
The domain to use for the mount operation.
Declaration
Swift
case notifyDomain = "notify::domain"
-
Whether a dialog is currently shown.
Declaration
Swift
case notifyIsShowing = "notify::is-showing"
-
Whether the device to be unlocked is a TCRYPT hidden volume. See the VeraCrypt documentation.
Declaration
Swift
case notifyIsTcryptHiddenVolume = "notify::is-tcrypt-hidden-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.
Declaration
Swift
case notifyIsTcryptSystemVolume = "notify::is-tcrypt-system-volume"
-
The parent window.
Declaration
Swift
case notifyParent = "notify::parent"
-
The password that is used for authentication when carrying out the mount operation.
Declaration
Swift
case notifyPassword = "notify::password"
-
Determines if and how the password information should be saved.
Declaration
Swift
case notifyPasswordSave = "notify::password-save"
-
The VeraCrypt PIM value, when unlocking a VeraCrypt volume. See the VeraCrypt documentation.
Declaration
Swift
case notifyPim = "notify::pim"
-
The user name that is used for authentication when carrying out the mount operation.
Declaration
Swift
case notifyUsername = "notify::username"