/usr/share/pygtk/2.0/defs/gdk-2.20.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 | ;; -*- scheme -*-
;; From gdkkeys.h
(define-method add_virtual_modifiers
(of-object "GdkKeymap")
(c-name "gdk_keymap_add_virtual_modifiers")
(return-type "none")
(parameters
'("GdkModifierType*" "state")
)
)
(define-method map_virtual_modifiers
(of-object "GdkKeymap")
(c-name "gdk_keymap_map_virtual_modifiers")
(return-type "gboolean")
(parameters
'("GdkModifierType*" "state")
)
)
;; From gdkscreen.h
(define-method get_primary_monitor
(of-object "GdkScreen")
(c-name "gdk_screen_get_primary_monitor")
(return-type "gint")
)
|