This file is indexed.

/usr/share/gir-1.0/Grip-1.0.gir is in libgrip-dev 0.3.4-0ubuntu1.

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
<?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="Atk" version="1.0"/>
  <include name="GLib" version="2.0"/>
  <include name="GModule" version="2.0"/>
  <include name="GObject" version="2.0"/>
  <include name="Gdk" version="3.0"/>
  <include name="GdkPixbuf" version="2.0"/>
  <include name="Gio" version="2.0"/>
  <include name="Gtk" version="3.0"/>
  <include name="Pango" version="1.0"/>
  <include name="cairo" version="1.0"/>
  <include name="xlib" version="2.0"/>
  <namespace name="Grip"
             version="0.2"
             shared-library="libgrip.so.0"
             c:identifier-prefixes="Grip"
             c:symbol-prefixes="grip">
    <record name="AxisExtents" c:type="GripAxisExtents">
      <field name="minimum" writable="1">
        <type name="gfloat" c:type="gfloat"/>
      </field>
      <field name="maximum" writable="1">
        <type name="gfloat" c:type="gfloat"/>
      </field>
      <field name="resolution" writable="1">
        <type name="gfloat" c:type="gfloat"/>
      </field>
    </record>
    <constant name="DEVICE_ALL" value="0" c:type="GRIP_DEVICE_ALL">
      <type name="gint" c:type="gint"/>
    </constant>
    <enumeration name="DeviceType" c:type="GripDeviceType">
      <doc xml:whitespace="preserve">Describes certain properties of a gesture input device.</doc>
      <member name="touchscreen"
              value="1"
              c:identifier="GRIP_DEVICE_TOUCHSCREEN"/>
      <member name="touchpad" value="2" c:identifier="GRIP_DEVICE_TOUCHPAD"/>
      <member name="independent"
              value="4"
              c:identifier="GRIP_DEVICE_INDEPENDENT"/>
    </enumeration>
    <record name="EventGestureAny" c:type="GripEventGestureAny">
      <doc xml:whitespace="preserve">This struct is not used.</doc>
      <field name="type" writable="1">
        <type name="Gdk.EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Gdk.Window" c:type="GdkWindow*"/>
      </field>
    </record>
    <record name="EventGestureDrag" c:type="GripEventGestureDrag">
      <doc xml:whitespace="preserve">Data associated with a drag event.  A drag is a lateral motion.</doc>
      <field name="type" writable="1">
        <type name="GestureType" c:type="GripGestureType"/>
      </field>
      <field name="id" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="window" writable="1">
        <type name="Gdk.Window" c:type="GdkWindow*"/>
      </field>
      <field name="root" writable="1">
        <type name="Gdk.Window" c:type="GdkWindow*"/>
      </field>
      <field name="child" writable="1">
        <type name="Gdk.Window" c:type="GdkWindow*"/>
      </field>
      <field name="timestamp" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="fingers" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="focus_x" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="focus_y" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="delta_x" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="delta_y" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="velocity_x" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="velocity_y" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="position_x" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="position_y" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="input_device" writable="1">
        <type name="InputDevice" c:type="GripInputDevice*"/>
      </field>
    </record>
    <record name="EventGesturePinch" c:type="GripEventGesturePinch">
      <doc xml:whitespace="preserve">Data associated with a pinch event.  A pinch is an expand or contract motion.</doc>
      <field name="type" writable="1">
        <type name="GestureType" c:type="GripGestureType"/>
      </field>
      <field name="id" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="window" writable="1">
        <type name="Gdk.Window" c:type="GdkWindow*"/>
      </field>
      <field name="root" writable="1">
        <type name="Gdk.Window" c:type="GdkWindow*"/>
      </field>
      <field name="child" writable="1">
        <type name="Gdk.Window" c:type="GdkWindow*"/>
      </field>
      <field name="timestamp" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="fingers" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="focus_x" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="focus_y" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="radius_delta" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="radial_velocity" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="radius" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="position_x" writable="1">
        <type name="gfloat" c:type="gfloat"/>
      </field>
      <field name="position_y" writable="1">
        <type name="gfloat" c:type="gfloat"/>
      </field>
      <field name="input_device" writable="1">
        <type name="InputDevice" c:type="GripInputDevice*"/>
      </field>
    </record>
    <record name="EventGestureRotate" c:type="GripEventGestureRotate">
      <doc xml:whitespace="preserve">Data associated with a rotate gesture event.</doc>
      <field name="type" writable="1">
        <type name="GestureType" c:type="GripGestureType"/>
      </field>
      <field name="id" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="window" writable="1">
        <type name="Gdk.Window" c:type="GdkWindow*"/>
      </field>
      <field name="root" writable="1">
        <type name="Gdk.Window" c:type="GdkWindow*"/>
      </field>
      <field name="child" writable="1">
        <type name="Gdk.Window" c:type="GdkWindow*"/>
      </field>
      <field name="timestamp" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="fingers" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="focus_x" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="focus_y" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="angle_delta" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="angular_velocity" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="angle" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="position_x" writable="1">
        <type name="gfloat" c:type="gfloat"/>
      </field>
      <field name="position_y" writable="1">
        <type name="gfloat" c:type="gfloat"/>
      </field>
      <field name="input_device" writable="1">
        <type name="InputDevice" c:type="GripInputDevice*"/>
      </field>
    </record>
    <record name="EventGestureTap" c:type="GripEventGestureTap">
      <doc xml:whitespace="preserve">Data associated with a tap gesture.</doc>
      <field name="type" writable="1">
        <type name="GestureType" c:type="GripGestureType"/>
      </field>
      <field name="id" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="window" writable="1">
        <type name="Gdk.Window" c:type="GdkWindow*"/>
      </field>
      <field name="root" writable="1">
        <type name="Gdk.Window" c:type="GdkWindow*"/>
      </field>
      <field name="child" writable="1">
        <type name="Gdk.Window" c:type="GdkWindow*"/>
      </field>
      <field name="timestamp" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="fingers" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="tap_time" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="focus_x" writable="1">
        <type name="gfloat" c:type="gfloat"/>
      </field>
      <field name="focus_y" writable="1">
        <type name="gfloat" c:type="gfloat"/>
      </field>
      <field name="position_x" writable="1">
        <type name="gfloat" c:type="gfloat"/>
      </field>
      <field name="position_y" writable="1">
        <type name="gfloat" c:type="gfloat"/>
      </field>
      <field name="input_device" writable="1">
        <type name="InputDevice" c:type="GripInputDevice*"/>
      </field>
    </record>
    <callback name="GestureCallback" c:type="GripGestureCallback">
      <doc xml:whitespace="preserve">The gesture callback function is registered by the
