44
44
<pre class="synopsis">
45
45
#include <libanjuta/anjuta-utils.h>
47
#define <a class="link" href="libanjuta-Utilities.html#ANJUTA-TYPE-ADD-INTERFACE:CAPS" title="ANJUTA_TYPE_ADD_INTERFACE()">ANJUTA_TYPE_ADD_INTERFACE</a> (prefix,
49
#define <a class="link" href="libanjuta-Utilities.html#ANJUTA-TYPE-BEGIN:CAPS" title="ANJUTA_TYPE_BEGIN()">ANJUTA_TYPE_BEGIN</a> (class_name,
52
#define <a class="link" href="libanjuta-Utilities.html#ANJUTA-TYPE-BOILERPLATE:CAPS" title="ANJUTA_TYPE_BOILERPLATE()">ANJUTA_TYPE_BOILERPLATE</a> (class_name,
55
#define <a class="link" href="libanjuta-Utilities.html#ANJUTA-TYPE-END:CAPS" title="ANJUTA_TYPE_END">ANJUTA_TYPE_END</a>
56
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libanjuta-Utilities.html#anjuta-util-builder-get-objects" title="anjuta_util_builder_get_objects ()">anjuta_util_builder_get_objects</a> (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkBuilder.html"><span class="type">GtkBuilder</span></a> *builder</code></em>,
57
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_widget</code></em>,
58
<em class="parameter"><code>...</code></em>);
59
<a href="http://developer.gnome.org/gtk2/GtkBuilder.html"><span class="returnvalue">GtkBuilder</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-builder-new" title="anjuta_util_builder_new ()">anjuta_util_builder_new</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
60
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
47
<span class="returnvalue">gboolean</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-copy-file" title="anjuta_util_copy_file ()">anjuta_util_copy_file</a> (<em class="parameter"><code>const <span class="type">gchar</span> *src</code></em>,
48
<em class="parameter"><code>const <span class="type">gchar</span> *dest</code></em>,
49
<em class="parameter"><code><span class="type">gboolean</span> show_error</code></em>);
50
<span class="returnvalue">gboolean</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-diff" title="anjuta_util_diff ()">anjuta_util_diff</a> (<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>,
51
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);
52
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-color-from-string" title="anjuta_util_color_from_string ()">anjuta_util_color_from_string</a> (<em class="parameter"><code>const <span class="type">gchar</span> *val</code></em>,
53
<em class="parameter"><code><span class="type">guint16</span> *r</code></em>,
54
<em class="parameter"><code><span class="type">guint16</span> *g</code></em>,
55
<em class="parameter"><code><span class="type">guint16</span> *b</code></em>);
56
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-string-from-color" title="anjuta_util_string_from_color ()">anjuta_util_string_from_color</a> (<em class="parameter"><code><span class="type">guint16</span> r</code></em>,
57
<em class="parameter"><code><span class="type">guint16</span> g</code></em>,
58
<em class="parameter"><code><span class="type">guint16</span> b</code></em>);
61
59
<a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-button-new-with-stock-image" title="anjuta_util_button_new_with_stock_image ()">anjuta_util_button_new_with_stock_image</a>
62
(<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
63
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);
64
<a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-clone-string-gptrarray" title="anjuta_util_clone_string_gptrarray ()">anjuta_util_clone_string_gptrarray</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *source</code></em>);
65
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-color-from-string" title="anjuta_util_color_from_string ()">anjuta_util_color_from_string</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *val</code></em>,
66
<em class="parameter"><code><span class="type">guint16</span> *r</code></em>,
67
<em class="parameter"><code><span class="type">guint16</span> *g</code></em>,
68
<em class="parameter"><code><span class="type">guint16</span> *b</code></em>);
69
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-convert-gfile-list-to-path-list" title="anjuta_util_convert_gfile_list_to_path_list ()">anjuta_util_convert_gfile_list_to_path_list</a>
70
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>);
71
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-convert-gfile-list-to-relative-path-list" title="anjuta_util_convert_gfile_list_to_relative_path_list ()">anjuta_util_convert_gfile_list_to_relative_path_list</a>
72
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>,
73
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *parent</code></em>);
74
<a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-convert-string-list-to-array" title="anjuta_util_convert_string_list_to_array ()">anjuta_util_convert_string_list_to_array</a>
75
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>);
76
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-convert-to-utf8" title="anjuta_util_convert_to_utf8 ()">anjuta_util_convert_to_utf8</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>);
77
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libanjuta-Utilities.html#anjuta-util-copy-file" title="anjuta_util_copy_file ()">anjuta_util_copy_file</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *src</code></em>,
78
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dest</code></em>,
79
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_error</code></em>);
80
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libanjuta-Utilities.html#anjuta-util-create-dir" title="anjuta_util_create_dir ()">anjuta_util_create_dir</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *d</code></em>);
60
(<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
61
<em class="parameter"><code>const <span class="type">gchar</span> *stock_id</code></em>);
81
62
<a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-dialog-add-button" title="anjuta_util_dialog_add_button ()">anjuta_util_dialog_add_button</a> (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkDialog.html"><span class="type">GtkDialog</span></a> *dialog</code></em>,
82
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
83
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>,
84
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> response_id</code></em>);
85
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libanjuta-Utilities.html#anjuta-util-dialog-boolean-question" title="anjuta_util_dialog_boolean_question ()">anjuta_util_dialog_boolean_question</a> (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
86
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> default_to_yes</code></em>,
87
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mesg</code></em>,
88
<em class="parameter"><code>...</code></em>);
63
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
64
<em class="parameter"><code>const <span class="type">gchar</span> *stock_id</code></em>,
65
<em class="parameter"><code><span class="type">gint</span> response_id</code></em>);
89
66
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-dialog-error" title="anjuta_util_dialog_error ()">anjuta_util_dialog_error</a> (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
90
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mesg</code></em>,
67
<em class="parameter"><code>const <span class="type">gchar</span> *mesg</code></em>,
68
<em class="parameter"><code>...</code></em>);
69
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-dialog-warning" title="anjuta_util_dialog_warning ()">anjuta_util_dialog_warning</a> (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
70
<em class="parameter"><code>const <span class="type">gchar</span> *mesg</code></em>,
71
<em class="parameter"><code>...</code></em>);
72
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-dialog-info" title="anjuta_util_dialog_info ()">anjuta_util_dialog_info</a> (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
73
<em class="parameter"><code>const <span class="type">gchar</span> *mesg</code></em>,
91
74
<em class="parameter"><code>...</code></em>);
92
75
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-dialog-error-system" title="anjuta_util_dialog_error_system ()">anjuta_util_dialog_error_system</a> (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
93
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> errnum</code></em>,
94
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mesg</code></em>,
95
<em class="parameter"><code>...</code></em>);
96
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-dialog-info" title="anjuta_util_dialog_info ()">anjuta_util_dialog_info</a> (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
97
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mesg</code></em>,
98
<em class="parameter"><code>...</code></em>);
99
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libanjuta-Utilities.html#anjuta-util-dialog-input" title="anjuta_util_dialog_input ()">anjuta_util_dialog_input</a> (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
100
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>,
101
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *default_value</code></em>,
102
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value</code></em>);
103
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-dialog-warning" title="anjuta_util_dialog_warning ()">anjuta_util_dialog_warning</a> (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
104
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mesg</code></em>,
105
<em class="parameter"><code>...</code></em>);
106
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libanjuta-Utilities.html#anjuta-util-diff" title="anjuta_util_diff ()">anjuta_util_diff</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
107
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);
108
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-escape-quotes" title="anjuta_util_escape_quotes ()">anjuta_util_escape_quotes</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>);
109
<span class="returnvalue">pid_t</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-execute-shell" title="anjuta_util_execute_shell ()">anjuta_util_execute_shell</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dir</code></em>,
110
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *command</code></em>);
111
<span class="returnvalue">pid_t</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-execute-terminal-shell" title="anjuta_util_execute_terminal_shell ()">anjuta_util_execute_terminal_shell</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dir</code></em>,
112
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *command</code></em>);
113
<a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-file-new-for-commandline-arg" title="anjuta_util_file_new_for_commandline_arg ()">anjuta_util_file_new_for_commandline_arg</a>
114
(<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg</code></em>);
115
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-a-tmp-file" title="anjuta_util_get_a_tmp_file ()">anjuta_util_get_a_tmp_file</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
116
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-current-dir" title="anjuta_util_get_current_dir ()">anjuta_util_get_current_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
117
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-file-info-mime-type" title="anjuta_util_get_file_info_mime_type ()">anjuta_util_get_file_info_mime_type</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFileInfo.html"><span class="type">GFileInfo</span></a> *info</code></em>);
118
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-file-mime-type" title="anjuta_util_get_file_mime_type ()">anjuta_util_get_file_mime_type</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>);
119
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-local-path-from-uri" title="anjuta_util_get_local_path_from_uri ()">anjuta_util_get_local_path_from_uri</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);
120
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-real-path" title="anjuta_util_get_real_path ()">anjuta_util_get_real_path</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);
121
<a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-user-cache-file" title="anjuta_util_get_user_cache_file ()">anjuta_util_get_user_cache_file</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
122
<em class="parameter"><code>...</code></em>);
123
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-user-cache-file-path" title="anjuta_util_get_user_cache_file_path ()">anjuta_util_get_user_cache_file_path</a>
124
(<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
125
<em class="parameter"><code>...</code></em>);
126
<a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-user-config-file" title="anjuta_util_get_user_config_file ()">anjuta_util_get_user_config_file</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
127
<em class="parameter"><code>...</code></em>);
128
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-user-config-file-path" title="anjuta_util_get_user_config_file_path ()">anjuta_util_get_user_config_file_path</a>
129
(<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
130
<em class="parameter"><code>...</code></em>);
131
<a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-user-data-file" title="anjuta_util_get_user_data_file ()">anjuta_util_get_user_data_file</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
132
<em class="parameter"><code>...</code></em>);
133
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-user-data-file-path" title="anjuta_util_get_user_data_file_path ()">anjuta_util_get_user_data_file_path</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
134
<em class="parameter"><code>...</code></em>);
135
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-user-mail" title="anjuta_util_get_user_mail ()">anjuta_util_get_user_mail</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
136
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-glist-from-map" title="anjuta_util_glist_from_map ()">anjuta_util_glist_from_map</a> (<em class="parameter"><code><span class="type">AnjutaUtilStringMap</span> *map</code></em>);
137
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-glist-from-string" title="anjuta_util_glist_from_string ()">anjuta_util_glist_from_string</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id</code></em>);
138
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-glist-path-dedup" title="anjuta_util_glist_path_dedup ()">anjuta_util_glist_path_dedup</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>);
139
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-glist-strings-dup" title="anjuta_util_glist_strings_dup ()">anjuta_util_glist_strings_dup</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>);
140
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-glist-strings-free" title="anjuta_util_glist_strings_free ()">anjuta_util_glist_strings_free</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>);
141
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-glist-strings-join" title="anjuta_util_glist_strings_join ()">anjuta_util_glist_strings_join</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>,
142
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *delimiter</code></em>);
143
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-glist-strings-prefix" title="anjuta_util_glist_strings_prefix ()">anjuta_util_glist_strings_prefix</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>,
144
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *prefix</code></em>);
145
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-glist-strings-sort" title="anjuta_util_glist_strings_sort ()">anjuta_util_glist_strings_sort</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>);
146
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-glist-strings-sufix" title="anjuta_util_glist_strings_sufix ()">anjuta_util_glist_strings_sufix</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>,
147
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sufix</code></em>);
148
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-help-display" title="anjuta_util_help_display ()">anjuta_util_help_display</a> (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="type">GtkWidget</span></a> *parent</code></em>,
149
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *doc_id</code></em>,
150
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *item</code></em>);
151
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libanjuta-Utilities.html#anjuta-util-install-files" title="anjuta_util_install_files ()">anjuta_util_install_files</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> * const names</code></em>);
152
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libanjuta-Utilities.html#anjuta-util-is-project-file" title="anjuta_util_is_project_file ()">anjuta_util_is_project_file</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
153
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libanjuta-Utilities.html#anjuta-util-is-template-file" title="anjuta_util_is_template_file ()">anjuta_util_is_template_file</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);
154
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libanjuta-Utilities.html#anjuta-util-jump-to-matching-brace" title="anjuta_util_jump_to_matching_brace ()">anjuta_util_jump_to_matching_brace</a> (<em class="parameter"><code><span class="type">IAnjutaIterable</span> *iter</code></em>,
155
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> brace</code></em>,
156
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> limit</code></em>);
157
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-list-all-dir-children" title="anjuta_util_list_all_dir_children ()">anjuta_util_list_all_dir_children</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> **children</code></em>,
158
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *dir</code></em>);
159
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libanjuta-Utilities.html#anjuta-util-package-is-installed" title="anjuta_util_package_is_installed ()">anjuta_util_package_is_installed</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *lib</code></em>,
160
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);
161
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-parse-args-from-string" title="anjuta_util_parse_args_from_string ()">anjuta_util_parse_args_from_string</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);
162
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libanjuta-Utilities.html#anjuta-util-prog-is-installed" title="anjuta_util_prog_is_installed ()">anjuta_util_prog_is_installed</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *prog</code></em>,
163
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);
164
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-replace-home-dir-with-tilde" title="anjuta_util_replace_home_dir_with_tilde ()">anjuta_util_replace_home_dir_with_tilde</a>
165
(<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);
166
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-shell-expand" title="anjuta_util_shell_expand ()">anjuta_util_shell_expand</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);
167
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-str-middle-truncate" title="anjuta_util_str_middle_truncate ()">anjuta_util_str_middle_truncate</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>,
168
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> truncate_length</code></em>);
169
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-string-from-color" title="anjuta_util_string_from_color ()">anjuta_util_string_from_color</a> (<em class="parameter"><code><span class="type">guint16</span> r</code></em>,
170
<em class="parameter"><code><span class="type">guint16</span> g</code></em>,
171
<em class="parameter"><code><span class="type">guint16</span> b</code></em>);
76
<em class="parameter"><code><span class="type">gint</span> errnum</code></em>,
77
<em class="parameter"><code>const <span class="type">gchar</span> *mesg</code></em>,
78
<em class="parameter"><code>...</code></em>);
79
<span class="returnvalue">gboolean</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-dialog-boolean-question" title="anjuta_util_dialog_boolean_question ()">anjuta_util_dialog_boolean_question</a> (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
80
<em class="parameter"><code><span class="type">gboolean</span> default_to_yes</code></em>,
81
<em class="parameter"><code>const <span class="type">gchar</span> *mesg</code></em>,
82
<em class="parameter"><code>...</code></em>);
83
<span class="returnvalue">gboolean</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-dialog-input" title="anjuta_util_dialog_input ()">anjuta_util_dialog_input</a> (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
84
<em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>,
85
<em class="parameter"><code>const <span class="type">gchar</span> *default_value</code></em>,
86
<em class="parameter"><code><span class="type">gchar</span> **value</code></em>);
87
<span class="returnvalue">gboolean</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-install-files" title="anjuta_util_install_files ()">anjuta_util_install_files</a> (<em class="parameter"><code>const <span class="type">gchar</span> * const names</code></em>);
88
<span class="returnvalue">gboolean</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-package-is-installed" title="anjuta_util_package_is_installed ()">anjuta_util_package_is_installed</a> (<em class="parameter"><code>const <span class="type">gchar</span> *lib</code></em>,
89
<em class="parameter"><code><span class="type">gboolean</span> show</code></em>);
90
<span class="returnvalue">gboolean</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-prog-is-installed" title="anjuta_util_prog_is_installed ()">anjuta_util_prog_is_installed</a> (<em class="parameter"><code>const <span class="type">gchar</span> *prog</code></em>,
91
<em class="parameter"><code><span class="type">gboolean</span> show</code></em>);
92
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-a-tmp-file" title="anjuta_util_get_a_tmp_file ()">anjuta_util_get_a_tmp_file</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
93
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-convert-to-utf8" title="anjuta_util_convert_to_utf8 ()">anjuta_util_convert_to_utf8</a> (<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);
94
<span class="returnvalue">gboolean</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-jump-to-matching-brace" title="anjuta_util_jump_to_matching_brace ()">anjuta_util_jump_to_matching_brace</a> (<em class="parameter"><code><span class="type">IAnjutaIterable</span> *iter</code></em>,
95
<em class="parameter"><code><span class="type">gchar</span> brace</code></em>,
96
<em class="parameter"><code><span class="type">gint</span> limit</code></em>);
97
<span class="returnvalue">GList</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-parse-args-from-string" title="anjuta_util_parse_args_from_string ()">anjuta_util_parse_args_from_string</a> (<em class="parameter"><code>const <span class="type">gchar</span> *string</code></em>);
98
<span class="returnvalue">int</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-type-from-string" title="anjuta_util_type_from_string ()">anjuta_util_type_from_string</a> (<em class="parameter"><code><span class="type">AnjutaUtilStringMap</span> *map</code></em>,
99
<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);
172
100
const <span class="returnvalue">char</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-string-from-type" title="anjuta_util_string_from_type ()">anjuta_util_string_from_type</a> (<em class="parameter"><code><span class="type">AnjutaUtilStringMap</span> *map</code></em>,
173
101
<em class="parameter"><code><span class="type">int</span> type</code></em>);
174
<span class="returnvalue">int</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-type-from-string" title="anjuta_util_type_from_string ()">anjuta_util_type_from_string</a> (<em class="parameter"><code><span class="type">AnjutaUtilStringMap</span> *map</code></em>,
175
<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);
176
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-update-string-list" title="anjuta_util_update_string_list ()">anjuta_util_update_string_list</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *p_list</code></em>,
177
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *p_str</code></em>,
178
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>);
179
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-uri-get-dirname" title="anjuta_util_uri_get_dirname ()">anjuta_util_uri_get_dirname</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);
180
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-user-shell" title="anjuta_util_user_shell ()">anjuta_util_user_shell</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
181
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="libanjuta-Utilities.html#anjuta-util-user-terminal" title="anjuta_util_user_terminal ()">anjuta_util_user_terminal</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
182
<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-utils-drop-get-files" title="anjuta_utils_drop_get_files ()">anjuta_utils_drop_get_files</a> (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/gtk3-Selections.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);
102
<span class="returnvalue">GList</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-glist-from-map" title="anjuta_util_glist_from_map ()">anjuta_util_glist_from_map</a> (<em class="parameter"><code><span class="type">AnjutaUtilStringMap</span> *map</code></em>);
103
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-glist-strings-free" title="anjuta_util_glist_strings_free ()">anjuta_util_glist_strings_free</a> (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);
104
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-glist-strings-prefix" title="anjuta_util_glist_strings_prefix ()">anjuta_util_glist_strings_prefix</a> (<em class="parameter"><code><span class="type">GList</span> *list</code></em>,
105
<em class="parameter"><code>const <span class="type">gchar</span> *prefix</code></em>);
106
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-glist-strings-sufix" title="anjuta_util_glist_strings_sufix ()">anjuta_util_glist_strings_sufix</a> (<em class="parameter"><code><span class="type">GList</span> *list</code></em>,
107
<em class="parameter"><code>const <span class="type">gchar</span> *sufix</code></em>);
108
<span class="returnvalue">GList</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-glist-strings-sort" title="anjuta_util_glist_strings_sort ()">anjuta_util_glist_strings_sort</a> (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);
109
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-glist-strings-join" title="anjuta_util_glist_strings_join ()">anjuta_util_glist_strings_join</a> (<em class="parameter"><code><span class="type">GList</span> *list</code></em>,
110
<em class="parameter"><code><span class="type">gchar</span> *delimiter</code></em>);
111
<span class="returnvalue">GList</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-glist-from-string" title="anjuta_util_glist_from_string ()">anjuta_util_glist_from_string</a> (<em class="parameter"><code>const <span class="type">gchar</span> *id</code></em>);
112
<span class="returnvalue">GList</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-glist-strings-dup" title="anjuta_util_glist_strings_dup ()">anjuta_util_glist_strings_dup</a> (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);
113
<span class="returnvalue">GList</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-glist-path-dedup" title="anjuta_util_glist_path_dedup ()">anjuta_util_glist_path_dedup</a> (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);
114
<span class="returnvalue">GList</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-update-string-list" title="anjuta_util_update_string_list ()">anjuta_util_update_string_list</a> (<em class="parameter"><code><span class="type">GList</span> *p_list</code></em>,
115
<em class="parameter"><code>const <span class="type">gchar</span> *p_str</code></em>,
116
<em class="parameter"><code><span class="type">gint</span> length</code></em>);
117
<span class="returnvalue">gboolean</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-create-dir" title="anjuta_util_create_dir ()">anjuta_util_create_dir</a> (<em class="parameter"><code>const <span class="type">gchar</span> *d</code></em>);
118
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-user-shell" title="anjuta_util_user_shell ()">anjuta_util_user_shell</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
119
<span class="returnvalue">gchar</span> ** <a class="link" href="libanjuta-Utilities.html#anjuta-util-user-terminal" title="anjuta_util_user_terminal ()">anjuta_util_user_terminal</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
120
<span class="returnvalue">GPid</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-execute-shell" title="anjuta_util_execute_shell ()">anjuta_util_execute_shell</a> (<em class="parameter"><code>const <span class="type">gchar</span> *dir</code></em>,
121
<em class="parameter"><code>const <span class="type">gchar</span> *command</code></em>);
122
<span class="returnvalue">GPid</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-execute-terminal-shell" title="anjuta_util_execute_terminal_shell ()">anjuta_util_execute_terminal_shell</a> (<em class="parameter"><code>const <span class="type">gchar</span> *dir</code></em>,
123
<em class="parameter"><code>const <span class="type">gchar</span> *command</code></em>);
124
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-escape-quotes" title="anjuta_util_escape_quotes ()">anjuta_util_escape_quotes</a> (<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);
125
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-real-path" title="anjuta_util_get_real_path ()">anjuta_util_get_real_path</a> (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>);
126
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-current-dir" title="anjuta_util_get_current_dir ()">anjuta_util_get_current_dir</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
127
<span class="returnvalue">GFile</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-file-new-for-commandline-arg" title="anjuta_util_file_new_for_commandline_arg ()">anjuta_util_file_new_for_commandline_arg</a>
128
(<em class="parameter"><code>const <span class="type">gchar</span> *arg</code></em>);
129
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-uri-get-dirname" title="anjuta_util_uri_get_dirname ()">anjuta_util_uri_get_dirname</a> (<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);
130
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-replace-home-dir-with-tilde" title="anjuta_util_replace_home_dir_with_tilde ()">anjuta_util_replace_home_dir_with_tilde</a>
131
(<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);
132
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-shell-expand" title="anjuta_util_shell_expand ()">anjuta_util_shell_expand</a> (<em class="parameter"><code>const <span class="type">gchar</span> *string</code></em>);
133
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-str-middle-truncate" title="anjuta_util_str_middle_truncate ()">anjuta_util_str_middle_truncate</a> (<em class="parameter"><code>const <span class="type">gchar</span> *string</code></em>,
134
<em class="parameter"><code><span class="type">guint</span> truncate_length</code></em>);
135
<span class="returnvalue">gboolean</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-is-project-file" title="anjuta_util_is_project_file ()">anjuta_util_is_project_file</a> (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);
136
<span class="returnvalue">gboolean</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-is-template-file" title="anjuta_util_is_template_file ()">anjuta_util_is_template_file</a> (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);
137
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-file-mime-type" title="anjuta_util_get_file_mime_type ()">anjuta_util_get_file_mime_type</a> (<em class="parameter"><code><span class="type">GFile</span> *file</code></em>);
138
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-file-info-mime-type" title="anjuta_util_get_file_info_mime_type ()">anjuta_util_get_file_info_mime_type</a> (<em class="parameter"><code><span class="type">GFileInfo</span> *info</code></em>);
139
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-local-path-from-uri" title="anjuta_util_get_local_path_from_uri ()">anjuta_util_get_local_path_from_uri</a> (<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);
140
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-help-display" title="anjuta_util_help_display ()">anjuta_util_help_display</a> (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="type">GtkWidget</span></a> *parent</code></em>,
141
<em class="parameter"><code>const <span class="type">gchar</span> *doc_id</code></em>,
142
<em class="parameter"><code>const <span class="type">gchar</span> *item</code></em>);
143
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-set-anjuta-prefix" title="anjuta_util_set_anjuta_prefix ()">anjuta_util_set_anjuta_prefix</a> (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
144
<span class="returnvalue">GFile</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-user-data-file" title="anjuta_util_get_user_data_file ()">anjuta_util_get_user_data_file</a> (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
145
<em class="parameter"><code>...</code></em>);
146
<span class="returnvalue">GFile</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-user-cache-file" title="anjuta_util_get_user_cache_file ()">anjuta_util_get_user_cache_file</a> (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
147
<em class="parameter"><code>...</code></em>);
148
<span class="returnvalue">GFile</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-user-config-file" title="anjuta_util_get_user_config_file ()">anjuta_util_get_user_config_file</a> (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
149
<em class="parameter"><code>...</code></em>);
150
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-user-data-file-path" title="anjuta_util_get_user_data_file_path ()">anjuta_util_get_user_data_file_path</a> (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
151
<em class="parameter"><code>...</code></em>);
152
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-user-cache-file-path" title="anjuta_util_get_user_cache_file_path ()">anjuta_util_get_user_cache_file_path</a>
153
(<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
154
<em class="parameter"><code>...</code></em>);
155
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-user-config-file-path" title="anjuta_util_get_user_config_file_path ()">anjuta_util_get_user_config_file_path</a>
156
(<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
157
<em class="parameter"><code>...</code></em>);
158
<span class="returnvalue">gchar</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-get-user-mail" title="anjuta_util_get_user_mail ()">anjuta_util_get_user_mail</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
159
<span class="returnvalue">GList</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-convert-gfile-list-to-path-list" title="anjuta_util_convert_gfile_list_to_path_list ()">anjuta_util_convert_gfile_list_to_path_list</a>
160
(<em class="parameter"><code><span class="type">GList</span> *list</code></em>);
161
<span class="returnvalue">GList</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-convert-gfile-list-to-relative-path-list" title="anjuta_util_convert_gfile_list_to_relative_path_list ()">anjuta_util_convert_gfile_list_to_relative_path_list</a>
162
(<em class="parameter"><code><span class="type">GList</span> *list</code></em>,
163
<em class="parameter"><code>const <span class="type">gchar</span> *parent</code></em>);
164
<span class="returnvalue">GPtrArray</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-convert-string-list-to-array" title="anjuta_util_convert_string_list_to_array ()">anjuta_util_convert_string_list_to_array</a>
165
(<em class="parameter"><code><span class="type">GList</span> *list</code></em>);
166
<span class="returnvalue">void</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-list-all-dir-children" title="anjuta_util_list_all_dir_children ()">anjuta_util_list_all_dir_children</a> (<em class="parameter"><code><span class="type">GList</span> **children</code></em>,
167
<em class="parameter"><code><span class="type">GFile</span> *dir</code></em>);
168
<a href="http://developer.gnome.org/gtk2/GtkBuilder.html"><span class="returnvalue">GtkBuilder</span></a> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-builder-new" title="anjuta_util_builder_new ()">anjuta_util_builder_new</a> (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
169
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
170
<span class="returnvalue">gboolean</span> <a class="link" href="libanjuta-Utilities.html#anjuta-util-builder-get-objects" title="anjuta_util_builder_get_objects ()">anjuta_util_builder_get_objects</a> (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkBuilder.html"><span class="type">GtkBuilder</span></a> *builder</code></em>,
171
<em class="parameter"><code>const <span class="type">gchar</span> *first_widget</code></em>,
172
<em class="parameter"><code>...</code></em>);
173
<span class="returnvalue">GSList</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-utils-drop-get-files" title="anjuta_utils_drop_get_files ()">anjuta_utils_drop_get_files</a> (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/gtk3-Selections.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);
174
<span class="returnvalue">GPtrArray</span> * <a class="link" href="libanjuta-Utilities.html#anjuta-util-clone-string-gptrarray" title="anjuta_util_clone_string_gptrarray ()">anjuta_util_clone_string_gptrarray</a> (<em class="parameter"><code>const <span class="type">GPtrArray</span> *source</code></em>);
175
#define <a class="link" href="libanjuta-Utilities.html#ANJUTA-TYPE-BEGIN:CAPS" title="ANJUTA_TYPE_BEGIN()">ANJUTA_TYPE_BEGIN</a> (class_name,
178
#define <a class="link" href="libanjuta-Utilities.html#ANJUTA-TYPE-END:CAPS" title="ANJUTA_TYPE_END">ANJUTA_TYPE_END</a>
179
#define <a class="link" href="libanjuta-Utilities.html#ANJUTA-TYPE-ADD-INTERFACE:CAPS" title="ANJUTA_TYPE_ADD_INTERFACE()">ANJUTA_TYPE_ADD_INTERFACE</a> (prefix,
181
#define <a class="link" href="libanjuta-Utilities.html#ANJUTA-TYPE-BOILERPLATE:CAPS" title="ANJUTA_TYPE_BOILERPLATE()">ANJUTA_TYPE_BOILERPLATE</a> (class_name,
185
186
<div class="refsect1">
188
189
<div class="refsect1">
189
190
<a name="libanjuta-Utilities.details"></a><h2>Details</h2>
190
191
<div class="refsect2">
191
<a name="ANJUTA-TYPE-ADD-INTERFACE:CAPS"></a><h3>ANJUTA_TYPE_ADD_INTERFACE()</h3>
192
<pre class="programlisting">#define ANJUTA_TYPE_ADD_INTERFACE(prefix,interface_type)</pre>
194
Adds an interface to a declaration started with ANJUTA_TYPE_BEGIN
196
<div class="variablelist"><table border="0">
197
<col align="left" valign="top">
200
<td><p><span class="term"><em class="parameter"><code>prefix</code></em> :</span></p></td>
201
<td>Prefix for the interface methods</td>
204
<td><p><span class="term"><em class="parameter"><code>interface_type</code></em> :</span></p></td>
205
<td>Type of the interface to implement</td>
211
<div class="refsect2">
212
<a name="ANJUTA-TYPE-BEGIN:CAPS"></a><h3>ANJUTA_TYPE_BEGIN()</h3>
213
<pre class="programlisting">#define ANJUTA_TYPE_BEGIN(class_name, prefix, parent_type)</pre>
215
Create a new GObject for Anjuta. You can use ANJUTA_TYPE_ADD_INTERFACE
216
to add interfaces to it and should close it using ANJUTA_TYPE_END
218
<div class="variablelist"><table border="0">
219
<col align="left" valign="top">
222
<td><p><span class="term"><em class="parameter"><code>class_name</code></em> :</span></p></td>
223
<td>Name of the object</td>
226
<td><p><span class="term"><em class="parameter"><code>prefix</code></em> :</span></p></td>
227
<td>Prefix used for object methods</td>
230
<td><p><span class="term"><em class="parameter"><code>parent_type</code></em> :</span></p></td>
231
<td>The parent type of the object</td>
237
<div class="refsect2">
238
<a name="ANJUTA-TYPE-BOILERPLATE:CAPS"></a><h3>ANJUTA_TYPE_BOILERPLATE()</h3>
239
<pre class="programlisting">#define ANJUTA_TYPE_BOILERPLATE(class_name, prefix, parent_type)</pre>
241
Simpliefied version of ANJUTA_TYPE_BEGIN that just creates an Object
242
without interfaces and doesn't need ANJUTA_TYPE_END
244
<div class="variablelist"><table border="0">
245
<col align="left" valign="top">
248
<td><p><span class="term"><em class="parameter"><code>class_name</code></em> :</span></p></td>
249
<td>Name of the object</td>
252
<td><p><span class="term"><em class="parameter"><code>prefix</code></em> :</span></p></td>
253
<td>Prefix for the class methods</td>
256
<td><p><span class="term"><em class="parameter"><code>parent_type</code></em> :</span></p></td>
257
<td>Parent type for object</td>
263
<div class="refsect2">
264
<a name="ANJUTA-TYPE-END:CAPS"></a><h3>ANJUTA_TYPE_END</h3>
265
<pre class="programlisting">#define ANJUTA_TYPE_END</pre>
267
Ends a declaration that began with ANJUTA_TYPE_BEGIN
271
<div class="refsect2">
272
<a name="anjuta-util-builder-get-objects"></a><h3>anjuta_util_builder_get_objects ()</h3>
273
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> anjuta_util_builder_get_objects (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkBuilder.html"><span class="type">GtkBuilder</span></a> *builder</code></em>,
274
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_widget</code></em>,
275
<em class="parameter"><code>...</code></em>);</pre>
277
Create a new GtkBuilder object and load the file in it. Display an error
278
if the file is missing. Use a dialog if error is NULL, just a warning
279
if the error can be reported.
281
<div class="variablelist"><table border="0">
282
<col align="left" valign="top">
285
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
286
<td>Builder object</td>
289
<td><p><span class="term"><em class="parameter"><code>first_widget</code></em> :</span></p></td>
290
<td>Name of first widget to get
291
...: Address to store the first widget pointer, followed optionally by
292
more name/pointer pairs, followed by NULL</td>
295
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
296
<td>TRUE is everything works as expected.</td>
302
<div class="refsect2">
303
<a name="anjuta-util-builder-new"></a><h3>anjuta_util_builder_new ()</h3>
304
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkBuilder.html"><span class="returnvalue">GtkBuilder</span></a> * anjuta_util_builder_new (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
305
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
307
Create a new GtkBuilder object and load the file in it. Display an error
308
if the file is missing. Use a dialog if error is NULL, just a warning
309
if the error can be reported.
311
<div class="variablelist"><table border="0">
312
<col align="left" valign="top">
315
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
316
<td>Builder file name to open</td>
319
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
320
<td>Optional error object, if NULL display a dialog if the file is missing</td>
323
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
324
<td>The new GtkBuilder object</td>
330
<div class="refsect2">
331
<a name="anjuta-util-button-new-with-stock-image"></a><h3>anjuta_util_button_new_with_stock_image ()</h3>
332
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * anjuta_util_button_new_with_stock_image
333
(<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
334
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);</pre>
339
<div class="refsect2">
340
<a name="anjuta-util-clone-string-gptrarray"></a><h3>anjuta_util_clone_string_gptrarray ()</h3>
341
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * anjuta_util_clone_string_gptrarray (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *source</code></em>);</pre>
346
<div class="refsect2">
347
<a name="anjuta-util-color-from-string"></a><h3>anjuta_util_color_from_string ()</h3>
348
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_util_color_from_string (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *val</code></em>,
349
<em class="parameter"><code><span class="type">guint16</span> *r</code></em>,
350
<em class="parameter"><code><span class="type">guint16</span> *g</code></em>,
351
<em class="parameter"><code><span class="type">guint16</span> *b</code></em>);</pre>
356
<div class="refsect2">
357
<a name="anjuta-util-convert-gfile-list-to-path-list"></a><h3>anjuta_util_convert_gfile_list_to_path_list ()</h3>
358
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * anjuta_util_convert_gfile_list_to_path_list
359
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>);</pre>
364
<div class="refsect2">
365
<a name="anjuta-util-convert-gfile-list-to-relative-path-list"></a><h3>anjuta_util_convert_gfile_list_to_relative_path_list ()</h3>
366
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * anjuta_util_convert_gfile_list_to_relative_path_list
367
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>,
368
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *parent</code></em>);</pre>
373
<div class="refsect2">
374
<a name="anjuta-util-convert-string-list-to-array"></a><h3>anjuta_util_convert_string_list_to_array ()</h3>
375
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * anjuta_util_convert_string_list_to_array
376
(<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>);</pre>
381
<div class="refsect2">
382
<a name="anjuta-util-convert-to-utf8"></a><h3>anjuta_util_convert_to_utf8 ()</h3>
383
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * anjuta_util_convert_to_utf8 (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>);</pre>
388
<div class="refsect2">
389
192
<a name="anjuta-util-copy-file"></a><h3>anjuta_util_copy_file ()</h3>
390
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> anjuta_util_copy_file (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *src</code></em>,
391
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dest</code></em>,
392
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_error</code></em>);</pre>
193
<pre class="programlisting"><span class="returnvalue">gboolean</span> anjuta_util_copy_file (<em class="parameter"><code>const <span class="type">gchar</span> *src</code></em>,
194
<em class="parameter"><code>const <span class="type">gchar</span> *dest</code></em>,
195
<em class="parameter"><code><span class="type">gboolean</span> show_error</code></em>);</pre>
394
197
Copies <em class="parameter"><code>src</code></em> to <em class="parameter"><code>dest</code></em> and shows a dialog error in case is needed.
396
<div class="variablelist"><table border="0">
199
<div class="variablelist"><table border="0" class="variablelist">
397
201
<col align="left" valign="top">
400
206
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
475
321
<div class="refsect2">
476
322
<a name="anjuta-util-dialog-input"></a><h3>anjuta_util_dialog_input ()</h3>
477
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> anjuta_util_dialog_input (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
478
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>,
479
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *default_value</code></em>,
480
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **value</code></em>);</pre>
485
<div class="refsect2">
486
<a name="anjuta-util-dialog-warning"></a><h3>anjuta_util_dialog_warning ()</h3>
487
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_util_dialog_warning (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
488
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mesg</code></em>,
489
<em class="parameter"><code>...</code></em>);</pre>
494
<div class="refsect2">
495
<a name="anjuta-util-diff"></a><h3>anjuta_util_diff ()</h3>
496
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> anjuta_util_diff (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
497
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>);</pre>
502
<div class="refsect2">
503
<a name="anjuta-util-escape-quotes"></a><h3>anjuta_util_escape_quotes ()</h3>
504
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * anjuta_util_escape_quotes (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *str</code></em>);</pre>
323
<pre class="programlisting"><span class="returnvalue">gboolean</span> anjuta_util_dialog_input (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
324
<em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>,
325
<em class="parameter"><code>const <span class="type">gchar</span> *default_value</code></em>,
326
<em class="parameter"><code><span class="type">gchar</span> **value</code></em>);</pre>
331
<div class="refsect2">
332
<a name="anjuta-util-install-files"></a><h3>anjuta_util_install_files ()</h3>
333
<pre class="programlisting"><span class="returnvalue">gboolean</span> anjuta_util_install_files (<em class="parameter"><code>const <span class="type">gchar</span> * const names</code></em>);</pre>
338
<div class="refsect2">
339
<a name="anjuta-util-package-is-installed"></a><h3>anjuta_util_package_is_installed ()</h3>
340
<pre class="programlisting"><span class="returnvalue">gboolean</span> anjuta_util_package_is_installed (<em class="parameter"><code>const <span class="type">gchar</span> *lib</code></em>,
341
<em class="parameter"><code><span class="type">gboolean</span> show</code></em>);</pre>
346
<div class="refsect2">
347
<a name="anjuta-util-prog-is-installed"></a><h3>anjuta_util_prog_is_installed ()</h3>
348
<pre class="programlisting"><span class="returnvalue">gboolean</span> anjuta_util_prog_is_installed (<em class="parameter"><code>const <span class="type">gchar</span> *prog</code></em>,
349
<em class="parameter"><code><span class="type">gboolean</span> show</code></em>);</pre>
354
<div class="refsect2">
355
<a name="anjuta-util-get-a-tmp-file"></a><h3>anjuta_util_get_a_tmp_file ()</h3>
356
<pre class="programlisting"><span class="returnvalue">gchar</span> * anjuta_util_get_a_tmp_file (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
361
<div class="refsect2">
362
<a name="anjuta-util-convert-to-utf8"></a><h3>anjuta_util_convert_to_utf8 ()</h3>
363
<pre class="programlisting"><span class="returnvalue">gchar</span> * anjuta_util_convert_to_utf8 (<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);</pre>
368
<div class="refsect2">
369
<a name="anjuta-util-jump-to-matching-brace"></a><h3>anjuta_util_jump_to_matching_brace ()</h3>
370
<pre class="programlisting"><span class="returnvalue">gboolean</span> anjuta_util_jump_to_matching_brace (<em class="parameter"><code><span class="type">IAnjutaIterable</span> *iter</code></em>,
371
<em class="parameter"><code><span class="type">gchar</span> brace</code></em>,
372
<em class="parameter"><code><span class="type">gint</span> limit</code></em>);</pre>
377
<div class="refsect2">
378
<a name="anjuta-util-parse-args-from-string"></a><h3>anjuta_util_parse_args_from_string ()</h3>
379
<pre class="programlisting"><span class="returnvalue">GList</span> * anjuta_util_parse_args_from_string (<em class="parameter"><code>const <span class="type">gchar</span> *string</code></em>);</pre>
381
Parse arguments from a string to a GList.
383
<div class="variablelist"><table border="0" class="variablelist">
385
<col align="left" valign="top">
390
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
394
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
395
<td>A newly allocated GList of
396
strings. <span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> utf8][<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
403
<div class="refsect2">
404
<a name="anjuta-util-type-from-string"></a><h3>anjuta_util_type_from_string ()</h3>
405
<pre class="programlisting"><span class="returnvalue">int</span> anjuta_util_type_from_string (<em class="parameter"><code><span class="type">AnjutaUtilStringMap</span> *map</code></em>,
406
<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);</pre>
411
<div class="refsect2">
412
<a name="anjuta-util-string-from-type"></a><h3>anjuta_util_string_from_type ()</h3>
413
<pre class="programlisting">const <span class="returnvalue">char</span> * anjuta_util_string_from_type (<em class="parameter"><code><span class="type">AnjutaUtilStringMap</span> *map</code></em>,
414
<em class="parameter"><code><span class="type">int</span> type</code></em>);</pre>
419
<div class="refsect2">
420
<a name="anjuta-util-glist-from-map"></a><h3>anjuta_util_glist_from_map ()</h3>
421
<pre class="programlisting"><span class="returnvalue">GList</span> * anjuta_util_glist_from_map (<em class="parameter"><code><span class="type">AnjutaUtilStringMap</span> *map</code></em>);</pre>
426
<div class="refsect2">
427
<a name="anjuta-util-glist-strings-free"></a><h3>anjuta_util_glist_strings_free ()</h3>
428
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_util_glist_strings_free (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);</pre>
433
<div class="refsect2">
434
<a name="anjuta-util-glist-strings-prefix"></a><h3>anjuta_util_glist_strings_prefix ()</h3>
435
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_util_glist_strings_prefix (<em class="parameter"><code><span class="type">GList</span> *list</code></em>,
436
<em class="parameter"><code>const <span class="type">gchar</span> *prefix</code></em>);</pre>
441
<div class="refsect2">
442
<a name="anjuta-util-glist-strings-sufix"></a><h3>anjuta_util_glist_strings_sufix ()</h3>
443
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_util_glist_strings_sufix (<em class="parameter"><code><span class="type">GList</span> *list</code></em>,
444
<em class="parameter"><code>const <span class="type">gchar</span> *sufix</code></em>);</pre>
449
<div class="refsect2">
450
<a name="anjuta-util-glist-strings-sort"></a><h3>anjuta_util_glist_strings_sort ()</h3>
451
<pre class="programlisting"><span class="returnvalue">GList</span> * anjuta_util_glist_strings_sort (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);</pre>
456
<div class="refsect2">
457
<a name="anjuta-util-glist-strings-join"></a><h3>anjuta_util_glist_strings_join ()</h3>
458
<pre class="programlisting"><span class="returnvalue">gchar</span> * anjuta_util_glist_strings_join (<em class="parameter"><code><span class="type">GList</span> *list</code></em>,
459
<em class="parameter"><code><span class="type">gchar</span> *delimiter</code></em>);</pre>
464
<div class="refsect2">
465
<a name="anjuta-util-glist-from-string"></a><h3>anjuta_util_glist_from_string ()</h3>
466
<pre class="programlisting"><span class="returnvalue">GList</span> * anjuta_util_glist_from_string (<em class="parameter"><code>const <span class="type">gchar</span> *id</code></em>);</pre>
471
<div class="refsect2">
472
<a name="anjuta-util-glist-strings-dup"></a><h3>anjuta_util_glist_strings_dup ()</h3>
473
<pre class="programlisting"><span class="returnvalue">GList</span> * anjuta_util_glist_strings_dup (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);</pre>
478
<div class="refsect2">
479
<a name="anjuta-util-glist-path-dedup"></a><h3>anjuta_util_glist_path_dedup ()</h3>
480
<pre class="programlisting"><span class="returnvalue">GList</span> * anjuta_util_glist_path_dedup (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);</pre>
485
<div class="refsect2">
486
<a name="anjuta-util-update-string-list"></a><h3>anjuta_util_update_string_list ()</h3>
487
<pre class="programlisting"><span class="returnvalue">GList</span> * anjuta_util_update_string_list (<em class="parameter"><code><span class="type">GList</span> *p_list</code></em>,
488
<em class="parameter"><code>const <span class="type">gchar</span> *p_str</code></em>,
489
<em class="parameter"><code><span class="type">gint</span> length</code></em>);</pre>
494
<div class="refsect2">
495
<a name="anjuta-util-create-dir"></a><h3>anjuta_util_create_dir ()</h3>
496
<pre class="programlisting"><span class="returnvalue">gboolean</span> anjuta_util_create_dir (<em class="parameter"><code>const <span class="type">gchar</span> *d</code></em>);</pre>
501
<div class="refsect2">
502
<a name="anjuta-util-user-shell"></a><h3>anjuta_util_user_shell ()</h3>
503
<pre class="programlisting"><span class="returnvalue">gchar</span> * anjuta_util_user_shell (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
505
Retrieves the user's preferred shell.
507
<div class="variablelist"><table border="0" class="variablelist">
509
<col align="left" valign="top">
513
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
514
<td>A newly allocated string that is the path to the shell.</td>
519
<div class="refsect2">
520
<a name="anjuta-util-user-terminal"></a><h3>anjuta_util_user_terminal ()</h3>
521
<pre class="programlisting"><span class="returnvalue">gchar</span> ** anjuta_util_user_terminal (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
523
Retrieves the user's preferred terminal.
525
<div class="variablelist"><table border="0" class="variablelist">
527
<col align="left" valign="top">
531
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
532
<td>A newly allocated strings list. The first argument
533
is the terminal program name. The following are the arguments needed to
534
execute a command. The list has to be freed with g_strfreev. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
509
540
<div class="refsect2">
510
541
<a name="anjuta-util-execute-shell"></a><h3>anjuta_util_execute_shell ()</h3>
511
<pre class="programlisting"><span class="returnvalue">pid_t</span> anjuta_util_execute_shell (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dir</code></em>,
512
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *command</code></em>);</pre>
542
<pre class="programlisting"><span class="returnvalue">GPid</span> anjuta_util_execute_shell (<em class="parameter"><code>const <span class="type">gchar</span> *dir</code></em>,
543
<em class="parameter"><code>const <span class="type">gchar</span> *command</code></em>);</pre>
517
548
<div class="refsect2">
518
549
<a name="anjuta-util-execute-terminal-shell"></a><h3>anjuta_util_execute_terminal_shell ()</h3>
519
<pre class="programlisting"><span class="returnvalue">pid_t</span> anjuta_util_execute_terminal_shell (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dir</code></em>,
520
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *command</code></em>);</pre>
525
<div class="refsect2">
526
<a name="anjuta-util-file-new-for-commandline-arg"></a><h3>anjuta_util_file_new_for_commandline_arg ()</h3>
527
<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * anjuta_util_file_new_for_commandline_arg
528
(<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg</code></em>);</pre>
530
<em class="parameter"><code>arg</code></em>: URI or relative or absolute file path
533
Create a new file corresponding to arg, unlike g_file_new_for_commandline_arg,
534
keeps symbolic links in path name.
536
<div class="variablelist"><table border="0">
537
<col align="left" valign="top">
539
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
540
<td>A new GFile object</td>
545
<div class="refsect2">
546
<a name="anjuta-util-get-a-tmp-file"></a><h3>anjuta_util_get_a_tmp_file ()</h3>
547
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * anjuta_util_get_a_tmp_file (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
550
<pre class="programlisting"><span class="returnvalue">GPid</span> anjuta_util_execute_terminal_shell (<em class="parameter"><code>const <span class="type">gchar</span> *dir</code></em>,
551
<em class="parameter"><code>const <span class="type">gchar</span> *command</code></em>);</pre>
556
<div class="refsect2">
557
<a name="anjuta-util-escape-quotes"></a><h3>anjuta_util_escape_quotes ()</h3>
558
<pre class="programlisting"><span class="returnvalue">gchar</span> * anjuta_util_escape_quotes (<em class="parameter"><code>const <span class="type">gchar</span> *str</code></em>);</pre>
563
<div class="refsect2">
564
<a name="anjuta-util-get-real-path"></a><h3>anjuta_util_get_real_path ()</h3>
565
<pre class="programlisting"><span class="returnvalue">gchar</span> * anjuta_util_get_real_path (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>);</pre>
552
570
<div class="refsect2">
553
571
<a name="anjuta-util-get-current-dir"></a><h3>anjuta_util_get_current_dir ()</h3>
554
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * anjuta_util_get_current_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
572
<pre class="programlisting"><span class="returnvalue">gchar</span> * anjuta_util_get_current_dir (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
556
574
Get current working directory, unlike g_get_current_dir, keeps symbolic links
559
<div class="variablelist"><table border="0">
577
<div class="variablelist"><table border="0" class="variablelist">
560
579
<col align="left" valign="top">
562
583
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
563
584
<td>The current working directory.</td>
568
589
<div class="refsect2">
590
<a name="anjuta-util-file-new-for-commandline-arg"></a><h3>anjuta_util_file_new_for_commandline_arg ()</h3>
591
<pre class="programlisting"><span class="returnvalue">GFile</span> * anjuta_util_file_new_for_commandline_arg
592
(<em class="parameter"><code>const <span class="type">gchar</span> *arg</code></em>);</pre>
594
Create a new file corresponding to arg, unlike g_file_new_for_commandline_arg,
595
keeps symbolic links in path name.
597
<div class="variablelist"><table border="0" class="variablelist">
599
<col align="left" valign="top">
604
<td><p><span class="term"><em class="parameter"><code>arg</code></em> :</span></p></td>
605
<td>URI or relative or absolute file path</td>
608
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
609
<td>A new GFile object. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
616
<div class="refsect2">
617
<a name="anjuta-util-uri-get-dirname"></a><h3>anjuta_util_uri_get_dirname ()</h3>
618
<pre class="programlisting"><span class="returnvalue">gchar</span> * anjuta_util_uri_get_dirname (<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);</pre>
623
<div class="refsect2">
624
<a name="anjuta-util-replace-home-dir-with-tilde"></a><h3>anjuta_util_replace_home_dir_with_tilde ()</h3>
625
<pre class="programlisting"><span class="returnvalue">gchar</span> * anjuta_util_replace_home_dir_with_tilde
626
(<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);</pre>
631
<div class="refsect2">
632
<a name="anjuta-util-shell-expand"></a><h3>anjuta_util_shell_expand ()</h3>
633
<pre class="programlisting"><span class="returnvalue">gchar</span> * anjuta_util_shell_expand (<em class="parameter"><code>const <span class="type">gchar</span> *string</code></em>);</pre>
635
Expand environment variables $(var_name) and tilde (~) in the input string.
637
<div class="variablelist"><table border="0" class="variablelist">
639
<col align="left" valign="top">
644
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
645
<td>input string</td>
648
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
649
<td>a newly-allocated string that must be freed with <code class="function">g_free()</code>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
656
<div class="refsect2">
657
<a name="anjuta-util-str-middle-truncate"></a><h3>anjuta_util_str_middle_truncate ()</h3>
658
<pre class="programlisting"><span class="returnvalue">gchar</span> * anjuta_util_str_middle_truncate (<em class="parameter"><code>const <span class="type">gchar</span> *string</code></em>,
659
<em class="parameter"><code><span class="type">guint</span> truncate_length</code></em>);</pre>
664
<div class="refsect2">
665
<a name="anjuta-util-is-project-file"></a><h3>anjuta_util_is_project_file ()</h3>
666
<pre class="programlisting"><span class="returnvalue">gboolean</span> anjuta_util_is_project_file (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);</pre>
668
Return <code class="literal">TRUE</code> if the file is an anjuta project file. It is implemented by
669
checking only the file extension. So it does not check the existence
670
of the file. But it is working on an URI if it does not containt a
673
<div class="variablelist"><table border="0" class="variablelist">
675
<col align="left" valign="top">
680
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
681
<td>the file name</td>
684
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
686
<code class="literal">TRUE</code> if the file is a project file, else <code class="literal">FALSE</code>
693
<div class="refsect2">
694
<a name="anjuta-util-is-template-file"></a><h3>anjuta_util_is_template_file ()</h3>
695
<pre class="programlisting"><span class="returnvalue">gboolean</span> anjuta_util_is_template_file (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);</pre>
697
Return <code class="literal">TRUE</code> if the file is an template project file. It is implemented by
698
checking only the file extension. So it does not check the existence
699
of the file. But it is working on an URI if it does not containt a
702
<div class="variablelist"><table border="0" class="variablelist">
704
<col align="left" valign="top">
709
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
710
<td>the file name</td>
713
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
715
<code class="literal">TRUE</code> if the file is a template file, else <code class="literal">FALSE</code>
722
<div class="refsect2">
723
<a name="anjuta-util-get-file-mime-type"></a><h3>anjuta_util_get_file_mime_type ()</h3>
724
<pre class="programlisting"><span class="returnvalue">gchar</span> * anjuta_util_get_file_mime_type (<em class="parameter"><code><span class="type">GFile</span> *file</code></em>);</pre>
729
<div class="refsect2">
569
730
<a name="anjuta-util-get-file-info-mime-type"></a><h3>anjuta_util_get_file_info_mime_type ()</h3>
570
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * anjuta_util_get_file_info_mime_type (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFileInfo.html"><span class="type">GFileInfo</span></a> *info</code></em>);</pre>
575
<div class="refsect2">
576
<a name="anjuta-util-get-file-mime-type"></a><h3>anjuta_util_get_file_mime_type ()</h3>
577
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * anjuta_util_get_file_mime_type (<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>);</pre>
731
<pre class="programlisting"><span class="returnvalue">gchar</span> * anjuta_util_get_file_info_mime_type (<em class="parameter"><code><span class="type">GFileInfo</span> *info</code></em>);</pre>
582
736
<div class="refsect2">
583
737
<a name="anjuta-util-get-local-path-from-uri"></a><h3>anjuta_util_get_local_path_from_uri ()</h3>
584
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * anjuta_util_get_local_path_from_uri (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre>
589
<div class="refsect2">
590
<a name="anjuta-util-get-real-path"></a><h3>anjuta_util_get_real_path ()</h3>
591
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * anjuta_util_get_real_path (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>);</pre>
738
<pre class="programlisting"><span class="returnvalue">gchar</span> * anjuta_util_get_local_path_from_uri (<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);</pre>
743
<div class="refsect2">
744
<a name="anjuta-util-help-display"></a><h3>anjuta_util_help_display ()</h3>
745
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_util_help_display (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="type">GtkWidget</span></a> *parent</code></em>,
746
<em class="parameter"><code>const <span class="type">gchar</span> *doc_id</code></em>,
747
<em class="parameter"><code>const <span class="type">gchar</span> *item</code></em>);</pre>
752
<div class="refsect2">
753
<a name="anjuta-util-set-anjuta-prefix"></a><h3>anjuta_util_set_anjuta_prefix ()</h3>
754
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_util_set_anjuta_prefix (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
759
<div class="refsect2">
760
<a name="anjuta-util-get-user-data-file"></a><h3>anjuta_util_get_user_data_file ()</h3>
761
<pre class="programlisting"><span class="returnvalue">GFile</span> * anjuta_util_get_user_data_file (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
762
<em class="parameter"><code>...</code></em>);</pre>
596
767
<div class="refsect2">
597
768
<a name="anjuta-util-get-user-cache-file"></a><h3>anjuta_util_get_user_cache_file ()</h3>
598
<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * anjuta_util_get_user_cache_file (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
769
<pre class="programlisting"><span class="returnvalue">GFile</span> * anjuta_util_get_user_cache_file (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
770
<em class="parameter"><code>...</code></em>);</pre>
775
<div class="refsect2">
776
<a name="anjuta-util-get-user-config-file"></a><h3>anjuta_util_get_user_config_file ()</h3>
777
<pre class="programlisting"><span class="returnvalue">GFile</span> * anjuta_util_get_user_config_file (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
778
<em class="parameter"><code>...</code></em>);</pre>
783
<div class="refsect2">
784
<a name="anjuta-util-get-user-data-file-path"></a><h3>anjuta_util_get_user_data_file_path ()</h3>
785
<pre class="programlisting"><span class="returnvalue">gchar</span> * anjuta_util_get_user_data_file_path (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
599
786
<em class="parameter"><code>...</code></em>);</pre>
646
809
<div class="refsect2">
647
810
<a name="anjuta-util-get-user-mail"></a><h3>anjuta_util_get_user_mail ()</h3>
648
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * anjuta_util_get_user_mail (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
653
<div class="refsect2">
654
<a name="anjuta-util-glist-from-map"></a><h3>anjuta_util_glist_from_map ()</h3>
655
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * anjuta_util_glist_from_map (<em class="parameter"><code><span class="type">AnjutaUtilStringMap</span> *map</code></em>);</pre>
660
<div class="refsect2">
661
<a name="anjuta-util-glist-from-string"></a><h3>anjuta_util_glist_from_string ()</h3>
662
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * anjuta_util_glist_from_string (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *id</code></em>);</pre>
667
<div class="refsect2">
668
<a name="anjuta-util-glist-path-dedup"></a><h3>anjuta_util_glist_path_dedup ()</h3>
669
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * anjuta_util_glist_path_dedup (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>);</pre>
674
<div class="refsect2">
675
<a name="anjuta-util-glist-strings-dup"></a><h3>anjuta_util_glist_strings_dup ()</h3>
676
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * anjuta_util_glist_strings_dup (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>);</pre>
681
<div class="refsect2">
682
<a name="anjuta-util-glist-strings-free"></a><h3>anjuta_util_glist_strings_free ()</h3>
683
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_util_glist_strings_free (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>);</pre>
688
<div class="refsect2">
689
<a name="anjuta-util-glist-strings-join"></a><h3>anjuta_util_glist_strings_join ()</h3>
690
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * anjuta_util_glist_strings_join (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>,
691
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *delimiter</code></em>);</pre>
696
<div class="refsect2">
697
<a name="anjuta-util-glist-strings-prefix"></a><h3>anjuta_util_glist_strings_prefix ()</h3>
698
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_util_glist_strings_prefix (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>,
699
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *prefix</code></em>);</pre>
704
<div class="refsect2">
705
<a name="anjuta-util-glist-strings-sort"></a><h3>anjuta_util_glist_strings_sort ()</h3>
706
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * anjuta_util_glist_strings_sort (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>);</pre>
711
<div class="refsect2">
712
<a name="anjuta-util-glist-strings-sufix"></a><h3>anjuta_util_glist_strings_sufix ()</h3>
713
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_util_glist_strings_sufix (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *list</code></em>,
714
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sufix</code></em>);</pre>
719
<div class="refsect2">
720
<a name="anjuta-util-help-display"></a><h3>anjuta_util_help_display ()</h3>
721
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_util_help_display (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="type">GtkWidget</span></a> *parent</code></em>,
722
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *doc_id</code></em>,
723
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *item</code></em>);</pre>
728
<div class="refsect2">
729
<a name="anjuta-util-install-files"></a><h3>anjuta_util_install_files ()</h3>
730
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> anjuta_util_install_files (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> * const names</code></em>);</pre>
735
<div class="refsect2">
736
<a name="anjuta-util-is-project-file"></a><h3>anjuta_util_is_project_file ()</h3>
737
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> anjuta_util_is_project_file (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
739
Return TRUE if the file is an anjuta project file. It is implemented by
740
checking only the file extension. So it does not check the existence
741
of the file. But it is working on an URI if it does not containt a
744
<div class="variablelist"><table border="0">
745
<col align="left" valign="top">
748
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
749
<td>the file name</td>
752
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
753
<td>TRUE if the file is a project file, else FALSE</td>
759
<div class="refsect2">
760
<a name="anjuta-util-is-template-file"></a><h3>anjuta_util_is_template_file ()</h3>
761
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> anjuta_util_is_template_file (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>);</pre>
763
Return TRUE if the file is an template project file. It is implemented by
764
checking only the file extension. So it does not check the existence
765
of the file. But it is working on an URI if it does not containt a
768
<div class="variablelist"><table border="0">
769
<col align="left" valign="top">
772
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
773
<td>the file name</td>
776
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
777
<td>TRUE if the file is a template file, else FALSE</td>
783
<div class="refsect2">
784
<a name="anjuta-util-jump-to-matching-brace"></a><h3>anjuta_util_jump_to_matching_brace ()</h3>
785
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> anjuta_util_jump_to_matching_brace (<em class="parameter"><code><span class="type">IAnjutaIterable</span> *iter</code></em>,
786
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> brace</code></em>,
787
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> limit</code></em>);</pre>
811
<pre class="programlisting"><span class="returnvalue">gchar</span> * anjuta_util_get_user_mail (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
816
<div class="refsect2">
817
<a name="anjuta-util-convert-gfile-list-to-path-list"></a><h3>anjuta_util_convert_gfile_list_to_path_list ()</h3>
818
<pre class="programlisting"><span class="returnvalue">GList</span> * anjuta_util_convert_gfile_list_to_path_list
819
(<em class="parameter"><code><span class="type">GList</span> *list</code></em>);</pre>
824
<div class="refsect2">
825
<a name="anjuta-util-convert-gfile-list-to-relative-path-list"></a><h3>anjuta_util_convert_gfile_list_to_relative_path_list ()</h3>
826
<pre class="programlisting"><span class="returnvalue">GList</span> * anjuta_util_convert_gfile_list_to_relative_path_list
827
(<em class="parameter"><code><span class="type">GList</span> *list</code></em>,
828
<em class="parameter"><code>const <span class="type">gchar</span> *parent</code></em>);</pre>
833
<div class="refsect2">
834
<a name="anjuta-util-convert-string-list-to-array"></a><h3>anjuta_util_convert_string_list_to_array ()</h3>
835
<pre class="programlisting"><span class="returnvalue">GPtrArray</span> * anjuta_util_convert_string_list_to_array
836
(<em class="parameter"><code><span class="type">GList</span> *list</code></em>);</pre>
792
841
<div class="refsect2">
793
842
<a name="anjuta-util-list-all-dir-children"></a><h3>anjuta_util_list_all_dir_children ()</h3>
794
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_util_list_all_dir_children (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> **children</code></em>,
795
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *dir</code></em>);</pre>
800
<div class="refsect2">
801
<a name="anjuta-util-package-is-installed"></a><h3>anjuta_util_package_is_installed ()</h3>
802
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> anjuta_util_package_is_installed (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *lib</code></em>,
803
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
808
<div class="refsect2">
809
<a name="anjuta-util-parse-args-from-string"></a><h3>anjuta_util_parse_args_from_string ()</h3>
810
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * anjuta_util_parse_args_from_string (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
815
<div class="refsect2">
816
<a name="anjuta-util-prog-is-installed"></a><h3>anjuta_util_prog_is_installed ()</h3>
817
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> anjuta_util_prog_is_installed (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *prog</code></em>,
818
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
823
<div class="refsect2">
824
<a name="anjuta-util-replace-home-dir-with-tilde"></a><h3>anjuta_util_replace_home_dir_with_tilde ()</h3>
825
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * anjuta_util_replace_home_dir_with_tilde
826
(<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre>
831
<div class="refsect2">
832
<a name="anjuta-util-shell-expand"></a><h3>anjuta_util_shell_expand ()</h3>
833
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * anjuta_util_shell_expand (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
835
Expand environment variables $(var_name) and tilde (~) in the input string.
837
<div class="variablelist"><table border="0">
838
<col align="left" valign="top">
841
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
842
<td>input string</td>
845
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
846
<td>a newly-allocated string that must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
852
<div class="refsect2">
853
<a name="anjuta-util-str-middle-truncate"></a><h3>anjuta_util_str_middle_truncate ()</h3>
854
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * anjuta_util_str_middle_truncate (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *string</code></em>,
855
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> truncate_length</code></em>);</pre>
860
<div class="refsect2">
861
<a name="anjuta-util-string-from-color"></a><h3>anjuta_util_string_from_color ()</h3>
862
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * anjuta_util_string_from_color (<em class="parameter"><code><span class="type">guint16</span> r</code></em>,
863
<em class="parameter"><code><span class="type">guint16</span> g</code></em>,
864
<em class="parameter"><code><span class="type">guint16</span> b</code></em>);</pre>
869
<div class="refsect2">
870
<a name="anjuta-util-string-from-type"></a><h3>anjuta_util_string_from_type ()</h3>
871
<pre class="programlisting">const <span class="returnvalue">char</span> * anjuta_util_string_from_type (<em class="parameter"><code><span class="type">AnjutaUtilStringMap</span> *map</code></em>,
872
<em class="parameter"><code><span class="type">int</span> type</code></em>);</pre>
877
<div class="refsect2">
878
<a name="anjuta-util-type-from-string"></a><h3>anjuta_util_type_from_string ()</h3>
879
<pre class="programlisting"><span class="returnvalue">int</span> anjuta_util_type_from_string (<em class="parameter"><code><span class="type">AnjutaUtilStringMap</span> *map</code></em>,
880
<em class="parameter"><code>const <span class="type">char</span> *str</code></em>);</pre>
885
<div class="refsect2">
886
<a name="anjuta-util-update-string-list"></a><h3>anjuta_util_update_string_list ()</h3>
887
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * anjuta_util_update_string_list (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *p_list</code></em>,
888
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *p_str</code></em>,
889
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> length</code></em>);</pre>
894
<div class="refsect2">
895
<a name="anjuta-util-uri-get-dirname"></a><h3>anjuta_util_uri_get_dirname ()</h3>
896
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * anjuta_util_uri_get_dirname (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre>
901
<div class="refsect2">
902
<a name="anjuta-util-user-shell"></a><h3>anjuta_util_user_shell ()</h3>
903
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * anjuta_util_user_shell (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
905
Retrieves the user's preferred shell.
907
<div class="variablelist"><table border="0">
908
<col align="left" valign="top">
910
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
911
<td>A newly allocated string that is the path to the shell.</td>
916
<div class="refsect2">
917
<a name="anjuta-util-user-terminal"></a><h3>anjuta_util_user_terminal ()</h3>
918
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> ** anjuta_util_user_terminal (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
920
Retrieves the user's preferred terminal.
922
<div class="variablelist"><table border="0">
923
<col align="left" valign="top">
925
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
926
<td>A newly allocated strings list. The first argument is the terminal
927
program name. The following are the arguments needed to execute
928
a command. The list has to be freed with g_strfreev</td>
843
<pre class="programlisting"><span class="returnvalue">void</span> anjuta_util_list_all_dir_children (<em class="parameter"><code><span class="type">GList</span> **children</code></em>,
844
<em class="parameter"><code><span class="type">GFile</span> *dir</code></em>);</pre>
849
<div class="refsect2">
850
<a name="anjuta-util-builder-new"></a><h3>anjuta_util_builder_new ()</h3>
851
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkBuilder.html"><span class="returnvalue">GtkBuilder</span></a> * anjuta_util_builder_new (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
852
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
854
Create a new GtkBuilder object and load the file in it. Display an error
855
if the file is missing. Use a dialog if error is <code class="literal">NULL</code>, just a warning
856
if the error can be reported.
858
<div class="variablelist"><table border="0" class="variablelist">
860
<col align="left" valign="top">
865
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
866
<td>Builder file name to open</td>
869
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
870
<td>Optional error object, if <code class="literal">NULL</code> display a dialog if the file is missing</td>
873
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
874
<td>The new GtkBuilder object</td>
880
<div class="refsect2">
881
<a name="anjuta-util-builder-get-objects"></a><h3>anjuta_util_builder_get_objects ()</h3>
882
<pre class="programlisting"><span class="returnvalue">gboolean</span> anjuta_util_builder_get_objects (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkBuilder.html"><span class="type">GtkBuilder</span></a> *builder</code></em>,
883
<em class="parameter"><code>const <span class="type">gchar</span> *first_widget</code></em>,
884
<em class="parameter"><code>...</code></em>);</pre>
886
Create a new GtkBuilder object and load the file in it. Display an error
887
if the file is missing. Use a dialog if error is <code class="literal">NULL</code>, just a warning
888
if the error can be reported.
890
<div class="variablelist"><table border="0" class="variablelist">
892
<col align="left" valign="top">
897
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
898
<td>Builder object</td>
901
<td><p><span class="term"><em class="parameter"><code>first_widget</code></em> :</span></p></td>
902
<td>Name of first widget to get
903
...: Address to store the first widget pointer, followed optionally by
904
more name/pointer pairs, followed by <code class="literal">NULL</code>
908
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
910
<code class="literal">TRUE</code> is everything works as expected.</td>
933
916
<div class="refsect2">
934
917
<a name="anjuta-utils-drop-get-files"></a><h3>anjuta_utils_drop_get_files ()</h3>
935
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * anjuta_utils_drop_get_files (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/gtk3-Selections.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
918
<pre class="programlisting"><span class="returnvalue">GSList</span> * anjuta_utils_drop_get_files (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/gtk3-Selections.html#GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection_data</code></em>);</pre>
937
920
Create a list of valid uri's from a uri-list drop.
939
<div class="variablelist"><table border="0">
922
<div class="variablelist"><table border="0" class="variablelist">
940
924
<col align="left" valign="top">
943
929
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>