/usr/share/pygtk/2.0/defs/gtk-2.22.defs is in python-gtk2-dev 2.24.0-3.
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 | (define-method set_widget
(of-object "GtkAccessible")
(c-name "gtk_accessible_set_widget")
(return-type "none")
(parameters
'("GtkWidget*" "widget")
)
)
(define-method get_widget
(of-object "GtkAccessible")
(c-name "gtk_accessible_get_widget")
(return-type "GtkWidget*")
)
(define-method commit
(of-object "GtkAssistant")
(c-name "gtk_assistant_commit")
(return-type "none")
)
(define-method get_event_window
(of-object "GtkButton")
(c-name "gtk_button_get_event_window")
(return-type "GdkWindow*")
)
(define-method im_context_filter_keypress
(of-object "GtkEntry")
(c-name "gtk_entry_im_context_filter_keypress")
(return-type "gboolean")
(parameters
'("GdkEventKey*" "event")
)
)
(define-method reset_im_context
(of-object "GtkEntry")
(c-name "gtk_entry_reset_im_context")
(return-type "none")
)
(define-method get_font_selection
(of-object "GtkFontSelectionDialog")
(c-name "gtk_font_selection_dialog_get_font_selection")
(return-type "GtkWidget*")
)
(define-method get_item_row
(of-object "GtkIconView")
(c-name "gtk_icon_view_get_item_row")
(return-type "gint")
(parameters
'("GtkTreePath*" "path")
)
)
(define-method get_item_column
(of-object "GtkIconView")
(c-name "gtk_icon_view_get_item_column")
(return-type "gint")
(parameters
'("GtkTreePath*" "path")
)
)
(define-method get_message_area
(of-object "GtkMessageDialog")
(c-name "gtk_message_dialog_get_message_area")
(return-type "GtkWidget*")
)
(define-method remove_all
(of-object "GtkStatusbar")
(c-name "gtk_statusbar_remove_all")
(return-type "none")
(parameters
'("guint" "context_id")
)
)
(define-method get_size
(of-object "GtkTable")
(c-name "gtk_table_get_size")
(return-type "none")
(parameters
'("guint*" "rows")
'("guint*" "columns")
)
)
(define-method get_hadjustment
(of-object "GtkTextView")
(c-name "gtk_text_view_get_hadjustment")
(return-type "GtkAdjustment*")
)
(define-method get_vadjustment
(of-object "GtkTextView")
(c-name "gtk_text_view_get_vadjustment")
(return-type "GtkAdjustment*")
)
(define-method im_context_filter_keypress
(of-object "GtkTextView")
(c-name "gtk_text_view_im_context_filter_keypress")
(return-type "gboolean")
(parameters
'("GdkEventKey*" "event")
)
)
(define-method reset_im_context
(of-object "GtkTextView")
(c-name "gtk_text_view_reset_im_context")
(return-type "none")
)
(define-method get_view_window
(of-object "GtkViewport")
(c-name "gtk_viewport_get_view_window")
(return-type "GdkWindow*")
)
(define-method send_focus_change
(of-object "GtkWidget")
(c-name "gtk_widget_send_focus_change")
(return-type "gboolean")
(parameters
'("GdkEvent*" "event")
)
)
(define-method has_group
(of-object "GtkWindow")
(c-name "gtk_window_has_group")
(return-type "gboolean")
)
(define-method get_current_grab
(of-object "GtkWindowGroup")
(c-name "gtk_window_group_get_current_grab")
(return-type "GtkWidget*")
)
;; From gtkexpander.h
(define-method set_label_fill
(of-object "GtkExpander")
(c-name "gtk_expander_set_label_fill")
(return-type "none")
(parameters
'("gboolean" "label_fill")
)
)
(define-method get_label_fill
(of-object "GtkExpander")
(c-name "gtk_expander_get_label_fill")
(return-type "gboolean")
)
;; From gtkiconview.h
(define-method set_item_orientation
(of-object "GtkIconView")
(c-name "gtk_icon_view_set_item_orientation")
(return-type "none")
(parameters
'("GtkOrientation" "orientation")
)
)
(define-method get_item_orientation
(of-object "GtkIconView")
(c-name "gtk_icon_view_get_item_orientation")
(return-type "GtkOrientation")
)
;; From gtknotebook.h
(define-method get_tab_hborder
(of-object "GtkNotebook")
(c-name "gtk_notebook_get_tab_hborder")
(return-type "guint16")
)
(define-method get_tab_vborder
(of-object "GtkNotebook")
(c-name "gtk_notebook_get_tab_vborder")
(return-type "guint16")
)
|