This file is indexed.

/usr/share/gir-1.0/PanelApplet-4.0.gir is in libpanel-applet-4-dev 1:3.8.0-1ubuntu11.

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
1111
1112
1113
1114
1115
1116
1117
1118
1119
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="GConf" version="2.0"/>
  <include name="GObject" version="2.0"/>
  <include name="Gtk" version="3.0"/>
  <package name="libpanelapplet-4.0"/>
  <namespace name="PanelApplet"
             version="4.0"
             shared-library="libpanel-applet-4.so.0"
             c:identifier-prefixes="Panel"
             c:symbol-prefixes="panel">
    <constant name="APPLET_FLAGS_ALL"
              value="0"
              c:type="PANEL_APPLET_FLAGS_ALL">
      <type name="gint" c:type="gint"/>
    </constant>
    <class name="Applet"
           c:symbol-prefix="applet"
           c:type="PanelApplet"
           parent="Gtk.EventBox"
           glib:type-name="PanelApplet"
           glib:get-type="panel_applet_get_type"
           glib:type-struct="AppletClass">
      <implements name="Atk.ImplementorIface"/>
      <implements name="Gtk.Buildable"/>
      <function name="factory_main" c:identifier="panel_applet_factory_main">
        <doc xml:space="preserve">Creates the applet factory for @factory_id, so that the factory can create
instances of the applet types it is associated with.

Applet instances created by the applet factory will use @applet_type as
GType. Unless you subclass #PanelApplet, you should use %PANEL_TYPE_APPLET
as @applet_type.

On creation of the applet instances, @callback is called to setup the
applet. If @callback returns %FALSE, the creation of the applet instance is
cancelled.

If using C, it is recommended to use #PANEL_APPLET_OUT_PROCESS_FACTORY
instead as it will create a main() function for you.

It can only be used once, and is incompatible with the use of
%PANEL_APPLET_IN_PROCESS_FACTORY and %PANEL_APPLET_OUT_PROCESS_FACTORY.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">0 on success, 1 if there is an error.</doc>
          <type name="gint" c:type="int"/>
        </return-value>
        <parameters>
          <parameter name="factory_id" transfer-ownership="none">
            <doc xml:space="preserve">identifier of an applet factory.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="applet_type" transfer-ownership="none">
            <doc xml:space="preserve">GType of the applet this factory creates.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="call"
                     closure="3">
            <doc xml:space="preserve">callback to be called when a new applet is created.</doc>
            <type name="AppletFactoryCallback"
                  c:type="PanelAppletFactoryCallback"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve">callback data.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </function>
      <function name="factory_setup_in_process"
                c:identifier="panel_applet_factory_setup_in_process"
                introspectable="0">
        <doc xml:space="preserve">Creates the applet factory for @factory_id, so that the factory can create
instances of the applet types it is associated with.

Applet instances created by the applet factory will use @applet_type as
GType. Unless you subclass #PanelApplet, you should use %PANEL_TYPE_APPLET
as @applet_type.

On creation of the applet instances, @callback is called to setup the
applet. If @callback returns %FALSE, the creation of the applet instance is
cancelled.

It can only be used once, and is incompatible with the use of
%PANEL_APPLET_IN_PROCESS_FACTORY and %PANEL_APPLET_OUT_PROCESS_FACTORY.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">0 on success, 1 if there is an error.</doc>
          <type name="gint" c:type="int"/>
        </return-value>
        <parameters>
          <parameter name="factory_id" transfer-ownership="none">
            <doc xml:space="preserve">identifier of an applet factory.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="applet_type" transfer-ownership="none">
            <doc xml:space="preserve">GType of the applet this factory creates.</doc>
            <type name="GType" c:type="GType"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="call"
                     closure="3">
            <doc xml:space="preserve">callback to be called when a new applet is created.</doc>
            <type name="AppletFactoryCallback"
                  c:type="PanelAppletFactoryCallback"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve">callback data.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </function>
      <virtual-method name="change_background">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="pattern" transfer-ownership="none">
            <type name="cairo.Pattern" c:type="cairo_pattern_t*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="change_orient">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="orient" transfer-ownership="none">
            <type name="AppletOrient" c:type="PanelAppletOrient"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="change_size">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="size" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="move_focus_out_of_applet">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="frame" transfer-ownership="none">
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="direction" transfer-ownership="none">
            <type name="Gtk.DirectionType" c:type="GtkDirectionType"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="add_preferences"
              c:identifier="panel_applet_add_preferences"
              deprecated="1"
              deprecated-version="3.0"
              throws="1">
        <doc xml:space="preserve">Associates the per-instance GConf directory of @applet to the schemas
