~ubuntu-branches/ubuntu/trusty/anjuta/trusty

« back to all changes in this revision

Viewing changes to manuals/reference/libanjuta/html/libanjuta-Utilities.html

  • Committer: Package Import Robot
  • Author(s): Steve Ovens
  • Date: 2014-01-03 21:06:06 UTC
  • mfrom: (1.1.55)
  • Revision ID: package-import@ubuntu.com-20140103210606-pmvzhu0s68qy6261
Tags: 2:3.10.2-0ubuntu1
* New upstream release (LP: #1266037)
- Updated Build-Depends of libgtk-3-dev (>= 3.6.0),
  libglib2.0-dev (>= 2.34.0)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>Utilities</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="Anjuta Developers Reference Manual">
8
8
<link rel="up" href="libanjuta-api.html" title="libanjuta API">
9
9
<link rel="prev" href="AnjutaSession.html" title="AnjutaSession">
10
10
<link rel="next" href="libanjuta-Program-resources.html" title="Program resources">
11
 
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
44
44
<pre class="synopsis">
45
45
#include &lt;libanjuta/anjuta-utils.h&gt;
46
46
 
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,
48
 
                                                         interface_type)
49
 
#define             <a class="link" href="libanjuta-Utilities.html#ANJUTA-TYPE-BEGIN:CAPS" title="ANJUTA_TYPE_BEGIN()">ANJUTA_TYPE_BEGIN</a>                   (class_name,
50
 
                                                         prefix,
51
 
                                                         parent_type)
52
 
#define             <a class="link" href="libanjuta-Utilities.html#ANJUTA-TYPE-BOILERPLATE:CAPS" title="ANJUTA_TYPE_BOILERPLATE()">ANJUTA_TYPE_BOILERPLATE</a>             (class_name,
53
 
                                                         prefix,
54
 
                                                         parent_type)
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,
 
176
                                                         prefix,
 
177
                                                         parent_type)
 
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,
 
180
                                                         interface_type)
 
181
#define             <a class="link" href="libanjuta-Utilities.html#ANJUTA-TYPE-BOILERPLATE:CAPS" title="ANJUTA_TYPE_BOILERPLATE()">ANJUTA_TYPE_BOILERPLATE</a>             (class_name,
 
182
                                                         prefix,
 
183
                                                         parent_type)
183
184
</pre>
184
185
</div>
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>
193
 
<p>
194
 
Adds an interface to a declaration started with ANJUTA_TYPE_BEGIN
195
 
</p>
196
 
<div class="variablelist"><table border="0">
197
 
<col align="left" valign="top">
198
 
<tbody>
199
 
<tr>
200
 
<td><p><span class="term"><em class="parameter"><code>prefix</code></em> :</span></p></td>
201
 
<td>Prefix for the interface methods</td>
202
 
</tr>
203
 
<tr>
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>
206
 
</tr>
207
 
</tbody>
208
 
</table></div>
209
 
</div>
210
 
<hr>
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>
214
 
<p>
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
217
 
</p>
218
 
<div class="variablelist"><table border="0">
219
 
<col align="left" valign="top">
220
 
<tbody>
221
 
<tr>
222
 
<td><p><span class="term"><em class="parameter"><code>class_name</code></em> :</span></p></td>
223
 
<td>Name of the object</td>
224
 
</tr>
225
 
<tr>
226
 
<td><p><span class="term"><em class="parameter"><code>prefix</code></em> :</span></p></td>
227
 
<td>Prefix used for object methods</td>
228
 
</tr>
229
 
<tr>
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>
232
 
</tr>
233
 
</tbody>
234
 
</table></div>
235
 
</div>
236
 
<hr>
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>
240
 
<p>
241
 
Simpliefied version of ANJUTA_TYPE_BEGIN that just creates an Object
242
 
without interfaces and doesn't need ANJUTA_TYPE_END
243
 
</p>
244
 
<div class="variablelist"><table border="0">
245
 
<col align="left" valign="top">
246
 
<tbody>
247
 
<tr>
248
 
<td><p><span class="term"><em class="parameter"><code>class_name</code></em> :</span></p></td>
249
 
<td>Name of the object</td>
250
 
</tr>
251
 
<tr>
252
 
<td><p><span class="term"><em class="parameter"><code>prefix</code></em> :</span></p></td>
253
 
<td>Prefix for the class methods</td>
254
 
</tr>
255
 
<tr>
256
 
<td><p><span class="term"><em class="parameter"><code>parent_type</code></em> :</span></p></td>
257
 
<td>Parent type for object</td>
258
 
</tr>
259
 
