/usr/share/gir-1.0/Grip-1.0.gir is in libgrip-dev 0.3.9+15.10.20150729-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 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 | <?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="GLib" version="2.0"/>
<include name="GObject" version="2.0"/>
<include name="Gtk" version="3.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:space="preserve">Describes certain properties of a gesture input device.</doc>
<member name="touchscreen"
value="1"
c:identifier="GRIP_DEVICE_TOUCHSCREEN">
<doc xml:space="preserve">device is a touchscreen.</doc>
</member>
<member name="touchpad" value="2" c:identifier="GRIP_DEVICE_TOUCHPAD">
<doc xml:space="preserve">device is a touchpad</doc>
</member>
<member name="independent"
value="4"
c:identifier="GRIP_DEVICE_INDEPENDENT">
<doc xml:space="preserve">device is a Magic Mouse</doc>
</member>
</enumeration>
<record name="EventGestureAny" c:type="GripEventGestureAny">
<doc xml:space="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:space="preserve">Data associated with a drag event. A drag is a lateral motion.</doc>
<field name="type" writable="1">
<doc xml:space="preserve">the #GripGestureType of the gesture</doc>
<type name="GestureType" c:type="GripGestureType"/>
</field>
<field name="id" writable="1">
<doc xml:space="preserve">identifies the gesture</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="window" writable="1">
<doc xml:space="preserve">the #GdkWindow in which the gesture occurred</doc>
<type name="Gdk.Window" c:type="GdkWindow*"/>
</field>
<field name="root" writable="1">
<doc xml:space="preserve">the root #GdkWindow</doc>
<type name="Gdk.Window" c:type="GdkWindow*"/>
</field>
<field name="child" writable="1">
<doc xml:space="preserve">the child #GdkWindow</doc>
<type name="Gdk.Window" c:type="GdkWindow*"/>
</field>
<field name="timestamp" writable="1">
<doc xml:space="preserve">the time the gesture event occurred</doc>
<type name="guint32" c:type="guint32"/>
</field>
<field name="fingers" writable="1">
<doc xml:space="preserve">the number of touches making up the gesture</doc>
<type name="gint" c:type="gint"/>
</field>
<field name="focus_x" writable="1">
<doc xml:space="preserve">the X coordinate of the focus point of the gesture start</doc>
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="focus_y" writable="1">
<doc xml:space="preserve">the Y coordinate of the focus point of the gesture start</doc>
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="delta_x" writable="1">
<doc xml:space="preserve">the change in the X coordinate since the last gesture event</doc>
<type name="gint" c:type="gint"/>
</field>
<field name="delta_y" writable="1">
<doc xml:space="preserve">the change in the Y coordinate since the last gesture event</doc>
<type name="gint" c:type="gint"/>
</field>
<field name="velocity_x" writable="1">
<doc xml:space="preserve">the rate of change of the X coordinate</doc>
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="velocity_y" writable="1">
<doc xml:space="preserve">the rate of change of the Y coordinate</doc>
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="position_x" writable="1">
<doc xml:space="preserve">the current X coordinate of the centroid poistion of the touches</doc>
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="position_y" writable="1">
<doc xml:space="preserve">the current Y coordinate of the centroid poistion of the touches</doc>
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="input_device" writable="1">
<doc xml:space="preserve">the #GripInputDevice used to make the gesture</doc>
<type name="InputDevice" c:type="GripInputDevice*"/>
</field>
</record>
<record name="EventGesturePinch" c:type="GripEventGesturePinch">
<doc xml:space="preserve">Data associated with a pinch event. A pinch is an expand or contract motion.</doc>
<field name="type" writable="1">
<doc xml:space="preserve">the #GripGestureType of the gesture</doc>
<type name="GestureType" c:type="GripGestureType"/>
</field>
<field name="id" writable="1">
<doc xml:space="preserve">identifies the gesture</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="window" writable="1">
<doc xml:space="preserve">the #GdkWindow in which the gesture occurred</doc>
<type name="Gdk.Window" c:type="GdkWindow*"/>
</field>
<field name="root" writable="1">
<doc xml:space="preserve">the root #GdkWindow</doc>
<type name="Gdk.Window" c:type="GdkWindow*"/>
</field>
<field name="child" writable="1">
<doc xml:space="preserve">the child #GdkWindow</doc>
<type name="Gdk.Window" c:type="GdkWindow*"/>
</field>
<field name="timestamp" writable="1">
<doc xml:space="preserve">the time the gesture event occurred</doc>
<type name="guint32" c:type="guint32"/>
</field>
<field name="fingers" writable="1">
<doc xml:space="preserve">the number of touches making up the gesture</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="focus_x" writable="1">
<doc xml:space="preserve">the X coordinate of the focus point of the gesture start</doc>
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="focus_y" writable="1">
<doc xml:space="preserve">the Y coordinate of the focus point of the gesture start</doc>
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="radius_delta" writable="1">
<doc xml:space="preserve">the change in the radius (in screen coordinates)</doc>
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="radial_velocity" writable="1">
<doc xml:space="preserve">the rate of change of the radius</doc>
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="radius" writable="1">
<doc xml:space="preserve">the current radius (in screen coordinates)</doc>
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="position_x" writable="1">
<doc xml:space="preserve">the current X coordinate of the centroid poistion of the touches</doc>
<type name="gfloat" c:type="gfloat"/>
</field>
<field name="position_y" writable="1">
<doc xml:space="preserve">the current Y coordinate of the centroid poistion of the touches</doc>
<type name="gfloat" c:type="gfloat"/>
</field>
<field name="input_device" writable="1">
<doc xml:space="preserve">the #GripInputDevice used to make the gesture</doc>
<type name="InputDevice" c:type="GripInputDevice*"/>
</field>
</record>
<record name="EventGestureRotate" c:type="GripEventGestureRotate">
<doc xml:space="preserve">Data associated with a rotate gesture event.</doc>
<field name="type" writable="1">
<doc xml:space="preserve">the #GripGestureType of the gesture</doc>
<type name="GestureType" c:type="GripGestureType"/>
</field>
<field name="id" writable="1">
<doc xml:space="preserve">identifies the gesture</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="window" writable="1">
<doc xml:space="preserve">the #GdkWindow in which the gesture occurred</doc>
<type name="Gdk.Window" c:type="GdkWindow*"/>
</field>
<field name="root" writable="1">
<doc xml:space="preserve">the root #GdkWindow</doc>
<type name="Gdk.Window" c:type="GdkWindow*"/>
</field>
<field name="child" writable="1">
<doc xml:space="preserve">the child #GdkWindow</doc>
<type name="Gdk.Window" c:type="GdkWindow*"/>
</field>
<field name="timestamp" writable="1">
<doc xml:space="preserve">the time the gesture event occurred</doc>
<type name="guint32" c:type="guint32"/>
</field>
<field name="fingers" writable="1">
<doc xml:space="preserve">the number of touches making up the gesture</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="focus_x" writable="1">
<doc xml:space="preserve">the X coordinate of the focus point of the gesture start</doc>
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="focus_y" writable="1">
<doc xml:space="preserve">the Y coordinate of the focus point of the gesture start</doc>
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="angle_delta" writable="1">
<doc xml:space="preserve">the change in the rotation angle (in radians)</doc>
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="angular_velocity" writable="1">
<doc xml:space="preserve">the rate of change in the rotation angle</doc>
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="angle" writable="1">
<doc xml:space="preserve">the current rotation angle</doc>
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="position_x" writable="1">
<doc xml:space="preserve">the current X coordinate of the centroid poistion of the touches</doc>
<type name="gfloat" c:type="gfloat"/>
</field>
<field name="position_y" writable="1">
<doc xml:space="preserve">the current Y coordinate of the centroid poistion of the touches</doc>
<type name="gfloat" c:type="gfloat"/>
</field>
<field name="input_device" writable="1">
<doc xml:space="preserve">the #GripInputDevice used to make the gesture</doc>
<type name="InputDevice" c:type="GripInputDevice*"/>
</field>
</record>
<record name="EventGestureTap" c:type="GripEventGestureTap">
<doc xml:space="preserve">Data associated with a tap gesture.</doc>
<field name="type" writable="1">
<doc xml:space="preserve">the #GripGestureType of the gesture</doc>
<type name="GestureType" c:type="GripGestureType"/>
</field>
<field name="id" writable="1">
<doc xml:space="preserve">identifies the gesture</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="window" writable="1">
<doc xml:space="preserve">the #GdkWindow in which the gesture occurred</doc>
<type name="Gdk.Window" c:type="GdkWindow*"/>
</field>
<field name="root" writable="1">
<doc xml:space="preserve">the root #GdkWindow</doc>
<type name="Gdk.Window" c:type="GdkWindow*"/>
</field>
<field name="child" writable="1">
<doc xml:space="preserve">the child #GdkWindow</doc>
<type name="Gdk.Window" c:type="GdkWindow*"/>
</field>
<field name="timestamp" writable="1">
<doc xml:space="preserve">the time the gesture event occurred</doc>
<type name="guint32" c:type="guint32"/>
</field>
<field name="fingers" writable="1">
<doc xml:space="preserve">the number of touches making up the gesture</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="tap_time" writable="1">
<doc xml:space="preserve">the duration of the tap</doc>
<type name="guint32" c:type="guint32"/>
</field>
<field name="focus_x" writable="1">
<doc xml:space="preserve">the X coordinate of the focus point of the gesture start</doc>
<type name="gfloat" c:type="gfloat"/>
</field>
<field name="focus_y" writable="1">
<doc xml:space="preserve">the Y coordinate of the focus point of the gesture start</doc>
<type name="gfloat" c:type="gfloat"/>
</field>
<field name="position_x" writable="1">
<doc xml:space="preserve">the current X coordinate of the centroid poistion of the touches</doc>
<type name="gfloat" c:type="gfloat"/>
</field>
<field name="position_y" writable="1">
<doc xml:space="preserve">the current Y coordinate of the centroid poistion of the touches</doc>
<type name="gfloat" c:type="gfloat"/>
</field>
<field name="input_device" writable="1">
<doc xml:space="preserve">the #GripInputDevice used to make the gesture</doc>
<type name="InputDevice" c:type="GripInputDevice*"/>
</field>
</record>
<callback name="GestureCallback" c:type="GripGestureCallback">
<doc xml:space="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 <type>GripGestureCallback</type> 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:space="preserve">A #GtkWidget pointer</doc>
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
<parameter name="time" transfer-ownership="none">
<doc xml:space="preserve">A #GripTimeType</doc>
<type name="TimeType" c:type="GripTimeType"/>
</parameter>
<parameter name="gesture" transfer-ownership="none">
<doc xml:space="preserve">A #GripGestureEvent pointer</doc>
<type name="GestureEvent" c:type="GripGestureEvent*"/>
</parameter>
<parameter name="user_data" transfer-ownership="none" closure="3">
<doc xml:space="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:space="preserve">This is a boxed type.</doc>
<field name="type" writable="1">
<doc xml:space="preserve">the #GripGestureType, selects the variant record</doc>
<type name="GestureType" c:type="GripGestureType"/>
</field>
<field name="any" writable="1">
<type name="EventGestureAny" c:type="GripEventGestureAny"/>
</field>
<field name="drag" writable="1">
<doc xml:space="preserve">the event contains a drag gesture record</doc>
<type name="EventGestureDrag" c:type="GripEventGestureDrag"/>
</field>
<field name="pinch" writable="1">
<doc xml:space="preserve">the event contains a pinch gesture record</doc>
<type name="EventGesturePinch" c:type="GripEventGesturePinch"/>
</field>
<field name="rotate" writable="1">
<doc xml:space="preserve">the event contains a rotate gesture record</doc>
<type name="EventGestureRotate" c:type="GripEventGestureRotate"/>
</field>
<field name="tap" writable="1">
<doc xml:space="preserve">the event contains a tap gesture record</doc>
<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>
<parameters>
<instance-parameter name="event" transfer-ownership="none">
<type name="GestureEvent" c:type="const GripGestureEvent*"/>
</instance-parameter>
</parameters>
</method>
<method name="free" c:identifier="grip_gesture_event_free">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="event" transfer-ownership="none">
<type name="GestureEvent" c:type="GripGestureEvent*"/>
</instance-parameter>
</parameters>
</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:space="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:space="preserve">Retrieves a #GripGestureManager pointer.</doc>
<return-value transfer-ownership="none">
<doc xml:space="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>
<instance-parameter name="manager" transfer-ownership="none">
<doc xml:space="preserve">self</doc>
<type name="GestureManager" c:type="GripGestureManager*"/>
</instance-parameter>
<parameter name="widget" transfer-ownership="none">
<doc xml:space="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:space="preserve">Gesture type</doc>
<type name="GestureType" c:type="GripGestureType"/>
</parameter>
<parameter name="device_type" transfer-ownership="none">
<doc xml:space="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:space="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:space="preserve">Callback</doc>
<type name="GestureCallback" c:type="GripGestureCallback"/>
</parameter>
<parameter name="user_data" transfer-ownership="none">
<doc xml:space="preserve">User data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="destroy" transfer-ownership="none" scope="async">
<doc xml:space="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>
<instance-parameter name="manager" transfer-ownership="none">
<type name="GestureManager" c:type="GripGestureManager*"/>
</instance-parameter>
<parameter name="widget" transfer-ownership="none">
<type name="Gtk.Widget" c:type="GtkWidget*"/>
</parameter>
</parameters>
</method>
<field name="parent_instance">
<doc xml:space="preserve">the parent #GObject instance.</doc>
<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" c:type="void"/>
</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" c:type="void"/>
</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:space="preserve">The class object for a #GripGestureManager.</doc>
<field name="parent_class">
<doc xml:space="preserve">the base #GObjectClass</doc>
<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:space="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">
<doc xml:space="preserve">a drag gesture</doc>
</member>
<member name="pinch" value="1" c:identifier="GRIP_GESTURE_PINCH">
<doc xml:space="preserve">a pinch/expand gesture</doc>
</member>
<member name="rotate" value="2" c:identifier="GRIP_GESTURE_ROTATE">
<doc xml:space="preserve">a rotate gesture</doc>
</member>
<member name="tap" value="15" c:identifier="GRIP_GESTURE_TAP">
<doc xml:space="preserve">a tap gesture</doc>
</member>
</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:space="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>
<parameters>
<instance-parameter name="input_device" transfer-ownership="none">
<type name="InputDevice" c:type="GripInputDevice*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_name" c:identifier="grip_input_device_get_name">
<return-value transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="input_device" transfer-ownership="none">
<type name="InputDevice" c:type="GripInputDevice*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_x_extents"
c:identifier="grip_input_device_get_x_extents">
<return-value transfer-ownership="none">
<type name="AxisExtents" c:type="const GripAxisExtents*"/>
</return-value>
<parameters>
<instance-parameter name="input_device" transfer-ownership="none">
<type name="InputDevice" c:type="GripInputDevice*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_y_extents"
c:identifier="grip_input_device_get_y_extents">
<return-value transfer-ownership="none">
<type name="AxisExtents" c:type="const GripAxisExtents*"/>
</return-value>
<parameters>
<instance-parameter name="input_device" transfer-ownership="none">
<type name="InputDevice" c:type="GripInputDevice*"/>
</instance-parameter>
</parameters>
</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>
<parameters>
<instance-parameter name="input_device" transfer-ownership="none">
<type name="InputDevice" c:type="GripInputDevice*"/>
</instance-parameter>
</parameters>
</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>
<parameters>
<instance-parameter name="input_device" transfer-ownership="none">
<type name="InputDevice" c:type="GripInputDevice*"/>
</instance-parameter>
</parameters>
</method>
<property name="device-attrs"
readable="0"
writable="1"
construct-only="1"
transfer-ownership="none">
<type name="gpointer" c:type="gpointer"/>
</property>
<property name="geis-device"
readable="0"
writable="1"
construct-only="1"
transfer-ownership="none">
<type name="gpointer" c:type="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:space="preserve">Indicates the part of the gesture stream ocuuring during the gesture event.</doc>
<member name="start" value="0" c:identifier="GRIP_TIME_START">
<doc xml:space="preserve">a new gesture is starting</doc>
</member>
<member name="update" value="1" c:identifier="GRIP_TIME_UPDATE">
<doc xml:space="preserve">an existing gesture is updating</doc>
</member>
<member name="end" value="2" c:identifier="GRIP_TIME_END">
<doc xml:space="preserve">a gesture is ending</doc>
</member>
</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>
|