defined in @schema_dir. This must be called if the applet will save
per-instance settings, to ensure that each key in the per-instance GConf
directory has a defined type, sane default and documentation.</doc>
        <doc-deprecated xml:space="preserve">Use #GSettings to store per-instance settings.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="schema_dir" transfer-ownership="none">
            <doc xml:space="preserve">a GConf path of a schema directory.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="gconf_get_bool"
              c:identifier="panel_applet_gconf_get_bool"
              deprecated="1"
              deprecated-version="3.0"
              throws="1">
        <doc xml:space="preserve">Convenience wrapper around gconf_client_get_bool() to get the value of @key
in the per-instance GConf directory of @applet.</doc>
        <doc-deprecated xml:space="preserve">Use #GSettings to store per-instance settings.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the value of @key.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">a GConf key name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="gconf_get_float"
              c:identifier="panel_applet_gconf_get_float"
              deprecated="1"
              deprecated-version="3.0"
              throws="1">
        <doc xml:space="preserve">Convenience wrapper around gconf_client_get_float() to get the value of @key
in the per-instance GConf directory of @applet.</doc>
        <doc-deprecated xml:space="preserve">Use #GSettings to store per-instance settings.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the value of @key.</doc>
          <type name="gdouble" c:type="gdouble"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">a GConf key name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="gconf_get_full_key"
              c:identifier="panel_applet_gconf_get_full_key"
              deprecated="1"
              deprecated-version="3.0">
        <doc xml:space="preserve">Returns the full GConf path of @key, in the per-instance GConf directory of
@applet. The string should be freed by the caller.</doc>
        <doc-deprecated xml:space="preserve">Use #GSettings to store per-instance settings.</doc-deprecated>
        <return-value transfer-ownership="full">
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">a GConf key name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="gconf_get_int"
              c:identifier="panel_applet_gconf_get_int"
              deprecated="1"
              deprecated-version="3.0"
              throws="1">
        <doc xml:space="preserve">Convenience wrapper around gconf_client_get_int() to get the value of @key
in the per-instance GConf directory of @applet.</doc>
        <doc-deprecated xml:space="preserve">Use #GSettings to store per-instance settings.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the value of @key.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">a GConf key name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="gconf_get_list"
              c:identifier="panel_applet_gconf_get_list"
              introspectable="0"
              deprecated="1"
              deprecated-version="3.0"
              throws="1">
        <doc xml:space="preserve">Convenience wrapper around gconf_client_get_list() to get the value of @key
in the per-instance GConf directory of @applet.</doc>
        <doc-deprecated xml:space="preserve">Use #GSettings to store per-instance settings.</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">the value of @key. The list and its content should be freed by the
caller.</doc>
          <type name="GLib.SList" c:type="GSList*">
            <type name="gpointer" c:type="gpointer"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">a GConf key name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="list_type" transfer-ownership="none">
            <type name="GConf.ValueType" c:type="GConfValueType"/>
          </parameter>
        </parameters>
      </method>
      <method name="gconf_get_string"
              c:identifier="panel_applet_gconf_get_string"
              deprecated="1"
              deprecated-version="3.0"
              throws="1">
        <doc xml:space="preserve">Convenience wrapper around gconf_client_get_string() to get the value of @key