</tbody>
260
 
</table></div>
261
 
</div>
262
 
<hr>
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>
266
 
<p>
267
 
Ends a declaration that began with ANJUTA_TYPE_BEGIN
268
 
</p>
269
 
</div>
270
 
<hr>
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>
276
 
<p>
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.
280
 
</p>
281
 
<div class="variablelist"><table border="0">
282
 
<col align="left" valign="top">
283
 
<tbody>
284
 
<tr>
285
 
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
286
 
<td>Builder object</td>
287
 
</tr>
288
 
<tr>
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>
293
 
</tr>
294
 
<tr>
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>
297
 
</tr>
298
 
</tbody>
299
 
</table></div>
300
 
</div>
301
 
<hr>
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>
306
 
<p>
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.
310
 
</p>
311
 
<div class="variablelist"><table border="0">
312
 
<col align="left" valign="top">
313
 
<tbody>
314
 
<tr>
315
 
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
316
 
<td>Builder file name to open</td>
317
 
</tr>
318
 
<tr>
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>
321
 
</tr>
322
 
<tr>
323
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
324
 
<td>The new GtkBuilder object</td>
325
 
</tr>
326
 
</tbody>
327
 
</table></div>
328
 
</div>
329
 
<hr>
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>
335
 
<p>
336
 
</p>
337
 
</div>
338
 
<hr>
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>
342
 
<p>
343
 
</p>
344
 
</div>
345
 
<hr>
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>
352
 
<p>
353
 
</p>
354
 
</div>
355
 
<hr>
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>
360
 
<p>
361
 
</p>
362
 
</div>
363
 
<hr>
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>
369
 
<p>
370
 
</p>
371
 
</div>
372
 
<hr>
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>
377
 
<p>
378
 
</p>
379
 
</div>
380
 
<hr>
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>
384
 
<p>
385
 
</p>
386
 
</div>
387
 
<hr>
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>
393
196
<p>
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.
395
198
</p>
396
 
<div class="variablelist"><table border="0">
 
199
<div class="variablelist"><table border="0" class="variablelist">
 
200
<colgroup>
397
201
<col align="left" valign="top">
 
202
<col>
 
203
</colgroup>
398
204
<tbody>
399
205
<tr>
400
206
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
407
213
</tr>
408
214
<tr>
409
215
<td><p><span class="term"><em class="parameter"><code>show_error</code></em> :</span></p></td>
410
 
<td>TRUE to show a dialog error</td>
 
216
<td>
 
217
<code class="literal">TRUE</code> to show a dialog error</td>
411
218
</tr>
412
219
<tr>
413
220
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
414
 
<td>TRUE if there was an error copying the file.</td>
 
221
<td>
 
222
<code class="literal">TRUE</code> if there was an error copying the file.</td>
415
223
</tr>
416
224
</tbody>
417
225
</table></div>
418
226
</div>
419
227
<hr>
420
228
<div class="refsect2">
421
 
<a name="anjuta-util-create-dir"></a><h3>anjuta_util_create_dir ()</h3>
422
 
<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_create_dir              (<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>);</pre>
 
229
<a name="anjuta-util-diff"></a><h3>anjuta_util_diff ()</h3>
 
230
<pre class="programlisting"><span class="returnvalue">gboolean</span>            anjuta_util_diff                    (<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>,
 
231
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);</pre>
 
232
<p>
 
233
</p>
 
234
</div>
 
235
<hr>
 
236
<div class="refsect2">
 
237
<a name="anjuta-util-color-from-string"></a><h3>anjuta_util_color_from_string ()</h3>
 
238
<pre class="programlisting"><span class="returnvalue">void</span>                anjuta_util_color_from_string       (<em class="parameter"><code>const <span class="type">gchar</span> *val</code></em>,
 
239
                                                         <em class="parameter"><code><span class="type">guint16</span> *r</code></em>,
 
240
                                                         <em class="parameter"><code><span class="type">guint16</span> *g</code></em>,
 
241
                                                         <em class="parameter"><code><span class="type">guint16</span> *b</code></em>);</pre>
 
242
<p>
 
243
</p>
 
244
</div>
 
245
<hr>
 
246
<div class="refsect2">
 
247
<a name="anjuta-util-string-from-color"></a><h3>anjuta_util_string_from_color ()</h3>
 
248
<pre class="programlisting"><span class="returnvalue">gchar</span> *             anjuta_util_string_from_color       (<em class="parameter"><code><span class="type">guint16</span> r</code></em>,
 
249
                                                         <em class="parameter"><code><span class="type">guint16</span> g</code></em>,
 
250
                                                         <em class="parameter"><code><span class="type">guint16</span> b</code></em>);</pre>
 
