This file is indexed.

/usr/share/pygtk/2.0/defs/gdk-2.14.defs is in python-gtk2-dev 2.24.0-4.

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
;; -*- scheme -*-
; object definitions ...
;; Enumerations and flags ...


;; From gdkapplaunchcontext.h

(define-function gdk_app_launch_context_get_type
  (c-name "gdk_app_launch_context_get_type")
  (return-type "GType")
)

(define-function gdk_app_launch_context_new
  (c-name "gdk_app_launch_context_new")
  (is-constructor-of "GdkAppLaunchContext")
  (return-type "GdkAppLaunchContext*")
)

(define-method set_display
  (of-object "GdkAppLaunchContext")
  (c-name "gdk_app_launch_context_set_display")
  (return-type "none")
  (parameters
    '("GdkDisplay*" "display")
  )
)

(define-method set_screen
  (of-object "GdkAppLaunchContext")
  (c-name "gdk_app_launch_context_set_screen")
  (return-type "none")
  (parameters
    '("GdkScreen*" "screen")
  )
)

(define-method set_desktop
  (of-object "GdkAppLaunchContext")
  (c-name "gdk_app_launch_context_set_desktop")
  (return-type "none")
  (parameters
    '("gint" "desktop")
  )
)

(define-method set_timestamp
  (of-object "GdkAppLaunchContext")
  (c-name "gdk_app_launch_context_set_timestamp")
  (return-type "none")
  (parameters
    '("guint32" "timestamp")
  )
)

(define-method set_icon
  (of-object "GdkAppLaunchContext")
  (c-name "gdk_app_launch_context_set_icon")
  (return-type "none")
  (parameters
    '("GIcon*" "icon" (null-ok))
  )
)

(define-method set_icon_name
  (of-object "GdkAppLaunchContext")
  (c-name "gdk_app_launch_context_set_icon_name")
  (return-type "none")
  (parameters
    '("const-char*" "icon_name" (null-ok))
  )
)



;; From gdkscreen.h

(define-method get_monitor_width_mm
  (of-object "GdkScreen")
  (c-name "gdk_screen_get_monitor_width_mm")
  (return-type "gint")
  (parameters
    '("gint" "monitor_num")
  )
)

(define-method get_monitor_height_mm
  (of-object "GdkScreen")
  (c-name "gdk_screen_get_monitor_height_mm")
  (return-type "gint")
  (parameters
    '("gint" "monitor_num")
  )
)

(define-method get_monitor_plug_name
  (of-object "GdkScreen")
  (c-name "gdk_screen_get_monitor_plug_name")
  (return-type "gchar*")
  (parameters
    '("gint" "monitor_num")
  )
)



;; From gdkwindow.h

(define-method redirect_to_drawable
  (of-object "GdkWindow")
  (c-name "gdk_window_redirect_to_drawable")
  (return-type "none")
  (parameters
    '("GdkDrawable*" "drawable")
    '("gint" "src_x")
    '("gint" "src_y")
    '("gint" "dest_x")
    '("gint" "dest_y")
    '("gint" "width")
    '("gint" "height")
  )
)

(define-method remove_redirection
  (of-object "GdkWindow")
  (c-name "gdk_window_remove_redirection")
  (return-type "none")
)



;; From gdk-pixbuf-core.h

(define-function pixbuf_new_from_stream
  (c-name "gdk_pixbuf_new_from_stream")
  (return-type "GdkPixbuf*")
  (parameters
    '("GInputStream*" "stream")
    '("GCancellable*" "cancellable" (null-ok) (default "NULL"))
    '("GError**" "error")
  )
)

(define-function pixbuf_new_from_stream_at_scale
  (c-name "gdk_pixbuf_new_from_stream_at_scale")
  (return-type "GdkPixbuf*")
  (parameters
    '("GInputStream*" "stream")
    '("gint" "width" (default "-1"))
    '("gint" "height" (default "-1"))
    '("gboolean" "preserve_aspect_ratio" (default "1"))
    '("GCancellable*" "cancellable" (null-ok) (default "NULL"))
    '("GError**" "error")
  )
)


(ifdef GDK_TARGET_X11
 
;; From gdkx.h

(define-function x11_screen_get_monitor_output
  (c-name "gdk_x11_screen_get_monitor_output")
  (return-type "XID")
  (parameters
    '("GdkScreen*" "screen")
    '("gint" "monitor_num")
  )
)

)