Gio.MountOperation::show-processes
connect('show-processes', function (mountOperation, message: String, processes: Array(GLib.Pid), choices: Array(String), ): void);
Emitted when one or more processes are blocking an operation e.g. unmounting/ejecting a Gio.Mount or stopping a Gio.Drive.
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 Gio.MountOperation.prototype.reply to the latest signal (setting Gio.MountOperation.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.
Since 2.22
- mountOperation
instance of Gio.MountOperation that is emitting the signal
- message
string containing a message to display to the user.
- processes
an array of GLib.Pid for processes blocking the operation.
- choices
an array of strings for each possible choice.