grip_gesture_manager_register_window() function and gets called whenever a
new gesture event has been received.  The same function may be registered for
more than one gesture type.

The &lt;type&gt;GripGestureCallback&lt;/type&gt; function is the main customization point
for application response to gestural input.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="widget" transfer-ownership="none">
          <doc xml:whitespace="preserve">A #GtkWidget pointer</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </parameter>
        <parameter name="time" transfer-ownership="none">
          <doc xml:whitespace="preserve">A #GripTimeType</doc>
          <type name="TimeType" c:type="GripTimeType"/>
        </parameter>
        <parameter name="gesture" transfer-ownership="none">
          <doc xml:whitespace="preserve">A #GripGestureEvent pointer</doc>
          <type name="GestureEvent" c:type="GripGestureEvent*"/>
        </parameter>
        <parameter name="user_data" transfer-ownership="none" closure="3">
          <doc xml:whitespace="preserve">user data</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <union name="GestureEvent"
           c:type="GripGestureEvent"
           glib:type-name="GripGestureEvent"
           glib:get-type="grip_gesture_event_get_type"
           c:symbol-prefix="gesture_event">
      <doc xml:whitespace="preserve">This is a boxed type.</doc>
      <field name="type" writable="1">
        <type name="GestureType" c:type="GripGestureType"/>
      </field>
      <field name="any" writable="1">
        <type name="EventGestureAny" c:type="GripEventGestureAny"/>
      </field>
      <field name="drag" writable="1">
        <type name="EventGestureDrag" c:type="GripEventGestureDrag"/>
      </field>
      <field name="pinch" writable="1">
        <type name="EventGesturePinch" c:type="GripEventGesturePinch"/>
      </field>
      <field name="rotate" writable="1">
        <type name="EventGestureRotate" c:type="GripEventGestureRotate"/>
      </field>
      <field name="tap" writable="1">
        <type name="EventGestureTap" c:type="GripEventGestureTap"/>
      </field>
      <constructor name="new" c:identifier="grip_gesture_event_new">
        <return-value transfer-ownership="full">
          <type name="GestureEvent" c:type="GripGestureEvent*"/>
        </return-value>
        <parameters>
          <parameter name="gesture_type" transfer-ownership="none">
            <type name="GestureType" c:type="GripGestureType"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="copy" c:identifier="grip_gesture_event_copy">
        <return-value transfer-ownership="full">
          <type name="GestureEvent" c:type="GripGestureEvent*"/>
        </return-value>
      </method>
      <method name="free" c:identifier="grip_gesture_event_free">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </method>
    </union>
    <class name="GestureManager"
           c:symbol-prefix="gesture_manager"
           c:type="GripGestureManager"
           parent="GObject.Object"
           glib:type-name="GripGestureManager"
           glib:get-type="grip_gesture_manager_get_type"
           glib:type-struct="GestureManagerClass">
      <doc xml:whitespace="preserve">A singleton manager into which a window may be registered to receive
