8
8
<link rel="up" href="rn01.html" title="API reference">
9
9
<link rel="prev" href="gtksourceview-2.0-completioncontext.html" title="GtkSourceCompletionContext">
10
10
<link rel="next" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem">
11
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
53
53
(<em class="parameter"><code><span class="type">void</span></code></em>);
54
54
<span class="returnvalue">void</span> <a class="link" href="GtkSourceCompletionInfo.html#gtk-source-completion-info-move-to-iter" title="gtk_source_completion_info_move_to_iter ()">gtk_source_completion_info_move_to_iter</a>
55
55
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>,
56
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkTextView.html"><span class="type">GtkTextView</span></a> *view</code></em>,
57
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>);
56
<em class="parameter"><code><span class="type">GtkTextView</span> *view</code></em>,
57
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>);
58
58
<span class="returnvalue">void</span> <a class="link" href="GtkSourceCompletionInfo.html#gtk-source-completion-info-set-sizing" title="gtk_source_completion_info_set_sizing ()">gtk_source_completion_info_set_sizing</a>
59
59
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>,
60
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
61
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
62
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shrink_width</code></em>,
63
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shrink_height</code></em>);
60
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
61
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
62
<em class="parameter"><code><span class="type">gboolean</span> shrink_width</code></em>,
63
<em class="parameter"><code><span class="type">gboolean</span> shrink_height</code></em>);
64
64
<span class="returnvalue">void</span> <a class="link" href="GtkSourceCompletionInfo.html#gtk-source-completion-info-set-widget" title="gtk_source_completion_info_set_widget ()">gtk_source_completion_info_set_widget</a>
65
65
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>,
66
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>);
67
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkSourceCompletionInfo.html#gtk-source-completion-info-get-widget" title="gtk_source_completion_info_get_widget ()">gtk_source_completion_info_get_widget</a>
66
<em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>);
67
<span class="returnvalue">GtkWidget</span> * <a class="link" href="GtkSourceCompletionInfo.html#gtk-source-completion-info-get-widget" title="gtk_source_completion_info_get_widget ()">gtk_source_completion_info_get_widget</a>
68
68
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>);
69
69
<span class="returnvalue">void</span> <a class="link" href="GtkSourceCompletionInfo.html#gtk-source-completion-info-process-resize" title="gtk_source_completion_info_process_resize ()">gtk_source_completion_info_process_resize</a>
70
70
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>);
73
73
<div class="refsect1" title="Object Hierarchy">
74
74
<a name="GtkSourceCompletionInfo.object-hierarchy"></a><h2>Object Hierarchy</h2>
75
75
<pre class="synopsis">
76
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
77
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
78
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html">GtkObject</a>
79
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html">GtkWidget</a>
80
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html">GtkContainer</a>
81
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkBin.html">GtkBin</a>
82
+----<a href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html">GtkWindow</a>
77
+----GInitiallyUnowned
83
83
+----GtkSourceCompletionInfo
87
87
<a name="GtkSourceCompletionInfo.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
89
89
GtkSourceCompletionInfo implements
90
AtkImplementorIface and <a href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a>.</p>
90
AtkImplementorIface and GtkBuildable.</p>
92
92
<div class="refsect1" title="Properties">
93
93
<a name="GtkSourceCompletionInfo.properties"></a><h2>Properties</h2>
94
94
<pre class="synopsis">
95
"<a class="link" href="GtkSourceCompletionInfo.html#GtkSourceCompletionInfo--max-height" title='The "max-height" property'>max-height</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write / Construct
96
"<a class="link" href="GtkSourceCompletionInfo.html#GtkSourceCompletionInfo--max-width" title='The "max-width" property'>max-width</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write / Construct
97
"<a class="link" href="GtkSourceCompletionInfo.html#GtkSourceCompletionInfo--shrink-height" title='The "shrink-height" property'>shrink-height</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct
98
"<a class="link" href="GtkSourceCompletionInfo.html#GtkSourceCompletionInfo--shrink-width" title='The "shrink-width" property'>shrink-width</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct
95
"<a class="link" href="GtkSourceCompletionInfo.html#GtkSourceCompletionInfo--max-height" title='The "max-height" property'>max-height</a>" <span class="type">gint</span> : Read / Write / Construct
96
"<a class="link" href="GtkSourceCompletionInfo.html#GtkSourceCompletionInfo--max-width" title='The "max-width" property'>max-width</a>" <span class="type">gint</span> : Read / Write / Construct
97
"<a class="link" href="GtkSourceCompletionInfo.html#GtkSourceCompletionInfo--shrink-height" title='The "shrink-height" property'>shrink-height</a>" <span class="type">gboolean</span> : Read / Write / Construct
98
"<a class="link" href="GtkSourceCompletionInfo.html#GtkSourceCompletionInfo--shrink-width" title='The "shrink-width" property'>shrink-width</a>" <span class="type">gboolean</span> : Read / Write / Construct
101
101
<div class="refsect1" title="Signals">
137
139
<a name="gtk-source-completion-info-move-to-iter"></a><h3>gtk_source_completion_info_move_to_iter ()</h3>
138
140
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_completion_info_move_to_iter
139
141
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>,
140
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkTextView.html"><span class="type">GtkTextView</span></a> *view</code></em>,
141
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
142
<em class="parameter"><code><span class="type">GtkTextView</span> *view</code></em>,
143
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>);</pre>
143
Moves the <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> to <em class="parameter"><code>iter</code></em>. If <em class="parameter"><code>iter</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <em class="parameter"><code>info</code></em> is
144
moved to the cursor position. Moving will respect the <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Windows.html#GdkGravity"><span class="type">GdkGravity</span></a> setting
145
Moves the <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> to <em class="parameter"><code>iter</code></em>. If <em class="parameter"><code>iter</code></em> is <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> <em class="parameter"><code>info</code></em> is
146
moved to the cursor position. Moving will respect the <span class="type">GdkGravity</span> setting
145
147
of the info window and will ensure the line at <em class="parameter"><code>iter</code></em> is not occluded by
157
159
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
158
<td>A <a href="http://library.gnome.org/devel/gtk/unstable/GtkTextView.html"><span class="type">GtkTextView</span></a> on which the info window should be positioned
160
<td>A <span class="type">GtkTextView</span> on which the info window should be positioned
162
164
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
163
<td>A <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a>
165
<td>A <span class="type">GtkTextIter</span>
171
173
<a name="gtk-source-completion-info-set-sizing"></a><h3>gtk_source_completion_info_set_sizing ()</h3>
172
174
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_completion_info_set_sizing
173
175
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>,
174
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>,
175
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>,
176
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shrink_width</code></em>,
177
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> shrink_height</code></em>);</pre>
176
<em class="parameter"><code><span class="type">gint</span> width</code></em>,
177
<em class="parameter"><code><span class="type">gint</span> height</code></em>,
178
<em class="parameter"><code><span class="type">gboolean</span> shrink_width</code></em>,
179
<em class="parameter"><code><span class="type">gboolean</span> shrink_height</code></em>);</pre>
179
181
Set sizing information for the info window. If <em class="parameter"><code>shrink_width</code></em> or
180
<em class="parameter"><code>shrink_height</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the info window will try to resize to fit the
182
<em class="parameter"><code>shrink_height</code></em> is <code class="literal">TRUE</code>, the info window will try to resize to fit the
181
183
window contents, with a maximum size given by <em class="parameter"><code>width</code></em> and <em class="parameter"><code>height</code></em>. Setting
182
184
<em class="parameter"><code>width</code></em> or <em class="parameter"><code>height</code></em> to -1 removes the maximum size of respectively the width
183
185
and height of the window.
219
221
<a name="gtk-source-completion-info-set-widget"></a><h3>gtk_source_completion_info_set_widget ()</h3>
220
222
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_completion_info_set_widget
221
223
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>,
222
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
224
<em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>);</pre>
224
226
Sets the content widget of the info window. If <em class="parameter"><code>widget</code></em> does not fit within
225
the size requirements of the window, a <a href="http://library.gnome.org/devel/gtk/unstable/GtkScrolledWindow.html"><span class="type">GtkScrolledWindow</span></a> will automatically
227
the size requirements of the window, a <span class="type">GtkScrolledWindow</span> will automatically
226
228
be created and added to the window.
228
230
<div class="variablelist"><table border="0">
245
247
<div class="refsect2" title="gtk_source_completion_info_get_widget ()">
246
248
<a name="gtk-source-completion-info-get-widget"></a><h3>gtk_source_completion_info_get_widget ()</h3>
247
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gtk_source_completion_info_get_widget
249
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * gtk_source_completion_info_get_widget
248
250
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>);</pre>
250
252
Get the current content widget.
271
273
<a name="gtk-source-completion-info-process-resize"></a><h3>gtk_source_completion_info_process_resize ()</h3>
272
274
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_completion_info_process_resize
273
275
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>);</pre>
278
<div class="variablelist"><table border="0">
279
<col align="left" valign="top">
281
<td><p><span class="term"><em class="parameter"><code>info</code></em> :</span></p></td>
276
288
<div class="refsect1" title="Property Details">
277
289
<a name="GtkSourceCompletionInfo.property-details"></a><h2>Property Details</h2>
278
290
<div class="refsect2" title='The "max-height" property'>
279
291
<a name="GtkSourceCompletionInfo--max-height"></a><h3>The <code class="literal">"max-height"</code> property</h3>
280
<pre class="programlisting"> "max-height" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write / Construct</pre>
292
<pre class="programlisting"> "max-height" <span class="type">gint</span> : Read / Write / Construct</pre>
281
293
<p>The maximum allowed height.</p>
282
294
<p>Allowed values: >= G_MAXULONG</p>
283
295
<p>Default value: -1</p>
286
298
<div class="refsect2" title='The "max-width" property'>
287
299
<a name="GtkSourceCompletionInfo--max-width"></a><h3>The <code class="literal">"max-width"</code> property</h3>
288
<pre class="programlisting"> "max-width" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write / Construct</pre>
300
<pre class="programlisting"> "max-width" <span class="type">gint</span> : Read / Write / Construct</pre>
289
301
<p>The maximum allowed width.</p>
290
302
<p>Allowed values: >= G_MAXULONG</p>
291
303
<p>Default value: -1</p>
294
306
<div class="refsect2" title='The "shrink-height" property'>
295
307
<a name="GtkSourceCompletionInfo--shrink-height"></a><h3>The <code class="literal">"shrink-height"</code> property</h3>
296
<pre class="programlisting"> "shrink-height" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct</pre>
308
<pre class="programlisting"> "shrink-height" <span class="type">gboolean</span> : Read / Write / Construct</pre>
297
309
<p>Whether the window should shrink height to fit the contents.</p>
298
310
<p>Default value: TRUE</p>
301
313
<div class="refsect2" title='The "shrink-width" property'>
302
314
<a name="GtkSourceCompletionInfo--shrink-width"></a><h3>The <code class="literal">"shrink-width"</code> property</h3>
303
<pre class="programlisting"> "shrink-width" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct</pre>
315
<pre class="programlisting"> "shrink-width" <span class="type">gboolean</span> : Read / Write / Construct</pre>
304
316
<p>Whether the window should shrink width to fit the contents.</p>
305
317
<p>Default value: TRUE</p>
310
322
<div class="refsect2" title='The "before-show" signal'>
311
323
<a name="GtkSourceCompletionInfo-before-show"></a><h3>The <code class="literal">"before-show"</code> signal</h3>
312
324
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *sourcecompletioninfo,
313
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Action</pre>
325
<span class="type">gpointer</span> user_data) : Run Last / Action</pre>
328
<div class="variablelist"><table border="0">
329
<col align="left" valign="top">
332
<td><p><span class="term"><em class="parameter"><code>sourcecompletioninfo</code></em> :</span></p></td>
333
<td>the object which received the signal.
337
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
338
<td>user data set when the signal handler was connected.</td>
317
345
<div class="footer">
319
Generated by GTK-Doc V1.14</div>
347
Generated by GTK-Doc V1.15.1</div>
b'\\ No newline at end of file'