in the per-instance GConf directory of @applet.</doc>
        <doc-deprecated xml:space="preserve">Use #GSettings to store per-instance settings.</doc-deprecated>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the value of @key. The string should be freed by the caller.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">a GConf key name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="gconf_get_value"
              c:identifier="panel_applet_gconf_get_value"
              deprecated="1"
              deprecated-version="3.0"
              throws="1">
        <doc xml:space="preserve">Convenience wrapper around gconf_client_get_value() to get the value of @key
in the per-instance GConf directory of @applet.</doc>
        <doc-deprecated xml:space="preserve">Use #GSettings to store per-instance settings.</doc-deprecated>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the value of @key.</doc>
          <type name="GConf.Value" c:type="GConfValue*"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">a GConf key name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="gconf_set_bool"
              c:identifier="panel_applet_gconf_set_bool"
              deprecated="1"
              deprecated-version="3.0"
              throws="1">
        <doc xml:space="preserve">Convenience wrapper around gconf_client_set_bool() to update @key in the
per-instance GConf directory of @applet.</doc>
        <doc-deprecated xml:space="preserve">Use #GSettings to store per-instance settings.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">a GConf key name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="the_bool" transfer-ownership="none">
            <doc xml:space="preserve">new value for @key.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="gconf_set_float"
              c:identifier="panel_applet_gconf_set_float"
              deprecated="1"
              deprecated-version="3.0"
              throws="1">
        <doc xml:space="preserve">Convenience wrapper around gconf_client_set_float() to update @key in the
per-instance GConf directory of @applet.</doc>
        <doc-deprecated xml:space="preserve">Use #GSettings to store per-instance settings.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">a GConf key name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="the_float" transfer-ownership="none">
            <doc xml:space="preserve">new value for @key.</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
        </parameters>
      </method>
      <method name="gconf_set_int"
              c:identifier="panel_applet_gconf_set_int"
              deprecated="1"
              deprecated-version="3.0"
              throws="1">
        <doc xml:space="preserve">Convenience wrapper around gconf_client_set_int() to update @key in the
per-instance GConf directory of @applet.</doc>
        <doc-deprecated xml:space="preserve">Use #GSettings to store per-instance settings.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">a GConf key name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="the_int" transfer-ownership="none">
            <doc xml:space="preserve">new value for @key.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="gconf_set_list"
              c:identifier="panel_applet_gconf_set_list"
              introspectable="0"
              deprecated="1"
              deprecated-version="3.0"
              throws="1">
        <doc xml:space="preserve">Convenience wrapper around gconf_client_set_list() to update @key in the
per-instance GConf directory of @applet.</doc>
        <doc-deprecated xml:space="preserve">Use #GSettings to store per-instance settings.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">a GConf key name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="list_type" transfer-ownership="none">
            <doc xml:space="preserve">type of items in @list.</doc>
            <type name="GConf.ValueType" c:type="GConfValueType"/>
          </parameter>
          <parameter name="list" transfer-ownership="none">
            <doc xml:space="preserve">new value for @key.</doc>
            <type name="GLib.SList" c:type="GSList*">
              <type name="gpointer" c:type="gpointer"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <method name="gconf_set_string"
              c:identifier="panel_applet_gconf_set_string"
              deprecated="1"
              deprecated-version="3.0"
              throws="1">
        <doc xml:space="preserve">Convenience wrapper around gconf_client_set_string() to update @key in the
per-instance GConf directory of @applet.</doc>
        <doc-deprecated xml:space="preserve">Use #GSettings to store per-instance settings.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">a GConf key name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="the_string" transfer-ownership="none">
            <doc xml:space="preserve">new value for @key.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="gconf_set_value"
              c:identifier="panel_applet_gconf_set_value"
              deprecated="1"
              deprecated-version="3.0"
              throws="1">
        <doc xml:space="preserve">Convenience wrapper around gconf_client_set_value() to update @key in the