multitouch gesture events.</doc>
      <function name="get" c:identifier="grip_gesture_manager_get">
        <doc xml:whitespace="preserve">Retrieves a #GripGestureManager pointer.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">A #GripGestureManager</doc>
          <type name="GestureManager" c:type="GripGestureManager*"/>
        </return-value>
      </function>
      <method name="register_window"
              c:identifier="grip_gesture_manager_register_window">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="widget" transfer-ownership="none">
            <doc xml:whitespace="preserve">A #GtkWidget on which to register the gesture</doc>
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </parameter>
          <parameter name="gesture_type" transfer-ownership="none">
            <doc xml:whitespace="preserve">Gesture type</doc>
            <type name="GestureType" c:type="GripGestureType"/>
          </parameter>
          <parameter name="device_type" transfer-ownership="none">
            <doc xml:whitespace="preserve">Type of the device producing the gesture.</doc>
            <type name="DeviceType" c:type="GripDeviceType"/>
          </parameter>
          <parameter name="touch_points" transfer-ownership="none">
            <doc xml:whitespace="preserve">Number of touch points</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     scope="notified"
                     closure="5"
                     destroy="6">
            <doc xml:whitespace="preserve">Callback</doc>
            <type name="GestureCallback" c:type="GripGestureCallback"/>
          </parameter>
          <parameter name="user_data" transfer-ownership="none">
            <doc xml:whitespace="preserve">User data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="destroy" transfer-ownership="none" scope="async">
            <doc xml:whitespace="preserve">Destroy</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="unregister_window"
              c:identifier="grip_gesture_manager_unregister_window">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="widget" transfer-ownership="none">
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="GestureManagerPrivate"
              c:type="GripGestureManagerPrivate*"/>
      </field>
      <glib:signal name="device-available" when="last">
        <return-value transfer-ownership="none">
          <type name="none"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="InputDevice"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="device-unavailable" when="last">
        <return-value transfer-ownership="none">
          <type name="none"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="InputDevice"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="GestureManagerClass"
            c:type="GripGestureManagerClass"
            glib:is-gtype-struct-for="GestureManager">
      <doc xml:whitespace="preserve">The class object for a #GripGestureManager.</doc>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <record name="GestureManagerPrivate"
            c:type="GripGestureManagerPrivate"
            disguised="1">
    </record>
    <enumeration name="GestureType" c:type="GripGestureType">
      <doc xml:whitespace="preserve">Indicates the type of gesture for which a gesture event is being received.</doc>
      <member name="drag" value="0" c:identifier="GRIP_GESTURE_DRAG"/>
      <member name="pinch" value="1" c:identifier="GRIP_GESTURE_PINCH"/>
      <member name="rotate" value="2" c:identifier="GRIP_GESTURE_ROTATE"/>
      <member name="tap" value="15" c:identifier="GRIP_GESTURE_TAP"/>
    </enumeration>
    <class name="InputDevice"
           c:symbol-prefix="input_device"
           c:type="GripInputDevice"
           parent="GObject.Object"
           glib:type-name="GripInputDevice"
           glib:get-type="grip_input_device_get_type"
           glib:type-struct="InputDeviceClass">
      <doc xml:whitespace="preserve">This struct contains private data only, and should be accessed using the
functions below.</doc>
      <method name="get_id" c:identifier="grip_input_device_get_id">
        <return-value transfer-ownership="none">
          <type name="guint" c:type="guint"/>
        </return-value>
      </method>
      <method name="get_name" c:identifier="grip_input_device_get_name">
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="gchar*"/>
        </return-value>
      </method>
      <method name="get_x_extents"
              c:identifier="grip_input_device_get_x_extents">
        <return-value transfer-ownership="none">
          <type name="AxisExtents" c:type="GripAxisExtents*"/>
        </return-value>
      </method>
      <method name="get_y_extents"
              c:identifier="grip_input_device_get_y_extents">
        <return-value transfer-ownership="none">
          <type name="AxisExtents" c:type="GripAxisExtents*"/>
        </return-value>
      </method>
      <method name="is_direct" c:identifier="grip_input_device_is_direct">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
      </method>
      <method name="is_independent"
              c:identifier="grip_input_device_is_independent">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
      </method>
      <property name="device-attrs"
                readable="0"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="gpointer"/>
      </property>
      <property name="geis-device"
                readable="0"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="gpointer"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="InputDevicePrivate" c:type="GripInputDevicePrivate*"/>
      </field>
    </class>
    <record name="InputDeviceClass"
            c:type="GripInputDeviceClass"
            glib:is-gtype-struct-for="InputDevice">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <record name="InputDevicePrivate"
            c:type="GripInputDevicePrivate"
            disguised="1">
    </record>
    <enumeration name="TimeType" c:type="GripTimeType">
      <doc xml:whitespace="preserve">Indicates the part of the gesture stream ocuuring during the gesture event.</doc>
      <member name="start" value="0" c:identifier="GRIP_TIME_START"/>
      <member name="update" value="1" c:identifier="GRIP_TIME_UPDATE"/>
      <member name="end" value="2" c:identifier="GRIP_TIME_END"/>
    </enumeration>
    <function name="get_device_type" c:identifier="grip_get_device_type">
      <return-value transfer-ownership="none">
        <type name="DeviceType" c:type="GripDeviceType"/>
      </return-value>
      <parameters>
        <parameter name="input_device" transfer-ownership="none">
          <type name="InputDevice" c:type="GripInputDevice*"/>
        </parameter>
      </parameters>
    </function>
  </namespace>
</repository>