251
<p>
 
252
</p>
 
253
</div>
 
254
<hr>
 
255
<div class="refsect2">
 
256
<a name="anjuta-util-button-new-with-stock-image"></a><h3>anjuta_util_button_new_with_stock_image ()</h3>
 
257
<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
 
258
                                                        (<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
 
259
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *stock_id</code></em>);</pre>
423
260
<p>
424
261
</p>
425
262
</div>
427
264
<div class="refsect2">
428
265
<a name="anjuta-util-dialog-add-button"></a><h3>anjuta_util_dialog_add_button ()</h3>
429
266
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         anjuta_util_dialog_add_button       (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkDialog.html"><span class="type">GtkDialog</span></a> *dialog</code></em>,
430
 
                                                         <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>,
431
 
                                                         <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>,
432
 
                                                         <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>);</pre>
433
 
<p>
434
 
</p>
435
 
</div>
436
 
<hr>
437
 
<div class="refsect2">
438
 
<a name="anjuta-util-dialog-boolean-question"></a><h3>anjuta_util_dialog_boolean_question ()</h3>
439
 
<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_boolean_question (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
440
 
                                                         <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>,
441
 
                                                         <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>,
442
 
                                                         <em class="parameter"><code>...</code></em>);</pre>
 
267
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
 
268
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *stock_id</code></em>,
 
269
                                                         <em class="parameter"><code><span class="type">gint</span> response_id</code></em>);</pre>
443
270
<p>
444
271
</p>
445
272
</div>
447
274
<div class="refsect2">
448
275
<a name="anjuta-util-dialog-error"></a><h3>anjuta_util_dialog_error ()</h3>
449
276
<pre class="programlisting"><span class="returnvalue">void</span>                anjuta_util_dialog_error            (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
450
 
                                                         <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>,
 
277
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *mesg</code></em>,
 
278
                                                         <em class="parameter"><code>...</code></em>);</pre>
 
279
<p>
 
280
</p>
 
281
</div>
 
282
<hr>
 
283
<div class="refsect2">
 
284
<a name="anjuta-util-dialog-warning"></a><h3>anjuta_util_dialog_warning ()</h3>
 
285
<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>,
 
286
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *mesg</code></em>,
 
287
                                                         <em class="parameter"><code>...</code></em>);</pre>
 
288
<p>
 
289
</p>
 
290
</div>
 
291
<hr>
 
292
<div class="refsect2">
 
293
<a name="anjuta-util-dialog-info"></a><h3>anjuta_util_dialog_info ()</h3>
 
294
<pre class="programlisting"><span class="returnvalue">void</span>                anjuta_util_dialog_info             (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
 
295
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *mesg</code></em>,
451
296
                                                         <em class="parameter"><code>...</code></em>);</pre>
452
297
<p>
453
298
</p>
456
301
<div class="refsect2">
457
302
<a name="anjuta-util-dialog-error-system"></a><h3>anjuta_util_dialog_error_system ()</h3>
458
303
<pre class="programlisting"><span class="returnvalue">void</span>                anjuta_util_dialog_error_system     (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
459
 
                                                         <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>,
460
 
                                                         <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>,
 
304
                                                         <em class="parameter"><code><span class="type">gint</span> errnum</code></em>,
 
305
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *mesg</code></em>,
461
306
                                                         <em class="parameter"><code>...</code></em>);</pre>
462
307
<p>
463
308
</p>
464
309
</div>
465
310
<hr>
466
311
<div class="refsect2">
467
 
<a name="anjuta-util-dialog-info"></a><h3>anjuta_util_dialog_info ()</h3>
468
 
