This file is indexed.

/usr/share/pygtk/2.0/defs/gtk-extrafuncs.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
; -*- scheme -*-

(define-method flags
  (of-object "GtkObject")
  (c-name "GTK_OBJECT_FLAGS")
  (return-type "GtkWidgetFlags")
)

(define-method set_flags
  (of-object "GtkObject")
  (c-name "GTK_OBJECT_SET_FLAGS")
  (return-type "none")
  (parameters
    '("GtkWidgetFlags" "flags")
  )
)

(define-method unset_flags
  (of-object "GtkObject")
  (c-name "GTK_OBJECT_UNSET_FLAGS")
  (return-type "none")
  (parameters
    '("GtkWidgetFlags" "flags")
  )
)

(define-method get_allocation
  (of-object "GtkWidget")
  (c-name "gtk_widget_get_allocation")
  (return-type "GtkAllocation")
)

(define-method get_selection
  (of-object "GtkList")
  (c-name "gtk_list_get_selection")
  (return-type "GList*")
)

(define-method set_all
  (of-object "GtkAdjustment")
  (c-name "gtk_adjustment_set_all")
  (return-type "none")
  (parameters
    '("gfloat" "value")
    '("gfloat" "lower")
    '("gfloat" "upper")
    '("gfloat" "step_increment")
    '("gfloat" "page_increment")
    '("gfloat" "page_size")
  )
)

;; PyGtkTreeModel

(define-object GenericTreeModel
  (in-module "PyGtk")
  (parent "GObject")
  (c-name "PyGtkGenericTreeModel")
  (gtype-id "PYGTK_TYPE_GENERIC_TREE_MODEL")
  (implements "GtkTreeModel")
)

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

(define-function pygtk_generic_tree_model_new
  (c-name "pygtk_generic_tree_model_new")
  (is-constructor-of PyGtkGenericTreeModel)
  (return-type "PyGtkGenericTreeModel*")
)

;; PyGtkGenericTreeModel methods

(define-method invalidate_iters
  (of-object "PyGtkGenericTreeModel")
  (c-name "pygtk_generic_tree_model_invalidate_iters")
  (return-type "none")
)

(define-method iter_is_valid
  (of-object "PyGtkGenericTreeModel")
  (c-name "pygtk_generic_tree_model_iter_is_valid")
  (return-type "gboolean")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method get_user_data
  (of-object "PyGtkGenericTreeModel")
  (c-name "pygtk_generic_tree_model_get_user_data")
  (return-type "PyObject*")
  (parameters
    '("GtkTreeIter*" "iter")
  )
)

(define-method create_tree_iter
  (of-object "PyGtkGenericTreeModel")
  (c-name "pygtk_generic_tree_model_create_tree_iter")
  (return-type "GtkTreeIter")
  (parameters
    '("PyObject*" "user_data")
  )
)

;; PyGtkGenericCellRenderer

(define-object GenericCellRenderer
  (in-module "PyGtk")
  (parent "GtkCellRenderer")
  (c-name "PyGtkGenericCellRenderer")
  (gtype-id "PYGTK_TYPE_GENERIC_CELL_RENDERER")
)

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

(define-function pygtk_generic_cell_renderer_new
  (c-name "pygtk_generic_cell_renderer_new")
  (is-constructor-of PyGtkGenericCellRenderer)
  (return-type "GtkCellRenderer*")
)