summaryrefslogtreecommitdiff
path: root/gtk/libglade.defs
blob: 6d270af0f051fdd8eccca8067e0946360345801a (plain)
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
;; -*- scheme -*-
; object definitions ...
(object XML
  (in-module Glade)
  (parent Data (Gtk))
  (c-name GladeXML)
)

;; Enumerations and flags ...


;; From /usr/include/glade/glade-xml.h

(function glade_xml_get_type
  (c-name glade_xml_get_type)
  (return-type GtkType)
)

(function glade_xml_new
  (c-name glade_xml_new)
  (return-type GladeXML*)
  (parameter (type-and-name const-char* fname))
  (parameter (type-and-name const-char* root) (null-ok) (default "NULL"))
)

(function glade_xml_new_with_domain
  (c-name glade_xml_new_with_domain)
  (is-constructor-of GladeXML)
  (return-type GladeXML*)
  (parameter (type-and-name const-char* fname))
  (parameter (type-and-name const-char* root) (null-ok) (default "NULL"))
  (parameter (type-and-name const-char* domain) (null-ok) (default "NULL"))
)

(function xml_new_from_memory
  (c-name glade_xml_new_from_memory)
  (return-type GladeXML*)
  (parameter (type-and-name char* buffer))
  (parameter (type-and-name int size))
  (parameter (type-and-name const-char* root) (null-ok))
  (parameter (type-and-name const-char* domain) (null-ok))
)

(method construct
  (of-object XML (Glade))
  (c-name glade_xml_construct)
  (return-type gboolean)
  (parameter (type-and-name const-char* fname))
  (parameter (type-and-name const-char* root))
  (parameter (type-and-name const-char* domain))
)

(method signal_connect
  (of-object XML (Glade))
  (c-name glade_xml_signal_connect)
  (return-type none)
  (parameter (type-and-name const-char* handlername))
  (parameter (type-and-name GtkSignalFunc func))
)

(method signal_connect_data
  (of-object XML (Glade))
  (c-name glade_xml_signal_connect_data)
  (return-type none)
  (parameter (type-and-name const-char* handlername))
  (parameter (type-and-name GtkSignalFunc func))
  (parameter (type-and-name gpointer user_data))
)

(method signal_autoconnect
  (of-object XML (Glade))
  (c-name glade_xml_signal_autoconnect)
  (return-type none)
)

(method signal_connect_full
  (of-object XML (Glade))
  (c-name glade_xml_signal_connect_full)
  (return-type none)
  (parameter (type-and-name const-gchar* handler_name))
  (parameter (type-and-name GladeXMLConnectFunc func))
  (parameter (type-and-name gpointer user_data))
)

(method signal_autoconnect_full
  (of-object XML (Glade))
  (c-name glade_xml_signal_autoconnect_full)
  (return-type none)
  (parameter (type-and-name GladeXMLConnectFunc func))
  (parameter (type-and-name gpointer user_data))
)

(method get_widget
  (of-object XML (Glade))
  (c-name glade_xml_get_widget)
  (return-type GtkWidget*)
  (parameter (type-and-name const-char* name))
)

(method get_widget_prefix
  (of-object XML (Glade))
  (c-name glade_xml_get_widget_prefix)
  (return-type GList*)
  (parameter (type-and-name const-char* name))
)

(method get_widget_by_long_name
  (of-object XML (Glade))
  (c-name glade_xml_get_widget_by_long_name)
  (return-type GtkWidget*)
  (parameter (type-and-name const-char* longname))
)

(method relative_file
  (of-object XML (Glade))
  (c-name glade_xml_relative_file)
  (return-type gchar*)
  (parameter (type-and-name const-gchar* filename))
)

(function get_widget_name
  (c-name glade_get_widget_name)
  (return-type const-gchar*)
  (parameter (type-and-name GtkWidget* widget))
)

(function get_widget_long_name
  (c-name glade_get_widget_long_name)
  (return-type const-gchar*)
  (parameter (type-and-name GtkWidget* widget))
)

(function get_widget_tree
  (c-name glade_get_widget_tree)
  (return-type GladeXML*)
  (parameter (type-and-name GtkWidget* widget))
)