<pre class="programlisting"><span class="returnvalue">void</span>                anjuta_util_dialog_info             (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
469
 
                                                         <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>,
 
312
<a name="anjuta-util-dialog-boolean-question"></a><h3>anjuta_util_dialog_boolean_question ()</h3>
 
313
<pre class="programlisting"><span class="returnvalue">gboolean</span>            anjuta_util_dialog_boolean_question (<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWindow.html"><span class="type">GtkWindow</span></a> *parent</code></em>,
 
314
                                                         <em class="parameter"><code><span class="type">gboolean</span> default_to_yes</code></em>,
 
315
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *mesg</code></em>,
470
316
                                                         <em class="parameter"><code>...</code></em>);</pre>
471
317
<p>
472
318
</p>
474
320
<hr>
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>
481
 
<p>
482
 
</p>
483
 
</div>
484
 
<hr>
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>
490
 
<p>
491
 
</p>
492
 
</div>
493
 
<hr>
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>
498
 
<p>
499
 
</p>
500
 
</div>
501
 
<hr>
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>
505
 
<p>
506
 
</p>
 
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>
 
327
<p>
 
328
</p>
 
329
</div>
 
330
<hr>
 
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>
 
334
<p>
 
335
</p>
 
336
</div>
 
337
<hr>
 
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>
 
342
<p>
 
343
</p>
 
344
</div>
 
345
<hr>
 
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>
 
350
<p>
 
351
</p>
 
352
</div>
 
353
<hr>
 
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>
 
357
<p>
 
358
</p>
 
359
</div>
 
360
<hr>
 
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>
 
364
<p>
 
365
</p>
 
366
</div>
 
367
<hr>
 
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>
 
373
<p>
 
374
</p>
 
375
</div>
 
376
<hr>
 
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>
 
380
<p>
 
381
Parse arguments from a string to a GList.
 
382
</p>
 
383
<div class="variablelist"><table border="0" class="variablelist">
 
384
<colgroup>
 
385
<col align="left" valign="top">
 
386
<col>
 
387
</colgroup>
 
388
<tbody>
 
389
<tr>
 
390
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
 
391
<td>arguments</td>
 
392
</tr>
 
393
<tr>
 
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>
 
397
</td>
 
398
</tr>
 
399
</tbody>
 
400
</table></div>
 
401
</div>
 
402
<hr>
 
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>
 
407
<p>
 
408
</p>
 
409
</div>
 
410
<hr>
 
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>
 
415
<p>
 
416
</p>
 
417
</div>
 
418
<hr>
 
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>
 
422
<p>
 
423
</p>
 
424
</div>
 
425
<hr>
 
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>
 
429
<p>
 
430
</p>
 
431
</div>
 
432
<hr>
 
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>
 
437
<p>
 
438
</p>
 
439
</div>
 
440
<hr>
 
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>
 
445
<p>
 
446
</p>
 
447
</div>
 
448
<hr>
 
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>
 
452
<p>
 
453
</p>
 
454
</div>
 
455
<hr>
 
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>
 
460
<p>
 
461
</p>
 
462
</div>
 
463
<hr>
 
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>
 
467
<p>
 
468
</p>
 
469
</div>
 
470
<hr>
 
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>
 
474
<p>
 
475
</p>
 
476
</div>
 
477
<hr>
 
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>
 
481
<p>
 
482
</p>
 
483
</div>
 
484
<hr>
 
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>
 
490
<p>
 
491
</p>
 
492
</div>
 
493
<hr>
 
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>
 
497
<p>
 
498
</p>
 
499
</div>
 
500
<hr>
 
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>
 
504
<p>
 
505
Retrieves the user's preferred shell.
 
506
</p>
 
507
<div class="variablelist"><table border="0" class="variablelist">
 
508
<colgroup>
 
509
<col align="left" valign="top">
 
510
<col>
 
511
</colgroup>
 
512
<tbody><tr>
 
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>
 
515
</tr></tbody>
 
516
</table></div>
 
517
</div>
 
518
<hr>
 
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>
 
522
<p>
 
523
Retrieves the user's preferred terminal.
 
524
</p>
 
525
<div class="variablelist"><table border="0" class="variablelist">
 
526
<colgroup>
 
527
<col align="left" valign="top">
 
528
<col>
 
529
</colgroup>
 
530
<tbody><tr>
 
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>
 
535
</td>
 
536
</tr></tbody>
 
537
</table></div>
507
538
</div>
508
539
<hr>
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>
513
544
<p>
514
545
</p>
515
546
</div>
516
547
<hr>
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>
521
 
<p>
522
 
</p>
523
 
</div>
524
 
<hr>
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>
529
 
<p>
530
 
<em class="parameter"><code>arg</code></em>: URI or relative or absolute file path
531
 
</p>
532
 
<p>
533
 
Create a new file corresponding to arg, unlike g_file_new_for_commandline_arg,
534
 
keeps symbolic links in path name.
535
 
</p>
536
 
<div class="variablelist"><table border="0">
537
 
<col align="left" valign="top">
538
 
<tbody><tr>
539
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
540
 
<td>A new GFile object</td>
541
 
</tr></tbody>
542
 
</table></div>
543
 
</div>
544
 
<hr>
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>
 
552
<p>
 
553
</p>
 
554
</div>
 
555
<hr>
 
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>
 
559
<p>
 
560
</p>
 
561
</div>
 
562
<hr>
 
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>
548
566
<p>
549
567
</p>
550
568
</div>
551
569
<hr>
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>
555
573
<p>
556
574
Get current working directory, unlike g_get_current_dir, keeps symbolic links
557
575
in path name.
558
576
</p>
559
 
<div class="variablelist"><table border="0">
 
577
<div class="variablelist"><table border="0" class="variablelist">
 
578
<colgroup>
560
579
<col align="left" valign="top">
 
580
<col>
 
581
</colgroup>
561
582
<tbody><tr>
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>
566
587
</div>
567
588
<hr>
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>
 
593
<p>
 
594
Create a new file corresponding to arg, unlike g_file_new_for_commandline_arg,
 
595
keeps symbolic links in path name.
 
596
</p>
 
597
<div class="variablelist"><table border="0" class="variablelist">
 
598
<colgroup>
 
599
<col align="left" valign="top">
 
600
<col>
 
601
</colgroup>
 
602
<tbody>
 
603
<tr>
 
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>
 
606
</tr>
 
607
<tr>
 
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>
 
610
</td>
 
611
</tr>
 
612
</tbody>
 
613
</table></div>
 
614
</div>
 
615
<hr>
 
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>
 
619
<p>
 
620
</p>
 
621
</div>
 
622
<hr>
 
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>
 
627
<p>
 
628
</p>
 
629
</div>
 
630
<hr>
 
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>
 
634
<p>
 
635
Expand environment variables $(var_name) and tilde (~) in the input string.
 
636
</p>
 
637
<div class="variablelist"><table border="0" class="variablelist">
 
638
<colgroup>
 
639
<col align="left" valign="top">
 
640
<col>
 
641
</colgroup>
 
642
<tbody>
 
643
<tr>
 
644
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
 
645
<td>input string</td>
 
646
</tr>
 
647
<tr>
 
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>
 
650
</td>
 
651
</tr>
 
652
</tbody>
 
653
</table></div>
 
654
</div>
 
655
<hr>
 
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>
 
660
<p>
 
661
</p>
 
662
</div>
 
663
<hr>
 
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>
 
667
<p>
 
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
 
671
fragment.
 
672
</p>
 
673
<div class="variablelist"><table border="0" class="variablelist">
 
674
<colgroup>
 
675
<col align="left" valign="top">
 
676
<col>
 
677
</colgroup>
 
678
<tbody>
 
679
<tr>
 
680
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
 
681
<td>the file name</td>
 
682
</tr>
 
683
<tr>
 
684
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
685
<td>
 
686
<code class="literal">TRUE</code> if the file is a project file, else <code class="literal">FALSE</code>
 
687
</td>
 
688
</tr>
 
689
</tbody>
 
690
</table></div>
 
691
</div>
 
692
<hr>
 
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>
 
696
<p>
 
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
 
700
fragment.
 
701
</p>
 
702
<div class="variablelist"><table border="0" class="variablelist">
 
703
<colgroup>
 
704
<col align="left" valign="top">
 
705
<col>
 
706
</colgroup>
 
707
<tbody>
 
708
<tr>
 
709
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
 
710
<td>the file name</td>
 
711
</tr>
 
712
<tr>
 
713
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
714
<td>
 
715
<code class="literal">TRUE</code> if the file is a template file, else <code class="literal">FALSE</code>
 
716
</td>
 
717
</tr>
 
718
</tbody>
 
719
</table></div>
 
720
</div>
 
721
<hr>
 
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>
 
725
<p>
 
726
</p>
 
727
</div>
 
728
<hr>
 
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>
571
 
<p>
572
 
</p>
573
 
</div>
574
 
<hr>
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>
578
732
<p>
579
733
</p>
580
734
</div>
581
735
<hr>
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>
585
 
<p>
586
 
</p>
587
 
</div>
588
 
<hr>
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>
 
739
<p>
 
740
</p>
 
741
</div>
 
742
<hr>
 
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>
 
748
<p>
 
749
</p>
 
750
</div>
 
751
<hr>
 
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>
 
755
<p>
 
756
</p>
 
757
</div>
 
758
<hr>
 
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>
592
763
<p>
593
764
</p>
594
765
</div>
595
766
<hr>
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>
 
771
<p>
 
772
</p>
 
773
</div>
 
774
<hr>
 
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>
 
779
<p>
 
780
</p>
 
781
</div>
 
782
<hr>
 
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>
600
787
<p>
601
788
</p>
603
790
<hr>
604
791
<div class="refsect2">
605
792
<a name="anjuta-util-get-user-cache-file-path"></a><h3>anjuta_util_get_user_cache_file_path ()</h3>
606
 
<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_cache_file_path
607
 
                                                        (<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>,
608
 
                                                         <em class="parameter"><code>...</code></em>);</pre>
609
 
<p>
610
 
</p>
611
 
</div>
612
 
<hr>
613
 
<div class="refsect2">
614
 
<a name="anjuta-util-get-user-config-file"></a><h3>anjuta_util_get_user_config_file ()</h3>
615
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> *             anjuta_util_get_user_config_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>,
 
793
<pre class="programlisting"><span class="returnvalue">gchar</span> *             anjuta_util_get_user_cache_file_path
 
794
                                                        (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
616
795
                                                         <em class="parameter"><code>...</code></em>);</pre>
617
796
<p>
618
797
</p>
620
799
<hr>
621
800
<div class="refsect2">
622
801
<a name="anjuta-util-get-user-config-file-path"></a><h3>anjuta_util_get_user_config_file_path ()</h3>
623
 
<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_config_file_path
624
 
                                                        (<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>,
625
 
                                                         <em class="parameter"><code>...</code></em>);</pre>
626
 
<p>
627
 
</p>
628
 
</div>
629
 
<hr>
630
 
<div class="refsect2">
631
 
<a name="anjuta-util-get-user-data-file"></a><h3>anjuta_util_get_user_data_file ()</h3>
632
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> *             anjuta_util_get_user_data_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>,
633
 
                                                         <em class="parameter"><code>...</code></em>);</pre>
