~ubuntu-branches/ubuntu/vivid/glib2.0/vivid-proposed

« back to all changes in this revision

Viewing changes to docs/reference/gio/html/GMountOperation.html

  • Committer: Package Import Robot
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2013-03-19 13:58:27 UTC
  • mto: (1.67.1) (207.1.1 experimental) (3.3.49 sid)
  • mto: This revision was merged to the branch mainline in revision 180.
  • Revision ID: package-import@ubuntu.com-20130319135827-2tq0kp2r93bmiu2b
Tags: upstream-2.35.9
Import upstream version 2.35.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
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">
13
13
</head>
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
81
81
</pre>
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
85
85
</pre>
86
86
</div>
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
96
96
</pre>
97
97
</div>
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>
107
107
</pre>
108
108
</div>
109
109
<div class="refsect1">
123
123
<p>
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.
129
129
</p>
130
130
</div>
145
145
user, or to notify the user of their choices in an authentication
146
146
situation.
147
147
</p>
148
 
<div class="variablelist"><table border="0">
 
148
<div class="variablelist"><table border="0" class="variablelist">
 
149
<colgroup>
149
150
<col align="left" valign="top">
 
151
<col>
 
152
</colgroup>
150
153
<tbody>
151
154
<tr>
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.
194
197
</p>
195
 
<div class="variablelist"><table border="0">
 
198
<div class="variablelist"><table border="0" class="variablelist">
 
199
<colgroup>
196
200
<col align="left" valign="top">
 
201
<col>
 
202
</colgroup>
197
203
<tbody>
198
204
<tr>
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.
237
243
</p>
238
 
<div class="variablelist"><table border="0">
 
244
<div class="variablelist"><table border="0" class="variablelist">
 
245
<colgroup>
239
246
<col align="left" valign="top">
 
247
<col>
 
248
</colgroup>
240
249
<tbody>
241
250
<tr>
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>
266
275
<p>
267
276
Creates a new mount operation.
268
277
</p>
269
 
<div class="variablelist"><table border="0">
 
278
<div class="variablelist"><table border="0" class="variablelist">
 
279
<colgroup>
270
280
<col align="left" valign="top">
 
281
<col>
 
282
</colgroup>
271
283
<tbody><tr>
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>
281
293
<p>
282
294
Get the user name from the mount operation.
283
295
</p>
284
 
<div class="variablelist"><table border="0">
 
296
<div class="variablelist"><table border="0" class="variablelist">
 
297
<colgroup>
285
298
<col align="left" valign="top">
 
299
<col>
 
300
</colgroup>
286
301
<tbody>
287
302
<tr>
288
303
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
303
318
<p>
304
319
Sets the user name within <em class="parameter"><code>op</code></em> to <em class="parameter"><code>username</code></em>.
305
320
</p>
306
 
<div class="variablelist"><table border="0">
 
321
<div class="variablelist"><table border="0" class="variablelist">
 
322
<colgroup>
307
323
<col align="left" valign="top">
 
324
<col>
 
325
</colgroup>
308
326
<tbody>
309
327
<tr>
310
328
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
324
342
<p>
325
343
Gets a password from the mount operation.
326
344
</p>
327
 
<div class="variablelist"><table border="0">
 
345
<div class="variablelist"><table border="0" class="variablelist">
 
346
<colgroup>
328
347
<col align="left" valign="top">
 
348
<col>
 
349
</colgroup>
329
350
<tbody>
330
351
<tr>
331
352
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
346
367
<p>
347
368
Sets the mount operation's password to <em class="parameter"><code>password</code></em>.
348
369
</p>
349
 
<div class="variablelist"><table border="0">
 
370
<div class="variablelist"><table border="0" class="variablelist">
 
371
<colgroup>
350
372
<col align="left" valign="top">
 
373
<col>
 
374
</colgroup>
351
375
<tbody>
352
376
<tr>
353
377
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
363
387
<hr>
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>
367
391
<p>
368
392
Check to see whether the mount operation is being used 
369
393
for an anonymous user.
370
394
</p>
371
 
<div class="variablelist"><table border="0">
 
395
<div class="variablelist"><table border="0" class="variablelist">
 
