libgda-4.0, gedit-2.20: Fix gedit typo and GdaXaTransactionId.data
[vala-lang.git] / vapi / packages / libgnome-2.0 / libgnome-2.0.gi
blob8f4db362f191d046e958cfb58bf4e01eec1a53bf
1 <?xml version="1.0"?>
2 <api version="1.0">
3 <namespace name="Gnome">
4 <function name="bonobo_module_info_get" symbol="gnome_bonobo_module_info_get">
5 <return-type type="GnomeModuleInfo*"/>
6 </function>
7 <function name="clearenv" symbol="gnome_clearenv">
8 <return-type type="void"/>
9 </function>
10 <function name="execute_async" symbol="gnome_execute_async">
11 <return-type type="int"/>
12 <parameters>
13 <parameter name="dir" type="char*"/>
14 <parameter name="argc" type="int"/>
15 <parameter name="argv" type="char*[]"/>
16 </parameters>
17 </function>
18 <function name="execute_async_fds" symbol="gnome_execute_async_fds">
19 <return-type type="int"/>
20 <parameters>
21 <parameter name="dir" type="char*"/>
22 <parameter name="argc" type="int"/>
23 <parameter name="argv" type="char*[]"/>
24 <parameter name="close_fds" type="gboolean"/>
25 </parameters>
26 </function>
27 <function name="execute_async_with_env" symbol="gnome_execute_async_with_env">
28 <return-type type="int"/>
29 <parameters>
30 <parameter name="dir" type="char*"/>
31 <parameter name="argc" type="int"/>
32 <parameter name="argv" type="char*[]"/>
33 <parameter name="envc" type="int"/>
34 <parameter name="envv" type="char*[]"/>
35 </parameters>
36 </function>
37 <function name="execute_async_with_env_fds" symbol="gnome_execute_async_with_env_fds">
38 <return-type type="int"/>
39 <parameters>
40 <parameter name="dir" type="char*"/>
41 <parameter name="argc" type="int"/>
42 <parameter name="argv" type="char*[]"/>
43 <parameter name="envc" type="int"/>
44 <parameter name="envv" type="char*[]"/>
45 <parameter name="close_fds" type="gboolean"/>
46 </parameters>
47 </function>
48 <function name="execute_shell" symbol="gnome_execute_shell">
49 <return-type type="int"/>
50 <parameters>
51 <parameter name="dir" type="char*"/>
52 <parameter name="commandline" type="char*"/>
53 </parameters>
54 </function>
55 <function name="execute_shell_fds" symbol="gnome_execute_shell_fds">
56 <return-type type="int"/>
57 <parameters>
58 <parameter name="dir" type="char*"/>
59 <parameter name="commandline" type="char*"/>
60 <parameter name="close_fds" type="gboolean"/>
61 </parameters>
62 </function>
63 <function name="execute_terminal_shell" symbol="gnome_execute_terminal_shell">
64 <return-type type="int"/>
65 <parameters>
66 <parameter name="dir" type="char*"/>
67 <parameter name="commandline" type="char*"/>
68 </parameters>
69 </function>
70 <function name="execute_terminal_shell_fds" symbol="gnome_execute_terminal_shell_fds">
71 <return-type type="int"/>
72 <parameters>
73 <parameter name="dir" type="char*"/>
74 <parameter name="commandline" type="char*"/>
75 <parameter name="close_fds" type="gboolean"/>
76 </parameters>
77 </function>
78 <function name="g_extension_pointer" symbol="g_extension_pointer">
79 <return-type type="char*"/>
80 <parameters>
81 <parameter name="path" type="char*"/>
82 </parameters>
83 </function>
84 <function name="gconf_get_app_settings_relative" symbol="gnome_gconf_get_app_settings_relative">
85 <return-type type="gchar*"/>
86 <parameters>
87 <parameter name="program" type="GnomeProgram*"/>
88 <parameter name="subkey" type="gchar*"/>
89 </parameters>
90 </function>
91 <function name="gconf_get_gnome_libs_settings_relative" symbol="gnome_gconf_get_gnome_libs_settings_relative">
92 <return-type type="gchar*"/>
93 <parameters>
94 <parameter name="subkey" type="gchar*"/>
95 </parameters>
96 </function>
97 <function name="help_display" symbol="gnome_help_display">
98 <return-type type="gboolean"/>
99 <parameters>
100 <parameter name="file_name" type="char*"/>
101 <parameter name="link_id" type="char*"/>
102 <parameter name="error" type="GError**"/>
103 </parameters>
104 </function>
105 <function name="help_display_desktop" symbol="gnome_help_display_desktop">
106 <return-type type="gboolean"/>
107 <parameters>
108 <parameter name="program" type="GnomeProgram*"/>
109 <parameter name="doc_id" type="char*"/>
110 <parameter name="file_name" type="char*"/>
111 <parameter name="link_id" type="char*"/>
112 <parameter name="error" type="GError**"/>
113 </parameters>
114 </function>
115 <function name="help_display_desktop_with_env" symbol="gnome_help_display_desktop_with_env">
116 <return-type type="gboolean"/>
117 <parameters>
118 <parameter name="program" type="GnomeProgram*"/>
119 <parameter name="doc_id" type="char*"/>
120 <parameter name="file_name" type="char*"/>
121 <parameter name="link_id" type="char*"/>
122 <parameter name="envp" type="char**"/>
123 <parameter name="error" type="GError**"/>
124 </parameters>
125 </function>
126 <function name="help_display_uri" symbol="gnome_help_display_uri">
127 <return-type type="gboolean"/>
128 <parameters>
129 <parameter name="help_uri" type="char*"/>
130 <parameter name="error" type="GError**"/>
131 </parameters>
132 </function>
133 <function name="help_display_uri_with_env" symbol="gnome_help_display_uri_with_env">
134 <return-type type="gboolean"/>
135 <parameters>
136 <parameter name="help_uri" type="char*"/>
137 <parameter name="envp" type="char**"/>
138 <parameter name="error" type="GError**"/>
139 </parameters>
140 </function>
141 <function name="help_display_with_doc_id" symbol="gnome_help_display_with_doc_id">
142 <return-type type="gboolean"/>
143 <parameters>
144 <parameter name="program" type="GnomeProgram*"/>
145 <parameter name="doc_id" type="char*"/>
146 <parameter name="file_name" type="char*"/>
147 <parameter name="link_id" type="char*"/>
148 <parameter name="error" type="GError**"/>
149 </parameters>
150 </function>
151 <function name="help_display_with_doc_id_and_env" symbol="gnome_help_display_with_doc_id_and_env">
152 <return-type type="gboolean"/>
153 <parameters>
154 <parameter name="program" type="GnomeProgram*"/>
155 <parameter name="doc_id" type="char*"/>
156 <parameter name="file_name" type="char*"/>
157 <parameter name="link_id" type="char*"/>
158 <parameter name="envp" type="char**"/>
159 <parameter name="error" type="GError**"/>
160 </parameters>
161 </function>
162 <function name="help_error_quark" symbol="gnome_help_error_quark">
163 <return-type type="GQuark"/>
164 </function>
165 <function name="libgnome_module_info_get" symbol="libgnome_module_info_get">
166 <return-type type="GnomeModuleInfo*"/>
167 </function>
168 <function name="prepend_terminal_to_vector" symbol="gnome_prepend_terminal_to_vector">
169 <return-type type="void"/>
170 <parameters>
171 <parameter name="argc" type="int*"/>
172 <parameter name="argv" type="char***"/>
173 </parameters>
174 </function>
175 <function name="setenv" symbol="gnome_setenv">
176 <return-type type="int"/>
177 <parameters>
178 <parameter name="name" type="char*"/>
179 <parameter name="value" type="char*"/>
180 <parameter name="overwrite" type="gboolean"/>
181 </parameters>
182 </function>
183 <function name="sound_connection_get" symbol="gnome_sound_connection_get">
184 <return-type type="int"/>
185 </function>
186 <function name="sound_init" symbol="gnome_sound_init">
187 <return-type type="void"/>
188 <parameters>
189 <parameter name="hostname" type="char*"/>
190 </parameters>
191 </function>
192 <function name="sound_play" symbol="gnome_sound_play">
193 <return-type type="void"/>
194 <parameters>
195 <parameter name="filename" type="char*"/>
196 </parameters>
197 </function>
198 <function name="sound_sample_load" symbol="gnome_sound_sample_load">
199 <return-type type="int"/>
200 <parameters>
201 <parameter name="sample_name" type="char*"/>
202 <parameter name="filename" type="char*"/>
203 </parameters>
204 </function>
205 <function name="sound_shutdown" symbol="gnome_sound_shutdown">
206 <return-type type="void"/>
207 </function>
208 <function name="triggers_add_trigger" symbol="gnome_triggers_add_trigger">
209 <return-type type="void"/>
210 <parameters>
211 <parameter name="nt" type="GnomeTrigger*"/>
212 </parameters>
213 </function>
214 <function name="triggers_do" symbol="gnome_triggers_do">
215 <return-type type="void"/>
216 <parameters>
217 <parameter name="msg" type="char*"/>
218 <parameter name="level" type="char*"/>
219 </parameters>
220 </function>
221 <function name="triggers_vadd_trigger" symbol="gnome_triggers_vadd_trigger">
222 <return-type type="void"/>
223 <parameters>
224 <parameter name="nt" type="GnomeTrigger*"/>
225 <parameter name="supinfo" type="char*[]"/>
226 </parameters>
227 </function>
228 <function name="triggers_vdo" symbol="gnome_triggers_vdo">
229 <return-type type="void"/>
230 <parameters>
231 <parameter name="msg" type="char*"/>
232 <parameter name="level" type="char*"/>
233 <parameter name="supinfo" type="char*[]"/>
234 </parameters>
235 </function>
236 <function name="unsetenv" symbol="gnome_unsetenv">
237 <return-type type="void"/>
238 <parameters>
239 <parameter name="name" type="char*"/>
240 </parameters>
241 </function>
242 <function name="url_error_quark" symbol="gnome_url_error_quark">
243 <return-type type="GQuark"/>
244 </function>
245 <function name="url_show" symbol="gnome_url_show">
246 <return-type type="gboolean"/>
247 <parameters>
248 <parameter name="url" type="char*"/>
249 <parameter name="error" type="GError**"/>
250 </parameters>
251 </function>
252 <function name="url_show_with_env" symbol="gnome_url_show_with_env">
253 <return-type type="gboolean"/>
254 <parameters>
255 <parameter name="url" type="char*"/>
256 <parameter name="envp" type="char**"/>
257 <parameter name="error" type="GError**"/>
258 </parameters>
259 </function>
260 <function name="user_accels_dir_get" symbol="gnome_user_accels_dir_get">
261 <return-type type="char*"/>
262 </function>
263 <function name="user_dir_get" symbol="gnome_user_dir_get">
264 <return-type type="char*"/>
265 </function>
266 <function name="user_private_dir_get" symbol="gnome_user_private_dir_get">
267 <return-type type="char*"/>
268 </function>
269 <function name="util_user_shell" symbol="gnome_util_user_shell">
270 <return-type type="char*"/>
271 </function>
272 <callback name="GnomeModuleClassInitHook">
273 <return-type type="void"/>
274 <parameters>
275 <parameter name="klass" type="GnomeProgramClass*"/>
276 <parameter name="mod_info" type="GnomeModuleInfo*"/>
277 </parameters>
278 </callback>
279 <callback name="GnomeModuleGetGOptionGroupFunc">
280 <return-type type="GOptionGroup*"/>
281 </callback>
282 <callback name="GnomeModuleHook">
283 <return-type type="void"/>
284 <parameters>
285 <parameter name="program" type="GnomeProgram*"/>
286 <parameter name="mod_info" type="GnomeModuleInfo*"/>
287 </parameters>
288 </callback>
289 <callback name="GnomeModuleInitHook">
290 <return-type type="void"/>
291 <parameters>
292 <parameter name="mod_info" type="GnomeModuleInfo*"/>
293 </parameters>
294 </callback>
295 <callback name="GnomeTriggerActionFunction">
296 <return-type type="void"/>
297 <parameters>
298 <parameter name="msg" type="char*"/>
299 <parameter name="level" type="char*"/>
300 <parameter name="supinfo" type="char*[]"/>
301 </parameters>
302 </callback>
303 <struct name="GnomeModuleRequirement">
304 <field name="required_version" type="char*"/>
305 <field name="module_info" type="GnomeModuleInfo*"/>
306 </struct>
307 <struct name="GnomeTrigger">
308 <field name="type" type="GnomeTriggerType"/>
309 <field name="u" type="gpointer"/>
310 <field name="level" type="gchar*"/>
311 </struct>
312 <boxed name="GnomeModuleInfo" type-name="GnomeModuleInfo" get-type="gnome_module_info_get_type">
313 <field name="name" type="char*"/>
314 <field name="version" type="char*"/>
315 <field name="description" type="char*"/>
316 <field name="requirements" type="GnomeModuleRequirement*"/>
317 <field name="instance_init" type="GnomeModuleHook"/>
318 <field name="pre_args_parse" type="GnomeModuleHook"/>
319 <field name="post_args_parse" type="GnomeModuleHook"/>
320 <field name="_options" type="void*"/>
321 <field name="init_pass" type="GnomeModuleInitHook"/>
322 <field name="class_init" type="GnomeModuleClassInitHook"/>
323 <field name="opt_prefix" type="char*"/>
324 <field name="get_goption_group_func" type="GnomeModuleGetGOptionGroupFunc"/>
325 </boxed>
326 <enum name="GnomeFileDomain">
327 <member name="GNOME_FILE_DOMAIN_UNKNOWN" value="0"/>
328 <member name="GNOME_FILE_DOMAIN_LIBDIR" value="1"/>
329 <member name="GNOME_FILE_DOMAIN_DATADIR" value="2"/>
330 <member name="GNOME_FILE_DOMAIN_SOUND" value="3"/>
331 <member name="GNOME_FILE_DOMAIN_PIXMAP" value="4"/>
332 <member name="GNOME_FILE_DOMAIN_CONFIG" value="5"/>
333 <member name="GNOME_FILE_DOMAIN_HELP" value="6"/>
334 <member name="GNOME_FILE_DOMAIN_APP_LIBDIR" value="7"/>
335 <member name="GNOME_FILE_DOMAIN_APP_DATADIR" value="8"/>
336 <member name="GNOME_FILE_DOMAIN_APP_SOUND" value="9"/>
337 <member name="GNOME_FILE_DOMAIN_APP_PIXMAP" value="10"/>
338 <member name="GNOME_FILE_DOMAIN_APP_CONFIG" value="11"/>
339 <member name="GNOME_FILE_DOMAIN_APP_HELP" value="12"/>
340 </enum>
341 <enum name="GnomeHelpError">
342 <member name="GNOME_HELP_ERROR_INTERNAL" value="0"/>
343 <member name="GNOME_HELP_ERROR_NOT_FOUND" value="1"/>
344 </enum>
345 <enum name="GnomeTriggerType">
346 <member name="GTRIG_NONE" value="0"/>
347 <member name="GTRIG_FUNCTION" value="1"/>
348 <member name="GTRIG_COMMAND" value="2"/>
349 <member name="GTRIG_MEDIAPLAY" value="3"/>
350 </enum>
351 <enum name="GnomeURLError">
352 <member name="GNOME_URL_ERROR_PARSE" value="0"/>
353 <member name="GNOME_URL_ERROR_LAUNCH" value="1"/>
354 <member name="GNOME_URL_ERROR_URL" value="2"/>
355 <member name="GNOME_URL_ERROR_NO_DEFAULT" value="3"/>
356 <member name="GNOME_URL_ERROR_NOT_SUPPORTED" value="4"/>
357 <member name="GNOME_URL_ERROR_VFS" value="5"/>
358 <member name="GNOME_URL_ERROR_CANCELLED" value="6"/>
359 </enum>
360 <object name="GnomeProgram" parent="GObject" type-name="GnomeProgram" get-type="gnome_program_get_type">
361 <method name="get" symbol="gnome_program_get">
362 <return-type type="GnomeProgram*"/>
363 </method>
364 <method name="get_app_id" symbol="gnome_program_get_app_id">
365 <return-type type="char*"/>
366 <parameters>
367 <parameter name="program" type="GnomeProgram*"/>
368 </parameters>
369 </method>
370 <method name="get_app_version" symbol="gnome_program_get_app_version">
371 <return-type type="char*"/>
372 <parameters>
373 <parameter name="program" type="GnomeProgram*"/>
374 </parameters>
375 </method>
376 <method name="get_human_readable_name" symbol="gnome_program_get_human_readable_name">
377 <return-type type="char*"/>
378 <parameters>
379 <parameter name="program" type="GnomeProgram*"/>
380 </parameters>
381 </method>
382 <method name="init" symbol="gnome_program_init">
383 <return-type type="GnomeProgram*"/>
384 <parameters>
385 <parameter name="app_id" type="char*"/>
386 <parameter name="app_version" type="char*"/>
387 <parameter name="module_info" type="GnomeModuleInfo*"/>
388 <parameter name="argc" type="int"/>
389 <parameter name="argv" type="char**"/>
390 <parameter name="first_property_name" type="char*"/>
391 </parameters>
392 </method>
393 <method name="init_paramv" symbol="gnome_program_init_paramv">
394 <return-type type="GnomeProgram*"/>
395 <parameters>
396 <parameter name="type" type="GType"/>
397 <parameter name="app_id" type="char*"/>
398 <parameter name="app_version" type="char*"/>
399 <parameter name="module_info" type="GnomeModuleInfo*"/>
400 <parameter name="argc" type="int"/>
401 <parameter name="argv" type="char**"/>
402 <parameter name="nparams" type="guint"/>
403 <parameter name="params" type="GParameter*"/>
404 </parameters>
405 </method>
406 <method name="initv" symbol="gnome_program_initv">
407 <return-type type="GnomeProgram*"/>
408 <parameters>
409 <parameter name="type" type="GType"/>
410 <parameter name="app_id" type="char*"/>
411 <parameter name="app_version" type="char*"/>
412 <parameter name="module_info" type="GnomeModuleInfo*"/>
413 <parameter name="argc" type="int"/>
414 <parameter name="argv" type="char**"/>
415 <parameter name="first_property_name" type="char*"/>
416 <parameter name="args" type="va_list"/>
417 </parameters>
418 </method>
419 <method name="install_property" symbol="gnome_program_install_property">
420 <return-type type="guint"/>
421 <parameters>
422 <parameter name="pclass" type="GnomeProgramClass*"/>
423 <parameter name="get_fn" type="GObjectGetPropertyFunc"/>
424 <parameter name="set_fn" type="GObjectSetPropertyFunc"/>
425 <parameter name="pspec" type="GParamSpec*"/>
426 </parameters>
427 </method>
428 <method name="locate_file" symbol="gnome_program_locate_file">
429 <return-type type="gchar*"/>
430 <parameters>
431 <parameter name="program" type="GnomeProgram*"/>
432 <parameter name="domain" type="GnomeFileDomain"/>
433 <parameter name="file_name" type="gchar*"/>
434 <parameter name="only_if_exists" type="gboolean"/>
435 <parameter name="ret_locations" type="GSList**"/>
436 </parameters>
437 </method>
438 <method name="module_load" symbol="gnome_program_module_load">
439 <return-type type="GnomeModuleInfo*"/>
440 <parameters>
441 <parameter name="mod_name" type="char*"/>
442 </parameters>
443 </method>
444 <method name="module_register" symbol="gnome_program_module_register">
445 <return-type type="void"/>
446 <parameters>
447 <parameter name="module_info" type="GnomeModuleInfo*"/>
448 </parameters>
449 </method>
450 <method name="module_registered" symbol="gnome_program_module_registered">
451 <return-type type="gboolean"/>
452 <parameters>
453 <parameter name="module_info" type="GnomeModuleInfo*"/>
454 </parameters>
455 </method>
456 <property name="app-datadir" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
457 <property name="app-id" type="char*" readable="1" writable="0" construct="0" construct-only="0"/>
458 <property name="app-libdir" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
459 <property name="app-prefix" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
460 <property name="app-sysconfdir" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
461 <property name="app-version" type="char*" readable="1" writable="0" construct="0" construct-only="0"/>
462 <property name="create-directories" type="gboolean" readable="1" writable="1" construct="0" construct-only="1"/>
463 <property name="enable-sound" type="gboolean" readable="1" writable="1" construct="0" construct-only="0"/>
464 <property name="espeaker" type="char*" readable="1" writable="1" construct="0" construct-only="0"/>
465 <property name="gnome-datadir" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
466 <property name="gnome-libdir" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
467 <property name="gnome-path" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
468 <property name="gnome-prefix" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
469 <property name="gnome-sysconfdir" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
470 <property name="goption-context" type="gpointer" readable="1" writable="1" construct="0" construct-only="1"/>
471 <property name="human-readable-name" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
472 <property name="popt-context" type="gpointer" readable="1" writable="0" construct="0" construct-only="0"/>
473 <property name="popt-flags" type="gint" readable="0" writable="1" construct="0" construct-only="1"/>
474 <property name="popt-table" type="gpointer" readable="0" writable="1" construct="0" construct-only="1"/>
475 </object>
476 <constant name="GNOME_DOT_GNOME" type="char*" value=".gnome2/"/>
477 <constant name="GNOME_DOT_GNOME_PRIVATE" type="char*" value=".gnome2_private/"/>
478 <constant name="GNOME_PARAM_APP_DATADIR" type="char*" value="app-datadir"/>
479 <constant name="GNOME_PARAM_APP_ID" type="char*" value="app-id"/>
480 <constant name="GNOME_PARAM_APP_LIBDIR" type="char*" value="app-libdir"/>
481 <constant name="GNOME_PARAM_APP_PREFIX" type="char*" value="app-prefix"/>
482 <constant name="GNOME_PARAM_APP_SYSCONFDIR" type="char*" value="app-sysconfdir"/>
483 <constant name="GNOME_PARAM_APP_VERSION" type="char*" value="app-version"/>
484 <constant name="GNOME_PARAM_CREATE_DIRECTORIES" type="char*" value="create-directories"/>
485 <constant name="GNOME_PARAM_ENABLE_SOUND" type="char*" value="enable-sound"/>
486 <constant name="GNOME_PARAM_ESPEAKER" type="char*" value="espeaker"/>
487 <constant name="GNOME_PARAM_GNOME_DATADIR" type="char*" value="gnome-datadir"/>
488 <constant name="GNOME_PARAM_GNOME_LIBDIR" type="char*" value="gnome-libdir"/>
489 <constant name="GNOME_PARAM_GNOME_PATH" type="char*" value="gnome-path"/>
490 <constant name="GNOME_PARAM_GNOME_PREFIX" type="char*" value="gnome-prefix"/>
491 <constant name="GNOME_PARAM_GNOME_SYSCONFDIR" type="char*" value="gnome-sysconfdir"/>
492 <constant name="GNOME_PARAM_GOPTION_CONTEXT" type="char*" value="goption-context"/>
493 <constant name="GNOME_PARAM_HUMAN_READABLE_NAME" type="char*" value="human-readable-name"/>
494 <constant name="GNOME_PARAM_POPT_CONTEXT" type="char*" value="popt-context"/>
495 <constant name="GNOME_PARAM_POPT_FLAGS" type="char*" value="popt-flags"/>
496 <constant name="GNOME_PARAM_POPT_TABLE" type="char*" value="popt-table"/>
497 </namespace>
498 </api>