per-instance GConf directory of @applet.</doc>
        <doc-deprecated xml:space="preserve">Use #GSettings to store per-instance settings.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">a GConf key name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">new value for @key.</doc>
            <type name="GConf.Value" c:type="GConfValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_background" c:identifier="panel_applet_get_background">
        <doc xml:space="preserve">Gets the background pattern for @applet, or %NULL if there is none.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #cairo_pattern_t to use as background for
@applet.</doc>
          <type name="cairo.Pattern" c:type="cairo_pattern_t*"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_flags" c:identifier="panel_applet_get_flags">
        <doc xml:space="preserve">Gets the #PanelAppletFlags of @applet.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #PanelAppletFlags of @applet.</doc>
          <type name="AppletFlags" c:type="PanelAppletFlags"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_locked_down"
              c:identifier="panel_applet_get_locked_down">
        <doc xml:space="preserve">Gets whether the panel @applet is on is locked down or not. A locked down
applet should not allow any change to its configuration.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the panel @applet is on is locked down, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_orient" c:identifier="panel_applet_get_orient">
        <doc xml:space="preserve">Gets the #PanelAppletOrient of @applet.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #PanelAppletOrient of @applet.</doc>
          <type name="AppletOrient" c:type="PanelAppletOrient"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_preferences_key"
              c:identifier="panel_applet_get_preferences_key"
              deprecated="1"
              deprecated-version="3.0">
        <doc xml:space="preserve">Gets the GConf path to the per-instance settings of @applet.</doc>
        <doc-deprecated xml:space="preserve">Use #GSettings to store per-instance settings.</doc-deprecated>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a copy of the GConf path to the per-instance settings of @applet.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_size"
              c:identifier="panel_applet_get_size"
              deprecated="1"
              deprecated-version="3.0">
        <doc xml:space="preserve">Gets the size of the panel @applet is on. For a horizontal panel, the
size if the height of the panel; for a vertical panel, the size is the width
of the panel.</doc>
        <doc-deprecated xml:space="preserve">Use the allocation of @applet instead.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the size of the panel @applet is on.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="request_focus" c:identifier="panel_applet_request_focus">
        <doc xml:space="preserve">Requests focus for @applet. There is no guarantee that @applet will
successfully get focus after that call.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">the timestamp of the user interaction (typically a button or key
press event) which triggered this call.</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_background_widget"
              c:identifier="panel_applet_set_background_widget">
        <doc xml:space="preserve">Configure #PanelApplet to automatically draw the background of the applet on
@widget. It is generally enough to call this function with @applet as
@widget.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="widget" transfer-ownership="none">
            <doc xml:space="preserve">a #GtkWidget.</doc>
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_flags" c:identifier="panel_applet_set_flags">
        <doc xml:space="preserve">Sets the #PanelAppletFlags of @applet. Most of the time, at least
%PANEL_APPLET_EXPAND_MINOR should be used.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">#PanelAppletFlags to use for @applet.</doc>
            <type name="AppletFlags" c:type="PanelAppletFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_size_hints" c:identifier="panel_applet_set_size_hints">
        <doc xml:space="preserve">Give hints to the panel about sizes @applet is comfortable with. This is
generally useful for applets that can take a lot of space, in case the panel
gets full and needs to restrict the size of some applets.

@size_hints should have an even number of sizes. It is an array of (max,
min) pairs where min(i) &gt; max(i + 1).

@base_size will be added to all sizes in @size_hints, and is therefore a way
to guarantee a minimum size to @applet.

The panel will try to allocate a size that is acceptable to @applet, i.e. in
one of the (@base_size + max, @base_size + min) ranges.

