gtksourceview3 2.0.0-x86-mingw32 → 2.0.1-x86-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.
- data/Rakefile +1 -1
- data/lib/2.0/gtksourceview3.so +0 -0
- data/vendor/local/bin/libgtksourceview-3.0-1.dll +0 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/completion-providers/words/gtksourcecompletionwords.h +0 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcebuffer.h +0 -4
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletion.h +18 -5
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioncontext.h +8 -7
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletioninfo.h +2 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionitem.h +1 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionproposal.h +21 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcecompletionprovider.h +28 -9
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutter.h +0 -3
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcegutterrenderer.h +0 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguage.h +0 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcelanguagemanager.h +0 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcemarkattributes.h +0 -2
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceprintcompositor.h +0 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestylescheme.h +0 -1
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcestyleschememanager.h +1 -0
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourcetypes.h +0 -9
- data/vendor/local/include/gtksourceview-3.0/gtksourceview/gtksourceview.h +1 -11
- 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/as/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/be/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/bg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ca@valencia/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/eo/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/hi/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/ja/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/pa/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/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/ta/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/tg/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/ug/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/vi/LC_MESSAGES/gtksourceview-3.0.mo +0 -0
- data/vendor/local/lib/locale/zh_HK/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/gtk-doc/html/gtksourceview-3.0/GtkSourceBuffer.html +204 -165
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletion.html +216 -86
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionContext.html +45 -37
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionInfo.html +82 -31
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionItem.html +47 -43
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProposal.html +111 -33
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionProvider.html +182 -46
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceCompletionWords.html +245 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutter.html +99 -39
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRenderer.html +1312 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererPixbuf.html +247 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceGutterRendererText.html +171 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguage.html +50 -50
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceLanguageManager.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMark.html +38 -38
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceMarkAttributes.html +75 -74
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourcePrintCompositor.html +175 -175
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyle.html +34 -34
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleScheme.html +31 -31
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceStyleSchemeManager.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceUndoManager.html +24 -24
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html +163 -137
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/annotation-glossary.html +21 -31
- 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-deprecated.html +19 -4
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/api-index-full.html +212 -44
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch01.html +98 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/ch02.html +47 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/gtksourceview-3.0.devhelp2 +111 -61
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.html +14 -10
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/index.sgml +128 -60
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-reference.html +26 -26
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/lang-tutorial.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/object-tree.html +64 -0
- data/vendor/local/share/gtk-doc/html/gtksourceview-3.0/style-reference.html +6 -6
- data/vendor/local/share/gtksourceview-3.0/language-specs/R.lang +2082 -13
- data/vendor/local/share/gtksourceview-3.0/language-specs/bluespec.lang +188 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/def.lang +2 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/idl-exelis.lang +620 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/latex.lang +277 -233
- data/vendor/local/share/gtksourceview-3.0/language-specs/modelica.lang +262 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ocaml.lang +4 -4
- data/vendor/local/share/gtksourceview-3.0/language-specs/perl.lang +26 -9
- data/vendor/local/share/gtksourceview-3.0/language-specs/php.lang +2 -0
- data/vendor/local/share/gtksourceview-3.0/language-specs/ruby.lang +192 -33
- data/vendor/local/share/gtksourceview-3.0/language-specs/verilog.lang +12 -0
- data/vendor/local/share/gtksourceview-3.0/styles/classic.xml +6 -3
- data/vendor/local/share/gtksourceview-3.0/styles/cobalt.xml +1 -0
- data/vendor/local/share/gtksourceview-3.0/styles/kate.xml +5 -3
- data/vendor/local/share/gtksourceview-3.0/styles/oblivion.xml +4 -2
- data/vendor/local/share/gtksourceview-3.0/styles/tango.xml +1 -0
- metadata +18 -6
@@ -3,9 +3,9 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>GtkSourceCompletionContext</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
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="ch01.html" title="API reference">
|
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.18.1 (XML mode)">
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
16
|
<tr valign="middle">
|
17
17
|
<td><a accesskey="p" href="GtkSourceCompletion.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
-
<td><a accesskey="u" href="
|
18
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
19
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
20
|
<th width="100%" align="center">GtkSourceView 3 Reference Manual</th>
|
21
21
|
<td><a accesskey="n" href="GtkSourceCompletionInfo.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
@@ -44,18 +44,18 @@
|
|
44
44
|
<div class="refsynopsisdiv">
|
45
45
|
<a name="GtkSourceCompletionContext.synopsis"></a><h2>Synopsis</h2>
|
46
46
|
<pre class="synopsis">
|
47
|
-
#include <gtksourceview/
|
47
|
+
#include <gtksourceview/gtksource.h>
|
48
48
|
|
49
49
|
enum <a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation">GtkSourceCompletionActivation</a>;
|
50
50
|
<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext-struct" title="GtkSourceCompletionContext">GtkSourceCompletionContext</a>;
|
51
51
|
<span class="returnvalue">void</span> <a class="link" href="GtkSourceCompletionContext.html#gtk-source-completion-context-add-proposals" title="gtk_source_completion_context_add_proposals ()">gtk_source_completion_context_add_proposals</a>
|
52
52
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>,
|
53
53
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
54
|
-
<em class="parameter"><code><span class="type">GList</span> *proposals</code></em>,
|
55
|
-
<em class="parameter"><code><span class="type">gboolean</span> finished</code></em>);
|
54
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *proposals</code></em>,
|
55
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> finished</code></em>);
|
56
56
|
<span class="returnvalue">void</span> <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>
|
57
57
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>,
|
58
|
-
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>);
|
58
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);
|
59
59
|
<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="returnvalue">GtkSourceCompletionActivation</span></a> <a class="link" href="GtkSourceCompletionContext.html#gtk-source-completion-context-get-activation" title="gtk_source_completion_context_get_activation ()">gtk_source_completion_context_get_activation</a>
|
60
60
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>);
|
61
61
|
</pre>
|
@@ -63,8 +63,8 @@ enum <a class="link" href="GtkSourceCompletionContext.html#GtkSou
|
|
63
63
|
<div class="refsect1">
|
64
64
|
<a name="GtkSourceCompletionContext.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
65
65
|
<pre class="synopsis">
|
66
|
-
GObject
|
67
|
-
|
66
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
67
|
+
+----<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
68
68
|
+----GtkSourceCompletionContext
|
69
69
|
</pre>
|
70
70
|
</div>
|
@@ -73,37 +73,42 @@ enum <a class="link" href="GtkSourceCompletionContext.html#GtkSou
|
|
73
73
|
<pre class="synopsis">
|
74
74
|
"<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext--activation" title='The "activation" property'>activation</a>" <a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="type">GtkSourceCompletionActivation</span></a> : Read / Write
|
75
75
|
"<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext--completion" title='The "completion" property'>completion</a>" <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>* : Read / Write / Construct Only
|
76
|
-
"<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext--iter" title='The "iter" property'>iter</a>" <span class="type">GtkTextIter</span>* : Read / Write
|
76
|
+
"<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext--iter" title='The "iter" property'>iter</a>" <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>* : Read / Write
|
77
77
|
</pre>
|
78
78
|
</div>
|
79
79
|
<div class="refsect1">
|
80
80
|
<a name="GtkSourceCompletionContext.signals"></a><h2>Signals</h2>
|
81
81
|
<pre class="synopsis">
|
82
|
-
"<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext-cancelled" title='The "cancelled" signal'>cancelled</a>" : <code class="literal">Action</code>
|
82
|
+
"<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext-cancelled" title='The "cancelled" signal'>cancelled</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
|
83
83
|
</pre>
|
84
84
|
</div>
|
85
85
|
<div class="refsect1">
|
86
86
|
<a name="GtkSourceCompletionContext.description"></a><h2>Description</h2>
|
87
87
|
<p>
|
88
|
-
|
89
|
-
be activated
|
88
|
+
Initially, the completion window is hidden. For a completion to occur, it has
|
89
|
+
to be activated. The different possible activations are listed in
|
90
|
+
<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="type">GtkSourceCompletionActivation</span></a>. When an activation occurs, a
|
91
|
+
<a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> object is created, and the eligible providers are
|
92
|
+
asked to add proposals with <a class="link" href="GtkSourceCompletionContext.html#gtk-source-completion-context-add-proposals" title="gtk_source_completion_context_add_proposals ()"><code class="function">gtk_source_completion_context_add_proposals()</code></a>.
|
90
93
|
</p>
|
91
94
|
<p>
|
92
|
-
|
93
|
-
|
95
|
+
If no proposals are added, the completion window remains hidden, and the
|
96
|
+
context is destroyed.
|
94
97
|
</p>
|
95
98
|
<p>
|
96
|
-
|
97
|
-
|
99
|
+
On the other hand, if proposals are added, the completion window becomes
|
100
|
+
visible, and the user can choose a proposal. If the user is not happy with
|
101
|
+
the shown proposals, he or she can insert or delete characters, to modify the
|
102
|
+
completion context and therefore hoping to see the proposal he or she wants.
|
103
|
+
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>
|
104
|
+
when the completion window is visible, the eligible providers are again asked
|
105
|
+
to add proposals. The <a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionContext--activation" title='The "activation" property'><span class="type">"activation"</span></a> remains the
|
106
|
+
same in this case.
|
98
107
|
</p>
|
99
108
|
<p>
|
100
|
-
A <span class="type">GtkTextIter</span> is associated with the context, this is where the completion
|
101
|
-
takes place. With this <span class="type">GtkTextIter</span>, you can get the associated
|
102
|
-
<span class="type">GtkTextBuffer</span> with <code class="function">gtk_text_iter_get_buffer()</code>.
|
103
|
-
</p>
|
104
|
-
<p>
|
105
|
-
Once the context is created, the eligible providers are asked to add
|
106
|
-
proposals with <a class="link" href="GtkSourceCompletionContext.html#gtk-source-completion-context-add-proposals" title="gtk_source_completion_context_add_proposals ()"><code class="function">gtk_source_completion_context_add_proposals()</code></a>.
|
109
|
+
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
|
110
|
+
takes place. With this <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>, you can get the associated
|
111
|
+
<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>.
|
107
112
|
</p>
|
108
113
|
</div>
|
109
114
|
<div class="refsect1">
|
@@ -124,18 +129,21 @@ proposals with <a class="link" href="GtkSourceCompletionContext.html#gtk-source-
|
|
124
129
|
<tbody>
|
125
130
|
<tr>
|
126
131
|
<td><p><a name="GTK-SOURCE-COMPLETION-ACTIVATION-NONE:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_COMPLETION_ACTIVATION_NONE</code></span></p></td>
|
127
|
-
<td>
|
132
|
+
<td>None.
|
128
133
|
</td>
|
129
134
|
</tr>
|
130
135
|
<tr>
|
131
136
|
<td><p><a name="GTK-SOURCE-COMPLETION-ACTIVATION-INTERACTIVE:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_COMPLETION_ACTIVATION_INTERACTIVE</code></span></p></td>
|
132
|
-
<td>
|
137
|
+
<td>Interactive activation. By
|
138
|
+
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
|
139
|
+
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>.
|
133
140
|
</td>
|
134
141
|
</tr>
|
135
142
|
<tr>
|
136
143
|
<td><p><a name="GTK-SOURCE-COMPLETION-ACTIVATION-USER-REQUESTED:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED</code></span></p></td>
|
137
|
-
<td>
|
138
|
-
|
144
|
+
<td>User requested activation.
|
145
|
+
By default, it occurs when the user presses
|
146
|
+
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>space</strong></span>.
|
139
147
|
</td>
|
140
148
|
</tr>
|
141
149
|
</tbody>
|
@@ -152,12 +160,12 @@ proposals with <a class="link" href="GtkSourceCompletionContext.html#gtk-source-
|
|
152
160
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_completion_context_add_proposals
|
153
161
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>,
|
154
162
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
155
|
-
<em class="parameter"><code><span class="type">GList</span> *proposals</code></em>,
|
156
|
-
<em class="parameter"><code><span class="type">gboolean</span> finished</code></em>);</pre>
|
163
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *proposals</code></em>,
|
164
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> finished</code></em>);</pre>
|
157
165
|
<p>
|
158
166
|
Providers can use this function to add proposals to the completion. They
|
159
167
|
can do so asynchronously by means of the <em class="parameter"><code>finished</code></em> argument. Providers must
|
160
|
-
ensure that they always call this function with <em class="parameter"><code>finished</code></em> set to <code class="literal">TRUE</code>
|
168
|
+
ensure that they always call this function with <em class="parameter"><code>finished</code></em> set to <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
161
169
|
once each population (even if no proposals need to be added).
|
162
170
|
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>
|
163
171
|
function is called.
|
@@ -179,7 +187,7 @@ function is called.
|
|
179
187
|
</tr>
|
180
188
|
<tr>
|
181
189
|
<td><p><span class="term"><em class="parameter"><code>proposals</code></em> :</span></p></td>
|
182
|
-
<td>The list of proposals to add. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.CompletionProposal]</span>
|
190
|
+
<td>The list of proposals to add. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.CompletionProposal]</span>
|
183
191
|
</td>
|
184
192
|
</tr>
|
185
193
|
<tr>
|
@@ -194,7 +202,7 @@ function is called.
|
|
194
202
|
<a name="gtk-source-completion-context-get-iter"></a><h3>gtk_source_completion_context_get_iter ()</h3>
|
195
203
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_completion_context_get_iter
|
196
204
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>,
|
197
|
-
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>);</pre>
|
205
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
198
206
|
<p>
|
199
207
|
Get the iter at which the completion was invoked. Providers can use this
|
200
208
|
to determine how and if to match proposals.
|
@@ -211,7 +219,7 @@ to determine how and if to match proposals.
|
|
211
219
|
</tr>
|
212
220
|
<tr>
|
213
221
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
214
|
-
<td>a <span class="type">GtkTextIter</span>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
222
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>. <span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span>
|
215
223
|
</td>
|
216
224
|
</tr>
|
217
225
|
</tbody>
|
@@ -263,9 +271,9 @@ The <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion">
|
|
263
271
|
<hr>
|
264
272
|
<div class="refsect2">
|
265
273
|
<a name="GtkSourceCompletionContext--iter"></a><h3>The <code class="literal">"iter"</code> property</h3>
|
266
|
-
<pre class="programlisting"> "iter" <span class="type">GtkTextIter</span>* : Read / Write</pre>
|
274
|
+
<pre class="programlisting"> "iter" <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>* : Read / Write</pre>
|
267
275
|
<p>
|
268
|
-
The <span class="type">GtkTextIter</span> at which the completion is invoked.
|
276
|
+
The <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> at which the completion is invoked.
|
269
277
|
</p>
|
270
278
|
</div>
|
271
279
|
</div>
|
@@ -274,7 +282,7 @@ The <span class="type">GtkTextIter</span> at which the completion is invoked.
|
|
274
282
|
<div class="refsect2">
|
275
283
|
<a name="GtkSourceCompletionContext-cancelled"></a><h3>The <code class="literal">"cancelled"</code> signal</h3>
|
276
284
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *arg0,
|
277
|
-
<span class="type">gpointer</span> user_data) : <code class="literal">Action</code></pre>
|
285
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a></pre>
|
278
286
|
<p>
|
279
287
|
Emitted when the current population of proposals has been cancelled.
|
280
288
|
Providers adding proposals asynchronously should connect to this signal
|
@@ -3,9 +3,9 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>GtkSourceCompletionInfo</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
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="ch01.html" title="API reference">
|
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.18.1 (XML mode)">
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
16
|
<tr valign="middle">
|
17
17
|
<td><a accesskey="p" href="GtkSourceCompletionContext.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
-
<td><a accesskey="u" href="
|
18
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
19
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
20
|
<th width="100%" align="center">GtkSourceView 3 Reference Manual</th>
|
21
21
|
<td><a accesskey="n" href="GtkSourceCompletionItem.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
@@ -44,31 +44,31 @@
|
|
44
44
|
<div class="refsynopsisdiv">
|
45
45
|
<a name="GtkSourceCompletionInfo.synopsis"></a><h2>Synopsis</h2>
|
46
46
|
<pre class="synopsis">
|
47
|
-
#include <gtksourceview/
|
47
|
+
#include <gtksourceview/gtksource.h>
|
48
48
|
|
49
49
|
<a class="link" href="GtkSourceCompletionInfo.html#GtkSourceCompletionInfo-struct" title="GtkSourceCompletionInfo">GtkSourceCompletionInfo</a>;
|
50
50
|
<a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="returnvalue">GtkSourceCompletionInfo</span></a> * <a class="link" href="GtkSourceCompletionInfo.html#gtk-source-completion-info-new" title="gtk_source_completion_info_new ()">gtk_source_completion_info_new</a>
|
51
51
|
(<em class="parameter"><code><span class="type">void</span></code></em>);
|
52
52
|
<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>
|
53
53
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>,
|
54
|
-
<em class="parameter"><code><span class="type">GtkTextView</span> *view</code></em>,
|
55
|
-
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>);
|
54
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextView.html"><span class="type">GtkTextView</span></a> *view</code></em>,
|
55
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);
|
56
56
|
<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>
|
57
57
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>,
|
58
|
-
<em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>);
|
59
|
-
<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>
|
58
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>);
|
59
|
+
<a href="http://developer.gnome.org/gtk2/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>
|
60
60
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>);
|
61
61
|
</pre>
|
62
62
|
</div>
|
63
63
|
<div class="refsect1">
|
64
64
|
<a name="GtkSourceCompletionInfo.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
65
65
|
<pre class="synopsis">
|
66
|
-
GObject
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
66
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
67
|
+
+----<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
68
|
+
+----<a href="http://developer.gnome.org/gtk2/GtkWidget.html">GtkWidget</a>
|
69
|
+
+----<a href="http://developer.gnome.org/gtk2/GtkContainer.html">GtkContainer</a>
|
70
|
+
+----<a href="http://developer.gnome.org/gtk2/GtkBin.html">GtkBin</a>
|
71
|
+
+----<a href="http://developer.gnome.org/gtk2/GtkWindow.html">GtkWindow</a>
|
72
72
|
+----GtkSourceCompletionInfo
|
73
73
|
</pre>
|
74
74
|
</div>
|
@@ -76,12 +76,12 @@
|
|
76
76
|
<a name="GtkSourceCompletionInfo.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
77
77
|
<p>
|
78
78
|
GtkSourceCompletionInfo implements
|
79
|
-
AtkImplementorIface and GtkBuildable
|
79
|
+
AtkImplementorIface and <a href="http://developer.gnome.org/gtk2/GtkBuildable.html">GtkBuildable</a>.</p>
|
80
80
|
</div>
|
81
81
|
<div class="refsect1">
|
82
82
|
<a name="GtkSourceCompletionInfo.signals"></a><h2>Signals</h2>
|
83
83
|
<pre class="synopsis">
|
84
|
-
"<a class="link" href="GtkSourceCompletionInfo.html#GtkSourceCompletionInfo-before-show" title='The "before-show" signal'>before-show</a>" : <code class="literal">Action</code>
|
84
|
+
"<a class="link" href="GtkSourceCompletionInfo.html#GtkSourceCompletionInfo-before-show" title='The "before-show" signal'>before-show</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
|
85
85
|
</pre>
|
86
86
|
</div>
|
87
87
|
<div class="refsect1">
|
@@ -90,6 +90,50 @@ GtkSourceCompletionInfo implements
|
|
90
90
|
This object can be used to show a calltip or help for the
|
91
91
|
current completion proposal.
|
92
92
|
</p>
|
93
|
+
<p>
|
94
|
+
The info window has always the same size as the natural size of its child
|
95
|
+
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
|
96
|
+
possibility is to use a scrolled window, as the following example
|
97
|
+
demonstrates.
|
98
|
+
</p>
|
99
|
+
<p>
|
100
|
+
</p>
|
101
|
+
<div class="example">
|
102
|
+
<a name="id-1.2.5.7.4.1"></a><p class="title"><b>Example 1. Fixed size with a scrolled window.</b></p>
|
103
|
+
<div class="example-contents">
|
104
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
105
|
+
<tbody>
|
106
|
+
<tr>
|
107
|
+
<td class="listing_lines" align="right"><pre>1
|
108
|
+
2
|
109
|
+
3
|
110
|
+
4
|
111
|
+
5
|
112
|
+
6
|
113
|
+
7</pre></td>
|
114
|
+
<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>
|
115
|
+
<span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">your_widget</span><span class="symbol">;</span>
|
116
|
+
<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/kou/work/ruby/ruby-gnome2.win32/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/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
117
|
+
|
118
|
+
<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>
|
119
|
+
<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>
|
120
|
+
<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>
|
121
|
+
</tr>
|
122
|
+
</tbody>
|
123
|
+
</table>
|
124
|
+
</div>
|
125
|
+
|
126
|
+
</div>
|
127
|
+
<p><br class="example-break">
|
128
|
+
</p>
|
129
|
+
<p>
|
130
|
+
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>,
|
131
|
+
you should hide it when 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
|
132
|
+
the <a href="http://developer.gnome.org/gtk2/GtkTextView.html"><span class="type">GtkTextView</span></a>. You may also be interested by the
|
133
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextBuffer.html#GtkTextBuffer--cursor-position"><span class="type">"cursor-position"</span></a> property (when its value is modified). If you
|
134
|
+
use the <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> through the <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> machinery,
|
135
|
+
you don't need to worry about this.
|
136
|
+
</p>
|
93
137
|
</div>
|
94
138
|
<div class="refsect1">
|
95
139
|
<a name="GtkSourceCompletionInfo.details"></a><h2>Details</h2>
|
@@ -118,11 +162,11 @@ current completion proposal.
|
|
118
162
|
<a name="gtk-source-completion-info-move-to-iter"></a><h3>gtk_source_completion_info_move_to_iter ()</h3>
|
119
163
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_completion_info_move_to_iter
|
120
164
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>,
|
121
|
-
<em class="parameter"><code><span class="type">GtkTextView</span> *view</code></em>,
|
122
|
-
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>);</pre>
|
165
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextView.html"><span class="type">GtkTextView</span></a> *view</code></em>,
|
166
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
123
167
|
<p>
|
124
|
-
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 <code class="literal">NULL</code> <em class="parameter"><code>info</code></em> is
|
125
|
-
moved to the cursor position. Moving will respect the <span class="type">GdkGravity</span> setting
|
168
|
+
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="/home/kou/work/ruby/ruby-gnome2.win32/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> is
|
169
|
+
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
|
126
170
|
of the info window and will ensure the line at <em class="parameter"><code>iter</code></em> is not occluded by
|
127
171
|
the window.
|
128
172
|
</p>
|
@@ -138,11 +182,11 @@ the window.
|
|
138
182
|
</tr>
|
139
183
|
<tr>
|
140
184
|
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
|
141
|
-
<td>a <span class="type">GtkTextView</span> on which the info window should be positioned.</td>
|
185
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextView.html"><span class="type">GtkTextView</span></a> on which the info window should be positioned.</td>
|
142
186
|
</tr>
|
143
187
|
<tr>
|
144
188
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
145
|
-
<td>a <span class="type">GtkTextIter</span>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
189
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
146
190
|
</td>
|
147
191
|
</tr>
|
148
192
|
</tbody>
|
@@ -153,13 +197,16 @@ the window.
|
|
153
197
|
<a name="gtk-source-completion-info-set-widget"></a><h3>gtk_source_completion_info_set_widget ()</h3>
|
154
198
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_completion_info_set_widget
|
155
199
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>,
|
156
|
-
<em class="parameter"><code><span class="type">GtkWidget</span> *widget</code></em>);</pre>
|
200
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="type">GtkWidget</span></a> *widget</code></em>);</pre>
|
201
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
202
|
+
<h3 class="title">Warning</h3>
|
203
|
+
<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. 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
|
204
|
+
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>
|
205
|
+
</div>
|
157
206
|
<p>
|
158
|
-
Sets the content widget of the info window.
|
159
|
-
|
160
|
-
|
161
|
-
a reference and it can be destroyed, so if you do not want this to happen
|
162
|
-
you must <code class="function">g_object_ref()</code> before calling this method.
|
207
|
+
Sets the content widget of the info window. See that the previous widget will
|
208
|
+
lose a reference and it can be destroyed, so if you do not want this to
|
209
|
+
happen you must use <a href="/home/kou/work/ruby/ruby-gnome2.win32/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.
|
163
210
|
</p>
|
164
211
|
<div class="variablelist"><table border="0" class="variablelist">
|
165
212
|
<colgroup>
|
@@ -173,7 +220,7 @@ you must <code class="function">g_object_ref()</code> before calling this method
|
|
173
220
|
</tr>
|
174
221
|
<tr>
|
175
222
|
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
|
176
|
-
<td>a <span class="type">GtkWidget</span>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
223
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="type">GtkWidget</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
177
224
|
</td>
|
178
225
|
</tr>
|
179
226
|
</tbody>
|
@@ -182,8 +229,12 @@ you must <code class="function">g_object_ref()</code> before calling this method
|
|
182
229
|
<hr>
|
183
230
|
<div class="refsect2">
|
184
231
|
<a name="gtk-source-completion-info-get-widget"></a><h3>gtk_source_completion_info_get_widget ()</h3>
|
185
|
-
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * gtk_source_completion_info_get_widget
|
232
|
+
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gtk_source_completion_info_get_widget
|
186
233
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>);</pre>
|
234
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
235
|
+
<h3 class="title">Warning</h3>
|
236
|
+
<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. 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>
|
237
|
+
</div>
|
187
238
|
<p>
|
188
239
|
Get the current content widget.
|
189
240
|
</p>
|
@@ -211,7 +262,7 @@ Get the current content widget.
|
|
211
262
|
<div class="refsect2">
|
212
263
|
<a name="GtkSourceCompletionInfo-before-show"></a><h3>The <code class="literal">"before-show"</code> signal</h3>
|
213
264
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info,
|
214
|
-
<span class="type">gpointer</span> user_data) : <code class="literal">Action</code></pre>
|
265
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a></pre>
|
215
266
|
<p>
|
216
267
|
This signal is emitted before any "show" management. You can connect
|
217
268
|
to this signal if you want to change some properties or position
|
@@ -3,9 +3,9 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>GtkSourceCompletionItem</title>
|
6
|
-
<meta name="generator" content="DocBook XSL Stylesheets V1.
|
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="ch01.html" title="API reference">
|
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.18.1 (XML mode)">
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
16
|
<tr valign="middle">
|
17
17
|
<td><a accesskey="p" href="GtkSourceCompletionInfo.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
-
<td><a accesskey="u" href="
|
18
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
19
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
20
|
<th width="100%" align="center">GtkSourceView 3 Reference Manual</th>
|
21
21
|
<td><a accesskey="n" href="GtkSourceCompletionProposal.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
@@ -37,37 +37,37 @@
|
|
37
37
|
<div class="refnamediv"><table width="100%"><tr>
|
38
38
|
<td valign="top">
|
39
39
|
<h2><span class="refentrytitle"><a name="GtkSourceCompletionItem.top_of_page"></a>GtkSourceCompletionItem</span></h2>
|
40
|
-
<p>GtkSourceCompletionItem</p>
|
40
|
+
<p>GtkSourceCompletionItem — Simple implementation of <a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a></p>
|
41
41
|
</td>
|
42
42
|
<td valign="top" align="right"></td>
|
43
43
|
</tr></table></div>
|
44
44
|
<div class="refsynopsisdiv">
|
45
45
|
<a name="GtkSourceCompletionItem.synopsis"></a><h2>Synopsis</h2>
|
46
46
|
<pre class="synopsis">
|
47
|
-
#include <gtksourceview/
|
47
|
+
#include <gtksourceview/gtksource.h>
|
48
48
|
|
49
49
|
<a class="link" href="GtkSourceCompletionItem.html#GtkSourceCompletionItem-struct" title="GtkSourceCompletionItem">GtkSourceCompletionItem</a>;
|
50
50
|
<a class="link" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem"><span class="returnvalue">GtkSourceCompletionItem</span></a> * <a class="link" href="GtkSourceCompletionItem.html#gtk-source-completion-item-new" title="gtk_source_completion_item_new ()">gtk_source_completion_item_new</a>
|
51
|
-
(<em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>,
|
52
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
|
53
|
-
<em class="parameter"><code><span class="type">GdkPixbuf</span> *icon</code></em>,
|
54
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *info</code></em>);
|
51
|
+
(<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>,
|
52
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
53
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *icon</code></em>,
|
54
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *info</code></em>);
|
55
55
|
<a class="link" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem"><span class="returnvalue">GtkSourceCompletionItem</span></a> * <a class="link" href="GtkSourceCompletionItem.html#gtk-source-completion-item-new-with-markup" title="gtk_source_completion_item_new_with_markup ()">gtk_source_completion_item_new_with_markup</a>
|
56
|
-
(<em class="parameter"><code>const <span class="type">gchar</span> *markup</code></em>,
|
57
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
|
58
|
-
<em class="parameter"><code><span class="type">GdkPixbuf</span> *icon</code></em>,
|
59
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *info</code></em>);
|
56
|
+
(<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *markup</code></em>,
|
57
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
58
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *icon</code></em>,
|
59
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *info</code></em>);
|
60
60
|
<a class="link" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem"><span class="returnvalue">GtkSourceCompletionItem</span></a> * <a class="link" href="GtkSourceCompletionItem.html#gtk-source-completion-item-new-from-stock" title="gtk_source_completion_item_new_from_stock ()">gtk_source_completion_item_new_from_stock</a>
|
61
|
-
(<em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>,
|
62
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
|
63
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *stock</code></em>,
|
64
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *info</code></em>);
|
61
|
+
(<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>,
|
62
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
63
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock</code></em>,
|
64
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *info</code></em>);
|
65
65
|
</pre>
|
66
66
|
</div>
|
67
67
|
<div class="refsect1">
|
68
68
|
<a name="GtkSourceCompletionItem.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
69
69
|
<pre class="synopsis">
|
70
|
-
GObject
|
70
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
|
71
71
|
+----GtkSourceCompletionItem
|
72
72
|
</pre>
|
73
73
|
</div>
|
@@ -80,15 +80,19 @@ GtkSourceCompletionItem implements
|
|
80
80
|
<div class="refsect1">
|
81
81
|
<a name="GtkSourceCompletionItem.properties"></a><h2>Properties</h2>
|
82
82
|
<pre class="synopsis">
|
83
|
-
"<a class="link" href="GtkSourceCompletionItem.html#GtkSourceCompletionItem--icon" title='The "icon" property'>icon</a>" <span class="type">GdkPixbuf</span>* : Read / Write
|
84
|
-
"<a class="link" href="GtkSourceCompletionItem.html#GtkSourceCompletionItem--info" title='The "info" property'>info</a>" <span class="type">gchar</span>* : Read / Write
|
85
|
-
"<a class="link" href="GtkSourceCompletionItem.html#GtkSourceCompletionItem--label" title='The "label" property'>label</a>" <span class="type">gchar</span>* : Read / Write
|
86
|
-
"<a class="link" href="GtkSourceCompletionItem.html#GtkSourceCompletionItem--markup" title='The "markup" property'>markup</a>" <span class="type">gchar</span>* : Read / Write
|
87
|
-
"<a class="link" href="GtkSourceCompletionItem.html#GtkSourceCompletionItem--text" title='The "text" property'>text</a>" <span class="type">gchar</span>* : Read / Write
|
83
|
+
"<a class="link" href="GtkSourceCompletionItem.html#GtkSourceCompletionItem--icon" title='The "icon" property'>icon</a>" <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>* : Read / Write
|
84
|
+
"<a class="link" href="GtkSourceCompletionItem.html#GtkSourceCompletionItem--info" title='The "info" property'>info</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
|
85
|
+
"<a class="link" href="GtkSourceCompletionItem.html#GtkSourceCompletionItem--label" title='The "label" property'>label</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
|
86
|
+
"<a class="link" href="GtkSourceCompletionItem.html#GtkSourceCompletionItem--markup" title='The "markup" property'>markup</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
|
87
|
+
"<a class="link" href="GtkSourceCompletionItem.html#GtkSourceCompletionItem--text" title='The "text" property'>text</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
|
88
88
|
</pre>
|
89
89
|
</div>
|
90
90
|
<div class="refsect1">
|
91
91
|
<a name="GtkSourceCompletionItem.description"></a><h2>Description</h2>
|
92
|
+
<p>
|
93
|
+
The <a class="link" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem"><span class="type">GtkSourceCompletionItem</span></a> class is a simple implementation of the
|
94
|
+
<a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> interface.
|
95
|
+
</p>
|
92
96
|
</div>
|
93
97
|
<div class="refsect1">
|
94
98
|
<a name="GtkSourceCompletionItem.details"></a><h2>Details</h2>
|
@@ -100,13 +104,13 @@ GtkSourceCompletionItem implements
|
|
100
104
|
<div class="refsect2">
|
101
105
|
<a name="gtk-source-completion-item-new"></a><h3>gtk_source_completion_item_new ()</h3>
|
102
106
|
<pre class="programlisting"><a class="link" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem"><span class="returnvalue">GtkSourceCompletionItem</span></a> * gtk_source_completion_item_new
|
103
|
-
(<em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>,
|
104
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
|
105
|
-
<em class="parameter"><code><span class="type">GdkPixbuf</span> *icon</code></em>,
|
106
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *info</code></em>);</pre>
|
107
|
+
(<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>,
|
108
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
109
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *icon</code></em>,
|
110
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *info</code></em>);</pre>
|
107
111
|
<p>
|
108
112
|
Create a new <a class="link" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem"><span class="type">GtkSourceCompletionItem</span></a> with label <em class="parameter"><code>label</code></em>, icon <em class="parameter"><code>icon</code></em> and
|
109
|
-
extra information <em class="parameter"><code>info</code></em>. Both <em class="parameter"><code>icon</code></em> and <em class="parameter"><code>info</code></em> can be <code class="literal">NULL</code> in which case
|
113
|
+
extra information <em class="parameter"><code>info</code></em>. Both <em class="parameter"><code>icon</code></em> and <em class="parameter"><code>info</code></em> can be <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> in which case
|
110
114
|
there will be no icon shown and no extra information available.
|
111
115
|
</p>
|
112
116
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -144,13 +148,13 @@ there will be no icon shown and no extra information available.
|
|
144
148
|
<div class="refsect2">
|
145
149
|
<a name="gtk-source-completion-item-new-with-markup"></a><h3>gtk_source_completion_item_new_with_markup ()</h3>
|
146
150
|
<pre class="programlisting"><a class="link" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem"><span class="returnvalue">GtkSourceCompletionItem</span></a> * gtk_source_completion_item_new_with_markup
|
147
|
-
(<em class="parameter"><code>const <span class="type">gchar</span> *markup</code></em>,
|
148
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
|
149
|
-
<em class="parameter"><code><span class="type">GdkPixbuf</span> *icon</code></em>,
|
150
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *info</code></em>);</pre>
|
151
|
+
(<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *markup</code></em>,
|
152
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
153
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *icon</code></em>,
|
154
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *info</code></em>);</pre>
|
151
155
|
<p>
|
152
156
|
Create a new <a class="link" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem"><span class="type">GtkSourceCompletionItem</span></a> with markup label <em class="parameter"><code>markup</code></em>, icon
|
153
|
-
<em class="parameter"><code>icon</code></em> and extra information <em class="parameter"><code>info</code></em>. Both <em class="parameter"><code>icon</code></em> and <em class="parameter"><code>info</code></em> can be <code class="literal">NULL</code> in
|
157
|
+
<em class="parameter"><code>icon</code></em> and extra information <em class="parameter"><code>info</code></em>. Both <em class="parameter"><code>icon</code></em> and <em class="parameter"><code>info</code></em> can be <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> in
|
154
158
|
which case there will be no icon shown and no extra information available.
|
155
159
|
</p>
|
156
160
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -188,12 +192,12 @@ which case there will be no icon shown and no extra information available.
|
|
188
192
|
<div class="refsect2">
|
189
193
|
<a name="gtk-source-completion-item-new-from-stock"></a><h3>gtk_source_completion_item_new_from_stock ()</h3>
|
190
194
|
<pre class="programlisting"><a class="link" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem"><span class="returnvalue">GtkSourceCompletionItem</span></a> * gtk_source_completion_item_new_from_stock
|
191
|
-
(<em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>,
|
192
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
|
193
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *stock</code></em>,
|
194
|
-
<em class="parameter"><code>const <span class="type">gchar</span> *info</code></em>);</pre>
|
195
|
+
(<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>,
|
196
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *text</code></em>,
|
197
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock</code></em>,
|
198
|
+
<em class="parameter"><code>const <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *info</code></em>);</pre>
|
195
199
|
<p>
|
196
|
-
Creates a new <a class="link" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem"><span class="type">GtkSourceCompletionItem</span></a> from a stock item. If <em class="parameter"><code>label</code></em> is <code class="literal">NULL</code>,
|
200
|
+
Creates a new <a class="link" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem"><span class="type">GtkSourceCompletionItem</span></a> from a stock item. If <em class="parameter"><code>label</code></em> is <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>,
|
197
201
|
the stock label will be used.
|
198
202
|
</p>
|
199
203
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -232,7 +236,7 @@ the stock label will be used.
|
|
232
236
|
<a name="GtkSourceCompletionItem.property-details"></a><h2>Property Details</h2>
|
233
237
|
<div class="refsect2">
|
234
238
|
<a name="GtkSourceCompletionItem--icon"></a><h3>The <code class="literal">"icon"</code> property</h3>
|
235
|
-
<pre class="programlisting"> "icon" <span class="type">GdkPixbuf</span>* : Read / Write</pre>
|
239
|
+
<pre class="programlisting"> "icon" <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>* : Read / Write</pre>
|
236
240
|
<p>
|
237
241
|
Icon to be shown for this proposal.
|
238
242
|
</p>
|
@@ -240,7 +244,7 @@ Icon to be shown for this proposal.
|
|
240
244
|
<hr>
|
241
245
|
<div class="refsect2">
|
242
246
|
<a name="GtkSourceCompletionItem--info"></a><h3>The <code class="literal">"info"</code> property</h3>
|
243
|
-
<pre class="programlisting"> "info" <span class="type">gchar</span>* : Read / Write</pre>
|
247
|
+
<pre class="programlisting"> "info" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
|
244
248
|
<p>
|
245
249
|
Optional extra information to be shown for this proposal.
|
246
250
|
</p>
|
@@ -249,7 +253,7 @@ Optional extra information to be shown for this proposal.
|
|
249
253
|
<hr>
|
250
254
|
<div class="refsect2">
|
251
255
|
<a name="GtkSourceCompletionItem--label"></a><h3>The <code class="literal">"label"</code> property</h3>
|
252
|
-
<pre class="programlisting"> "label" <span class="type">gchar</span>* : Read / Write</pre>
|
256
|
+
<pre class="programlisting"> "label" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
|
253
257
|
<p>
|
254
258
|
Label to be shown for this proposal.
|
255
259
|
</p>
|
@@ -258,7 +262,7 @@ Label to be shown for this proposal.
|
|
258
262
|
<hr>
|
259
263
|
<div class="refsect2">
|
260
264
|
<a name="GtkSourceCompletionItem--markup"></a><h3>The <code class="literal">"markup"</code> property</h3>
|
261
|
-
<pre class="programlisting"> "markup" <span class="type">gchar</span>* : Read / Write</pre>
|
265
|
+
<pre class="programlisting"> "markup" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
|
262
266
|
<p>
|
263
267
|
Label with markup to be shown for this proposal.
|
264
268
|
</p>
|
@@ -267,7 +271,7 @@ Label with markup to be shown for this proposal.
|
|
267
271
|
<hr>
|
268
272
|
<div class="refsect2">
|
269
273
|
<a name="GtkSourceCompletionItem--text"></a><h3>The <code class="literal">"text"</code> property</h3>
|
270
|
-
<pre class="programlisting"> "text" <span class="type">gchar</span>* : Read / Write</pre>
|
274
|
+
<pre class="programlisting"> "text" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
|
271
275
|
<p>
|
272
276
|
Proposal text.
|
273
277
|
</p>
|