396
<colgroup>
372
397
<col align="left" valign="top">
 
398
<col>
 
399
</colgroup>
373
400
<tbody>
374
401
<tr>
375
402
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
378
405
<tr>
379
406
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
380
407
<td>
381
 
<a href="./../glib/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if mount operation is anonymous.</td>
 
408
<a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if mount operation is anonymous.</td>
382
409
</tr>
383
410
</tbody>
384
411
</table></div>
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>
391
418
<p>
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>.
393
420
</p>
394
 
<div class="variablelist"><table border="0">
 
421
<div class="variablelist"><table border="0" class="variablelist">
 
422
<colgroup>
395
423
<col align="left" valign="top">
 
424
<col>
 
425
</colgroup>
396
426
<tbody>
397
427
<tr>
398
428
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
412
442
<p>
413
443
Gets the domain of the mount operation.
414
444
</p>
415
 
<div class="variablelist"><table border="0">
 
445
<div class="variablelist"><table border="0" class="variablelist">
 
446
<colgroup>
416
447
<col align="left" valign="top">
 
448
<col>
 
449
</colgroup>
417
450
<tbody>
418
451
<tr>
419
452
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
434
467
<p>
435
468
Sets the mount operation's domain.
436
469
</p>
437
 
<div class="variablelist"><table border="0">
 
470
<div class="variablelist"><table border="0" class="variablelist">
 
471
<colgroup>
438
472
<col align="left" valign="top">
 
473
<col>
 
474
</colgroup>
439
475
<tbody>
440
476
<tr>
441
477
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
455
491
<p>
456
492
Gets the state of saving passwords for the mount operation.
457
493
</p>
458
 
<div class="variablelist"><table border="0">
 
494
<div class="variablelist"><table border="0" class="variablelist">
 
495
<colgroup>
459
496
<col align="left" valign="top">
 
497
<col>
 
498
</colgroup>
460
499
<tbody>
461
500
<tr>
462
501
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
477
516
<p>
478
517
Sets the state of saving passwords for the mount operation.
479
518
</p>
480
 
<div class="variablelist"><table border="0">
 
519
<div class="variablelist"><table border="0" class="variablelist">
 
520
<colgroup>
481
521
<col align="left" valign="top">
 
522
<col>
 
523
</colgroup>
482
524
<tbody>
483
525
<tr>
484
526
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
498
540
<p>
499
541
Gets a choice from the mount operation.
500
542
</p>
501
 
<div class="variablelist"><table border="0">
 
543
<div class="variablelist"><table border="0" class="variablelist">
 
544
<colgroup>
502
545
<col align="left" valign="top">
 
546
<col>
 
547
</colgroup>
503
548
<tbody>
504
549
<tr>
505
550
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
521
566
<p>
522
567
Sets a default choice for the mount operation.
523
568
</p>
524
 
<div class="variablelist"><table border="0">
 
569
<div class="variablelist"><table border="0" class="variablelist">
 
570
<colgroup>
525
571
<col align="left" valign="top">
 
572
<col>
 
573
</colgroup>
526
574
<tbody>
527
575
<tr>
528
576
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
543
591
<p>
544
592
Emits the <a class="link" href="GMountOperation.html#GMountOperation-reply" title='The "reply" signal'><span class="type">"reply"</span></a> signal.
545
593
</p>
546
 
<div class="variablelist"><table border="0">
 
594
<div class="variablelist"><table border="0" class="variablelist">
 
595
<colgroup>
547
596
<col align="left" valign="top">
 
597
<col>
 
598
</colgroup>
548
599
<tbody>
549
600
<tr>
550
601
<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>
568
619
<p>
569
620
Whether to use an anonymous user when authenticating.
570
621
</p>
573
624
<hr>
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>
577
628
<p>
578
629
The index of the user's choice when a question is asked during the
 
630
 
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.
580
632
</p>
581
633
<p>Allowed values: &gt;= 0</p>
584
636
<hr>
585
637
<div class="refsect2">
586
638
<a name="GMountOperation--domain"></a><h3>The <code class="literal">"domain"</code> property</h3>
587
 
<pre class="programlisting">  "domain"                   <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
 
