This file is indexed.

/usr/share/gir-1.0/PanelApplet-5.0.gir is in libpanel-applet-dev 1:3.18.2-1ubuntu1.

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
<?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="GObject" version="2.0"/>
  <include name="Gtk" version="3.0"/>
  <package name="libpanel-applet"/>
  <namespace name="PanelApplet"
             version="5.0"
             shared-library="libpanel-applet.so.0"
             c:identifier-prefixes="Panel"
             c:symbol-prefixes="panel">
    <constant name="APPLET_FLAGS_ALL"
              value="0"
              c:type="PANEL_APPLET_FLAGS_ALL">
      <doc xml:space="preserve">A convenience macro that combines #PANEL_APPLET_EXPAND_MAJOR, #PANEL_APPLET_EXPAND_MINOR and
    #PANEL_APPLET_HAS_HANDLE from #PanelAppletFlags</doc>
      <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">
      <doc xml:space="preserve">#PanelApplet is an opaque data structure and can only be accessed using
the following functions.</doc>
      <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="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="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_gtk_orientation"
              c:identifier="panel_applet_get_gtk_orientation"
              version="3.18">
        <doc xml:space="preserve">Gets the #GtkOrientation of @applet.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GtkOrientation of @applet.</doc>
          <type name="Gtk.Orientation" c:type="GtkOrientation"/>
        </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="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">
        <doc xml:space="preserve">Creates a new #GSettings object for the per-instance settings of @applet,
with a given schema.</doc>
        <return-value transfer-ownership="full">
          <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 #GSimpleAction 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 #GSimpleActionGroup.</doc>
            <type name="Gio.SimpleActionGroup" c:type="GSimpleActionGroup*"/>
          </parameter>
          <parameter name="translation_domain" transfer-ownership="none">
            <doc xml:space="preserve">gettext translation domain</doc>
            <type name="utf8" c:type="const gchar*"/>
          </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 #GSimpleAction 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 #GSimpleActionGroup.</doc>
            <type name="Gio.SimpleActionGroup" c:type="GSimpleActionGroup*"/>
          </parameter>
          <parameter name="translation_domain" transfer-ownership="none">
            <doc xml:space="preserve">gettext translation domain</doc>
            <type name="utf8" c:type="const gchar*"/>
          </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 #GSimpleAction 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 #GSimpleActionGroup.</doc>
            <type name="Gio.SimpleActionGroup" c:type="GSimpleActionGroup*"/>
          </parameter>
          <parameter name="translation_domain" transfer-ownership="none">
            <doc xml:space="preserve">gettext translation domain</doc>
            <type name="utf8" c:type="const gchar*"/>
          </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="out-of-process"
                introspectable="0"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <doc xml:space="preserve">Implementation detail.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </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-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="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">
      <doc xml:space="preserve">The class structure for the #PanelApplet class.</doc>
      <field name="event_box_class">
        <doc xml:space="preserve">The parent class.</doc>
        <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_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>