CodeWriter: Write [Diagnostics] attribute
[vala-lang.git] / vapi / packages / gnome-desktop-2.0 / gnome-desktop-2.0.gi
blob8834e7c70ab2dedcc8268817273e739eedd62045
1 <?xml version="1.0"?>
2 <api version="1.0">
3 <namespace name="Gnome">
4 <boxed name="GnomeDesktopItem" type-name="GnomeDesktopItem" get-type="gnome_desktop_item_get_type">
5 <method name="attr_exists" symbol="gnome_desktop_item_attr_exists">
6 <return-type type="gboolean"/>
7 <parameters>
8 <parameter name="item" type="GnomeDesktopItem*"/>
9 <parameter name="attr" type="char*"/>
10 </parameters>
11 </method>
12 <method name="clear_localestring" symbol="gnome_desktop_item_clear_localestring">
13 <return-type type="void"/>
14 <parameters>
15 <parameter name="item" type="GnomeDesktopItem*"/>
16 <parameter name="attr" type="char*"/>
17 </parameters>
18 </method>
19 <method name="clear_section" symbol="gnome_desktop_item_clear_section">
20 <return-type type="void"/>
21 <parameters>
22 <parameter name="item" type="GnomeDesktopItem*"/>
23 <parameter name="section" type="char*"/>
24 </parameters>
25 </method>
26 <method name="copy" symbol="gnome_desktop_item_copy">
27 <return-type type="GnomeDesktopItem*"/>
28 <parameters>
29 <parameter name="item" type="GnomeDesktopItem*"/>
30 </parameters>
31 </method>
32 <method name="drop_uri_list" symbol="gnome_desktop_item_drop_uri_list">
33 <return-type type="int"/>
34 <parameters>
35 <parameter name="item" type="GnomeDesktopItem*"/>
36 <parameter name="uri_list" type="char*"/>
37 <parameter name="flags" type="GnomeDesktopItemLaunchFlags"/>
38 <parameter name="error" type="GError**"/>
39 </parameters>
40 </method>
41 <method name="drop_uri_list_with_env" symbol="gnome_desktop_item_drop_uri_list_with_env">
42 <return-type type="int"/>
43 <parameters>
44 <parameter name="item" type="GnomeDesktopItem*"/>
45 <parameter name="uri_list" type="char*"/>
46 <parameter name="flags" type="GnomeDesktopItemLaunchFlags"/>
47 <parameter name="envp" type="char**"/>
48 <parameter name="error" type="GError**"/>
49 </parameters>
50 </method>
51 <method name="error_quark" symbol="gnome_desktop_item_error_quark">
52 <return-type type="GQuark"/>
53 </method>
54 <method name="exists" symbol="gnome_desktop_item_exists">
55 <return-type type="gboolean"/>
56 <parameters>
57 <parameter name="item" type="GnomeDesktopItem*"/>
58 </parameters>
59 </method>
60 <method name="find_icon" symbol="gnome_desktop_item_find_icon">
61 <return-type type="char*"/>
62 <parameters>
63 <parameter name="icon_theme" type="GtkIconTheme*"/>
64 <parameter name="icon" type="char*"/>
65 <parameter name="desired_size" type="int"/>
66 <parameter name="flags" type="int"/>
67 </parameters>
68 </method>
69 <method name="get_attr_locale" symbol="gnome_desktop_item_get_attr_locale">
70 <return-type type="char*"/>
71 <parameters>
72 <parameter name="item" type="GnomeDesktopItem*"/>
73 <parameter name="attr" type="char*"/>
74 </parameters>
75 </method>
76 <method name="get_boolean" symbol="gnome_desktop_item_get_boolean">
77 <return-type type="gboolean"/>
78 <parameters>
79 <parameter name="item" type="GnomeDesktopItem*"/>
80 <parameter name="attr" type="char*"/>
81 </parameters>
82 </method>
83 <method name="get_entry_type" symbol="gnome_desktop_item_get_entry_type">
84 <return-type type="GnomeDesktopItemType"/>
85 <parameters>
86 <parameter name="item" type="GnomeDesktopItem*"/>
87 </parameters>
88 </method>
89 <method name="get_file_status" symbol="gnome_desktop_item_get_file_status">
90 <return-type type="GnomeDesktopItemStatus"/>
91 <parameters>
92 <parameter name="item" type="GnomeDesktopItem*"/>
93 </parameters>
94 </method>
95 <method name="get_icon" symbol="gnome_desktop_item_get_icon">
96 <return-type type="char*"/>
97 <parameters>
98 <parameter name="item" type="GnomeDesktopItem*"/>
99 <parameter name="icon_theme" type="GtkIconTheme*"/>
100 </parameters>
101 </method>
102 <method name="get_languages" symbol="gnome_desktop_item_get_languages">
103 <return-type type="GList*"/>
104 <parameters>
105 <parameter name="item" type="GnomeDesktopItem*"/>
106 <parameter name="attr" type="char*"/>
107 </parameters>
108 </method>
109 <method name="get_localestring" symbol="gnome_desktop_item_get_localestring">
110 <return-type type="char*"/>
111 <parameters>
112 <parameter name="item" type="GnomeDesktopItem*"/>
113 <parameter name="attr" type="char*"/>
114 </parameters>
115 </method>
116 <method name="get_localestring_lang" symbol="gnome_desktop_item_get_localestring_lang">
117 <return-type type="char*"/>
118 <parameters>
119 <parameter name="item" type="GnomeDesktopItem*"/>
120 <parameter name="attr" type="char*"/>
121 <parameter name="language" type="char*"/>
122 </parameters>
123 </method>
124 <method name="get_location" symbol="gnome_desktop_item_get_location">
125 <return-type type="char*"/>
126 <parameters>
127 <parameter name="item" type="GnomeDesktopItem*"/>
128 </parameters>
129 </method>
130 <method name="get_string" symbol="gnome_desktop_item_get_string">
131 <return-type type="char*"/>
132 <parameters>
133 <parameter name="item" type="GnomeDesktopItem*"/>
134 <parameter name="attr" type="char*"/>
135 </parameters>
136 </method>
137 <method name="get_strings" symbol="gnome_desktop_item_get_strings">
138 <return-type type="char**"/>
139 <parameters>
140 <parameter name="item" type="GnomeDesktopItem*"/>
141 <parameter name="attr" type="char*"/>
142 </parameters>
143 </method>
144 <method name="launch" symbol="gnome_desktop_item_launch">
145 <return-type type="int"/>
146 <parameters>
147 <parameter name="item" type="GnomeDesktopItem*"/>
148 <parameter name="file_list" type="GList*"/>
149 <parameter name="flags" type="GnomeDesktopItemLaunchFlags"/>
150 <parameter name="error" type="GError**"/>
151 </parameters>
152 </method>
153 <method name="launch_on_screen" symbol="gnome_desktop_item_launch_on_screen">
154 <return-type type="int"/>
155 <parameters>
156 <parameter name="item" type="GnomeDesktopItem*"/>
157 <parameter name="file_list" type="GList*"/>
158 <parameter name="flags" type="GnomeDesktopItemLaunchFlags"/>
159 <parameter name="screen" type="GdkScreen*"/>
160 <parameter name="workspace" type="int"/>
161 <parameter name="error" type="GError**"/>
162 </parameters>
163 </method>
164 <method name="launch_with_env" symbol="gnome_desktop_item_launch_with_env">
165 <return-type type="int"/>
166 <parameters>
167 <parameter name="item" type="GnomeDesktopItem*"/>
168 <parameter name="file_list" type="GList*"/>
169 <parameter name="flags" type="GnomeDesktopItemLaunchFlags"/>
170 <parameter name="envp" type="char**"/>
171 <parameter name="error" type="GError**"/>
172 </parameters>
173 </method>
174 <constructor name="new" symbol="gnome_desktop_item_new">
175 <return-type type="GnomeDesktopItem*"/>
176 </constructor>
177 <constructor name="new_from_basename" symbol="gnome_desktop_item_new_from_basename">
178 <return-type type="GnomeDesktopItem*"/>
179 <parameters>
180 <parameter name="basename" type="char*"/>
181 <parameter name="flags" type="GnomeDesktopItemLoadFlags"/>
182 <parameter name="error" type="GError**"/>
183 </parameters>
184 </constructor>
185 <constructor name="new_from_file" symbol="gnome_desktop_item_new_from_file">
186 <return-type type="GnomeDesktopItem*"/>
187 <parameters>
188 <parameter name="file" type="char*"/>
189 <parameter name="flags" type="GnomeDesktopItemLoadFlags"/>
190 <parameter name="error" type="GError**"/>
191 </parameters>
192 </constructor>
193 <constructor name="new_from_string" symbol="gnome_desktop_item_new_from_string">
194 <return-type type="GnomeDesktopItem*"/>
195 <parameters>
196 <parameter name="uri" type="char*"/>
197 <parameter name="string" type="char*"/>
198 <parameter name="length" type="gssize"/>
199 <parameter name="flags" type="GnomeDesktopItemLoadFlags"/>
200 <parameter name="error" type="GError**"/>
201 </parameters>
202 </constructor>
203 <constructor name="new_from_uri" symbol="gnome_desktop_item_new_from_uri">
204 <return-type type="GnomeDesktopItem*"/>
205 <parameters>
206 <parameter name="uri" type="char*"/>
207 <parameter name="flags" type="GnomeDesktopItemLoadFlags"/>
208 <parameter name="error" type="GError**"/>
209 </parameters>
210 </constructor>
211 <method name="ref" symbol="gnome_desktop_item_ref">
212 <return-type type="GnomeDesktopItem*"/>
213 <parameters>
214 <parameter name="item" type="GnomeDesktopItem*"/>
215 </parameters>
216 </method>
217 <method name="save" symbol="gnome_desktop_item_save">
218 <return-type type="gboolean"/>
219 <parameters>
220 <parameter name="item" type="GnomeDesktopItem*"/>
221 <parameter name="under" type="char*"/>
222 <parameter name="force" type="gboolean"/>
223 <parameter name="error" type="GError**"/>
224 </parameters>
225 </method>
226 <method name="set_boolean" symbol="gnome_desktop_item_set_boolean">
227 <return-type type="void"/>
228 <parameters>
229 <parameter name="item" type="GnomeDesktopItem*"/>
230 <parameter name="attr" type="char*"/>
231 <parameter name="value" type="gboolean"/>
232 </parameters>
233 </method>
234 <method name="set_entry_type" symbol="gnome_desktop_item_set_entry_type">
235 <return-type type="void"/>
236 <parameters>
237 <parameter name="item" type="GnomeDesktopItem*"/>
238 <parameter name="type" type="GnomeDesktopItemType"/>
239 </parameters>
240 </method>
241 <method name="set_launch_time" symbol="gnome_desktop_item_set_launch_time">
242 <return-type type="void"/>
243 <parameters>
244 <parameter name="item" type="GnomeDesktopItem*"/>
245 <parameter name="timestamp" type="guint32"/>
246 </parameters>
247 </method>
248 <method name="set_localestring" symbol="gnome_desktop_item_set_localestring">
249 <return-type type="void"/>
250 <parameters>
251 <parameter name="item" type="GnomeDesktopItem*"/>
252 <parameter name="attr" type="char*"/>
253 <parameter name="value" type="char*"/>
254 </parameters>
255 </method>
256 <method name="set_localestring_lang" symbol="gnome_desktop_item_set_localestring_lang">
257 <return-type type="void"/>
258 <parameters>
259 <parameter name="item" type="GnomeDesktopItem*"/>
260 <parameter name="attr" type="char*"/>
261 <parameter name="language" type="char*"/>
262 <parameter name="value" type="char*"/>
263 </parameters>
264 </method>
265 <method name="set_location" symbol="gnome_desktop_item_set_location">
266 <return-type type="void"/>
267 <parameters>
268 <parameter name="item" type="GnomeDesktopItem*"/>
269 <parameter name="location" type="char*"/>
270 </parameters>
271 </method>
272 <method name="set_location_file" symbol="gnome_desktop_item_set_location_file">
273 <return-type type="void"/>
274 <parameters>
275 <parameter name="item" type="GnomeDesktopItem*"/>
276 <parameter name="file" type="char*"/>
277 </parameters>
278 </method>
279 <method name="set_string" symbol="gnome_desktop_item_set_string">
280 <return-type type="void"/>
281 <parameters>
282 <parameter name="item" type="GnomeDesktopItem*"/>
283 <parameter name="attr" type="char*"/>
284 <parameter name="value" type="char*"/>
285 </parameters>
286 </method>
287 <method name="set_strings" symbol="gnome_desktop_item_set_strings">
288 <return-type type="void"/>
289 <parameters>
290 <parameter name="item" type="GnomeDesktopItem*"/>
291 <parameter name="attr" type="char*"/>
292 <parameter name="strings" type="char**"/>
293 </parameters>
294 </method>
295 <method name="unref" symbol="gnome_desktop_item_unref">
296 <return-type type="void"/>
297 <parameters>
298 <parameter name="item" type="GnomeDesktopItem*"/>
299 </parameters>
300 </method>
301 </boxed>
302 <enum name="GnomeDesktopItemError">
303 <member name="GNOME_DESKTOP_ITEM_ERROR_NO_FILENAME" value="0"/>
304 <member name="GNOME_DESKTOP_ITEM_ERROR_UNKNOWN_ENCODING" value="1"/>
305 <member name="GNOME_DESKTOP_ITEM_ERROR_CANNOT_OPEN" value="2"/>
306 <member name="GNOME_DESKTOP_ITEM_ERROR_NO_EXEC_STRING" value="3"/>
307 <member name="GNOME_DESKTOP_ITEM_ERROR_BAD_EXEC_STRING" value="4"/>
308 <member name="GNOME_DESKTOP_ITEM_ERROR_NO_URL" value="5"/>
309 <member name="GNOME_DESKTOP_ITEM_ERROR_NOT_LAUNCHABLE" value="6"/>
310 <member name="GNOME_DESKTOP_ITEM_ERROR_INVALID_TYPE" value="7"/>
311 </enum>
312 <enum name="GnomeDesktopItemIconFlags">
313 <member name="GNOME_DESKTOP_ITEM_ICON_NO_KDE" value="1"/>
314 </enum>
315 <enum name="GnomeDesktopItemLaunchFlags">
316 <member name="GNOME_DESKTOP_ITEM_LAUNCH_ONLY_ONE" value="1"/>
317 <member name="GNOME_DESKTOP_ITEM_LAUNCH_USE_CURRENT_DIR" value="2"/>
318 <member name="GNOME_DESKTOP_ITEM_LAUNCH_APPEND_URIS" value="4"/>
319 <member name="GNOME_DESKTOP_ITEM_LAUNCH_APPEND_PATHS" value="8"/>
320 <member name="GNOME_DESKTOP_ITEM_LAUNCH_DO_NOT_REAP_CHILD" value="16"/>
321 </enum>
322 <enum name="GnomeDesktopItemLoadFlags">
323 <member name="GNOME_DESKTOP_ITEM_LOAD_ONLY_IF_EXISTS" value="1"/>
324 <member name="GNOME_DESKTOP_ITEM_LOAD_NO_TRANSLATIONS" value="2"/>
325 </enum>
326 <enum name="GnomeDesktopItemStatus">
327 <member name="GNOME_DESKTOP_ITEM_UNCHANGED" value="0"/>
328 <member name="GNOME_DESKTOP_ITEM_CHANGED" value="1"/>
329 <member name="GNOME_DESKTOP_ITEM_DISAPPEARED" value="2"/>
330 </enum>
331 <enum name="GnomeDesktopItemType">
332 <member name="GNOME_DESKTOP_ITEM_TYPE_NULL" value="0"/>
333 <member name="GNOME_DESKTOP_ITEM_TYPE_OTHER" value="1"/>
334 <member name="GNOME_DESKTOP_ITEM_TYPE_APPLICATION" value="2"/>
335 <member name="GNOME_DESKTOP_ITEM_TYPE_LINK" value="3"/>
336 <member name="GNOME_DESKTOP_ITEM_TYPE_FSDEVICE" value="4"/>
337 <member name="GNOME_DESKTOP_ITEM_TYPE_MIME_TYPE" value="5"/>
338 <member name="GNOME_DESKTOP_ITEM_TYPE_DIRECTORY" value="6"/>
339 <member name="GNOME_DESKTOP_ITEM_TYPE_SERVICE" value="7"/>
340 <member name="GNOME_DESKTOP_ITEM_TYPE_SERVICE_TYPE" value="8"/>
341 </enum>
342 <object name="GnomeDItemEdit" parent="GtkNotebook" type-name="GnomeDItemEdit" get-type="gnome_ditem_edit_get_type">
343 <implements>
344 <interface name="AtkImplementor"/>
345 <interface name="GtkBuildable"/>
346 </implements>
347 <method name="clear" symbol="gnome_ditem_edit_clear">
348 <return-type type="void"/>
349 <parameters>
350 <parameter name="dee" type="GnomeDItemEdit*"/>
351 </parameters>
352 </method>
353 <method name="get_ditem" symbol="gnome_ditem_edit_get_ditem">
354 <return-type type="GnomeDesktopItem*"/>
355 <parameters>
356 <parameter name="dee" type="GnomeDItemEdit*"/>
357 </parameters>
358 </method>
359 <method name="get_icon" symbol="gnome_ditem_edit_get_icon">
360 <return-type type="gchar*"/>
361 <parameters>
362 <parameter name="dee" type="GnomeDItemEdit*"/>
363 </parameters>
364 </method>
365 <method name="get_name" symbol="gnome_ditem_edit_get_name">
366 <return-type type="gchar*"/>
367 <parameters>
368 <parameter name="dee" type="GnomeDItemEdit*"/>
369 </parameters>
370 </method>
371 <method name="grab_focus" symbol="gnome_ditem_edit_grab_focus">
372 <return-type type="void"/>
373 <parameters>
374 <parameter name="dee" type="GnomeDItemEdit*"/>
375 </parameters>
376 </method>
377 <method name="load_uri" symbol="gnome_ditem_edit_load_uri">
378 <return-type type="gboolean"/>
379 <parameters>
380 <parameter name="dee" type="GnomeDItemEdit*"/>
381 <parameter name="uri" type="gchar*"/>
382 <parameter name="error" type="GError**"/>
383 </parameters>
384 </method>
385 <constructor name="new" symbol="gnome_ditem_edit_new">
386 <return-type type="GtkWidget*"/>
387 </constructor>
388 <method name="set_directory_only" symbol="gnome_ditem_edit_set_directory_only">
389 <return-type type="void"/>
390 <parameters>
391 <parameter name="dee" type="GnomeDItemEdit*"/>
392 <parameter name="directory_only" type="gboolean"/>
393 </parameters>
394 </method>
395 <method name="set_ditem" symbol="gnome_ditem_edit_set_ditem">
396 <return-type type="void"/>
397 <parameters>
398 <parameter name="dee" type="GnomeDItemEdit*"/>
399 <parameter name="ditem" type="GnomeDesktopItem*"/>
400 </parameters>
401 </method>
402 <method name="set_editable" symbol="gnome_ditem_edit_set_editable">
403 <return-type type="void"/>
404 <parameters>
405 <parameter name="dee" type="GnomeDItemEdit*"/>
406 <parameter name="editable" type="gboolean"/>
407 </parameters>
408 </method>
409 <method name="set_entry_type" symbol="gnome_ditem_edit_set_entry_type">
410 <return-type type="void"/>
411 <parameters>
412 <parameter name="dee" type="GnomeDItemEdit*"/>
413 <parameter name="type" type="char*"/>
414 </parameters>
415 </method>
416 <signal name="changed" when="LAST">
417 <return-type type="void"/>
418 <parameters>
419 <parameter name="gee" type="GnomeDItemEdit*"/>
420 </parameters>
421 </signal>
422 <signal name="icon-changed" when="LAST">
423 <return-type type="void"/>
424 <parameters>
425 <parameter name="gee" type="GnomeDItemEdit*"/>
426 </parameters>
427 </signal>
428 <signal name="name-changed" when="LAST">
429 <return-type type="void"/>
430 <parameters>
431 <parameter name="gee" type="GnomeDItemEdit*"/>
432 </parameters>
433 </signal>
434 </object>
435 <object name="GnomeHint" parent="GtkDialog" type-name="GnomeHint" get-type="gnome_hint_get_type">
436 <implements>
437 <interface name="AtkImplementor"/>
438 <interface name="GtkBuildable"/>
439 </implements>
440 <constructor name="new" symbol="gnome_hint_new">
441 <return-type type="GtkWidget*"/>
442 <parameters>
443 <parameter name="hintfile" type="gchar*"/>
444 <parameter name="title" type="gchar*"/>
445 <parameter name="background_image" type="gchar*"/>
446 <parameter name="logo_image" type="gchar*"/>
447 <parameter name="startupkey" type="gchar*"/>
448 </parameters>
449 </constructor>
450 </object>
451 <constant name="GNOME_DESKTOP_ITEM_ACTIONS" type="char*" value="Actions"/>
452 <constant name="GNOME_DESKTOP_ITEM_CATEGORIES" type="char*" value="Categories"/>
453 <constant name="GNOME_DESKTOP_ITEM_COMMENT" type="char*" value="Comment"/>
454 <constant name="GNOME_DESKTOP_ITEM_DEFAULT_APP" type="char*" value="DefaultApp"/>
455 <constant name="GNOME_DESKTOP_ITEM_DEV" type="char*" value="Dev"/>
456 <constant name="GNOME_DESKTOP_ITEM_DOC_PATH" type="char*" value="X-GNOME-DocPath"/>
457 <constant name="GNOME_DESKTOP_ITEM_ENCODING" type="char*" value="Encoding"/>
458 <constant name="GNOME_DESKTOP_ITEM_EXEC" type="char*" value="Exec"/>
459 <constant name="GNOME_DESKTOP_ITEM_FILE_PATTERN" type="char*" value="FilePattern"/>
460 <constant name="GNOME_DESKTOP_ITEM_FS_TYPE" type="char*" value="FSType"/>
461 <constant name="GNOME_DESKTOP_ITEM_GENERIC_NAME" type="char*" value="GenericName"/>
462 <constant name="GNOME_DESKTOP_ITEM_HIDDEN" type="char*" value="Hidden"/>
463 <constant name="GNOME_DESKTOP_ITEM_ICON" type="char*" value="Icon"/>
464 <constant name="GNOME_DESKTOP_ITEM_MIME_TYPE" type="char*" value="MimeType"/>
465 <constant name="GNOME_DESKTOP_ITEM_MINI_ICON" type="char*" value="MiniIcon"/>
466 <constant name="GNOME_DESKTOP_ITEM_MOUNT_POINT" type="char*" value="MountPoint"/>
467 <constant name="GNOME_DESKTOP_ITEM_NAME" type="char*" value="Name"/>
468 <constant name="GNOME_DESKTOP_ITEM_NO_DISPLAY" type="char*" value="NoDisplay"/>
469 <constant name="GNOME_DESKTOP_ITEM_ONLY_SHOW_IN" type="char*" value="OnlyShowIn"/>
470 <constant name="GNOME_DESKTOP_ITEM_PATH" type="char*" value="Path"/>
471 <constant name="GNOME_DESKTOP_ITEM_PATTERNS" type="char*" value="Patterns"/>
472 <constant name="GNOME_DESKTOP_ITEM_READ_ONLY" type="char*" value="ReadOnly"/>
473 <constant name="GNOME_DESKTOP_ITEM_SORT_ORDER" type="char*" value="SortOrder"/>
474 <constant name="GNOME_DESKTOP_ITEM_SWALLOW_EXEC" type="char*" value="SwallowExec"/>
475 <constant name="GNOME_DESKTOP_ITEM_SWALLOW_TITLE" type="char*" value="SwallowTitle"/>
476 <constant name="GNOME_DESKTOP_ITEM_TERMINAL" type="char*" value="Terminal"/>
477 <constant name="GNOME_DESKTOP_ITEM_TERMINAL_OPTIONS" type="char*" value="TerminalOptions"/>
478 <constant name="GNOME_DESKTOP_ITEM_TRY_EXEC" type="char*" value="TryExec"/>
479 <constant name="GNOME_DESKTOP_ITEM_TYPE" type="char*" value="Type"/>
480 <constant name="GNOME_DESKTOP_ITEM_UNMOUNT_ICON" type="char*" value="UnmountIcon"/>
481 <constant name="GNOME_DESKTOP_ITEM_URL" type="char*" value="URL"/>
482 <constant name="GNOME_DESKTOP_ITEM_VERSION" type="char*" value="Version"/>
483 </namespace>
484 </api>