/usr/share/pygtk/2.0/defs/gdkglext.defs is in python-gtkglext1 1.1.0-9.1.
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 | ;; -*- scheme -*-
(include "gdkglext-types.defs")
;; From gtkglext/gdk/gdkgl.h
;; From gtkglext/gdk/gdkglconfig.h
(define-function gdk_gl_config_get_type
(c-name "gdk_gl_config_get_type")
(return-type "GType")
)
(define-function gdk_gl_config_new
(c-name "gdk_gl_config_new")
(is-constructor-of "GdkGLConfig")
(return-type "GdkGLConfig*")
(parameters
'("const-int*" "attrib_list")
)
)
(define-function gdk_gl_config_new_for_screen
(c-name "gdk_gl_config_new_for_screen")
(is-constructor-of "GdkGLConfig")
(return-type "GdkGLConfig*")
(parameters
'("GdkScreen*" "screen")
'("const-int*" "attrib_list")
)
)
(define-function gdk_gl_config_new_by_mode
(c-name "gdk_gl_config_new_by_mode")
(is-constructor-of "GdkGLConfig")
(return-type "GdkGLConfig*")
(parameters
'("GdkGLConfigMode" "mode")
)
)
(define-function gdk_gl_config_new_by_mode_for_screen
(c-name "gdk_gl_config_new_by_mode_for_screen")
(is-constructor-of "GdkGLConfig")
(return-type "GdkGLConfig*")
(parameters
'("GdkScreen*" "screen")
'("GdkGLConfigMode" "mode")
)
)
(define-method get_screen
(of-object "GdkGLConfig")
(c-name "gdk_gl_config_get_screen")
(return-type "GdkScreen*")
)
(define-method get_attrib
(of-object "GdkGLConfig")
(c-name "gdk_gl_config_get_attrib")
(return-type "gboolean")
(parameters
'("int" "attribute")
'("int*" "value")
)
)
(define-method get_colormap
(of-object "GdkGLConfig")
(c-name "gdk_gl_config_get_colormap")
(return-type "GdkColormap*")
)
(define-method get_visual
(of-object "GdkGLConfig")
(c-name "gdk_gl_config_get_visual")
(return-type "GdkVisual*")
)
(define-method get_depth
(of-object "GdkGLConfig")
(c-name "gdk_gl_config_get_depth")
(return-type "gint")
)
(define-method get_layer_plane
(of-object "GdkGLConfig")
(c-name "gdk_gl_config_get_layer_plane")
(return-type "gint")
)
(define-method get_n_aux_buffers
(of-object "GdkGLConfig")
(c-name "gdk_gl_config_get_n_aux_buffers")
(return-type "gint")
)
(define-method get_n_sample_buffers
(of-object "GdkGLConfig")
(c-name "gdk_gl_config_get_n_sample_buffers")
(return-type "gint")
)
(define-method is_rgba
(of-object "GdkGLConfig")
(c-name "gdk_gl_config_is_rgba")
(return-type "gboolean")
)
(define-method is_double_buffered
(of-object "GdkGLConfig")
(c-name "gdk_gl_config_is_double_buffered")
(return-type "gboolean")
)
(define-method is_stereo
(of-object "GdkGLConfig")
(c-name "gdk_gl_config_is_stereo")
(return-type "gboolean")
)
(define-method has_alpha
(of-object "GdkGLConfig")
(c-name "gdk_gl_config_has_alpha")
(return-type "gboolean")
)
(define-method has_depth_buffer
(of-object "GdkGLConfig")
(c-name "gdk_gl_config_has_depth_buffer")
(return-type "gboolean")
)
(define-method has_stencil_buffer
(of-object "GdkGLConfig")
(c-name "gdk_gl_config_has_stencil_buffer")
(return-type "gboolean")
)
(define-method has_accum_buffer
(of-object "GdkGLConfig")
(c-name "gdk_gl_config_has_accum_buffer")
(return-type "gboolean")
)
;; From gtkglext/gdk/gdkglcontext.h
(define-function gdk_gl_context_get_type
(c-name "gdk_gl_context_get_type")
(return-type "GType")
)
(define-function gdk_gl_context_new
(c-name "gdk_gl_context_new")
(is-constructor-of "GdkGLContext")
(return-type "GdkGLContext*")
(parameters
'("GdkGLDrawable*" "gldrawable")
'("GdkGLContext*" "share_list" (null-ok) (default "NULL"))
'("gboolean" "direct" (default "TRUE"))
'("int" "render_type" (default "GDK_GL_RGBA_TYPE"))
)
)
(define-method destroy
(of-object "GdkGLContext")
(c-name "gdk_gl_context_destroy")
(return-type "none")
)
(define-method copy
(of-object "GdkGLContext")
(c-name "gdk_gl_context_copy")
(return-type "gboolean")
(parameters
'("GdkGLContext*" "src")
'("unsigned-long" "mask" (default "GL_ALL_ATTRIB_BITS"))
)
)
(define-method get_gl_drawable
(of-object "GdkGLContext")
(c-name "gdk_gl_context_get_gl_drawable")
(return-type "GdkGLDrawable*")
)
(define-method get_gl_config
(of-object "GdkGLContext")
(c-name "gdk_gl_context_get_gl_config")
(return-type "GdkGLConfig*")
)
(define-method get_share_list
(of-object "GdkGLContext")
(c-name "gdk_gl_context_get_share_list")
(return-type "GdkGLContext*")
)
(define-method is_direct
(of-object "GdkGLContext")
(c-name "gdk_gl_context_is_direct")
(return-type "gboolean")
)
(define-method get_render_type
(of-object "GdkGLContext")
(c-name "gdk_gl_context_get_render_type")
(return-type "int")
)
(define-function context_get_current
(c-name "gdk_gl_context_get_current")
(return-type "GdkGLContext*")
)
;; From gtkglext/gdk/gdkgldebug.h
;; From gtkglext/gdk/gdkgldefs.h
;; From gtkglext/gdk/gdkgldrawable.h
(define-function gdk_gl_drawable_get_type
(c-name "gdk_gl_drawable_get_type")
(return-type "GType")
)
(define-method make_current
(of-object "GdkGLDrawable")
(c-name "gdk_gl_drawable_make_current")
(return-type "gboolean")
(parameters
'("GdkGLContext*" "glcontext")
)
)
(define-method is_double_buffered
(of-object "GdkGLDrawable")
(c-name "gdk_gl_drawable_is_double_buffered")
(return-type "gboolean")
)
(define-method swap_buffers
(of-object "GdkGLDrawable")
(c-name "gdk_gl_drawable_swap_buffers")
(return-type "none")
)
(define-method wait_gl
(of-object "GdkGLDrawable")
(c-name "gdk_gl_drawable_wait_gl")
(return-type "none")
)
(define-method wait_gdk
(of-object "GdkGLDrawable")
(c-name "gdk_gl_drawable_wait_gdk")
(return-type "none")
)
(define-method gl_begin
(of-object "GdkGLDrawable")
(c-name "gdk_gl_drawable_gl_begin")
(return-type "gboolean")
(parameters
'("GdkGLContext*" "glcontext")
)
)
(define-method gl_end
(of-object "GdkGLDrawable")
(c-name "gdk_gl_drawable_gl_end")
(return-type "none")
)
(define-method get_gl_config
(of-object "GdkGLDrawable")
(c-name "gdk_gl_drawable_get_gl_config")
(return-type "GdkGLConfig*")
)
(define-method get_size
(of-object "GdkGLDrawable")
(c-name "gdk_gl_drawable_get_size")
(return-type "none")
(parameters
'("gint*" "width")
'("gint*" "height")
)
)
(define-function drawable_get_current
(c-name "gdk_gl_drawable_get_current")
(return-type "GdkGLDrawable*")
)
;; From gtkglext/gdk/gdkglenumtypes.h
(define-function gdk_gl_config_caveat_get_type
(c-name "gdk_gl_config_caveat_get_type")
(return-type "GType")
)
(define-function gdk_gl_visual_type_get_type
(c-name "gdk_gl_visual_type_get_type")
(return-type "GType")
)
(define-function gdk_gl_transparent_type_get_type
(c-name "gdk_gl_transparent_type_get_type")
(return-type "GType")
)
(define-function gdk_gl_drawable_type_mask_get_type
(c-name "gdk_gl_drawable_type_mask_get_type")
(return-type "GType")
)
(define-function gdk_gl_render_type_mask_get_type
(c-name "gdk_gl_render_type_mask_get_type")
(return-type "GType")
)
(define-function gdk_gl_buffer_mask_get_type
(c-name "gdk_gl_buffer_mask_get_type")
(return-type "GType")
)
(define-function gdk_gl_config_error_get_type
(c-name "gdk_gl_config_error_get_type")
(return-type "GType")
)
(define-function gdk_gl_render_type_get_type
(c-name "gdk_gl_render_type_get_type")
(return-type "GType")
)
(define-function gdk_gl_drawable_attrib_get_type
(c-name "gdk_gl_drawable_attrib_get_type")
(return-type "GType")
)
(define-function gdk_gl_pbuffer_attrib_get_type
(c-name "gdk_gl_pbuffer_attrib_get_type")
(return-type "GType")
)
(define-function gdk_gl_event_mask_get_type
(c-name "gdk_gl_event_mask_get_type")
(return-type "GType")
)
(define-function gdk_gl_event_type_get_type
(c-name "gdk_gl_event_type_get_type")
(return-type "GType")
)
(define-function gdk_gl_drawable_type_get_type
(c-name "gdk_gl_drawable_type_get_type")
(return-type "GType")
)
(define-function gdk_gl_config_mode_get_type
(c-name "gdk_gl_config_mode_get_type")
(return-type "GType")
)
;; From gtkglext/gdk/gdkglext-config.h
;; From gtkglext/gdk/gdkglfont.h
(define-function font_use_pango_font
(c-name "gdk_gl_font_use_pango_font")
(return-type "PangoFont*")
(parameters
'("const-PangoFontDescription*" "font_desc")
'("int" "first")
'("int" "count")
'("int" "list_base")
)
)
(define-function font_use_pango_font_for_display
(c-name "gdk_gl_font_use_pango_font_for_display")
(return-type "PangoFont*")
(parameters
'("GdkDisplay*" "display")
'("const-PangoFontDescription*" "font_desc")
'("int" "first")
'("int" "count")
'("int" "list_base")
)
)
;; From gtkglext/gdk/gdkglinit.h
(define-function gdk_gl_parse_args
(c-name "gdk_gl_parse_args")
(return-type "gboolean")
(parameters
'("int*" "argc")
'("char***" "argv")
)
)
(define-function gdk_gl_init_check
(c-name "gdk_gl_init_check")
(return-type "gboolean")
(parameters
'("int*" "argc")
'("char***" "argv")
)
)
(define-function gdk_gl_init
(c-name "gdk_gl_init")
(return-type "none")
(parameters
'("int*" "argc")
'("char***" "argv")
)
)
;; From gtkglext/gdk/gdkglpixmap.h
(define-function gdk_gl_pixmap_get_type
(c-name "gdk_gl_pixmap_get_type")
(return-type "GType")
)
(define-function gdk_gl_pixmap_new
(c-name "gdk_gl_pixmap_new")
(is-constructor-of "GdkGLPixmap")
(return-type "GdkGLPixmap*")
(parameters
'("GdkGLConfig*" "glconfig")
'("GdkPixmap*" "pixmap")
'("const-int*" "attrib_list" (null-ok) (default "NULL"))
)
)
(define-method destroy
(of-object "GdkGLPixmap")
(c-name "gdk_gl_pixmap_destroy")
(return-type "none")
)
(define-method get_pixmap
(of-object "GdkGLPixmap")
(c-name "gdk_gl_pixmap_get_pixmap")
(return-type "GdkPixmap*")
)
(define-function pixmap_set_gl_capability
(c-name "gdk_pixmap_set_gl_capability")
(return-type "GdkGLPixmap*")
(parameters
'("GdkPixmap*" "pixmap")
'("GdkGLConfig*" "glconfig")
'("const-int*" "attrib_list" (null-ok) (default "NULL"))
)
)
(define-function pixmap_unset_gl_capability
(c-name "gdk_pixmap_unset_gl_capability")
(return-type "none")
(parameters
'("GdkPixmap*" "pixmap")
)
)
(define-function pixmap_is_gl_capable
(c-name "gdk_pixmap_is_gl_capable")
(return-type "gboolean")
(parameters
'("GdkPixmap*" "pixmap")
)
)
(define-function pixmap_get_gl_pixmap
(c-name "gdk_pixmap_get_gl_pixmap")
(return-type "GdkGLPixmap*")
(parameters
'("GdkPixmap*" "pixmap")
)
)
(define-function pixmap_get_gl_drawable
(c-name "gdk_pixmap_get_gl_drawable")
(return-type "GdkGLDrawable*")
(parameters
'("GdkPixmap*" "pixmap")
)
)
;; From gtkglext/gdk/gdkglprivate.h
;; From gtkglext/gdk/gdkglquery.h
(define-function query_extension
(c-name "gdk_gl_query_extension")
(return-type "gboolean")
)
(define-function query_extension_for_display
(c-name "gdk_gl_query_extension_for_display")
(return-type "gboolean")
(parameters
'("GdkDisplay*" "display")
)
)
(define-function query_version
(c-name "gdk_gl_query_version")
(return-type "gboolean")
(parameters
'("int*" "major")
'("int*" "minor")
)
)
(define-function query_version_for_display
(c-name "gdk_gl_query_version_for_display")
(return-type "gboolean")
(parameters
'("GdkDisplay*" "display")
'("int*" "major")
'("int*" "minor")
)
)
(define-function query_gl_extension
(c-name "gdk_gl_query_gl_extension")
(return-type "gboolean")
(parameters
'("const-char*" "extension")
)
)
(define-function gdk_gl_get_proc_address
(c-name "gdk_gl_get_proc_address")
(return-type "GdkGLProc")
(parameters
'("const-char*" "proc_name")
)
)
;; From gtkglext/gdk/gdkglshapes.h
(define-function draw_cube
(c-name "gdk_gl_draw_cube")
(return-type "none")
(parameters
'("gboolean" "solid")
'("double" "size")
)
)
(define-function draw_sphere
(c-name "gdk_gl_draw_sphere")
(return-type "none")
(parameters
'("gboolean" "solid")
'("double" "radius")
'("int" "slices")
'("int" "stacks")
)
)
(define-function draw_cone
(c-name "gdk_gl_draw_cone")
(return-type "none")
(parameters
'("gboolean" "solid")
'("double" "base")
'("double" "height")
'("int" "slices")
'("int" "stacks")
)
)
(define-function draw_torus
(c-name "gdk_gl_draw_torus")
(return-type "none")
(parameters
'("gboolean" "solid")
'("double" "inner_radius")
'("double" "outer_radius")
'("int" "nsides")
'("int" "rings")
)
)
(define-function draw_tetrahedron
(c-name "gdk_gl_draw_tetrahedron")
(return-type "none")
(parameters
'("gboolean" "solid")
)
)
(define-function draw_octahedron
(c-name "gdk_gl_draw_octahedron")
(return-type "none")
(parameters
'("gboolean" "solid")
)
)
(define-function draw_dodecahedron
(c-name "gdk_gl_draw_dodecahedron")
(return-type "none")
(parameters
'("gboolean" "solid")
)
)
(define-function draw_icosahedron
(c-name "gdk_gl_draw_icosahedron")
(return-type "none")
(parameters
'("gboolean" "solid")
)
)
(define-function draw_teapot
(c-name "gdk_gl_draw_teapot")
(return-type "none")
(parameters
'("gboolean" "solid")
'("double" "scale")
)
)
;; From gtkglext/gdk/gdkgltokens.h
;; From gtkglext/gdk/gdkgltypes.h
;; From gtkglext/gdk/gdkglversion.h
;; From gtkglext/gdk/gdkglwindow.h
(define-function gdk_gl_window_get_type
(c-name "gdk_gl_window_get_type")
(return-type "GType")
)
(define-function gdk_gl_window_new
(c-name "gdk_gl_window_new")
(is-constructor-of "GdkGLWindow")
(return-type "GdkGLWindow*")
(parameters
'("GdkGLConfig*" "glconfig")
'("GdkWindow*" "window")
'("const-int*" "attrib_list" (null-ok) (default "NULL"))
)
)
(define-method destroy
(of-object "GdkGLWindow")
(c-name "gdk_gl_window_destroy")
(return-type "none")
)
(define-method get_window
(of-object "GdkGLWindow")
(c-name "gdk_gl_window_get_window")
(return-type "GdkWindow*")
)
(define-function window_set_gl_capability
(c-name "gdk_window_set_gl_capability")
(return-type "GdkGLWindow*")
(parameters
'("GdkWindow*" "window")
'("GdkGLConfig*" "glconfig")
'("const-int*" "attrib_list" (null-ok) (default "NULL"))
)
)
(define-function window_unset_gl_capability
(c-name "gdk_window_unset_gl_capability")
(return-type "none")
(parameters
'("GdkWindow*" "window")
)
)
(define-function window_is_gl_capable
(c-name "gdk_window_is_gl_capable")
(return-type "gboolean")
(parameters
'("GdkWindow*" "window")
)
)
(define-function window_get_gl_window
(c-name "gdk_window_get_gl_window")
(return-type "GdkGLWindow*")
(parameters
'("GdkWindow*" "window")
)
)
(define-function window_get_gl_drawable
(c-name "gdk_window_get_gl_drawable")
(return-type "GdkGLDrawable*")
(parameters
'("GdkWindow*" "window")
)
)
|