%PANEL_APPLET_EXPAND_MAJOR must be set for @applet to use size hints.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="size_hints" transfer-ownership="none">
            <doc xml:space="preserve">array of sizes.</doc>
            <type name="gint" c:type="const int*"/>
          </parameter>
          <parameter name="n_elements" transfer-ownership="none">
            <doc xml:space="preserve">length of @size_hints.</doc>
            <type name="gint" c:type="int"/>
          </parameter>
          <parameter name="base_size" transfer-ownership="none">
            <doc xml:space="preserve">base size of the applet.</doc>
            <type name="gint" c:type="int"/>
          </parameter>
        </parameters>
      </method>
      <method name="settings_new"
              c:identifier="panel_applet_settings_new"
              introspectable="0">
        <doc xml:space="preserve">Creates a new #GSettings object for the per-instance settings of @applet,
with a given schema.</doc>
        <return-value>
          <doc xml:space="preserve">a new #GSettings object for the per-instance settings of @applet.</doc>
          <type name="Gio.Settings" c:type="GSettings*"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="schema" transfer-ownership="none">
            <doc xml:space="preserve">the name of the schema.</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="setup_menu" c:identifier="panel_applet_setup_menu">
        <doc xml:space="preserve">Sets up the context menu of @applet. @xml is a #GtkUIManager UI definition,
describing how to display the menu items. @action_group contains the
various #GtkAction that are referenced in @xml.

See also the &lt;link linkend="getting-started.context-menu"&gt;Context
Menu&lt;/link&gt; section.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="xml" transfer-ownership="none">
            <doc xml:space="preserve">a menu XML string.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="action_group" transfer-ownership="none">
            <doc xml:space="preserve">a #GtkActionGroup.</doc>
            <type name="Gtk.ActionGroup" c:type="GtkActionGroup*"/>
          </parameter>
        </parameters>
      </method>
      <method name="setup_menu_from_file"
              c:identifier="panel_applet_setup_menu_from_file">
        <doc xml:space="preserve">Sets up the context menu of @applet. @filename is the path to a menu XML
file, containing a #GtkUIManager UI definition that describes how to display
the menu items. @action_group contains the various #GtkAction that
are referenced in @xml.

See also the &lt;link linkend="getting-started.context-menu"&gt;Context
Menu&lt;/link&gt; section.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve">path to a menu XML file.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="action_group" transfer-ownership="none">
            <doc xml:space="preserve">a #GtkActionGroup.</doc>
            <type name="Gtk.ActionGroup" c:type="GtkActionGroup*"/>
          </parameter>
        </parameters>
      </method>
      <method name="setup_menu_from_resource"
              c:identifier="panel_applet_setup_menu_from_resource"
              version="3.4">
        <doc xml:space="preserve">Sets up the context menu of @applet. @filename is a resource path to a menu
XML file, containing a #GtkUIManager UI definition that describes how to
display the menu items. @action_group contains the various #GtkAction that
are referenced in @xml.

See also the &lt;link linkend="getting-started.context-menu"&gt;Context
Menu&lt;/link&gt; section.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <doc xml:space="preserve">a #PanelApplet.</doc>
            <type name="Applet" c:type="PanelApplet*"/>
          </instance-parameter>
          <parameter name="resource_path" transfer-ownership="none">
            <doc xml:space="preserve">a resource path</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="action_group" transfer-ownership="none">
            <doc xml:space="preserve">a #GtkActionGroup.</doc>
            <type name="Gtk.ActionGroup" c:type="GtkActionGroup*"/>
          </parameter>
        </parameters>
      </method>
      <property name="background"
                introspectable="0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Implementation detail.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="closure"
                introspectable="0"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Implementation detail.</doc>
        <type name="gpointer" c:type="gpointer"/>
      </property>
      <property name="connection"
                introspectable="0"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Implementation detail.</doc>
        <type name="Gio.DBusConnection"/>
      </property>
      <property name="flags" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">The #PanelAppletFlags of the applet.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="id"
                introspectable="0"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Implementation detail.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="locked-down" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">Whether the panel the applet is on is locked down.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="orient" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">The #PanelAppletOrient of the applet.

This property gets set when the applet gets embedded, and can change
when the panel position changes.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="prefs-key"
                deprecated="1"
                deprecated-version="3.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The GConf path to the per-instance settings of the applet.

