show_processes
Description:
[ Version ( since = "2.22" ) ]
public virtual signal void show_processes (string message, Array<Pid> processes, string[] choices)
public virtual signal void show_processes (string message, Array<Pid> processes, string[] choices)
Emitted when one or more processes are blocking an operation e.
g. unmounting/ejecting a Mount or stopping a 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 reply to the latest signal (setting 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
.
Parameters:
message |
string containing a message to display to the user. |
processes |
an array of Pid for processes blocking the operation. |
choices |
an array of strings for each possible choice. |