639
<pre class="programlisting">  "domain"                   <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
588
640
<p>
589
641
The domain to use for the mount operation.
590
642
</p>
593
645
<hr>
594
646
<div class="refsect2">
595
647
<a name="GMountOperation--password"></a><h3>The <code class="literal">"password"</code> property</h3>
596
 
<pre class="programlisting">  "password"                 <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
 
648
<pre class="programlisting">  "password"                 <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
597
649
<p>
598
650
The password that is used for authentication when carrying out
599
651
the mount operation.
612
664
<hr>
613
665
<div class="refsect2">
614
666
<a name="GMountOperation--username"></a><h3>The <code class="literal">"username"</code> property</h3>
615
 
<pre class="programlisting">  "username"                 <a href="./../glib/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
 
667
<pre class="programlisting">  "username"                 <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
616
668
<p>
617
669
The user name that is used for authentication when carrying out
618
670
the mount operation.
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>
629
681
<p>
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.
636
688
</p>
637
 
<div class="variablelist"><table border="0">
 
689
<div class="variablelist"><table border="0" class="variablelist">
 
690
<colgroup>
638
691
<col align="left" valign="top">
 
692
<col>
 
693
</colgroup>
639
694
<tbody><tr>
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>
655
710
<p>
656
711
Emitted when a mount operation asks the user for a password.
657
712
</p>
658
713
<p>
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>.
662
717
</p>
663
 
<div class="variablelist"><table border="0">
 
718
<div class="variablelist"><table border="0" class="variablelist">
 
719
<colgroup>
664
720
<col align="left" valign="top">
 
721
<col>
 
722
</colgroup>
665
723
<tbody>
666
724
<tr>
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>
700
758
<p>
701
759
Emitted when asking the user a question and gives a list of
702
760
choices for the user to choose from.
704
762
<p>
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>.
708
766
</p>
709
 
<div class="variablelist"><table border="0">
 
767
<div class="variablelist"><table border="0" class="variablelist">
 
768
<colgroup>
710
769
<col align="left" valign="top">
 
770
<col>
 
771
</colgroup>
711
772
<tbody>
712
773
<tr>
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>
737
798
<p>
738
799
Emitted when the user has replied to the mount operation.
739
800
</p>
740
 
<div class="variablelist"><table border="0">
 
801
<div class="variablelist"><table border="0" class="variablelist">
 
802
<colgroup>
741
803
<col align="left" valign="top">
 
804
<col>
 
805
</colgroup>
742
806
<tbody>
743
807
<tr>
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>
766
830
<p>
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>.
777
841
<p>
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>.
781
845
</p>
782
 
<div class="variablelist"><table border="0">
 
846
<div class="variablelist"><table border="0" class="variablelist">
 
847
<colgroup>
783
848
<col align="left" valign="top">
 
849
<col>
 
850
</colgroup>
784
851
<tbody>
785
852
<tr>
786
853
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
792
859
</tr>
793
860
<tr>
794
861
<td><p><span class="term"><em class="parameter"><code>processes</code></em> :</span></p></td>
795
 
<td>an array of <a href="./../glib/glib/glib-The-Main-Event-Loop.html#GPid"><span class="type">GPid</span></a> for processes
 
862
<td>an array of <a href="../glib/glib-The-Main-Event-Loop.html#GPid"><span class="type">GPid</span></a> for processes
796
863
blocking the operation. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GPid]</span>
797
864
</td>
798
865
</tr>
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>
819
886
<p>
820
887
Emitted when an unmount operation has been busy for more than some time
821
888
(typically 1.5 seconds).
835
902
<p>
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>.
839
906
</p>
840
 
<div class="variablelist"><table border="0">
 
907
<div class="variablelist"><table border="0" class="variablelist">
 
908
<colgroup>
841
909
<col align="left" valign="top">
 
910
<col>
 
911
</colgroup>
842
912
<tbody>
843
913
<tr>
844
914
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
871
941
</div>
872
942
<div class="footer">
873
943
<hr>
874
 
          Generated by GTK-Doc V1.18</div>
 
944
          Generated by GTK-Doc V1.18.1</div>
875
945
</body>
876
946
</html>
 
 
b'\\ No newline at end of file'