4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>GMountOperation</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
7
7
<link rel="home" href="index.html" title="GIO Reference Manual">
8
8
<link rel="up" href="file_ops.html" title="File Operations">
9
9
<link rel="prev" href="gio-GIOError.html" title="GIOError">
10
10
<link rel="next" href="file_mon.html" title="File System Monitoring">
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
57
57
const <span class="returnvalue">char</span> * <a class="link" href="GMountOperation.html#g-mount-operation-get-password" title="g_mount_operation_get_password ()">g_mount_operation_get_password</a> (<em class="parameter"><code><a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *op</code></em>);
58
58
<span class="returnvalue">void</span> <a class="link" href="GMountOperation.html#g-mount-operation-set-password" title="g_mount_operation_set_password ()">g_mount_operation_set_password</a> (<em class="parameter"><code><a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *op</code></em>,
59
59
<em class="parameter"><code>const <span class="type">char</span> *password</code></em>);
60
<a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GMountOperation.html#g-mount-operation-get-anonymous" title="g_mount_operation_get_anonymous ()">g_mount_operation_get_anonymous</a> (<em class="parameter"><code><a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *op</code></em>);
60
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GMountOperation.html#g-mount-operation-get-anonymous" title="g_mount_operation_get_anonymous ()">g_mount_operation_get_anonymous</a> (<em class="parameter"><code><a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *op</code></em>);
61
61
<span class="returnvalue">void</span> <a class="link" href="GMountOperation.html#g-mount-operation-set-anonymous" title="g_mount_operation_set_anonymous ()">g_mount_operation_set_anonymous</a> (<em class="parameter"><code><a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *op</code></em>,
62
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> anonymous</code></em>);
62
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> anonymous</code></em>);
63
63
const <span class="returnvalue">char</span> * <a class="link" href="GMountOperation.html#g-mount-operation-get-domain" title="g_mount_operation_get_domain ()">g_mount_operation_get_domain</a> (<em class="parameter"><code><a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *op</code></em>);
64
64
<span class="returnvalue">void</span> <a class="link" href="GMountOperation.html#g-mount-operation-set-domain" title="g_mount_operation_set_domain ()">g_mount_operation_set_domain</a> (<em class="parameter"><code><a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *op</code></em>,
65
65
<em class="parameter"><code>const <span class="type">char</span> *domain</code></em>);
80
80
+----GAskPasswordFlags
82
82
<pre class="synopsis">
83
<a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
83
<a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
84
84
+----GMountOperation
87
87
<div class="refsect1">
88
88
<a name="GMountOperation.properties"></a><h2>Properties</h2>
89
89
<pre class="synopsis">
90
"<a class="link" href="GMountOperation.html#GMountOperation--anonymous" title='The "anonymous" property'>anonymous</a>" <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
91
"<a class="link" href="GMountOperation.html#GMountOperation--choice" title='The "choice" property'>choice</a>" <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
92
"<a class="link" href="GMountOperation.html#GMountOperation--domain" title='The "domain" property'>domain</a>" <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
93
"<a class="link" href="GMountOperation.html#GMountOperation--password" title='The "password" property'>password</a>" <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
90
"<a class="link" href="GMountOperation.html#GMountOperation--anonymous" title='The "anonymous" property'>anonymous</a>" <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
91
"<a class="link" href="GMountOperation.html#GMountOperation--choice" title='The "choice" property'>choice</a>" <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
92
"<a class="link" href="GMountOperation.html#GMountOperation--domain" title='The "domain" property'>domain</a>" <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
93
"<a class="link" href="GMountOperation.html#GMountOperation--password" title='The "password" property'>password</a>" <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
94
94
"<a class="link" href="GMountOperation.html#GMountOperation--password-save" title='The "password-save" property'>password-save</a>" <a class="link" href="GMountOperation.html#GPasswordSave" title="enum GPasswordSave"><span class="type">GPasswordSave</span></a> : Read / Write
95
"<a class="link" href="GMountOperation.html#GMountOperation--username" title='The "username" property'>username</a>" <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
95
"<a class="link" href="GMountOperation.html#GMountOperation--username" title='The "username" property'>username</a>" <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
98
98
<div class="refsect1">
99
99
<a name="GMountOperation.signals"></a><h2>Signals</h2>
100
100
<pre class="synopsis">
101
"<a class="link" href="GMountOperation.html#GMountOperation-aborted" title='The "aborted" signal'>aborted</a>" : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
102
"<a class="link" href="GMountOperation.html#GMountOperation-ask-password" title='The "ask-password" signal'>ask-password</a>" : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
103
"<a class="link" href="GMountOperation.html#GMountOperation-ask-question" title='The "ask-question" signal'>ask-question</a>" : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
104
"<a class="link" href="GMountOperation.html#GMountOperation-reply" title='The "reply" signal'>reply</a>" : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
105
"<a class="link" href="GMountOperation.html#GMountOperation-show-processes" title='The "show-processes" signal'>show-processes</a>" : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
106
"<a class="link" href="GMountOperation.html#GMountOperation-show-unmount-progress" title='The "show-unmount-progress" signal'>show-unmount-progress</a>" : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
101
"<a class="link" href="GMountOperation.html#GMountOperation-aborted" title='The "aborted" signal'>aborted</a>" : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
102
"<a class="link" href="GMountOperation.html#GMountOperation-ask-password" title='The "ask-password" signal'>ask-password</a>" : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
103
"<a class="link" href="GMountOperation.html#GMountOperation-ask-question" title='The "ask-question" signal'>ask-question</a>" : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
104
"<a class="link" href="GMountOperation.html#GMountOperation-reply" title='The "reply" signal'>reply</a>" : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
105
"<a class="link" href="GMountOperation.html#GMountOperation-show-processes" title='The "show-processes" signal'>show-processes</a>" : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
106
"<a class="link" href="GMountOperation.html#GMountOperation-show-unmount-progress" title='The "show-unmount-progress" signal'>show-unmount-progress</a>" : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
109
109
<div class="refsect1">
124
124
Users should instantiate a subclass of this that implements all the
125
125
various callbacks to show the required dialogs, such as
126
<a href="http://developer.gnome.org/gtk2/gtk3-Filesystem-utilities.html#GtkMountOperation"><span class="type">GtkMountOperation</span></a>. If no user interaction is desired (for example
127
when automounting filesystems at login time), usually <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> can be
126
<span class="type">GtkMountOperation</span>. If no user interaction is desired (for example
127
when automounting filesystems at login time), usually <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> can be
128
128
passed, see each method taking a <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> for details.
145
145
user, or to notify the user of their choices in an authentication
148
<div class="variablelist"><table border="0">
148
<div class="variablelist"><table border="0" class="variablelist">
149
150
<col align="left" valign="top">
152
155
<td><p><a name="G-ASK-PASSWORD-NEED-PASSWORD:CAPS"></a><span class="term"><code class="literal">G_ASK_PASSWORD_NEED_PASSWORD</code></span></p></td>
192
195
<span class="type">Gvfs</span> stores passwords in the Gnome keyring when this flag allows it
193
196
to, and later retrieves it again from there.
195
<div class="variablelist"><table border="0">
198
<div class="variablelist"><table border="0" class="variablelist">
196
200
<col align="left" valign="top">
199
205
<td><p><a name="G-PASSWORD-SAVE-NEVER:CAPS"></a><span class="term"><code class="literal">G_PASSWORD_SAVE_NEVER</code></span></p></td>
235
241
<a class="link" href="GMountOperation.html#GMountOperationResult" title="enum GMountOperationResult"><span class="type">GMountOperationResult</span></a> is returned as a result when a request for
236
242
information is send by the mounting operation.
238
<div class="variablelist"><table border="0">
244
<div class="variablelist"><table border="0" class="variablelist">
239
246
<col align="left" valign="top">
242
251
<td><p><a name="G-MOUNT-OPERATION-HANDLED:CAPS"></a><span class="term"><code class="literal">G_MOUNT_OPERATION_HANDLED</code></span></p></td>
267
276
Creates a new mount operation.
269
<div class="variablelist"><table border="0">
278
<div class="variablelist"><table border="0" class="variablelist">
270
280
<col align="left" valign="top">
272
284
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
273
285
<td>a <a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a>.</td>
364
388
<div class="refsect2">
365
389
<a name="g-mount-operation-get-anonymous"></a><h3>g_mount_operation_get_anonymous ()</h3>
366
<pre class="programlisting"><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_mount_operation_get_anonymous (<em class="parameter"><code><a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *op</code></em>);</pre>
390
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> g_mount_operation_get_anonymous (<em class="parameter"><code><a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *op</code></em>);</pre>
368
392
Check to see whether the mount operation is being used
369
393
for an anonymous user.
371
<div class="variablelist"><table border="0">
395
<div class="variablelist"><table border="0" class="variablelist">
372
397
<col align="left" valign="top">
375
402
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
387
414
<div class="refsect2">
388
415
<a name="g-mount-operation-set-anonymous"></a><h3>g_mount_operation_set_anonymous ()</h3>
389
416
<pre class="programlisting"><span class="returnvalue">void</span> g_mount_operation_set_anonymous (<em class="parameter"><code><a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *op</code></em>,
390
<em class="parameter"><code><a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> anonymous</code></em>);</pre>
417
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> anonymous</code></em>);</pre>
392
Sets the mount operation to use an anonymous user if <em class="parameter"><code>anonymous</code></em> is <a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
419
Sets the mount operation to use an anonymous user if <em class="parameter"><code>anonymous</code></em> is <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
394
<div class="variablelist"><table border="0">
421
<div class="variablelist"><table border="0" class="variablelist">
395
423
<col align="left" valign="top">
398
428
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
564
615
<a name="GMountOperation.property-details"></a><h2>Property Details</h2>
565
616
<div class="refsect2">
566
617
<a name="GMountOperation--anonymous"></a><h3>The <code class="literal">"anonymous"</code> property</h3>
567
<pre class="programlisting"> "anonymous" <a href="./../glib/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
618
<pre class="programlisting"> "anonymous" <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
569
620
Whether to use an anonymous user when authenticating.
574
625
<div class="refsect2">
575
626
<a name="GMountOperation--choice"></a><h3>The <code class="literal">"choice"</code> property</h3>
576
<pre class="programlisting"> "choice" <a href="./../glib/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
627
<pre class="programlisting"> "choice" <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
578
629
The index of the user's choice when a question is asked during the
579
631
mount operation. See the <a class="link" href="GMountOperation.html#GMountOperation-ask-question" title='The "ask-question" signal'><span class="type">"ask-question"</span></a> signal.
581
633
<p>Allowed values: >= 0</p>
625
677
<div class="refsect2">
626
678
<a name="GMountOperation-aborted"></a><h3>The <code class="literal">"aborted"</code> signal</h3>
627
679
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *arg0,
628
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
680
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
630
682
Emitted by the backend when e.g. a device becomes unavailable
631
683
while a mount operation is in progress.
634
686
Implementations of GMountOperation should handle this signal
635
687
by dismissing open password dialogs.
637
<div class="variablelist"><table border="0">
689
<div class="variablelist"><table border="0" class="variablelist">
638
691
<col align="left" valign="top">
640
695
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
641
696
<td>user data set when the signal handler was connected.</td>
647
702
<div class="refsect2">
648
703
<a name="GMountOperation-ask-password"></a><h3>The <code class="literal">"ask-password"</code> signal</h3>
649
704
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *op,
650
<a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message,
651
<a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *default_user,
652
<a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *default_domain,
705
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message,
706
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *default_user,
707
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *default_domain,
653
708
<a class="link" href="GMountOperation.html#GAskPasswordFlags"><span class="type">GAskPasswordFlags</span></a> flags,
654
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
709
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
656
711
Emitted when a mount operation asks the user for a password.
659
714
If the message contains a line break, the first line should be
660
715
presented as a heading. For example, it may be used as the
661
primary text in a <a href="http://developer.gnome.org/gtk2/GtkMessageDialog.html"><span class="type">GtkMessageDialog</span></a>.
716
primary text in a <span class="type">GtkMessageDialog</span>.
663
<div class="variablelist"><table border="0">
718
<div class="variablelist"><table border="0" class="variablelist">
664
720
<col align="left" valign="top">
667
725
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
694
752
<div class="refsect2">
695
753
<a name="GMountOperation-ask-question"></a><h3>The <code class="literal">"ask-question"</code> signal</h3>
696
754
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *op,
697
<a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message,
698
<a href="./../gobject/gobject/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> choices,
699
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
755
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message,
756
<a href="../gobject/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> choices,
757
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
701
759
Emitted when asking the user a question and gives a list of
702
760
choices for the user to choose from.
705
763
If the message contains a line break, the first line should be
706
764
presented as a heading. For example, it may be used as the
707
primary text in a <a href="http://developer.gnome.org/gtk2/GtkMessageDialog.html"><span class="type">GtkMessageDialog</span></a>.
765
primary text in a <span class="type">GtkMessageDialog</span>.
709
<div class="variablelist"><table border="0">
767
<div class="variablelist"><table border="0" class="variablelist">
710
769
<col align="left" valign="top">
713
774
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
733
794
<a name="GMountOperation-reply"></a><h3>The <code class="literal">"reply"</code> signal</h3>
734
795
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *op,
735
796
<a class="link" href="GMountOperation.html#GMountOperationResult" title="enum GMountOperationResult"><span class="type">GMountOperationResult</span></a> result,
736
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
797
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
738
799
Emitted when the user has replied to the mount operation.
740
<div class="variablelist"><table border="0">
801
<div class="variablelist"><table border="0" class="variablelist">
741
803
<col align="left" valign="top">
744
808
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
759
823
<div class="refsect2">
760
824
<a name="GMountOperation-show-processes"></a><h3>The <code class="literal">"show-processes"</code> signal</h3>
761
825
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *op,
762
<a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message,
763
<a href="./../glib/glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *processes,
764
<a href="./../gobject/gobject/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> choices,
765
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
826
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message,
827
<a href="../glib/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *processes,
828
<a href="../gobject/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> choices,
829
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
767
831
Emitted when one or more processes are blocking an operation
768
832
e.g. unmounting/ejecting a <a class="link" href="GMount.html" title="GMount"><span class="type">GMount</span></a> or stopping a <a class="link" href="GDrive.html" title="GDrive"><span class="type">GDrive</span></a>.
778
842
If the message contains a line break, the first line should be
779
843
presented as a heading. For example, it may be used as the
780
primary text in a <a href="http://developer.gnome.org/gtk2/GtkMessageDialog.html"><span class="type">GtkMessageDialog</span></a>.
844
primary text in a <span class="type">GtkMessageDialog</span>.
782
<div class="variablelist"><table border="0">
846
<div class="variablelist"><table border="0" class="variablelist">
783
848
<col align="left" valign="top">
786
853
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
812
879
<div class="refsect2">
813
880
<a name="GMountOperation-show-unmount-progress"></a><h3>The <code class="literal">"show-unmount-progress"</code> signal</h3>
814
881
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GMountOperation.html" title="GMountOperation"><span class="type">GMountOperation</span></a> *op,
815
<a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message,
816
<a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> time_left,
817
<a href="./../glib/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> bytes_left,
818
<a href="./../glib/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="./../gobject/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
882
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message,
883
<a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> time_left,
884
<a href="../glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> bytes_left,
885
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
820
887
Emitted when an unmount operation has been busy for more than some time
821
888
(typically 1.5 seconds).
836
903
If the message contains a line break, the first line should be
837
904
presented as a heading. For example, it may be used as the
838
primary text in a <a href="http://developer.gnome.org/gtk2/GtkMessageDialog.html"><span class="type">GtkMessageDialog</span></a>.
905
primary text in a <span class="type">GtkMessageDialog</span>.
840
<div class="variablelist"><table border="0">
907
<div class="variablelist"><table border="0" class="variablelist">
841
909
<col align="left" valign="top">
844
914
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>