634
 
<p>
635
 
</p>
636
 
</div>
637
 
<hr>
638
 
<div class="refsect2">
639
 
<a name="anjuta-util-get-user-data-file-path"></a><h3>anjuta_util_get_user_data_file_path ()</h3>
640
 
<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_data_file_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>,
 
802
<pre class="programlisting"><span class="returnvalue">gchar</span> *             anjuta_util_get_user_config_file_path
 
803
                                                        (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
641
804
                                                         <em class="parameter"><code>...</code></em>);</pre>
642
805
<p>
643
806
</p>
645
808
<hr>
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>
649
 
<p>
650
 
</p>
651
 
</div>
652
 
<hr>
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>
656
 
<p>
657
 
</p>
658
 
</div>
659
 
<hr>
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>
663
 
<p>
664
 
</p>
665
 
</div>
666
 
<hr>
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>
670
 
<p>
671
 
</p>
672
 
</div>
673
 
<hr>
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>
677
 
<p>
678
 
</p>
679
 
</div>
680
 
<hr>
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>
684
 
<p>
685
 
</p>
686
 
</div>
687
 
<hr>
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>
692
 
<p>
693
 
</p>
694
 
</div>
695
 
<hr>
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>
700
 
<p>
701
 
</p>
702
 
</div>
703
 