This property gets set when the applet gets embedded.</doc>
        <doc-deprecated xml:space="preserve">Use #GSettings to store per-instance settings.</doc-deprecated>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="settings-path" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">The GSettings path to the per-instance settings of the applet.

This property gets set when the applet gets embedded.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="size"
                deprecated="1"
                deprecated-version="3.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The size of the panel the applet is on. For a horizontal panel, the
size if the height of the panel; for a vertical panel, the size is
the width of the panel.

This property gets set when the applet gets embedded, and can change
when the panel size changes.</doc>
        <doc-deprecated xml:space="preserve">Use the allocation of @applet instead.</doc-deprecated>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="size-hints" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">The size hints set for the applet. See panel_applet_set_size_hints().</doc>
        <type name="gpointer" c:type="gpointer"/>
      </property>
      <field name="event_box">
        <type name="Gtk.EventBox" c:type="GtkEventBox"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="AppletPrivate" c:type="PanelAppletPrivate*"/>
      </field>
      <glib:signal name="change-background" when="last">
        <doc xml:space="preserve">Emitted when the background of @applet has changed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="pattern" transfer-ownership="none">
            <doc xml:space="preserve">the new background pattern for @applet, or %NULL if there is none.</doc>
            <type name="cairo.Pattern"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="change-orient" when="last">
        <doc xml:space="preserve">Emitted when the #PanelAppletOrient of @applet has changed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="orient" transfer-ownership="none">
            <doc xml:space="preserve">the new #PanelAppletOrient of @applet.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="change-size"
                   when="last"
                   deprecated="1"
                   deprecated-version="3.0">
        <doc xml:space="preserve">Emitted when the size of the panel @applet is on has changed.</doc>
        <doc-deprecated xml:space="preserve">Use the #GtkWidget::size-allocate signal instead.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve">the new size of the panel @applet is on.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="move-focus-out-of-applet"
                   when="last"
                   action="1"
                   introspectable="0">
        <doc xml:space="preserve">Emitted when the focus is moved out of @applet. This is an
implementation detail.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="direction" transfer-ownership="none">
            <doc xml:space="preserve">the move direction.</doc>
            <type name="Gtk.DirectionType"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="AppletClass"
            c:type="PanelAppletClass"
            glib:is-gtype-struct-for="Applet">
      <field name="event_box_class">
        <type name="Gtk.EventBoxClass" c:type="GtkEventBoxClass"/>
      </field>
      <field name="change_orient">
        <callback name="change_orient">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="applet" transfer-ownership="none">
              <type name="Applet" c:type="PanelApplet*"/>
            </parameter>
            <parameter name="orient" transfer-ownership="none">
              <type name="AppletOrient" c:type="PanelAppletOrient"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="change_size">
        <callback name="change_size">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="applet" transfer-ownership="none">
              <type name="Applet" c:type="PanelApplet*"/>
            </parameter>
            <parameter name="size" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="change_background">
        <callback name="change_background">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="applet" transfer-ownership="none">
              <type name="Applet" c:type="PanelApplet*"/>
            </parameter>
            <parameter name="pattern" transfer-ownership="none">
              <type name="cairo.Pattern" c:type="cairo_pattern_t*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="move_focus_out_of_applet">
        <callback name="move_focus_out_of_applet">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="frame" transfer-ownership="none">
              <type name="Applet" c:type="PanelApplet*"/>
            </parameter>
            <parameter name="direction" transfer-ownership="none">
              <type name="Gtk.DirectionType" c:type="GtkDirectionType"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <callback name="AppletFactoryCallback" c:type="PanelAppletFactoryCallback">
      <doc xml:space="preserve">The type used for callbacks after. The callback will usually check that @iid
