1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>IdeProjectItem: LibIDE Reference Manual</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
<link rel="home" href="index.html" title="LibIDE Reference Manual">
8
<link rel="up" href="ch07.html" title="Working with Projects">
9
<link rel="prev" href="libide-ide-project.html" title="ide-project">
10
<link rel="next" href="libide-ide-project-files.html" title="ide-project-files">
11
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
<td width="100%" align="left" class="shortcuts">
17
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
18
<a href="#IdeProjectItem.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
19
<a href="#IdeProjectItem.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span>
20
<a href="#IdeProjectItem.properties" class="shortcut">Properties</a></span>
22
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
23
<td><a accesskey="u" href="ch07.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24
<td><a accesskey="p" href="libide-ide-project.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25
<td><a accesskey="n" href="libide-ide-project-files.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
27
<div class="refentry">
28
<a name="IdeProjectItem"></a><div class="titlepage"></div>
29
<div class="refnamediv"><table width="100%"><tr>
31
<h2><span class="refentrytitle"><a name="IdeProjectItem.top_of_page"></a>IdeProjectItem</span></h2>
34
<td class="gallery_image" valign="top" align="right"></td>
36
<div class="refsect1">
37
<a name="IdeProjectItem.functions"></a><h2>Functions</h2>
38
<div class="informaltable"><table width="100%" border="0">
40
<col width="150px" class="functions_return">
41
<col class="functions_name">
45
<td class="define_keyword">#define</td>
46
<td class="function_name"><a class="link" href="IdeProjectItem.html#IDE-TYPE-PROJECT-ITEM:CAPS" title="IDE_TYPE_PROJECT_ITEM">IDE_TYPE_PROJECT_ITEM</a></td>
49
<td class="function_type">
50
<a class="link" href="IdeProjectItem.html" title="IdeProjectItem"><span class="returnvalue">IdeProjectItem</span></a> *
52
<td class="function_name">
53
<a class="link" href="IdeProjectItem.html#ide-project-item-get-parent" title="ide_project_item_get_parent ()">ide_project_item_get_parent</a> <span class="c_punctuation">()</span>
57
<td class="function_type">
58
<span class="returnvalue">void</span>
60
<td class="function_name">
61
<a class="link" href="IdeProjectItem.html#ide-project-item-append" title="ide_project_item_append ()">ide_project_item_append</a> <span class="c_punctuation">()</span>
65
<td class="function_type">
66
<span class="returnvalue">void</span>
68
<td class="function_name">
69
<a class="link" href="IdeProjectItem.html#ide-project-item-remove" title="ide_project_item_remove ()">ide_project_item_remove</a> <span class="c_punctuation">()</span>
73
<td class="function_type">
74
<span class="returnvalue">GSequence</span> *
76
<td class="function_name">
77
<a class="link" href="IdeProjectItem.html#ide-project-item-get-children" title="ide_project_item_get_children ()">ide_project_item_get_children</a> <span class="c_punctuation">()</span>
83
<div class="refsect1">
84
<a name="IdeProjectItem.properties"></a><h2>Properties</h2>
85
<div class="informaltable"><table border="0">
87
<col width="150px" class="properties_type">
88
<col width="300px" class="properties_name">
89
<col width="200px" class="properties_flags">
92
<td class="property_type">
93
<a class="link" href="IdeProjectItem.html" title="IdeProjectItem"><span class="type">IdeProjectItem</span></a> *</td>
94
<td class="property_name"><a class="link" href="IdeProjectItem.html#IdeProjectItem--parent" title="The “parent” property">parent</a></td>
95
<td class="property_flags">Read / Write</td>
99
<div class="refsect1">
100
<a name="IdeProjectItem.other"></a><h2>Types and Values</h2>
101
<div class="informaltable"><table width="100%" border="0">
103
<col width="150px" class="name">
104
<col class="description">
108
<td class="datatype_keyword">struct</td>
109
<td class="function_name"><a class="link" href="IdeProjectItem.html#IdeProjectItemClass" title="struct IdeProjectItemClass">IdeProjectItemClass</a></td>
112
<td class="datatype_keyword"> </td>
113
<td class="function_name"><a class="link" href="IdeProjectItem.html#IdeProjectItem-struct" title="IdeProjectItem">IdeProjectItem</a></td>
118
<div class="refsect1">
119
<a name="IdeProjectItem.object-hierarchy"></a><h2>Object Hierarchy</h2>
120
<pre class="screen"> GObject
121
<span class="lineart">╰──</span> <a class="link" href="IdeObject.html" title="IdeObject">IdeObject</a>
122
<span class="lineart">╰──</span> IdeProjectItem
123
<span class="lineart">├──</span> <a class="link" href="IdeProjectFile.html" title="IdeProjectFile">IdeProjectFile</a>
124
<span class="lineart">╰──</span> <a class="link" href="libide-ide-project-files.html#IdeProjectFiles">IdeProjectFiles</a>
127
<div class="refsect1">
128
<a name="IdeProjectItem.description"></a><h2>Description</h2>
130
<div class="refsect1">
131
<a name="IdeProjectItem.functions_details"></a><h2>Functions</h2>
132
<div class="refsect2">
133
<a name="IDE-TYPE-PROJECT-ITEM:CAPS"></a><h3>IDE_TYPE_PROJECT_ITEM</h3>
134
<pre class="programlisting">#define IDE_TYPE_PROJECT_ITEM (ide_project_item_get_type())
138
<div class="refsect2">
139
<a name="ide-project-item-get-parent"></a><h3>ide_project_item_get_parent ()</h3>
140
<pre class="programlisting"><a class="link" href="IdeProjectItem.html" title="IdeProjectItem"><span class="returnvalue">IdeProjectItem</span></a> *
141
ide_project_item_get_parent (<em class="parameter"><code><a class="link" href="IdeProjectItem.html" title="IdeProjectItem"><span class="type">IdeProjectItem</span></a> *item</code></em>);</pre>
142
<p>Retrieves the parent <a class="link" href="IdeProjectItem.html" title="IdeProjectItem"><span class="type">IdeProjectItem</span></a> of <em class="parameter"><code>item</code></em>
143
, or <code class="literal">NULL</code> if <em class="parameter"><code>item</code></em>
145
of the project tree.</p>
146
<div class="refsect3">
147
<a name="id-1.2.8.3.8.3.5"></a><h4>Returns</h4>
148
<p> An <a class="link" href="IdeProjectItem.html" title="IdeProjectItem"><span class="type">IdeProjectItem</span></a> or <code class="literal">NULL</code> if the item
149
is the root of the tree. </p>
150
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
154
<div class="refsect2">
155
<a name="ide-project-item-append"></a><h3>ide_project_item_append ()</h3>
156
<pre class="programlisting"><span class="returnvalue">void</span>
157
ide_project_item_append (<em class="parameter"><code><a class="link" href="IdeProjectItem.html" title="IdeProjectItem"><span class="type">IdeProjectItem</span></a> *item</code></em>,
158
<em class="parameter"><code><a class="link" href="IdeProjectItem.html" title="IdeProjectItem"><span class="type">IdeProjectItem</span></a> *child</code></em>);</pre>
161
<div class="refsect2">
162
<a name="ide-project-item-remove"></a><h3>ide_project_item_remove ()</h3>
163
<pre class="programlisting"><span class="returnvalue">void</span>
164
ide_project_item_remove (<em class="parameter"><code><a class="link" href="IdeProjectItem.html" title="IdeProjectItem"><span class="type">IdeProjectItem</span></a> *item</code></em>,
165
<em class="parameter"><code><a class="link" href="IdeProjectItem.html" title="IdeProjectItem"><span class="type">IdeProjectItem</span></a> *child</code></em>);</pre>
168
<div class="refsect2">
169
<a name="ide-project-item-get-children"></a><h3>ide_project_item_get_children ()</h3>
170
<pre class="programlisting"><span class="returnvalue">GSequence</span> *
171
ide_project_item_get_children (<em class="parameter"><code><a class="link" href="IdeProjectItem.html" title="IdeProjectItem"><span class="type">IdeProjectItem</span></a> *item</code></em>);</pre>
172
<p>A scalable list containing the children of the item.</p>
173
<div class="refsect3">
174
<a name="id-1.2.8.3.8.6.5"></a><h4>Returns</h4>
175
<p> A <span class="type">GSequence</span>. </p>
176
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
180
<div class="refsect1">
181
<a name="IdeProjectItem.other_details"></a><h2>Types and Values</h2>
182
<div class="refsect2">
183
<a name="IdeProjectItemClass"></a><h3>struct IdeProjectItemClass</h3>
184
<pre class="programlisting">struct IdeProjectItemClass {
185
IdeObjectClass parent_class;
190
<div class="refsect2">
191
<a name="IdeProjectItem-struct"></a><h3>IdeProjectItem</h3>
192
<pre class="programlisting">typedef struct _IdeProjectItem IdeProjectItem;</pre>
195
<div class="refsect1">
196
<a name="IdeProjectItem.property-details"></a><h2>Property Details</h2>
197
<div class="refsect2">
198
<a name="IdeProjectItem--parent"></a><h3>The <code class="literal">“parent”</code> property</h3>
199
<pre class="programlisting"> “parent” <a class="link" href="IdeProjectItem.html" title="IdeProjectItem"><span class="type">IdeProjectItem</span></a> *</pre>
200
<p>The parent project item, if not the root.</p>
201
<p>Flags: Read / Write</p>
207
Generated by GTK-Doc V1.21.1</div>
b'\\ No newline at end of file'