<hr>
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>
707
 
<p>
708
 
</p>
709
 
</div>
710
 
<hr>
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>
715
 
<p>
716
 
</p>
717
 
</div>
718
 
<hr>
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>
724
 
<p>
725
 
</p>
726
 
</div>
727
 
<hr>
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>
731
 
<p>
732
 
</p>
733
 
</div>
734
 
<hr>
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>
738
 
<p>
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
742
 
fragment.
743
 
</p>
744
 
<div class="variablelist"><table border="0">
745
 
<col align="left" valign="top">
746
 
<tbody>
747
 
<tr>
748
 
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
749
 
<td>the file name</td>
750
 
</tr>
751
 
<tr>
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>
754
 
</tr>
755
 
</tbody>
756
 
</table></div>
757
 
</div>
758
 
<hr>
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>
762
 
<p>
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
766
 
fragment.
767
 
</p>
768
 
<div class="variablelist"><table border="0">
769
 
<col align="left" valign="top">
770
 
<tbody>
771
 
<tr>
772
 
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
773
 
<td>the file name</td>
774
 
</tr>
775
 
<tr>
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>
778
 
</tr>
779
 
</tbody>
780
 
</table></div>
781
 
</div>
782
 
<hr>
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>
 
812
<p>
 
813
</p>
 
814
</div>
 
815
<hr>
 
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>
 
820
<p>
 
821
</p>
 
822
</div>
 
823
<hr>
 
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>
 
829
<p>
 
830
</p>
 
831
</div>
 
832
<hr>
 
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>
788
837
<p>
789
838
</p>
790
839
</div>
791
840
<hr>
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>
796
 
<p>
797
 
</p>
798
 
</div>
799
 
<hr>
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>
804
 
<p>
805
 
</p>
806
 
</div>
807
 
<hr>
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>
811
 
<p>
812
 
</p>
813
 
</div>
814
 
<hr>
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>
819
 
<p>
820
 
</p>
821
 
