/usr/share/pygtk/2.0/defs/gtkglext.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 | ;; -*- scheme -*-
;; From gtkglext/gtk/gtkgl.h
;; From gtkglext/gtk/gtkgldebug.h
;; From gtkglext/gtk/gtkgldefs.h
;; From gtkglext/gtk/gtkglinit.h
(define-function gtk_gl_parse_args
(c-name "gtk_gl_parse_args")
(return-type "gboolean")
(parameters
'("int*" "argc")
'("char***" "argv")
)
)
(define-function gtk_gl_init_check
(c-name "gtk_gl_init_check")
(return-type "gboolean")
(parameters
'("int*" "argc")
'("char***" "argv")
)
)
(define-function gtk_gl_init
(c-name "gtk_gl_init")
(return-type "none")
(parameters
'("int*" "argc")
'("char***" "argv")
)
)
;; From gtkglext/gtk/gtkglprivate.h
;; From gtkglext/gtk/gtkglversion.h
;; From gtkglext/gtk/gtkglwidget.h
(define-function widget_set_gl_capability
(c-name "gtk_widget_set_gl_capability")
(return-type "gboolean")
(parameters
'("GtkWidget*" "widget")
'("GdkGLConfig*" "glconfig")
'("GdkGLContext*" "share_list" (null-ok) (default "NULL"))
'("gboolean" "direct" (default "TRUE"))
'("int" "render_type" (default "GDK_GL_RGBA_TYPE"))
)
)
(define-function widget_is_gl_capable
(c-name "gtk_widget_is_gl_capable")
(return-type "gboolean")
(parameters
'("GtkWidget*" "widget")
)
)
(define-function widget_get_gl_config
(c-name "gtk_widget_get_gl_config")
(return-type "GdkGLConfig*")
(parameters
'("GtkWidget*" "widget")
)
)
(define-function widget_create_gl_context
(c-name "gtk_widget_create_gl_context")
(return-type "GdkGLContext*")
(parameters
'("GtkWidget*" "widget")
'("GdkGLContext*" "share_list" (null-ok) (default "NULL"))
'("gboolean" "direct" (default "TRUE"))
'("int" "render_type" (default "GDK_GL_RGBA_TYPE"))
)
)
(define-function widget_get_gl_context
(c-name "gtk_widget_get_gl_context")
(return-type "GdkGLContext*")
(parameters
'("GtkWidget*" "widget")
)
)
(define-function widget_get_gl_window
(c-name "gtk_widget_get_gl_window")
(return-type "GdkGLWindow*")
(parameters
'("GtkWidget*" "widget")
)
)
(define-function widget_get_gl_drawable
(c-name "gtk_widget_get_gl_drawable")
(return-type "GdkGLDrawable*")
(parameters
'("GtkWidget*" "widget")
)
)
|