is a valid applet type identifier for the applet factory, and will then fill
@applet with widgets, connect to signals, etc.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if @iid is a valid applet type identifier for the applet
factory and if the creation of @applet was successfully completed, %FALSE
otherwise.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="applet" transfer-ownership="none">
          <doc xml:space="preserve">a newly-created #PanelApplet.</doc>
          <type name="Applet" c:type="PanelApplet*"/>
        </parameter>
        <parameter name="iid" transfer-ownership="none">
          <doc xml:space="preserve">identifier of the requested applet type.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="user_data" transfer-ownership="none" closure="2">
          <doc xml:space="preserve">user data.</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <bitfield name="AppletFlags"
              glib:type-name="PanelAppletFlags"
              glib:get-type="panel_applet_flags_get_type"
              c:type="PanelAppletFlags">
      <doc xml:space="preserve">Flags to be used with panel_applet_get_flags()/panel_applet_set_flags(), to
indicate to the panel a specific behavior requested by the #PanelApplet.</doc>
      <member name="flags_none"
              value="0"
              c:identifier="PANEL_APPLET_FLAGS_NONE"
              glib:nick="flags-none">
        <doc xml:space="preserve">No flags set.</doc>
      </member>
      <member name="expand_major"
              value="1"
              c:identifier="PANEL_APPLET_EXPAND_MAJOR"
              glib:nick="expand-major">
        <doc xml:space="preserve">On horizontal panels, the #PanelApplet will be
allocated as much width as possible. On vertical panels, it will be
allocated as much height as possible.</doc>
      </member>
      <member name="expand_minor"
              value="2"
              c:identifier="PANEL_APPLET_EXPAND_MINOR"
              glib:nick="expand-minor">
        <doc xml:space="preserve">On horizontal panels, the #PanelApplet will be
allocated the full height of the panel. On vertical panels, it will be
allocated the full width. Most applets should set this flag in order to use
the full panel size and allow the applet to be Fitt's Law compliant.</doc>
      </member>
      <member name="has_handle"
              value="4"
              c:identifier="PANEL_APPLET_HAS_HANDLE"
              glib:nick="has-handle">
        <doc xml:space="preserve">The panel will draw a handle for the
#PanelApplet. This handle will be usable to move the applet, and to open the
context menu of the applet.</doc>
      </member>
    </bitfield>
    <enumeration name="AppletOrient"
                 glib:type-name="PanelAppletOrient"
                 glib:get-type="panel_applet_orient_get_type"
                 c:type="PanelAppletOrient">
      <doc xml:space="preserve">Type defining the orientation of the applet. The values may seem backward
(e.g. %PANEL_APPLET_ORIENT_RIGHT means the panel is on the left side), but
this represents the direction the applet is oriented to.</doc>
      <member name="up"
              value="0"
              c:identifier="PANEL_APPLET_ORIENT_UP"
              glib:nick="up">
        <doc xml:space="preserve">The #PanelApplet is on a horizontal panel, at the
bottom of the screen. It is oriented towards the top of the screen.</doc>
      </member>
      <member name="down"
              value="1"
              c:identifier="PANEL_APPLET_ORIENT_DOWN"
              glib:nick="down">
        <doc xml:space="preserve">The #PanelApplet is on a horizontal panel, at the
top of the screen. It is oriented towards the bottom of the screen.</doc>
      </member>
      <member name="left"
              value="2"
              c:identifier="PANEL_APPLET_ORIENT_LEFT"
              glib:nick="left">
        <doc xml:space="preserve">The #PanelApplet is on a vertical panel, at the
right of the screen. It is oriented towards the left of the screen.</doc>
      </member>
      <member name="right"
              value="3"
              c:identifier="PANEL_APPLET_ORIENT_RIGHT"
              glib:nick="right">
        <doc xml:space="preserve">The #PanelApplet is on a vertical panel, at the
left of the screen. It is oriented towards the right of the screen.</doc>
      </member>
    </enumeration>
    <record name="AppletPrivate" c:type="PanelAppletPrivate" disguised="1">
    </record>
  </namespace>
</repository>