</div>
822
 
<hr>
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>
827
 
<p>
828
 
</p>
829
 
</div>
830
 
<hr>
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>
834
 
<p>
835
 
Expand environment variables $(var_name) and tilde (~) in the input string.
836
 
</p>
837
 
<div class="variablelist"><table border="0">
838
 
<col align="left" valign="top">
839
 
<tbody>
840
 
<tr>
841
 
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
842
 
<td>input string</td>
843
 
</tr>
844
 
<tr>
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>
847
 
</tr>
848
 
</tbody>
849
 
</table></div>
850
 
</div>
851
 
<hr>
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>
856
 
<p>
857
 
</p>
858
 
</div>
859
 
<hr>
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>
865
 
<p>
866
 
</p>
867
 
</div>
868
 
<hr>
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>
873
 
<p>
874
 
</p>
875
 
</div>
876
 
<hr>
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>
881
 
<p>
882
 
</p>
883
 
</div>
884
 
<hr>
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>
890
 
<p>
891
 
</p>
892
 
</div>
893
 
<hr>
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>
897
 
<p>
898
 
</p>
899
 
</div>
900
 
<hr>
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>
904
 
<p>
905
 
Retrieves the user's preferred shell.
906
 
</p>
907
 
<div class="variablelist"><table border="0">
908
 
<col align="left" valign="top">
909
 
<tbody><tr>
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>
912
 
</tr></tbody>
913
 
</table></div>
914
 
</div>
915
 
<hr>
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>
919
 
<p>
920
 
Retrieves the user's preferred terminal.
921
 
</p>
922
 
<div class="variablelist"><table border="0">
923
 
<col align="left" valign="top">
924
 
<tbody><tr>
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>
929
 
</tr></tbody>
 
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>
 
845
<p>
 
846
</p>
 
847
</div>
 
848
<hr>
 
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>
 
853
<p>
 
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.
 
857
</p>
 
858
<div class="variablelist"><table border="0" class="variablelist">
 
859
<colgroup>
 
860
<col align="left" valign="top">
 
861
<col>
 
862
</colgroup>
 
863
<tbody>
 
864
<tr>
 
865
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
 
866
<td>Builder file name to open</td>
 
867
</tr>
 
868
<tr>
 
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>
 
871
</tr>
 
872
<tr>
 
873
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
874
<td>The new GtkBuilder object</td>
 
875
</tr>
 
876
</tbody>
 
877
</table></div>
 
878
</div>
 
879
<hr>
 
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>
 
885
<p>
 
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.
 
889
</p>
 
890
<div class="variablelist"><table border="0" class="variablelist">
 
891
<colgroup>
 
892
<col align="left" valign="top">
 
893
<col>
 
894
</colgroup>
 
895
<tbody>
 
896
<tr>
 
897
<td><p><span class="term"><em class="parameter"><code>builder</code></em> :</span></p></td>
 
898
<td>Builder object</td>
 
899
</tr>
 
900
<tr>
 
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>
 
905
</td>
 
906
</tr>
 
907
<tr>
 
908
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
909
<td>
 
910
<code class="literal">TRUE</code> is everything works as expected.</td>
 
911
</tr>
 
912
</tbody>
930
913
</table></div>
931
914
</div>
932
915
<hr>
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>
936
919
<p>
937
920
Create a list of valid uri's from a uri-list drop.
938
921
</p>
939
 
<div class="variablelist"><table border="0">
 
922
<div class="variablelist"><table border="0" class="variablelist">
 
923
<colgroup>
940
924
<col align="left" valign="top">
 
925
<col>
 
926
</colgroup>
941
927
<tbody>
942
928
<tr>
943
929
<td><p><span class="term"><em class="parameter"><code>selection_data</code></em> :</span></p></td>
951
937
</tbody>
952
938
</table></div>
953
939
</div>
 
940
<hr>
 
941
<div class="refsect2">
 
942
<a name="anjuta-util-clone-string-gptrarray"></a><h3>anjuta_util_clone_string_gptrarray ()</h3>
 
943
<pre class="programlisting"><span class="returnvalue">GPtrArray</span> *         anjuta_util_clone_string_gptrarray  (<em class="parameter"><code>const <span class="type">GPtrArray</span> *source</code></em>);</pre>
 
944
<p>
 
945
</p>
 
946
</div>
 
947
<hr>
 
948
<div class="refsect2">
 
949
<a name="ANJUTA-TYPE-BEGIN:CAPS"></a><h3>ANJUTA_TYPE_BEGIN()</h3>
 
950
<pre class="programlisting">#define             ANJUTA_TYPE_BEGIN(class_name, prefix, parent_type)</pre>
 
