This file is indexed.

/usr/share/gtk-doc/html/dconf/DConfClient.html is in libdconf-doc 0.26.0-2ubuntu3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DConfClient: dconf Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="dconf Reference Manual">
<link rel="up" href="ch01.html" title="DConf Client API">
<link rel="prev" href="dconf-DConfChangeset.html" title="DConfChangeset">
<link rel="next" href="object-tree.html" title="Object Hierarchy">
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#DConfClient.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#DConfClient.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_signals">  <span class="dim">|</span> 
                  <a href="#DConfClient.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="dconf-DConfChangeset.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="object-tree.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="DConfClient"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="DConfClient.top_of_page"></a>DConfClient</span></h2>
<p>DConfClient — Direct read and write access to dconf, based on GDBus</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="DConfClient.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a href="DConfClient.html#DConfClient-struct"><span class="returnvalue">DConfClient</span></a> *
</td>
<td class="function_name">
<a href="DConfClient.html#dconf-client-new">dconf_client_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
</td>
<td class="function_name">
<a href="DConfClient.html#dconf-client-read">dconf_client_read</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
</td>
<td class="function_name">
<a href="DConfClient.html#dconf-client-read-full">dconf_client_read_full</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
</td>
<td class="function_name">
<a href="DConfClient.html#dconf-client-list">dconf_client_list</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
</td>
<td class="function_name">
<a href="DConfClient.html#dconf-client-list-locks">dconf_client_list_locks</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a href="DConfClient.html#dconf-client-is-writable">dconf_client_is_writable</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a href="DConfClient.html#dconf-client-write-fast">dconf_client_write_fast</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a href="DConfClient.html#dconf-client-write-sync">dconf_client_write_sync</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a href="DConfClient.html#dconf-client-change-fast">dconf_client_change_fast</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a href="DConfClient.html#dconf-client-change-sync">dconf_client_change_sync</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a href="DConfClient.html#dconf-client-watch-fast">dconf_client_watch_fast</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a href="DConfClient.html#dconf-client-watch-sync">dconf_client_watch_sync</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a href="DConfClient.html#dconf-client-unwatch-fast">dconf_client_unwatch_fast</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a href="DConfClient.html#dconf-client-unwatch-sync">dconf_client_unwatch_sync</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a href="DConfClient.html#dconf-client-sync">dconf_client_sync</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="DConfClient.signals"></a><h2>Signals</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="signals_return">
<col width="300px" class="signals_name">
<col width="200px" class="signals_flags">
</colgroup>
<tbody>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a href="DConfClient.html#DConfClient-changed">changed</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a href="DConfClient.html#DConfClient-writability-changed">writability-changed</a></td>
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="DConfClient.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a href="DConfClient.html#DConfClient-struct">DConfClient</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a href="DConfClient.html#DConfReadFlags">DConfReadFlags</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="DConfClient.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> DConfClient
</pre>
</div>
<div class="refsect1">
<a name="DConfClient.description"></a><h2>Description</h2>
<p>This is the primary client interface to dconf.</p>
<p>It allows applications to directly read from and write to the dconf
database.  Applications can subscribe to change notifications.</p>
<p>Most applications probably don't want to access dconf directly and
would be better off using something like <a href="../gio/GSettings.html#GSettings-struct"><span class="type">GSettings</span></a>.</p>
<p>Please note that the API of libdconf is not stable in any way.  It
has changed in incompatible ways in the past and there will be
further changes in the future.</p>
</div>
<div class="refsect1">
<a name="DConfClient.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="dconf-client-new"></a><h3>dconf_client_new ()</h3>
<pre class="programlisting"><a href="DConfClient.html#DConfClient-struct"><span class="returnvalue">DConfClient</span></a> *
dconf_client_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Creates a new <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a>.</p>
<div class="refsect3">
<a name="dconf-client-new.returns"></a><h4>Returns</h4>
<p> a new <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-client-read"></a><h3>dconf_client_read ()</h3>
<pre class="programlisting"><a href="../glib/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
dconf_client_read (<em class="parameter"><code><a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> *client</code></em>,
                   <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
<p>Reads the current value of <em class="parameter"><code>key</code></em>
.</p>
<p>If <em class="parameter"><code>key</code></em>
 exists, its value is returned.  Otherwise, <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
<p>If there are outstanding "fast" changes in progress they may affect
the result of this call.</p>
<div class="refsect3">
<a name="dconf-client-read.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>a <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>the key to read the value of</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-client-read.returns"></a><h4>Returns</h4>
<p> a <a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-client-read-full"></a><h3>dconf_client_read_full ()</h3>
<pre class="programlisting"><a href="../glib/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
dconf_client_read_full (<em class="parameter"><code><a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> *client</code></em>,
                        <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
                        <em class="parameter"><code><a href="DConfClient.html#DConfReadFlags"><span class="type">DConfReadFlags</span></a> flags</code></em>,
                        <em class="parameter"><code>const <a href="../glib/glib-Double-ended-Queues.html#GQueue"><span class="type">GQueue</span></a> *read_through</code></em>);</pre>
<p>Reads the current value of <em class="parameter"><code>key</code></em>
.</p>
<p>If <em class="parameter"><code>flags</code></em>
 contains <a href="DConfClient.html#DCONF-READ-USER-VALUE:CAPS"><code class="literal">DCONF_READ_USER_VALUE</code></a> then only the user value
will be read.  Locks are ignored, which means that it is possible to
use this API to read "invisible" user values which are hidden by
system locks.</p>
<p>If <em class="parameter"><code>flags</code></em>
 contains <a href="DConfClient.html#DCONF-READ-DEFAULT-VALUE:CAPS"><code class="literal">DCONF_READ_DEFAULT_VALUE</code></a> then only non-user
values will be read.  The result will be exactly equivalent to the
value that would be read if the current value of the key were to be
reset.</p>
<p>Flags may not contain both <a href="DConfClient.html#DCONF-READ-USER-VALUE:CAPS"><code class="literal">DCONF_READ_USER_VALUE</code></a> and
<a href="DConfClient.html#DCONF-READ-DEFAULT-VALUE:CAPS"><code class="literal">DCONF_READ_DEFAULT_VALUE</code></a>.</p>
<p>If <em class="parameter"><code>read_through</code></em>
 is non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, <a href="DConfClient.html#DCONF-READ-DEFAULT-VALUE:CAPS"><code class="literal">DCONF_READ_DEFAULT_VALUE</code></a> is not
given then <em class="parameter"><code>read_through</code></em>
 is checked for the key in question, subject
to the restriction that the key in question is writable.  This
effectively answers the question of "what would happen if these
changes were committed".</p>
<p>If there are outstanding "fast" changes in progress they may affect
the result of this call.</p>
<p>If <em class="parameter"><code>flags</code></em>
 is <a href="DConfClient.html#DCONF-READ-FLAGS-NONE:CAPS"><code class="literal">DCONF_READ_FLAGS_NONE</code></a> and <em class="parameter"><code>read_through</code></em>
 is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then
this call is exactly equivalent to <a href="DConfClient.html#dconf-client-read"><code class="function">dconf_client_read()</code></a>.</p>
<div class="refsect3">
<a name="dconf-client-read-full.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>a <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>the key to read the default value of</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p><a href="DConfClient.html#DConfReadFlags"><span class="type">DConfReadFlags</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>read_through</p></td>
<td class="parameter_description"><p>a <a href="../glib/glib-Double-ended-Queues.html#GQueue"><span class="type">GQueue</span></a> of <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-client-read-full.returns"></a><h4>Returns</h4>
<p> a <a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p>
</div>
<p class="since">Since: 0.26</p>
</div>
<hr>
<div class="refsect2">
<a name="dconf-client-list"></a><h3>dconf_client_list ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
dconf_client_list (<em class="parameter"><code><a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> *client</code></em>,
                   <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dir</code></em>,
                   <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *length</code></em>);</pre>
<p>Gets the list of all dirs and keys immediately under <em class="parameter"><code>dir</code></em>
.</p>
<p>If <em class="parameter"><code>length</code></em>
 is non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then it will be set to the length of the
returned array.  In any case, the array is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated.</p>
<p>IF there are outstanding "fast" changes in progress then this call
may return inaccurate results with respect to those outstanding
changes.</p>
<div class="refsect3">
<a name="dconf-client-list.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>a <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dir</p></td>
<td class="parameter_description"><p>the dir to list the contents of</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>length</p></td>
<td class="parameter_description"><p>the length of the returned list</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-client-list.returns"></a><h4>Returns</h4>
<p> an array of strings, never <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-client-list-locks"></a><h3>dconf_client_list_locks ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> **
dconf_client_list_locks (<em class="parameter"><code><a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> *client</code></em>,
                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dir</code></em>,
                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *length</code></em>);</pre>
<p>Lists all locks under <em class="parameter"><code>dir</code></em>
 in effect for <em class="parameter"><code>client</code></em>
.</p>
<p>If no locks are in effect, an empty list is returned.  If no keys are
writable at all then a list containing <em class="parameter"><code>dir</code></em>
 is returned.</p>
<p>The returned list will be <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated.</p>
<div class="refsect3">
<a name="dconf-client-list-locks.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>a <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dir</p></td>
<td class="parameter_description"><p>the dir to limit results to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>length</p></td>
<td class="parameter_description"><p>the length of the returned list.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-client-list-locks.returns"></a><h4>Returns</h4>
<p> an array of strings, never <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
</div>
<p class="since">Since: 0.26</p>
</div>
<hr>
<div class="refsect2">
<a name="dconf-client-is-writable"></a><h3>dconf_client_is_writable ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
dconf_client_is_writable (<em class="parameter"><code><a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> *client</code></em>,
                          <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
<p>Checks if <em class="parameter"><code>key</code></em>
 is writable (ie: the key has no locks).</p>
<p>This call does not verify that writing to the key will actually be
successful.  It only checks that the database is writable and that
there are no locks affecting <em class="parameter"><code>key</code></em>
.  Other issues (such as a full disk
or an inability to connect to the bus and start the service) may
cause the write to fail.</p>
<div class="refsect3">
<a name="dconf-client-is-writable.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>a <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>the key to check for writability</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-client-is-writable.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is <em class="parameter"><code>key</code></em>
is writable</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-client-write-fast"></a><h3>dconf_client_write_fast ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
dconf_client_write_fast (<em class="parameter"><code><a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> *client</code></em>,
                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
                         <em class="parameter"><code><a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>,
                         <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Writes <em class="parameter"><code>value</code></em>
 to the given <em class="parameter"><code>key</code></em>
, or reset <em class="parameter"><code>key</code></em>
 to its default value.</p>
<p>If <em class="parameter"><code>value</code></em>
 is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then <em class="parameter"><code>key</code></em>
 is reset to its default value (which may
be completely unset), otherwise <em class="parameter"><code>value</code></em>
 becomes the new value.</p>
<p>This call merely queues up the write and returns immediately, without
blocking.  The only errors that can be detected or reported at this
point are attempts to write to read-only keys.  If the application
exits immediately after this function returns then the queued call
may never be sent; see <a href="DConfClient.html#dconf-client-sync"><code class="function">dconf_client_sync()</code></a>.</p>
<p>A local copy of the written value is kept so that calls to
<a href="DConfClient.html#dconf-client-read"><code class="function">dconf_client_read()</code></a> that occur before the service actually makes the
change will return the new value.</p>
<p>If the write is queued then a change signal will be directly emitted.
If this function is being called from the main context of <em class="parameter"><code>client</code></em>

then the signal is emitted before this function returns; otherwise it
is scheduled on the main context.</p>
<div class="refsect3">
<a name="dconf-client-write-fast.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>a <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>the key to write to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a <a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>, the value to write</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a pointer to a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-client-write-fast.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the write was queued</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-client-write-sync"></a><h3>dconf_client_write_sync ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
dconf_client_write_sync (<em class="parameter"><code><a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> *client</code></em>,
                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
                         <em class="parameter"><code><a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>,
                         <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **tag</code></em>,
                         <em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                         <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Write <em class="parameter"><code>value</code></em>
 to the given <em class="parameter"><code>key</code></em>
, or reset <em class="parameter"><code>key</code></em>
 to its default value.</p>
<p>If <em class="parameter"><code>value</code></em>
 is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then <em class="parameter"><code>key</code></em>
 is reset to its default value (which may
be completely unset), otherwise <em class="parameter"><code>value</code></em>
 becomes the new value.</p>
<p>This call blocks until the write is complete.  This call will
therefore detect and report all cases of failure.  If the modified
key is currently being watched then a signal will be emitted from the
main context of <em class="parameter"><code>client</code></em>
 (once the signal arrives from the service).</p>
<p>If <em class="parameter"><code>tag</code></em>
 is non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then it is set to the unique tag associated with
this write.  This is the same tag that will appear in the following
change signal.</p>
<div class="refsect3">
<a name="dconf-client-write-sync.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>a <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>the key to write to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a <a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>, the value to write</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>tag</p></td>
<td class="parameter_description"><p>the tag from this write. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>a <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a pointer to a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-client-write-sync.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, else <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> with <em class="parameter"><code>error</code></em>
set</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-client-change-fast"></a><h3>dconf_client_change_fast ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
dconf_client_change_fast (<em class="parameter"><code><a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> *client</code></em>,
                          <em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> *changeset</code></em>,
                          <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Performs the change operation described by <em class="parameter"><code>changeset</code></em>
.</p>
<p>Once <em class="parameter"><code>changeset</code></em>
 is passed to this call it can no longer be modified.</p>
<p>This call merely queues up the write and returns immediately, without
blocking.  The only errors that can be detected or reported at this
point are attempts to write to read-only keys.  If the application
exits immediately after this function returns then the queued call
may never be sent; see <a href="DConfClient.html#dconf-client-sync"><code class="function">dconf_client_sync()</code></a>.</p>
<p>A local copy of the written value is kept so that calls to
<a href="DConfClient.html#dconf-client-read"><code class="function">dconf_client_read()</code></a> that occur before the service actually makes the
change will return the new value.</p>
<p>If the write is queued then a change signal will be directly emitted.
If this function is being called from the main context of <em class="parameter"><code>client</code></em>

then the signal is emitted before this function returns; otherwise it
is scheduled on the main context.</p>
<div class="refsect3">
<a name="dconf-client-change-fast.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>a <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>changeset</p></td>
<td class="parameter_description"><p>the changeset describing the requested change</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a pointer to a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-client-change-fast.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the requested changed was queued</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-client-change-sync"></a><h3>dconf_client_change_sync ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
dconf_client_change_sync (<em class="parameter"><code><a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> *client</code></em>,
                          <em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> *changeset</code></em>,
                          <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **tag</code></em>,
                          <em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
                          <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Performs the change operation described by <em class="parameter"><code>changeset</code></em>
.</p>
<p>Once <em class="parameter"><code>changeset</code></em>
 is passed to this call it can no longer be modified.</p>
<p>This call blocks until the change is complete.  This call will
therefore detect and report all cases of failure.  If any of the
modified keys are currently being watched then a signal will be
emitted from the main context of <em class="parameter"><code>client</code></em>
 (once the signal arrives
from the service).</p>
<p>If <em class="parameter"><code>tag</code></em>
 is non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then it is set to the unique tag associated with
this change.  This is the same tag that will appear in the following
change signal.  If <em class="parameter"><code>changeset</code></em>
 makes no changes then <em class="parameter"><code>tag</code></em>
 may be
non-unique (eg: the empty string may be used for empty changesets).</p>
<div class="refsect3">
<a name="dconf-client-change-sync.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>a <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>changeset</p></td>
<td class="parameter_description"><p>the changeset describing the requested change</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>tag</p></td>
<td class="parameter_description"><p>the tag from this write. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>a <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>a pointer to a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-client-change-sync.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, else <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> with <em class="parameter"><code>error</code></em>
set</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-client-watch-fast"></a><h3>dconf_client_watch_fast ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
dconf_client_watch_fast (<em class="parameter"><code><a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> *client</code></em>,
                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);</pre>
<p>Requests change notifications for <em class="parameter"><code>path</code></em>
.</p>
<p>If <em class="parameter"><code>path</code></em>
 is a key then the single key is monitored.  If <em class="parameter"><code>path</code></em>
 is a
dir then all keys under the dir are monitored.</p>
<p>This function queues the watch request with D-Bus and returns
immediately.  There is a very slim chance that the dconf database
could change before the watch is actually established.  If that is
the case then a synthetic change signal will be emitted.</p>
<p>Errors are silently ignored.</p>
<div class="refsect3">
<a name="dconf-client-watch-fast.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>a <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a path to watch</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-client-watch-sync"></a><h3>dconf_client_watch_sync ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
dconf_client_watch_sync (<em class="parameter"><code><a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> *client</code></em>,
                         <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);</pre>
<p>Requests change notifications for <em class="parameter"><code>path</code></em>
.</p>
<p>If <em class="parameter"><code>path</code></em>
 is a key then the single key is monitored.  If <em class="parameter"><code>path</code></em>
 is a
dir then all keys under the dir are monitored.</p>
<p>This function submits each of the various watch requests that are
required to monitor a key and waits until each of them returns.  By
the time this function returns, the watch has been established.</p>
<p>Errors are silently ignored.</p>
<div class="refsect3">
<a name="dconf-client-watch-sync.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>a <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a path to watch</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-client-unwatch-fast"></a><h3>dconf_client_unwatch_fast ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
dconf_client_unwatch_fast (<em class="parameter"><code><a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> *client</code></em>,
                           <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);</pre>
<p>Cancels the effect of a previous call to <a href="DConfClient.html#dconf-client-watch-fast"><code class="function">dconf_client_watch_fast()</code></a>.</p>
<p>This call returns immediately.</p>
<p>It is still possible that change signals are received after this call
had returned (watching guarantees notification of changes, but
unwatching does not guarantee no notifications).</p>
<div class="refsect3">
<a name="dconf-client-unwatch-fast.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>a <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a path previously watched</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-client-unwatch-sync"></a><h3>dconf_client_unwatch_sync ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
dconf_client_unwatch_sync (<em class="parameter"><code><a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> *client</code></em>,
                           <em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);</pre>
<p>Cancels the effect of a previous call to <a href="DConfClient.html#dconf-client-watch-sync"><code class="function">dconf_client_watch_sync()</code></a>.</p>
<p>This function submits each of the various unwatch requests and waits
until each of them returns.  It is still possible that change signals
are received after this call has returned (watching guarantees
notification of changes, but unwatching does not guarantee no
notifications).</p>
<div class="refsect3">
<a name="dconf-client-unwatch-sync.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>a <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a path previously watched</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-client-sync"></a><h3>dconf_client_sync ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
dconf_client_sync (<em class="parameter"><code><a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> *client</code></em>);</pre>
<p>Blocks until all outstanding "fast" change or write operations have
been submitted to the service.</p>
<p>Applications should generally call this before exiting on any
<a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> that they wrote to.</p>
<div class="refsect3">
<a name="dconf-client-sync.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>a <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="DConfClient.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="DConfClient-struct"></a><h3>DConfClient</h3>
<pre class="programlisting">typedef struct _DConfClient DConfClient;</pre>
<p>The main object for interacting with dconf.  This is a <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>, so
you should manage it with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> and <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="DConfReadFlags"></a><h3>enum DConfReadFlags</h3>
<div class="refsect3">
<a name="DConfReadFlags.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="DCONF-READ-FLAGS-NONE:CAPS"></a>DCONF_READ_FLAGS_NONE</p></td>
<td class="enum_member_description">
<p>no flags</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="DCONF-READ-DEFAULT-VALUE:CAPS"></a>DCONF_READ_DEFAULT_VALUE</p></td>
<td class="enum_member_description">
<p>read the default value, ignoring any
  values in writable databases or any queued changes.  This is
  effectively equivalent to asking what value would be read after a
  reset was written for the key in question.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="DCONF-READ-USER-VALUE:CAPS"></a>DCONF_READ_USER_VALUE</p></td>
<td class="enum_member_description">
<p>read the user value, ignoring any system
  databases, including ignoring locks.  It is even possible to read
  "invisible" values in the user database in this way, which would
  have normally been ignored because of locks.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 0.26</p>
</div>
</div>
<div class="refsect1">
<a name="DConfClient.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="DConfClient-changed"></a><h3>The <code class="literal">“changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> *client,
               <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>       *prefix,
               <a href="../glib/glib-String-Utility-Functions.html#GStrv"><span class="type">GStrv</span></a>        changes,
               <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>       *tag,
               <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>     user_data)</pre>
<p>This signal is emitted when the <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> has a possible change
to report.  The signal is an indication that a change may have
occurred; it's possible that the keys will still have the same value
as before.</p>
<p>To ensure that you receive notification about changes to paths that
you are interested in you must call <a href="DConfClient.html#dconf-client-watch-fast"><code class="function">dconf_client_watch_fast()</code></a> or
<a href="DConfClient.html#dconf-client-watch-sync"><code class="function">dconf_client_watch_sync()</code></a>.  You may still receive notifications for
paths that you did not explicitly watch.</p>
<p><em class="parameter"><code>prefix</code></em>
 will be an absolute dconf path; see <a href="dconf-dconf-Paths.html#dconf-is-path"><code class="function">dconf_is_path()</code></a>.
<em class="parameter"><code>changes</code></em>
 is a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of dconf rel paths; see
<a href="dconf-dconf-Paths.html#dconf-is-rel-path"><code class="function">dconf_is_rel_path()</code></a>.</p>
<p><em class="parameter"><code>tag</code></em>
 is an opaque tag string, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.  The only thing you should
do with <em class="parameter"><code>tag</code></em>
 is to compare it to tag values returned by
<a href="DConfClient.html#dconf-client-write-sync"><code class="function">dconf_client_write_sync()</code></a> or <a href="DConfClient.html#dconf-client-change-sync"><code class="function">dconf_client_change_sync()</code></a>.</p>
<p>The number of changes being reported is equal to the length of
<em class="parameter"><code>changes</code></em>
.  Appending each item in <em class="parameter"><code>changes</code></em>
 to <em class="parameter"><code>prefix</code></em>
 will give the
absolute path of each changed item.</p>
<p>If a single key has changed then <em class="parameter"><code>prefix</code></em>
 will be equal to the key
and <em class="parameter"><code>changes</code></em>
 will contain a single item: the empty string.</p>
<p>If a single dir has changed (indicating that any key under the dir
may have changed) then <em class="parameter"><code>prefix</code></em>
 will be equal to the dir and
<em class="parameter"><code>changes</code></em>
 will contain a single empty string.</p>
<p>If more than one change is being reported then <em class="parameter"><code>changes</code></em>
 will have
more than one item.</p>
<div class="refsect3">
<a name="DConfClient-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>the <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> reporting the change</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>prefix</p></td>
<td class="parameter_description"><p>the prefix under which the changes happened</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>changes</p></td>
<td class="parameter_description"><p>the list of paths that were changed, relative to <em class="parameter"><code>prefix</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>tag</p></td>
<td class="parameter_description"><p>the tag for the change, if it originated from the service</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
</div>
<hr>
<div class="refsect2">
<a name="DConfClient-writability-changed"></a><h3>The <code class="literal">“writability-changed”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> *client,
               <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>       *path,
               <a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>     user_data)</pre>
<p>Signal emitted when writability for a key (or all keys in a dir) changes.
It will be immediately followed by <a href="DConfClient.html#DConfClient-changed"><span class="type">“changed”</span></a> signal for
the path.</p>
<div class="refsect3">
<a name="DConfClient-writability-changed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>client</p></td>
<td class="parameter_description"><p>the <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> reporting the change</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>the dir or key that changed</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27</div>
</body>
</html>