webkit-1.0: Last parameter of WebKitWebView::load_error is GLib.Error.
[vala-lang.git] / vapi / packages / libnotify / libnotify.gi
blobe1c1bea95a11fcddf3cf1537614d8d7887affa6d
1 <?xml version="1.0"?>
2 <api version="1.0">
3 <namespace name="Notify">
4 <function name="get_app_name" symbol="notify_get_app_name">
5 <return-type type="char*"/>
6 </function>
7 <function name="get_server_caps" symbol="notify_get_server_caps">
8 <return-type type="GList*"/>
9 </function>
10 <function name="get_server_info" symbol="notify_get_server_info">
11 <return-type type="gboolean"/>
12 <parameters>
13 <parameter name="ret_name" type="char**"/>
14 <parameter name="ret_vendor" type="char**"/>
15 <parameter name="ret_version" type="char**"/>
16 <parameter name="ret_spec_version" type="char**"/>
17 </parameters>
18 </function>
19 <function name="init" symbol="notify_init">
20 <return-type type="gboolean"/>
21 <parameters>
22 <parameter name="app_name" type="char*"/>
23 </parameters>
24 </function>
25 <function name="is_initted" symbol="notify_is_initted">
26 <return-type type="gboolean"/>
27 </function>
28 <function name="uninit" symbol="notify_uninit">
29 <return-type type="void"/>
30 </function>
31 <callback name="NotifyActionCallback">
32 <return-type type="void"/>
33 <parameters>
34 <parameter name="notification" type="NotifyNotification*"/>
35 <parameter name="action" type="char*"/>
36 <parameter name="user_data" type="gpointer"/>
37 </parameters>
38 </callback>
39 <enum name="NotifyUrgency" type-name="NotifyUrgency" get-type="notify_urgency_get_type">
40 <member name="NOTIFY_URGENCY_LOW" value="0"/>
41 <member name="NOTIFY_URGENCY_NORMAL" value="1"/>
42 <member name="NOTIFY_URGENCY_CRITICAL" value="2"/>
43 </enum>
44 <object name="NotifyNotification" parent="GObject" type-name="NotifyNotification" get-type="notify_notification_get_type">
45 <method name="add_action" symbol="notify_notification_add_action">
46 <return-type type="void"/>
47 <parameters>
48 <parameter name="notification" type="NotifyNotification*"/>
49 <parameter name="action" type="char*"/>
50 <parameter name="label" type="char*"/>
51 <parameter name="callback" type="NotifyActionCallback"/>
52 <parameter name="user_data" type="gpointer"/>
53 <parameter name="free_func" type="GFreeFunc"/>
54 </parameters>
55 </method>
56 <method name="clear_actions" symbol="notify_notification_clear_actions">
57 <return-type type="void"/>
58 <parameters>
59 <parameter name="notification" type="NotifyNotification*"/>
60 </parameters>
61 </method>
62 <method name="clear_hints" symbol="notify_notification_clear_hints">
63 <return-type type="void"/>
64 <parameters>
65 <parameter name="notification" type="NotifyNotification*"/>
66 </parameters>
67 </method>
68 <method name="close" symbol="notify_notification_close">
69 <return-type type="gboolean"/>
70 <parameters>
71 <parameter name="notification" type="NotifyNotification*"/>
72 <parameter name="error" type="GError**"/>
73 </parameters>
74 </method>
75 <method name="get_closed_reason" symbol="notify_notification_get_closed_reason">
76 <return-type type="gint"/>
77 <parameters>
78 <parameter name="notification" type="NotifyNotification*"/>
79 </parameters>
80 </method>
81 <constructor name="new" symbol="notify_notification_new">
82 <return-type type="NotifyNotification*"/>
83 <parameters>
84 <parameter name="summary" type="char*"/>
85 <parameter name="body" type="char*"/>
86 <parameter name="icon" type="char*"/>
87 </parameters>
88 </constructor>
89 <method name="set_category" symbol="notify_notification_set_category">
90 <return-type type="void"/>
91 <parameters>
92 <parameter name="notification" type="NotifyNotification*"/>
93 <parameter name="category" type="char*"/>
94 </parameters>
95 </method>
96 <method name="set_hint" symbol="notify_notification_set_hint">
97 <return-type type="void"/>
98 <parameters>
99 <parameter name="notification" type="NotifyNotification*"/>
100 <parameter name="key" type="char*"/>
101 <parameter name="value" type="GVariant*"/>
102 </parameters>
103 </method>
104 <method name="set_hint_byte" symbol="notify_notification_set_hint_byte">
105 <return-type type="void"/>
106 <parameters>
107 <parameter name="notification" type="NotifyNotification*"/>
108 <parameter name="key" type="char*"/>
109 <parameter name="value" type="guchar"/>
110 </parameters>
111 </method>
112 <method name="set_hint_byte_array" symbol="notify_notification_set_hint_byte_array">
113 <return-type type="void"/>
114 <parameters>
115 <parameter name="notification" type="NotifyNotification*"/>
116 <parameter name="key" type="char*"/>
117 <parameter name="value" type="guchar*"/>
118 <parameter name="len" type="gsize"/>
119 </parameters>
120 </method>
121 <method name="set_hint_double" symbol="notify_notification_set_hint_double">
122 <return-type type="void"/>
123 <parameters>
124 <parameter name="notification" type="NotifyNotification*"/>
125 <parameter name="key" type="char*"/>
126 <parameter name="value" type="gdouble"/>
127 </parameters>
128 </method>
129 <method name="set_hint_int32" symbol="notify_notification_set_hint_int32">
130 <return-type type="void"/>
131 <parameters>
132 <parameter name="notification" type="NotifyNotification*"/>
133 <parameter name="key" type="char*"/>
134 <parameter name="value" type="gint"/>
135 </parameters>
136 </method>
137 <method name="set_hint_string" symbol="notify_notification_set_hint_string">
138 <return-type type="void"/>
139 <parameters>
140 <parameter name="notification" type="NotifyNotification*"/>
141 <parameter name="key" type="char*"/>
142 <parameter name="value" type="char*"/>
143 </parameters>
144 </method>
145 <method name="set_hint_uint32" symbol="notify_notification_set_hint_uint32">
146 <return-type type="void"/>
147 <parameters>
148 <parameter name="notification" type="NotifyNotification*"/>
149 <parameter name="key" type="char*"/>
150 <parameter name="value" type="guint"/>
151 </parameters>
152 </method>
153 <method name="set_icon_from_pixbuf" symbol="notify_notification_set_icon_from_pixbuf">
154 <return-type type="void"/>
155 <parameters>
156 <parameter name="notification" type="NotifyNotification*"/>
157 <parameter name="icon" type="GdkPixbuf*"/>
158 </parameters>
159 </method>
160 <method name="set_image_from_pixbuf" symbol="notify_notification_set_image_from_pixbuf">
161 <return-type type="void"/>
162 <parameters>
163 <parameter name="notification" type="NotifyNotification*"/>
164 <parameter name="image" type="GdkPixbuf*"/>
165 </parameters>
166 </method>
167 <method name="set_timeout" symbol="notify_notification_set_timeout">
168 <return-type type="void"/>
169 <parameters>
170 <parameter name="notification" type="NotifyNotification*"/>
171 <parameter name="timeout" type="gint"/>
172 </parameters>
173 </method>
174 <method name="set_urgency" symbol="notify_notification_set_urgency">
175 <return-type type="void"/>
176 <parameters>
177 <parameter name="notification" type="NotifyNotification*"/>
178 <parameter name="urgency" type="NotifyUrgency"/>
179 </parameters>
180 </method>
181 <method name="show" symbol="notify_notification_show">
182 <return-type type="gboolean"/>
183 <parameters>
184 <parameter name="notification" type="NotifyNotification*"/>
185 <parameter name="error" type="GError**"/>
186 </parameters>
187 </method>
188 <method name="update" symbol="notify_notification_update">
189 <return-type type="gboolean"/>
190 <parameters>
191 <parameter name="notification" type="NotifyNotification*"/>
192 <parameter name="summary" type="char*"/>
193 <parameter name="body" type="char*"/>
194 <parameter name="icon" type="char*"/>
195 </parameters>
196 </method>
197 <property name="body" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
198 <property name="closed-reason" type="gint" readable="1" writable="0" construct="0" construct-only="0"/>
199 <property name="icon-name" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
200 <property name="id" type="gint" readable="1" writable="1" construct="1" construct-only="0"/>
201 <property name="summary" type="char*" readable="1" writable="1" construct="1" construct-only="0"/>
202 <signal name="closed" when="FIRST">
203 <return-type type="void"/>
204 <parameters>
205 <parameter name="notification" type="NotifyNotification*"/>
206 </parameters>
207 </signal>
208 </object>
209 <constant name="NOTIFY_EXPIRES_DEFAULT" type="int" value="-1"/>
210 <constant name="NOTIFY_EXPIRES_NEVER" type="int" value="0"/>
211 <constant name="NOTIFY_VERSION_MAJOR" type="int" value="0"/>
212 <constant name="NOTIFY_VERSION_MICRO" type="int" value="0"/>
213 <constant name="NOTIFY_VERSION_MINOR" type="int" value="7"/>
214 </namespace>
215 </api>