951
<p>
 
952
Create a new GObject for Anjuta. You can use ANJUTA_TYPE_ADD_INTERFACE
 
953
to add interfaces to it and should close it using ANJUTA_TYPE_END
 
954
</p>
 
955
<div class="variablelist"><table border="0" class="variablelist">
 
956
<colgroup>
 
957
<col align="left" valign="top">
 
958
<col>
 
959
</colgroup>
 
960
<tbody>
 
961
<tr>
 
962
<td><p><span class="term"><em class="parameter"><code>class_name</code></em> :</span></p></td>
 
963
<td>Name of the object</td>
 
964
</tr>
 
965
<tr>
 
966
<td><p><span class="term"><em class="parameter"><code>prefix</code></em> :</span></p></td>
 
967
<td>Prefix used for object methods</td>
 
968
</tr>
 
969
<tr>
 
970
<td><p><span class="term"><em class="parameter"><code>parent_type</code></em> :</span></p></td>
 
971
<td>The parent type of the object</td>
 
972
</tr>
 
973
</tbody>
 
974
</table></div>
 
975
</div>
 
976
<hr>
 
977
<div class="refsect2">
 
978
<a name="ANJUTA-TYPE-END:CAPS"></a><h3>ANJUTA_TYPE_END</h3>
 
979
<pre class="programlisting">#define             ANJUTA_TYPE_END</pre>
 
980
<p>
 
981
Ends a declaration that began with ANJUTA_TYPE_BEGIN
 
982
</p>
 
983
</div>
 
984
<hr>
 
985
<div class="refsect2">
 
986
<a name="ANJUTA-TYPE-ADD-INTERFACE:CAPS"></a><h3>ANJUTA_TYPE_ADD_INTERFACE()</h3>
 
987
<pre class="programlisting">#define             ANJUTA_TYPE_ADD_INTERFACE(prefix,interface_type)</pre>
 
988
<p>
 
989
Adds an interface to a declaration started with ANJUTA_TYPE_BEGIN
 
990
</p>
 
991
<div class="variablelist"><table border="0" class="variablelist">
 
992
<colgroup>
 
993
<col align="left" valign="top">
 
994
<col>
 
995
</colgroup>
 
996
<tbody>
 
997
<tr>
 
998
<td><p><span class="term"><em class="parameter"><code>prefix</code></em> :</span></p></td>
 
999
<td>Prefix for the interface methods</td>
 
1000
</tr>
 
1001
<tr>
 
1002
<td><p><span class="term"><em class="parameter"><code>interface_type</code></em> :</span></p></td>
 
1003
<td>Type of the interface to implement</td>
 
1004
</tr>
 
1005
</tbody>
 
1006
</table></div>
 
1007
</div>
 
1008
<hr>
 
1009
<div class="refsect2">
 
1010
<a name="ANJUTA-TYPE-BOILERPLATE:CAPS"></a><h3>ANJUTA_TYPE_BOILERPLATE()</h3>
 
1011
<pre class="programlisting">#define             ANJUTA_TYPE_BOILERPLATE(class_name, prefix, parent_type)</pre>
 
1012
<p>
 
1013
Simpliefied version of ANJUTA_TYPE_BEGIN that just creates an Object
 
1014
without interfaces and doesn't need ANJUTA_TYPE_END
 
1015
</p>
 
1016
<div class="variablelist"><table border="0" class="variablelist">
 
1017
<colgroup>
 
1018
<col align="left" valign="top">
 
1019
<col>
 
1020
</colgroup>
 
1021
<tbody>
 
1022
<tr>
 
1023
<td><p><span class="term"><em class="parameter"><code>class_name</code></em> :</span></p></td>
 
1024
<td>Name of the object</td>
 
1025
</tr>
 
1026
<tr>
 
1027
<td><p><span class="term"><em class="parameter"><code>prefix</code></em> :</span></p></td>
 
1028
<td>Prefix for the class methods</td>
 
1029
</tr>
 
1030
<tr>
 
1031
<td><p><span class="term"><em class="parameter"><code>parent_type</code></em> :</span></p></td>
 
1032
<td>Parent type for object</td>
 
1033
</tr>
 
1034
</tbody>
 
1035
</table></div>
 
1036
</div>
954
1037
</div>
955
1038
</div>
956
1039
<div class="footer">
957
1040
<hr>
958
 
          Generated by GTK-Doc V1.18</div>
 
1041
          Generated by GTK-Doc V1.19</div>
959
1042
</body>
960
1043
</html>
 
 
b'\\ No newline at end of file'