gtksourceview3 2.2.5-x64-mingw32 → 3.0.0-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +3 -4
- data/lib/gtksourceview3/loader.rb +46 -0
- data/lib/gtksourceview3/mark-attributes.rb +29 -0
- data/lib/gtksourceview3.rb +47 -12
- data/test/run-test.rb +2 -0
- data/test/{test_mark_attributes.rb → test-mark-attributes.rb} +1 -1
- data/test/{test_source_gutter_renderer.rb → test-source-gutter-renderer.rb} +0 -0
- data/test/{test_source_language_manager.rb → test-source-language-manager.rb} +6 -6
- data/test/{test_source_view.rb → test-source-view.rb} +1 -1
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksource.h +3 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +4 -5
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +1 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +0 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcesearchcontext.h +5 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +5 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooser.h +60 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserbutton.h +56 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschemechooserwidget.h +56 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +13 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview-typebuiltins.h +5 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +41 -14
- data/vendor/local/lib/girepository-1.0/GtkSource-3.0.typelib +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.dll.a +0 -0
- data/vendor/local/lib/libgtksourceview-3.0.la +3 -3
- data/vendor/local/lib/locale/bs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/cs/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/da/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/de/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/el/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/es/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/eu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/fr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/gl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/he/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/hu/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/id/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/it/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/kk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ko/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lt/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/lv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/nb/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/pt_BR/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ru/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sk/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sl/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sr@latin/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/sv/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/tr/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_TW/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/pkgconfig/gtksourceview-3.0.pc +2 -2
- data/vendor/local/share/gir-1.0/GtkSource-3.0.gir +501 -39
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +186 -132
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +29 -23
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +39 -39
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +35 -35
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceEncoding.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFile.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileLoader.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceFileSaver.html +32 -32
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +28 -28
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +141 -133
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +17 -17
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +42 -42
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +89 -89
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchContext.html +155 -56
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceSearchSettings.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +17 -19
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooser.html +215 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserButton.html +129 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeChooserWidget.html +129 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +27 -26
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +751 -327
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-0.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-10.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-12.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-16.html +107 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-3-4.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-deprecated.html +1 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +89 -1
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +9 -90
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +25 -16
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch03.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch04.html +44 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch05.html +50 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch06.html +33 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch07.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch08.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0-GtkSourceUtils.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +253 -161
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +57 -25
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +295 -190
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +73 -30
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +13 -9
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt01.html +153 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/pt02.html +50 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +3 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/c.lang +4 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/cmake.lang +234 -125
- data/vendor/local/share/gtksourceview-3.0/language-specs/css.lang +1 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/cuda.lang +247 -257
- data/vendor/local/share/gtksourceview-3.0/language-specs/fortran.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/genie.lang +238 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/java.lang +4 -3
- data/vendor/local/share/gtksourceview-3.0/language-specs/javascript.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/json.lang +3 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/lua.lang +150 -5
- data/vendor/local/share/gtksourceview-3.0/language-specs/matlab.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/octave.lang +1008 -172
- data/vendor/local/share/gtksourceview-3.0/language-specs/pig.lang +283 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/protobuf.lang +2 -1
- data/vendor/local/share/gtksourceview-3.0/language-specs/thrift.lang +267 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/xslt.lang +13 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/yacc.lang +1 -1
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +2 -0
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +3 -0
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +1 -0
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +3 -0
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-dark.xml +3 -1
- data/vendor/local/share/gtksourceview-3.0/styles/solarized-light.xml +3 -1
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +2 -0
- data/vendor/local/share/license/gtksourceview/AUTHORS +7 -5
- metadata +43 -35
- data/ext/gtksourceview3/depend +0 -6
- data/ext/gtksourceview3/extconf.rb +0 -67
- data/ext/gtksourceview3/gtksourceview3.def +0 -2
- data/ext/gtksourceview3/rbgtksource.c +0 -53
- data/ext/gtksourceview3/rbgtksourcebuffer.c +0 -318
- data/ext/gtksourceview3/rbgtksourcegutter.c +0 -82
- data/ext/gtksourceview3/rbgtksourcegutterrenderer.c +0 -143
- data/ext/gtksourceview3/rbgtksourcegutterrendererpixbuf.c +0 -42
- data/ext/gtksourceview3/rbgtksourcegutterrenderertext.c +0 -40
- data/ext/gtksourceview3/rbgtksourcelanguage.c +0 -124
- data/ext/gtksourceview3/rbgtksourcelanguagemanager.c +0 -114
- data/ext/gtksourceview3/rbgtksourcemark.c +0 -85
- data/ext/gtksourceview3/rbgtksourcemarkattributes.c +0 -77
- data/ext/gtksourceview3/rbgtksourceprintcompositor.c +0 -171
- data/ext/gtksourceview3/rbgtksourcestyle.c +0 -42
- data/ext/gtksourceview3/rbgtksourcestylescheme.c +0 -72
- data/ext/gtksourceview3/rbgtksourcestyleschememanager.c +0 -140
- data/ext/gtksourceview3/rbgtksourceundomanager.c +0 -83
- data/ext/gtksourceview3/rbgtksourceview.c +0 -94
- data/ext/gtksourceview3/rbgtksourceview3conversions.h +0 -50
- data/ext/gtksourceview3/rbgtksourceview3private.h +0 -53
- data/extconf.rb +0 -49
- data/lib/2.0/gtksourceview3.so +0 -0
- data/lib/2.1/gtksourceview3.so +0 -0
- data/lib/2.2/gtksourceview3.so +0 -0
- data/sample/sourcelanguagemanager.rb +0 -21
- data/sample/test.rb +0 -32
@@ -2,10 +2,10 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>GtkSourceView 3 Reference Manual
|
5
|
+
<title>GtkSourceCompletionContext: GtkSourceView 3 Reference Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
-
<link rel="up" href="
|
8
|
+
<link rel="up" href="ch03.html" title="Completion">
|
9
9
|
<link rel="prev" href="GtkSourceCompletion.html" title="GtkSourceCompletion">
|
10
10
|
<link rel="next" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo">
|
11
11
|
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
@@ -21,7 +21,7 @@
|
|
21
21
|
<a href="#GtkSourceCompletionContext.signals" class="shortcut">Signals</a></span>
|
22
22
|
</td>
|
23
23
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
24
|
-
<td><a accesskey="u" href="
|
24
|
+
<td><a accesskey="u" href="ch03.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
25
25
|
<td><a accesskey="p" href="GtkSourceCompletion.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
26
26
|
<td><a accesskey="n" href="GtkSourceCompletionInfo.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
27
27
|
</tr></table>
|
@@ -52,7 +52,7 @@
|
|
52
52
|
</tr>
|
53
53
|
<tr>
|
54
54
|
<td class="function_type">
|
55
|
-
<span class="returnvalue">
|
55
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
56
56
|
</td>
|
57
57
|
<td class="function_name">
|
58
58
|
<a class="link" href="GtkSourceCompletionContext.html#gtk-source-completion-context-get-iter" title="gtk_source_completion_context_get_iter ()">gtk_source_completion_context_get_iter</a> <span class="c_punctuation">()</span>
|
@@ -91,7 +91,7 @@
|
|
91
91
|
</tr>
|
92
92
|
<tr>
|
93
93
|
<td class="property_type">
|
94
|
-
<a href="
|
94
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *</td>
|
95
95
|
<td class="property_name"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext--iter" title="The “iter” property">iter</a></td>
|
96
96
|
<td class="property_flags">Read / Write</td>
|
97
97
|
</tr>
|
@@ -109,7 +109,7 @@
|
|
109
109
|
<tbody><tr>
|
110
110
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
111
111
|
<td class="signal_name"><a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext-cancelled" title="The “cancelled” signal">cancelled</a></td>
|
112
|
-
<td class="signal_flags">Action</td>
|
112
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
113
113
|
</tr></tbody>
|
114
114
|
</table></div>
|
115
115
|
</div>
|
@@ -157,7 +157,7 @@ context is destroyed.</p>
|
|
157
157
|
visible, and the user can choose a proposal. If the user is not happy with
|
158
158
|
the shown proposals, he or she can insert or delete characters, to modify the
|
159
159
|
completion context and therefore hoping to see the proposal he or she wants.
|
160
|
-
This means that when an insertion or deletion occurs in the <a href="
|
160
|
+
This means that when an insertion or deletion occurs in the <a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a>
|
161
161
|
when the completion window is visible, the eligible providers are again asked
|
162
162
|
to add proposals. The <a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext--activation" title="The “activation” property"><span class="type">“activation”</span></a> remains the
|
163
163
|
same in this case.</p>
|
@@ -173,9 +173,9 @@ there are no proposals anymore. What the user wants is to delete the last
|
|
173
173
|
character, and see the previous proposals. If the completion window
|
174
174
|
disappears, the previous proposals will not reappear on the character
|
175
175
|
deletion.</p>
|
176
|
-
<p>A <a href="
|
177
|
-
takes place. With this <a href="
|
178
|
-
<a href="
|
176
|
+
<p>A <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> is associated with the context, this is where the completion
|
177
|
+
takes place. With this <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>, you can get the associated
|
178
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a> with <a href="http://developer.gnome.org/gtk2/GtkTextIter.html#gtk-text-iter-get-buffer"><code class="function">gtk_text_iter_get_buffer()</code></a>.</p>
|
179
179
|
</div>
|
180
180
|
<div class="refsect1">
|
181
181
|
<a name="GtkSourceCompletionContext.functions_details"></a><h2>Functions</h2>
|
@@ -196,7 +196,7 @@ once each population (even if no proposals need to be added).
|
|
196
196
|
Population occurs when the <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-populate" title="gtk_source_completion_provider_populate ()"><code class="function">gtk_source_completion_provider_populate()</code></a>
|
197
197
|
function is called.</p>
|
198
198
|
<div class="refsect3">
|
199
|
-
<a name="id-1.2.4.10.2.5"></a><h4>Parameters</h4>
|
199
|
+
<a name="id-1.2.4.3.10.2.5"></a><h4>Parameters</h4>
|
200
200
|
<div class="informaltable"><table width="100%" border="0">
|
201
201
|
<colgroup>
|
202
202
|
<col width="150px" class="parameters_name">
|
@@ -231,14 +231,14 @@ function is called.</p>
|
|
231
231
|
<hr>
|
232
232
|
<div class="refsect2">
|
233
233
|
<a name="gtk-source-completion-context-get-iter"></a><h3>gtk_source_completion_context_get_iter ()</h3>
|
234
|
-
<pre class="programlisting"><span class="returnvalue">
|
234
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
235
235
|
gtk_source_completion_context_get_iter
|
236
236
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>,
|
237
|
-
<em class="parameter"><code><a href="
|
237
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
238
238
|
<p>Get the iter at which the completion was invoked. Providers can use this
|
239
239
|
to determine how and if to match proposals.</p>
|
240
240
|
<div class="refsect3">
|
241
|
-
<a name="id-1.2.4.10.3.5"></a><h4>Parameters</h4>
|
241
|
+
<a name="id-1.2.4.3.10.3.5"></a><h4>Parameters</h4>
|
242
242
|
<div class="informaltable"><table width="100%" border="0">
|
243
243
|
<colgroup>
|
244
244
|
<col width="150px" class="parameters_name">
|
@@ -253,12 +253,18 @@ to determine how and if to match proposals.</p>
|
|
253
253
|
</tr>
|
254
254
|
<tr>
|
255
255
|
<td class="parameter_name"><p>iter</p></td>
|
256
|
-
<td class="parameter_description"><p> a <a href="
|
256
|
+
<td class="parameter_description"><p> a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>. </p></td>
|
257
257
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
|
258
258
|
</tr>
|
259
259
|
</tbody>
|
260
260
|
</table></div>
|
261
261
|
</div>
|
262
|
+
<div class="refsect3">
|
263
|
+
<a name="id-1.2.4.3.10.3.6"></a><h4>Returns</h4>
|
264
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>iter</code></em>
|
265
|
+
is correctly set, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
266
|
+
<p></p>
|
267
|
+
</div>
|
262
268
|
</div>
|
263
269
|
<hr>
|
264
270
|
<div class="refsect2">
|
@@ -268,7 +274,7 @@ gtk_source_completion_context_get_activation
|
|
268
274
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>);</pre>
|
269
275
|
<p>Get the context activation.</p>
|
270
276
|
<div class="refsect3">
|
271
|
-
<a name="id-1.2.4.10.4.5"></a><h4>Parameters</h4>
|
277
|
+
<a name="id-1.2.4.3.10.4.5"></a><h4>Parameters</h4>
|
272
278
|
<div class="informaltable"><table width="100%" border="0">
|
273
279
|
<colgroup>
|
274
280
|
<col width="150px" class="parameters_name">
|
@@ -283,7 +289,7 @@ gtk_source_completion_context_get_activation
|
|
283
289
|
</table></div>
|
284
290
|
</div>
|
285
291
|
<div class="refsect3">
|
286
|
-
<a name="id-1.2.4.10.4.6"></a><h4>Returns</h4>
|
292
|
+
<a name="id-1.2.4.3.10.4.6"></a><h4>Returns</h4>
|
287
293
|
<p> The context activation.</p>
|
288
294
|
<p></p>
|
289
295
|
</div>
|
@@ -294,7 +300,7 @@ gtk_source_completion_context_get_activation
|
|
294
300
|
<div class="refsect2">
|
295
301
|
<a name="GtkSourceCompletionActivation"></a><h3>enum GtkSourceCompletionActivation</h3>
|
296
302
|
<div class="refsect3">
|
297
|
-
<a name="id-1.2.4.11.2.3"></a><h4>Members</h4>
|
303
|
+
<a name="id-1.2.4.3.11.2.3"></a><h4>Members</h4>
|
298
304
|
<div class="informaltable"><table width="100%" border="0">
|
299
305
|
<colgroup>
|
300
306
|
<col width="300px" class="enum_members_name">
|
@@ -313,7 +319,7 @@ gtk_source_completion_context_get_activation
|
|
313
319
|
<td class="enum_member_name"><p><a name="GTK-SOURCE-COMPLETION-ACTIVATION-INTERACTIVE:CAPS"></a>GTK_SOURCE_COMPLETION_ACTIVATION_INTERACTIVE</p></td>
|
314
320
|
<td class="enum_member_description">
|
315
321
|
<p>Interactive activation. By
|
316
|
-
default, it occurs on each insertion in the <a href="
|
322
|
+
default, it occurs on each insertion in the <a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a>. This can be
|
317
323
|
blocked temporarily with <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-block-interactive" title="gtk_source_completion_block_interactive ()"><code class="function">gtk_source_completion_block_interactive()</code></a>.</p>
|
318
324
|
</td>
|
319
325
|
<td class="enum_member_annotations"> </td>
|
@@ -356,8 +362,8 @@ By default, it occurs when the user presses</p>
|
|
356
362
|
<hr>
|
357
363
|
<div class="refsect2">
|
358
364
|
<a name="GtkSourceCompletionContext--iter"></a><h3>The <code class="literal">“iter”</code> property</h3>
|
359
|
-
<pre class="programlisting"> “iter” <a href="
|
360
|
-
<p>The <a href="
|
365
|
+
<pre class="programlisting"> “iter” <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *</pre>
|
366
|
+
<p>The <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> at which the completion is invoked.</p>
|
361
367
|
<p>Flags: Read / Write</p>
|
362
368
|
</div>
|
363
369
|
</div>
|
@@ -372,7 +378,7 @@ user_function (<a class="link" href="GtkSourceCompletionContext.html" title="Gtk
|
|
372
378
|
Providers adding proposals asynchronously should connect to this signal
|
373
379
|
to know when to cancel running proposal queries.</p>
|
374
380
|
<div class="refsect3">
|
375
|
-
<a name="id-1.2.4.13.2.5"></a><h4>Parameters</h4>
|
381
|
+
<a name="id-1.2.4.3.13.2.5"></a><h4>Parameters</h4>
|
376
382
|
<div class="informaltable"><table width="100%" border="0">
|
377
383
|
<colgroup>
|
378
384
|
<col width="150px" class="parameters_name">
|
@@ -386,7 +392,7 @@ to know when to cancel running proposal queries.</p>
|
|
386
392
|
</tr></tbody>
|
387
393
|
</table></div>
|
388
394
|
</div>
|
389
|
-
<p>Flags: Action</p>
|
395
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
390
396
|
</div>
|
391
397
|
</div>
|
392
398
|
</div>
|
@@ -2,10 +2,10 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>GtkSourceView 3 Reference Manual
|
5
|
+
<title>GtkSourceCompletionInfo: GtkSourceView 3 Reference Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
-
<link rel="up" href="
|
8
|
+
<link rel="up" href="ch03.html" title="Completion">
|
9
9
|
<link rel="prev" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext">
|
10
10
|
<link rel="next" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem">
|
11
11
|
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
@@ -21,7 +21,7 @@
|
|
21
21
|
<a href="#GtkSourceCompletionInfo.signals" class="shortcut">Signals</a></span>
|
22
22
|
</td>
|
23
23
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
24
|
-
<td><a accesskey="u" href="
|
24
|
+
<td><a accesskey="u" href="ch03.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
25
25
|
<td><a accesskey="p" href="GtkSourceCompletionContext.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
26
26
|
<td><a accesskey="n" href="GtkSourceCompletionItem.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
27
27
|
</tr></table>
|
@@ -68,7 +68,7 @@
|
|
68
68
|
</tr>
|
69
69
|
<tr>
|
70
70
|
<td class="function_type">
|
71
|
-
<a href="
|
71
|
+
<a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
72
72
|
</td>
|
73
73
|
<td class="function_name">
|
74
74
|
<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> <span class="c_punctuation">()</span>
|
@@ -88,7 +88,7 @@
|
|
88
88
|
<tbody><tr>
|
89
89
|
<td class="signal_type"><span class="returnvalue">void</span></td>
|
90
90
|
<td class="signal_name"><a class="link" href="GtkSourceCompletionInfo.html#GtkSourceCompletionInfo-before-show" title="The “before-show” signal">before-show</a></td>
|
91
|
-
<td class="signal_flags">Action</td>
|
91
|
+
<td class="signal_flags"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
92
92
|
</tr></tbody>
|
93
93
|
</table></div>
|
94
94
|
</div>
|
@@ -109,10 +109,10 @@
|
|
109
109
|
<a name="GtkSourceCompletionInfo.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
110
110
|
<pre class="screen"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
111
111
|
<span class="lineart">╰──</span> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
112
|
-
<span class="lineart">╰──</span> <a href="
|
113
|
-
<span class="lineart">╰──</span> <a href="
|
114
|
-
<span class="lineart">╰──</span> <a href="
|
115
|
-
<span class="lineart">╰──</span> <a href="
|
112
|
+
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk2/GtkWidget.html">GtkWidget</a>
|
113
|
+
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk2/GtkContainer.html">GtkContainer</a>
|
114
|
+
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk2/GtkBin.html">GtkBin</a>
|
115
|
+
<span class="lineart">╰──</span> <a href="http://developer.gnome.org/gtk2/GtkWindow.html">GtkWindow</a>
|
116
116
|
<span class="lineart">╰──</span> GtkSourceCompletionInfo
|
117
117
|
</pre>
|
118
118
|
</div>
|
@@ -120,7 +120,7 @@
|
|
120
120
|
<a name="GtkSourceCompletionInfo.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
121
121
|
<p>
|
122
122
|
GtkSourceCompletionInfo implements
|
123
|
-
AtkImplementorIface and <a href="
|
123
|
+
AtkImplementorIface and <a href="http://developer.gnome.org/gtk2/GtkBuildable.html">GtkBuildable</a>.</p>
|
124
124
|
</div>
|
125
125
|
<div class="refsect1">
|
126
126
|
<a name="GtkSourceCompletionInfo.includes"></a><h2>Includes</h2>
|
@@ -132,11 +132,11 @@ GtkSourceCompletionInfo implements
|
|
132
132
|
<p>This object can be used to show a calltip or help for the
|
133
133
|
current completion proposal.</p>
|
134
134
|
<p>The info window has always the same size as the natural size of its child
|
135
|
-
widget, added with <a href="
|
135
|
+
widget, added with <a href="http://developer.gnome.org/gtk2/GtkContainer.html#gtk-container-add"><code class="function">gtk_container_add()</code></a>. If you want a fixed size instead, a
|
136
136
|
possibility is to use a scrolled window, as the following example
|
137
137
|
demonstrates.</p>
|
138
138
|
<div class="example">
|
139
|
-
<a name="id-1.2.
|
139
|
+
<a name="id-1.2.4.4.9.4"></a><p class="title"><b>Example 1. Fixed size with a scrolled window.</b></p>
|
140
140
|
<div class="example-contents">
|
141
141
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
142
142
|
<tbody>
|
@@ -150,22 +150,22 @@ demonstrates.</p>
|
|
150
150
|
7</pre></td>
|
151
151
|
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkSourceCompletionInfo</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">info</span><span class="symbol">;</span>
|
152
152
|
<span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">your_widget</span><span class="symbol">;</span>
|
153
|
-
<span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">scrolled_window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="
|
153
|
+
<span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">scrolled_window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://developer.gnome.org/gtk2/GtkScrolledWindow.html#gtk-scrolled-window-new">gtk_scrolled_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
154
154
|
|
155
|
-
<span class="function"><a href="
|
156
|
-
<span class="function"><a href="
|
157
|
-
<span class="function"><a href="
|
155
|
+
<span class="function"><a href="http://developer.gnome.org/gtk2/GtkWidget.html#gtk-widget-set-size-request">gtk_widget_set_size_request</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scrolled_window</span><span class="symbol">,</span><span class="normal"> </span><span class="number">300</span><span class="symbol">,</span><span class="normal"> </span><span class="number">200</span><span class="symbol">);</span>
|
156
|
+
<span class="function"><a href="http://developer.gnome.org/gtk2/GtkContainer.html#gtk-container-add">gtk_container_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">scrolled_window</span><span class="symbol">),</span><span class="normal"> your_widget</span><span class="symbol">);</span>
|
157
|
+
<span class="function"><a href="http://developer.gnome.org/gtk2/GtkContainer.html#gtk-container-add">gtk_container_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">info</span><span class="symbol">),</span><span class="normal"> scrolled_window</span><span class="symbol">);</span></pre></td>
|
158
158
|
</tr>
|
159
159
|
</tbody>
|
160
160
|
</table>
|
161
161
|
</div>
|
162
162
|
|
163
163
|
</div>
|
164
|
-
<br class="example-break"><p>If the calltip is displayed on top of a certain widget, say a <a href="
|
165
|
-
you should attach the calltip window to the <a href="
|
166
|
-
<a href="
|
167
|
-
the <a href="
|
168
|
-
may also be interested by the <a href="
|
164
|
+
<br class="example-break"><p>If the calltip is displayed on top of a certain widget, say a <a href="http://developer.gnome.org/gtk2/GtkTextView.html"><span class="type">GtkTextView</span></a>,
|
165
|
+
you should attach the calltip window to the <a href="http://developer.gnome.org/gtk2/GtkTextView.html"><span class="type">GtkTextView</span></a> with
|
166
|
+
<a href="http://developer.gnome.org/gtk2/GtkWindow.html#gtk-window-set-attached-to"><code class="function">gtk_window_set_attached_to()</code></a>. By doing this, the calltip will be hidden when
|
167
|
+
the <a href="http://developer.gnome.org/gtk2/GtkWidget.html#GtkWidget-focus-out-event"><span class="type">“focus-out-event”</span></a> signal is emitted by the <a href="http://developer.gnome.org/gtk2/GtkTextView.html"><span class="type">GtkTextView</span></a>. You
|
168
|
+
may also be interested by the <a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html#GtkTextBuffer--cursor-position"><span class="type">“cursor-position”</span></a> property (when
|
169
169
|
its value is modified). If you use the <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> through the
|
170
170
|
<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> machinery, you don't need to worry about this.</p>
|
171
171
|
</div>
|
@@ -176,7 +176,7 @@ its value is modified). If you use the <a class="link" href="GtkSourceCompletion
|
|
176
176
|
<pre class="programlisting"><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="returnvalue">GtkSourceCompletionInfo</span></a> *
|
177
177
|
gtk_source_completion_info_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
178
178
|
<div class="refsect3">
|
179
|
-
<a name="id-1.2.
|
179
|
+
<a name="id-1.2.4.4.10.2.4"></a><h4>Returns</h4>
|
180
180
|
<p> a new GtkSourceCompletionInfo.</p>
|
181
181
|
<p></p>
|
182
182
|
</div>
|
@@ -187,18 +187,18 @@ gtk_source_completion_info_new (<em class="parameter"><code><span class="type">v
|
|
187
187
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
188
188
|
gtk_source_completion_info_move_to_iter
|
189
189
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>,
|
190
|
-
<em class="parameter"><code><a href="
|
191
|
-
<em class="parameter"><code><a href="
|
190
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextView.html"><span class="type">GtkTextView</span></a> *view</code></em>,
|
191
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
192
192
|
<p>Moves the <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> to <em class="parameter"><code>iter</code></em>
|
193
193
|
. If <em class="parameter"><code>iter</code></em>
|
194
194
|
is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> <em class="parameter"><code>info</code></em>
|
195
195
|
is
|
196
|
-
moved to the cursor position. Moving will respect the <span class="type">GdkGravity</span> setting
|
196
|
+
moved to the cursor position. Moving will respect the <a href="http://developer.gnome.org/gdk2/gdk3-Windows.html#GdkGravity"><span class="type">GdkGravity</span></a> setting
|
197
197
|
of the info window and will ensure the line at <em class="parameter"><code>iter</code></em>
|
198
198
|
is not occluded by
|
199
199
|
the window.</p>
|
200
200
|
<div class="refsect3">
|
201
|
-
<a name="id-1.2.
|
201
|
+
<a name="id-1.2.4.4.10.3.5"></a><h4>Parameters</h4>
|
202
202
|
<div class="informaltable"><table width="100%" border="0">
|
203
203
|
<colgroup>
|
204
204
|
<col width="150px" class="parameters_name">
|
@@ -213,12 +213,12 @@ the window.</p>
|
|
213
213
|
</tr>
|
214
214
|
<tr>
|
215
215
|
<td class="parameter_name"><p>view</p></td>
|
216
|
-
<td class="parameter_description"><p>a <a href="
|
216
|
+
<td class="parameter_description"><p>a <a href="http://developer.gnome.org/gtk2/GtkTextView.html"><span class="type">GtkTextView</span></a> on which the info window should be positioned.</p></td>
|
217
217
|
<td class="parameter_annotations"> </td>
|
218
218
|
</tr>
|
219
219
|
<tr>
|
220
220
|
<td class="parameter_name"><p>iter</p></td>
|
221
|
-
<td class="parameter_description"><p> a <a href="
|
221
|
+
<td class="parameter_description"><p> a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>. </p></td>
|
222
222
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
223
223
|
</tr>
|
224
224
|
</tbody>
|
@@ -230,17 +230,17 @@ the window.</p>
|
|
230
230
|
<a name="gtk-source-completion-info-set-widget"></a><h3>gtk_source_completion_info_set_widget ()</h3>
|
231
231
|
<pre class="programlisting"><span class="returnvalue">void</span>
|
232
232
|
gtk_source_completion_info_set_widget (<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>,
|
233
|
-
<em class="parameter"><code><a href="
|
233
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
234
234
|
<div class="warning">
|
235
235
|
<p><code class="literal">gtk_source_completion_info_set_widget</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
|
236
|
-
<p>Use <a href="
|
237
|
-
widget, remove it with <a href="
|
236
|
+
<p>Use <a href="http://developer.gnome.org/gtk2/GtkContainer.html#gtk-container-add"><code class="function">gtk_container_add()</code></a> instead. If there is already a child
|
237
|
+
widget, remove it with <a href="http://developer.gnome.org/gtk2/GtkContainer.html#gtk-container-remove"><code class="function">gtk_container_remove()</code></a>.</p>
|
238
238
|
</div>
|
239
239
|
<p>Sets the content widget of the info window. See that the previous widget will
|
240
240
|
lose a reference and it can be destroyed, so if you do not want this to
|
241
241
|
happen you must use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> before calling this method.</p>
|
242
242
|
<div class="refsect3">
|
243
|
-
<a name="id-1.2.
|
243
|
+
<a name="id-1.2.4.4.10.4.6"></a><h4>Parameters</h4>
|
244
244
|
<div class="informaltable"><table width="100%" border="0">
|
245
245
|
<colgroup>
|
246
246
|
<col width="150px" class="parameters_name">
|
@@ -255,7 +255,7 @@ happen you must use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/
|
|
255
255
|
</tr>
|
256
256
|
<tr>
|
257
257
|
<td class="parameter_name"><p>widget</p></td>
|
258
|
-
<td class="parameter_description"><p> a <a href="
|
258
|
+
<td class="parameter_description"><p> a <a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="type">GtkWidget</span></a>. </p></td>
|
259
259
|
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
260
260
|
</tr>
|
261
261
|
</tbody>
|
@@ -265,15 +265,15 @@ happen you must use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/
|
|
265
265
|
<hr>
|
266
266
|
<div class="refsect2">
|
267
267
|
<a name="gtk-source-completion-info-get-widget"></a><h3>gtk_source_completion_info_get_widget ()</h3>
|
268
|
-
<pre class="programlisting"><a href="
|
268
|
+
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *
|
269
269
|
gtk_source_completion_info_get_widget (<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>);</pre>
|
270
270
|
<div class="warning">
|
271
271
|
<p><code class="literal">gtk_source_completion_info_get_widget</code> has been deprecated since version 3.8 and should not be used in newly-written code.</p>
|
272
|
-
<p>Use <a href="
|
272
|
+
<p>Use <a href="http://developer.gnome.org/gtk2/GtkBin.html#gtk-bin-get-child"><code class="function">gtk_bin_get_child()</code></a> instead.</p>
|
273
273
|
</div>
|
274
274
|
<p>Get the current content widget.</p>
|
275
275
|
<div class="refsect3">
|
276
|
-
<a name="id-1.2.
|
276
|
+
<a name="id-1.2.4.4.10.5.6"></a><h4>Parameters</h4>
|
277
277
|
<div class="informaltable"><table width="100%" border="0">
|
278
278
|
<colgroup>
|
279
279
|
<col width="150px" class="parameters_name">
|
@@ -288,7 +288,7 @@ gtk_source_completion_info_get_widget (<em class="parameter"><code><a class="lin
|
|
288
288
|
</table></div>
|
289
289
|
</div>
|
290
290
|
<div class="refsect3">
|
291
|
-
<a name="id-1.2.
|
291
|
+
<a name="id-1.2.4.4.10.5.7"></a><h4>Returns</h4>
|
292
292
|
<p> The current content widget. </p>
|
293
293
|
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
294
294
|
</div>
|
@@ -316,7 +316,7 @@ before the real "show".</p>
|
|
316
316
|
<p>This signal should not be used.</p>
|
317
317
|
</div>
|
318
318
|
<div class="refsect3">
|
319
|
-
<a name="id-1.2.
|
319
|
+
<a name="id-1.2.4.4.12.2.6"></a><h4>Parameters</h4>
|
320
320
|
<div class="informaltable"><table width="100%" border="0">
|
321
321
|
<colgroup>
|
322
322
|
<col width="150px" class="parameters_name">
|
@@ -337,7 +337,7 @@ before the real "show".</p>
|
|
337
337
|
</tbody>
|
338
338
|
</table></div>
|
339
339
|
</div>
|
340
|
-
<p>Flags: Action</p>
|
340
|
+
<p>Flags: <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
341
341
|
</div>
|
342
342
|
</div>
|
343
343
|
</div>
|
@@ -2,10 +2,10 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
-
<title>GtkSourceView 3 Reference Manual
|
5
|
+
<title>GtkSourceCompletionItem: GtkSourceView 3 Reference Manual</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
7
|
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
-
<link rel="up" href="
|
8
|
+
<link rel="up" href="ch03.html" title="Completion">
|
9
9
|
<link rel="prev" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo">
|
10
10
|
<link rel="next" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal">
|
11
11
|
<meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
|
@@ -21,7 +21,7 @@
|
|
21
21
|
<a href="#GtkSourceCompletionItem.properties" class="shortcut">Properties</a></span>
|
22
22
|
</td>
|
23
23
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
24
|
-
<td><a accesskey="u" href="
|
24
|
+
<td><a accesskey="u" href="ch03.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
25
25
|
<td><a accesskey="p" href="GtkSourceCompletionInfo.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
26
26
|
<td><a accesskey="n" href="GtkSourceCompletionProposal.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
27
27
|
</tr></table>
|
@@ -164,7 +164,7 @@ extra information <em class="parameter"><code>info</code></em>
|
|
164
164
|
can be <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> in which case
|
165
165
|
there will be no icon shown and no extra information available.</p>
|
166
166
|
<div class="refsect3">
|
167
|
-
<a name="id-1.2.
|
167
|
+
<a name="id-1.2.4.5.10.2.5"></a><h4>Parameters</h4>
|
168
168
|
<div class="informaltable"><table width="100%" border="0">
|
169
169
|
<colgroup>
|
170
170
|
<col width="150px" class="parameters_name">
|
@@ -196,7 +196,7 @@ there will be no icon shown and no extra information available.</p>
|
|
196
196
|
</table></div>
|
197
197
|
</div>
|
198
198
|
<div class="refsect3">
|
199
|
-
<a name="id-1.2.
|
199
|
+
<a name="id-1.2.4.5.10.2.6"></a><h4>Returns</h4>
|
200
200
|
<p> a new <a class="link" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem"><span class="type">GtkSourceCompletionItem</span></a>.</p>
|
201
201
|
<p></p>
|
202
202
|
</div>
|
@@ -219,7 +219,7 @@ gtk_source_completion_item_new_with_markup
|
|
219
219
|
can be <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> in
|
220
220
|
which case there will be no icon shown and no extra information available.</p>
|
221
221
|
<div class="refsect3">
|
222
|
-
<a name="id-1.2.
|
222
|
+
<a name="id-1.2.4.5.10.3.5"></a><h4>Parameters</h4>
|
223
223
|
<div class="informaltable"><table width="100%" border="0">
|
224
224
|
<colgroup>
|
225
225
|
<col width="150px" class="parameters_name">
|
@@ -251,7 +251,7 @@ which case there will be no icon shown and no extra information available.</p>
|
|
251
251
|
</table></div>
|
252
252
|
</div>
|
253
253
|
<div class="refsect3">
|
254
|
-
<a name="id-1.2.
|
254
|
+
<a name="id-1.2.4.5.10.3.6"></a><h4>Returns</h4>
|
255
255
|
<p> a new <a class="link" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem"><span class="type">GtkSourceCompletionItem</span></a>.</p>
|
256
256
|
<p></p>
|
257
257
|
</div>
|
@@ -273,7 +273,7 @@ gtk_source_completion_item_new_from_stock
|
|
273
273
|
is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
274
274
|
the stock label will be used.</p>
|
275
275
|
<div class="refsect3">
|
276
|
-
<a name="id-1.2.
|
276
|
+
<a name="id-1.2.4.5.10.4.6"></a><h4>Parameters</h4>
|
277
277
|
<div class="informaltable"><table width="100%" border="0">
|
278
278
|
<colgroup>
|
279
279
|
<col width="150px" class="parameters_name">
|
@@ -305,7 +305,7 @@ the stock label will be used.</p>
|
|
305
305
|
</table></div>
|
306
306
|
</div>
|
307
307
|
<div class="refsect3">
|
308
|
-
<a name="id-1.2.
|
308
|
+
<a name="id-1.2.4.5.10.4.7"></a><h4>Returns</h4>
|
309
309
|
<p> a new <a class="link" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem"><span class="type">GtkSourceCompletionItem</span></a>.</p>
|
310
310
|
<p></p>
|
311
311
|
</div>
|