/usr/share/pygtk/2.0/defs/libglade.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 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 | ;; -*- scheme -*-
; object definitions ...
(define-object XML
(in-module "Glade")
(parent "GObject")
(c-name "GladeXML")
(gtype-id "GLADE_TYPE_XML")
)
;; Enumerations and flags ...
;; From /opt/gtk2/include/glade-2.0/glade/glade-init.h
(define-function require
(c-name "glade_require")
(return-type "none")
(parameters
'("const-gchar*" "library")
)
)
(define-function provide
(c-name "glade_provide")
(return-type "none")
(parameters
'("const-gchar*" "library")
)
)
;; From /opt/gtk2/include/glade-2.0/glade/glade-xml.h
(define-function glade_xml_get_type
(c-name "glade_xml_get_type")
(return-type "GType")
)
(define-function glade_xml_new
(c-name "glade_xml_new")
(is-constructor-of "GladeXML")
(return-type "GladeXML*")
(parameters
'("const-char*" "fname")
'("const-char*" "root" (null-ok) (default "NULL"))
'("const-char*" "domain" (null-ok) (default "NULL"))
)
)
(define-function xml_new_from_buffer
(c-name "glade_xml_new_from_buffer")
(return-type "GladeXML*")
(parameters
'("const-char*" "buffer")
'("int" "size")
'("const-char*" "root" (null-ok) (default "NULL"))
'("const-char*" "domain" (null-ok) (default "NULL"))
)
)
(define-method construct
(of-object "GladeXML")
(c-name "glade_xml_construct")
(return-type "gboolean")
(parameters
'("const-char*" "fname")
'("const-char*" "root" (null-ok) (default "NULL"))
'("const-char*" "domain" (null-ok) (default "NULL"))
)
)
(define-method signal_connect
(of-object "GladeXML")
(c-name "glade_xml_signal_connect")
(return-type "none")
(parameters
'("const-char*" "handlername")
'("GtkSignalFunc" "func")
)
)
(define-method signal_connect_data
(of-object "GladeXML")
(c-name "glade_xml_signal_connect_data")
(return-type "none")
(parameters
'("const-char*" "handlername")
'("GtkSignalFunc" "func")
'("gpointer" "user_data")
)
)
(define-method signal_autoconnect
(of-object "GladeXML")
(c-name "glade_xml_signal_autoconnect")
(return-type "none")
)
(define-method signal_connect_full
(of-object "GladeXML")
(c-name "glade_xml_signal_connect_full")
(return-type "none")
(parameters
'("const-gchar*" "handler_name")
'("GladeXMLConnectFunc" "func")
'("gpointer" "user_data")
)
)
(define-method signal_autoconnect_full
(of-object "GladeXML")
(c-name "glade_xml_signal_autoconnect_full")
(return-type "none")
(parameters
'("GladeXMLConnectFunc" "func")
'("gpointer" "user_data")
)
)
(define-method get_widget
(of-object "GladeXML")
(c-name "glade_xml_get_widget")
(return-type "GtkWidget*")
(parameters
'("const-char*" "name")
)
)
(define-method get_widget_prefix
(of-object "GladeXML")
(c-name "glade_xml_get_widget_prefix")
(return-type "GList*")
(parameters
'("const-char*" "name")
)
)
(define-method relative_file
(of-object "GladeXML")
(c-name "glade_xml_relative_file")
(return-type "gchar*")
(parameters
'("const-gchar*" "filename")
)
)
(define-function get_widget_name
(c-name "glade_get_widget_name")
(return-type "const-char*")
(parameters
'("GtkWidget*" "widget")
)
)
(define-function get_widget_tree
(c-name "glade_get_widget_tree")
(return-type "GladeXML*")
(parameters
'("GtkWidget*" "widget")
)
)
(define-function set_custom_handler
(c-name "glade_set_custom_handler")
(return-type "none")
(parameters
'("GladeXMLCustomWidgetHandler" "handler")
'("gpointer" "user_data")
)
)
;; pylibglade2 extras
(define-function bindtextdomain
(c-name "glade_bindtextdomain")
(return-type "char*")
(parameters
'("const-char*" "domainname")
'("const-char*" "dirname" (null-ok) (default "NULL"))
)
)
(define-function textdomain
(c-name "glade_textdomain")
(return-type "char*")
(parameters
'("const-char*" "domainname")
)
)
(define-function set_custom_widget_callbacks
(c-name "glade_set_custom_widget_callbacks")
(return-type "none")
)
|