gtksourceview3 2.0.0-x86-mingw32 → 2.0.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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>GtkSourceCompletionProposal</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="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem">
|
10
10
|
<link rel="next" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider">
|
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="GtkSourceCompletionItem.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="GtkSourceCompletionProvider.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
@@ -46,23 +46,24 @@
|
|
46
46
|
<div class="refsynopsisdiv">
|
47
47
|
<a name="GtkSourceCompletionProposal.synopsis"></a><h2>Synopsis</h2>
|
48
48
|
<pre class="synopsis">
|
49
|
-
#include <gtksourceview/
|
49
|
+
#include <gtksourceview/gtksource.h>
|
50
50
|
|
51
51
|
<a class="link" href="GtkSourceCompletionProposal.html#GtkSourceCompletionProposal-struct" title="GtkSourceCompletionProposal">GtkSourceCompletionProposal</a>;
|
52
|
-
<
|
52
|
+
struct <a class="link" href="GtkSourceCompletionProposal.html#GtkSourceCompletionProposalIface" title="struct GtkSourceCompletionProposalIface">GtkSourceCompletionProposalIface</a>;
|
53
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-label" title="gtk_source_completion_proposal_get_label ()">gtk_source_completion_proposal_get_label</a>
|
53
54
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);
|
54
|
-
<span class="returnvalue">gchar</span> * <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-markup" title="gtk_source_completion_proposal_get_markup ()">gtk_source_completion_proposal_get_markup</a>
|
55
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-markup" title="gtk_source_completion_proposal_get_markup ()">gtk_source_completion_proposal_get_markup</a>
|
55
56
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);
|
56
|
-
<span class="returnvalue">gchar</span> * <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-text" title="gtk_source_completion_proposal_get_text ()">gtk_source_completion_proposal_get_text</a>
|
57
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-text" title="gtk_source_completion_proposal_get_text ()">gtk_source_completion_proposal_get_text</a>
|
57
58
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);
|
58
|
-
<span class="returnvalue">GdkPixbuf</span> * <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-icon" title="gtk_source_completion_proposal_get_icon ()">gtk_source_completion_proposal_get_icon</a>
|
59
|
+
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-icon" title="gtk_source_completion_proposal_get_icon ()">gtk_source_completion_proposal_get_icon</a>
|
59
60
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);
|
60
|
-
<span class="returnvalue">gchar</span> * <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-info" title="gtk_source_completion_proposal_get_info ()">gtk_source_completion_proposal_get_info</a>
|
61
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-info" title="gtk_source_completion_proposal_get_info ()">gtk_source_completion_proposal_get_info</a>
|
61
62
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);
|
62
63
|
<span class="returnvalue">void</span> <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-changed" title="gtk_source_completion_proposal_changed ()">gtk_source_completion_proposal_changed</a>
|
63
64
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);
|
64
|
-
<span class="returnvalue">guint</span> <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-hash" title="gtk_source_completion_proposal_hash ()">gtk_source_completion_proposal_hash</a> (<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);
|
65
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-equal" title="gtk_source_completion_proposal_equal ()">gtk_source_completion_proposal_equal</a>
|
65
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-hash" title="gtk_source_completion_proposal_hash ()">gtk_source_completion_proposal_hash</a> (<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);
|
66
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-equal" title="gtk_source_completion_proposal_equal ()">gtk_source_completion_proposal_equal</a>
|
66
67
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>,
|
67
68
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *other</code></em>);
|
68
69
|
</pre>
|
@@ -78,7 +79,7 @@
|
|
78
79
|
<a name="GtkSourceCompletionProposal.prerequisites"></a><h2>Prerequisites</h2>
|
79
80
|
<p>
|
80
81
|
GtkSourceCompletionProposal requires
|
81
|
-
GObject
|
82
|
+
<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>.</p>
|
82
83
|
</div>
|
83
84
|
<div class="refsect1">
|
84
85
|
<a name="GtkSourceCompletionProposal.implementations"></a><h2>Known Implementations</h2>
|
@@ -89,7 +90,7 @@ GtkSourceCompletionProposal is implemented by
|
|
89
90
|
<div class="refsect1">
|
90
91
|
<a name="GtkSourceCompletionProposal.signals"></a><h2>Signals</h2>
|
91
92
|
<pre class="synopsis">
|
92
|
-
"<a class="link" href="GtkSourceCompletionProposal.html#GtkSourceCompletionProposal-changed" title='The "changed" signal'>changed</a>" : <code class="literal">Action</code>
|
93
|
+
"<a class="link" href="GtkSourceCompletionProposal.html#GtkSourceCompletionProposal-changed" title='The "changed" signal'>changed</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>
|
93
94
|
</pre>
|
94
95
|
</div>
|
95
96
|
<div class="refsect1">
|
@@ -108,14 +109,91 @@ should be taken when the completion item is activated.
|
|
108
109
|
</div>
|
109
110
|
<hr>
|
110
111
|
<div class="refsect2">
|
112
|
+
<a name="GtkSourceCompletionProposalIface"></a><h3>struct GtkSourceCompletionProposalIface</h3>
|
113
|
+
<pre class="programlisting">struct GtkSourceCompletionProposalIface {
|
114
|
+
GTypeInterface parent;
|
115
|
+
|
116
|
+
/* Interface functions */
|
117
|
+
gchar *(*get_label) (GtkSourceCompletionProposal *proposal);
|
118
|
+
gchar *(*get_markup) (GtkSourceCompletionProposal *proposal);
|
119
|
+
gchar *(*get_text) (GtkSourceCompletionProposal *proposal);
|
120
|
+
|
121
|
+
GdkPixbuf *(*get_icon) (GtkSourceCompletionProposal *proposal);
|
122
|
+
gchar *(*get_info) (GtkSourceCompletionProposal *proposal);
|
123
|
+
|
124
|
+
guint (*hash) (GtkSourceCompletionProposal *proposal);
|
125
|
+
gboolean (*equal) (GtkSourceCompletionProposal *proposal,
|
126
|
+
GtkSourceCompletionProposal *other);
|
127
|
+
|
128
|
+
/* Signals */
|
129
|
+
void (*changed) (GtkSourceCompletionProposal *proposal);
|
130
|
+
};
|
131
|
+
</pre>
|
132
|
+
<p>
|
133
|
+
The virtual function table for <a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a>.
|
134
|
+
</p>
|
135
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
136
|
+
<colgroup>
|
137
|
+
<col align="left" valign="top">
|
138
|
+
<col>
|
139
|
+
</colgroup>
|
140
|
+
<tbody>
|
141
|
+
<tr>
|
142
|
+
<td><p><span class="term"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GTypeInterface"><span class="type">GTypeInterface</span></a> <em class="structfield"><code><a name="GtkSourceCompletionProposalIface.parent"></a>parent</code></em>;</span></p></td>
|
143
|
+
<td>The parent interface.</td>
|
144
|
+
</tr>
|
145
|
+
<tr>
|
146
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProposalIface.get-label"></a>get_label</code></em> ()</span></p></td>
|
147
|
+
<td>The virtual function pointer for <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-label" title="gtk_source_completion_proposal_get_label ()"><code class="function">gtk_source_completion_proposal_get_label()</code></a>.
|
148
|
+
By default, <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> is returned.</td>
|
149
|
+
</tr>
|
150
|
+
<tr>
|
151
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProposalIface.get-markup"></a>get_markup</code></em> ()</span></p></td>
|
152
|
+
<td>The virtual function pointer for <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-markup" title="gtk_source_completion_proposal_get_markup ()"><code class="function">gtk_source_completion_proposal_get_markup()</code></a>.
|
153
|
+
By default, <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> is returned.</td>
|
154
|
+
</tr>
|
155
|
+
<tr>
|
156
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProposalIface.get-text"></a>get_text</code></em> ()</span></p></td>
|
157
|
+
<td>The virtual function pointer for <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-text" title="gtk_source_completion_proposal_get_text ()"><code class="function">gtk_source_completion_proposal_get_text()</code></a>.
|
158
|
+
By default, <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> is returned.</td>
|
159
|
+
</tr>
|
160
|
+
<tr>
|
161
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProposalIface.get-icon"></a>get_icon</code></em> ()</span></p></td>
|
162
|
+
<td>The virtual function pointer for <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-icon" title="gtk_source_completion_proposal_get_icon ()"><code class="function">gtk_source_completion_proposal_get_icon()</code></a>.
|
163
|
+
By default, <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> is returned.</td>
|
164
|
+
</tr>
|
165
|
+
<tr>
|
166
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProposalIface.get-info"></a>get_info</code></em> ()</span></p></td>
|
167
|
+
<td>The virtual function pointer for <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-info" title="gtk_source_completion_proposal_get_info ()"><code class="function">gtk_source_completion_proposal_get_info()</code></a>.
|
168
|
+
By default, <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> is returned.</td>
|
169
|
+
</tr>
|
170
|
+
<tr>
|
171
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProposalIface.hash"></a>hash</code></em> ()</span></p></td>
|
172
|
+
<td>The virtual function pointer for <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-hash" title="gtk_source_completion_proposal_hash ()"><code class="function">gtk_source_completion_proposal_hash()</code></a>.
|
173
|
+
By default, it uses a direct hash (<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html#g-direct-hash"><code class="function">g_direct_hash()</code></a>).</td>
|
174
|
+
</tr>
|
175
|
+
<tr>
|
176
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProposalIface.equal"></a>equal</code></em> ()</span></p></td>
|
177
|
+
<td>The virtual function pointer for <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-equal" title="gtk_source_completion_proposal_equal ()"><code class="function">gtk_source_completion_proposal_equal()</code></a>.
|
178
|
+
By default, it uses direct equality (<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html#g-direct-equal"><code class="function">g_direct_equal()</code></a>).</td>
|
179
|
+
</tr>
|
180
|
+
<tr>
|
181
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProposalIface.changed"></a>changed</code></em> ()</span></p></td>
|
182
|
+
<td>The function pointer for the <a class="link" href="GtkSourceCompletionProposal.html#GtkSourceCompletionProposal-changed" title='The "changed" signal'><span class="type">"changed"</span></a> signal.</td>
|
183
|
+
</tr>
|
184
|
+
</tbody>
|
185
|
+
</table></div>
|
186
|
+
</div>
|
187
|
+
<hr>
|
188
|
+
<div class="refsect2">
|
111
189
|
<a name="gtk-source-completion-proposal-get-label"></a><h3>gtk_source_completion_proposal_get_label ()</h3>
|
112
|
-
<pre class="programlisting"><span class="returnvalue">gchar</span> * gtk_source_completion_proposal_get_label
|
190
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_source_completion_proposal_get_label
|
113
191
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);</pre>
|
114
192
|
<p>
|
115
193
|
Gets the label of <em class="parameter"><code>proposal</code></em>. The label is shown in the list of proposals as
|
116
194
|
plain text. If you need any markup (such as bold or italic text), you have
|
117
|
-
to implement <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-markup" title="gtk_source_completion_proposal_get_markup ()"><
|
118
|
-
must be freed with <code class="function">g_free()</code>.
|
195
|
+
to implement <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-markup" title="gtk_source_completion_proposal_get_markup ()"><code class="function">gtk_source_completion_proposal_get_markup()</code></a>. The returned string
|
196
|
+
must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.
|
119
197
|
</p>
|
120
198
|
<div class="variablelist"><table border="0" class="variablelist">
|
121
199
|
<colgroup>
|
@@ -137,13 +215,13 @@ must be freed with <code class="function">g_free()</code>.
|
|
137
215
|
<hr>
|
138
216
|
<div class="refsect2">
|
139
217
|
<a name="gtk-source-completion-proposal-get-markup"></a><h3>gtk_source_completion_proposal_get_markup ()</h3>
|
140
|
-
<pre class="programlisting"><span class="returnvalue">gchar</span> * gtk_source_completion_proposal_get_markup
|
218
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_source_completion_proposal_get_markup
|
141
219
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);</pre>
|
142
220
|
<p>
|
143
221
|
Gets the label of <em class="parameter"><code>proposal</code></em> with markup. The label is shown in the list of
|
144
222
|
proposals and may contain markup. This will be used instead of
|
145
|
-
<a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-label" title="gtk_source_completion_proposal_get_label ()"><
|
146
|
-
must be freed with <code class="function">g_free()</code>.
|
223
|
+
<a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-label" title="gtk_source_completion_proposal_get_label ()"><code class="function">gtk_source_completion_proposal_get_label()</code></a> if implemented. The returned string
|
224
|
+
must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.
|
147
225
|
</p>
|
148
226
|
<div class="variablelist"><table border="0" class="variablelist">
|
149
227
|
<colgroup>
|
@@ -165,7 +243,7 @@ must be freed with <code class="function">g_free()</code>.
|
|
165
243
|
<hr>
|
166
244
|
<div class="refsect2">
|
167
245
|
<a name="gtk-source-completion-proposal-get-text"></a><h3>gtk_source_completion_proposal_get_text ()</h3>
|
168
|
-
<pre class="programlisting"><span class="returnvalue">gchar</span> * gtk_source_completion_proposal_get_text
|
246
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_source_completion_proposal_get_text
|
169
247
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);</pre>
|
170
248
|
<p>
|
171
249
|
Gets the text of <em class="parameter"><code>proposal</code></em>. The text that is inserted into
|
@@ -173,7 +251,7 @@ the text buffer when the proposal is activated by the default activation.
|
|
173
251
|
You are free to implement a custom activation handler in the provider and
|
174
252
|
not implement this function. For more information, see
|
175
253
|
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-activate-proposal" title="gtk_source_completion_provider_activate_proposal ()"><code class="function">gtk_source_completion_provider_activate_proposal()</code></a>. The returned string must
|
176
|
-
be freed with <code class="function">g_free()</code>.
|
254
|
+
be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.
|
177
255
|
</p>
|
178
256
|
<div class="variablelist"><table border="0" class="variablelist">
|
179
257
|
<colgroup>
|
@@ -195,7 +273,7 @@ be freed with <code class="function">g_free()</code>.
|
|
195
273
|
<hr>
|
196
274
|
<div class="refsect2">
|
197
275
|
<a name="gtk-source-completion-proposal-get-icon"></a><h3>gtk_source_completion_proposal_get_icon ()</h3>
|
198
|
-
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> * gtk_source_completion_proposal_get_icon
|
276
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gtk_source_completion_proposal_get_icon
|
199
277
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);</pre>
|
200
278
|
<p>
|
201
279
|
Gets the icon of <em class="parameter"><code>proposal</code></em>.
|
@@ -221,12 +299,12 @@ Gets the icon of <em class="parameter"><code>proposal</code></em>.
|
|
221
299
|
<hr>
|
222
300
|
<div class="refsect2">
|
223
301
|
<a name="gtk-source-completion-proposal-get-info"></a><h3>gtk_source_completion_proposal_get_info ()</h3>
|
224
|
-
<pre class="programlisting"><span class="returnvalue">gchar</span> * gtk_source_completion_proposal_get_info
|
302
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_source_completion_proposal_get_info
|
225
303
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);</pre>
|
226
304
|
<p>
|
227
305
|
Gets extra information associated to the proposal. This information will be
|
228
306
|
used to present the user with extra, detailed information about the
|
229
|
-
selected proposal. The returned string must be freed with <code class="function">g_free()</code>.
|
307
|
+
selected proposal. The returned string must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.
|
230
308
|
</p>
|
231
309
|
<div class="variablelist"><table border="0" class="variablelist">
|
232
310
|
<colgroup>
|
@@ -240,7 +318,7 @@ selected proposal. The returned string must be freed with <code class="function"
|
|
240
318
|
</tr>
|
241
319
|
<tr>
|
242
320
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
243
|
-
<td>a new string containing extra information of <em class="parameter"><code>proposal</code></em> or <code class="literal">NULL</code> if
|
321
|
+
<td>a new string containing extra information of <em class="parameter"><code>proposal</code></em> or <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> if
|
244
322
|
no extra information is associated to <em class="parameter"><code>proposal</code></em>.</td>
|
245
323
|
</tr>
|
246
324
|
</tbody>
|
@@ -270,11 +348,11 @@ changed.
|
|
270
348
|
<hr>
|
271
349
|
<div class="refsect2">
|
272
350
|
<a name="gtk-source-completion-proposal-hash"></a><h3>gtk_source_completion_proposal_hash ()</h3>
|
273
|
-
<pre class="programlisting"><span class="returnvalue">guint</span> gtk_source_completion_proposal_hash (<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);</pre>
|
351
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> gtk_source_completion_proposal_hash (<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);</pre>
|
274
352
|
<p>
|
275
353
|
Get the hash value of <em class="parameter"><code>proposal</code></em>. This is used to (together with
|
276
|
-
<a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-equal" title="gtk_source_completion_proposal_equal ()"><
|
277
|
-
model. By default, it uses a direct hash (<
|
354
|
+
<a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-equal" title="gtk_source_completion_proposal_equal ()"><code class="function">gtk_source_completion_proposal_equal()</code></a>) to match proposals in the completion
|
355
|
+
model. By default, it uses a direct hash (<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html#g-direct-hash"><code class="function">g_direct_hash()</code></a>).
|
278
356
|
</p>
|
279
357
|
<div class="variablelist"><table border="0" class="variablelist">
|
280
358
|
<colgroup>
|
@@ -296,13 +374,13 @@ model. By default, it uses a direct hash (<span class="type">g_direct_hash</span
|
|
296
374
|
<hr>
|
297
375
|
<div class="refsect2">
|
298
376
|
<a name="gtk-source-completion-proposal-equal"></a><h3>gtk_source_completion_proposal_equal ()</h3>
|
299
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_source_completion_proposal_equal
|
377
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_source_completion_proposal_equal
|
300
378
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>,
|
301
379
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *other</code></em>);</pre>
|
302
380
|
<p>
|
303
381
|
Get whether two proposal objects are the same. This is used to (together
|
304
|
-
with <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-hash" title="gtk_source_completion_proposal_hash ()"><
|
305
|
-
completion model. By default, it uses direct equality (<
|
382
|
+
with <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-hash" title="gtk_source_completion_proposal_hash ()"><code class="function">gtk_source_completion_proposal_hash()</code></a>) to match proposals in the
|
383
|
+
completion model. By default, it uses direct equality (<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html#g-direct-equal"><code class="function">g_direct_equal()</code></a>).
|
306
384
|
</p>
|
307
385
|
<div class="variablelist"><table border="0" class="variablelist">
|
308
386
|
<colgroup>
|
@@ -321,7 +399,7 @@ completion model. By default, it uses direct equality (<span class="type">g_dire
|
|
321
399
|
<tr>
|
322
400
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
323
401
|
<td>
|
324
|
-
<code class="literal">TRUE</code> if <em class="parameter"><code>proposal</code></em> and <em class="parameter"><code>object</code></em> are the same proposal</td>
|
402
|
+
<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> if <em class="parameter"><code>proposal</code></em> and <em class="parameter"><code>object</code></em> are the same proposal</td>
|
325
403
|
</tr>
|
326
404
|
</tbody>
|
327
405
|
</table></div>
|
@@ -332,7 +410,7 @@ completion model. By default, it uses direct equality (<span class="type">g_dire
|
|
332
410
|
<div class="refsect2">
|
333
411
|
<a name="GtkSourceCompletionProposal-changed"></a><h3>The <code class="literal">"changed"</code> signal</h3>
|
334
412
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal,
|
335
|
-
<span class="type">gpointer</span> user_data) : <code class="literal">Action</code></pre>
|
413
|
+
<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>
|
336
414
|
<p>
|
337
415
|
Emitted when the proposal has changed. The completion popup
|
338
416
|
will react to this by updating the shown information.
|
@@ -3,11 +3,11 @@
|
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>GtkSourceCompletionProvider</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="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal">
|
10
|
-
<link rel="next" href="
|
10
|
+
<link rel="next" href="GtkSourceCompletionWords.html" title="GtkSourceCompletionWords">
|
11
11
|
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
@@ -15,10 +15,10 @@
|
|
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="GtkSourceCompletionProposal.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
|
-
<td><a accesskey="n" href="
|
21
|
+
<td><a accesskey="n" href="GtkSourceCompletionWords.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
22
|
</tr>
|
23
23
|
<tr><td colspan="5" class="shortcuts">
|
24
24
|
<a href="#GtkSourceCompletionProvider.synopsis" class="shortcut">Top</a>
|
@@ -28,6 +28,8 @@
|
|
28
28
|
<a href="#GtkSourceCompletionProvider.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
29
|
|
|
30
30
|
<a href="#GtkSourceCompletionProvider.prerequisites" class="shortcut">Prerequisites</a>
|
31
|
+
|
|
32
|
+
<a href="#GtkSourceCompletionProvider.implementations" class="shortcut">Known Implementations</a>
|
31
33
|
</td></tr>
|
32
34
|
</table>
|
33
35
|
<div class="refentry">
|
@@ -42,40 +44,41 @@
|
|
42
44
|
<div class="refsynopsisdiv">
|
43
45
|
<a name="GtkSourceCompletionProvider.synopsis"></a><h2>Synopsis</h2>
|
44
46
|
<pre class="synopsis">
|
45
|
-
#include <gtksourceview/
|
47
|
+
#include <gtksourceview/gtksource.h>
|
46
48
|
|
47
49
|
<a class="link" href="GtkSourceCompletionProvider.html#GtkSourceCompletionProvider-struct" title="GtkSourceCompletionProvider">GtkSourceCompletionProvider</a>;
|
48
|
-
<
|
50
|
+
struct <a class="link" href="GtkSourceCompletionProvider.html#GtkSourceCompletionProviderIface" title="struct GtkSourceCompletionProviderIface">GtkSourceCompletionProviderIface</a>;
|
51
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-name" title="gtk_source_completion_provider_get_name ()">gtk_source_completion_provider_get_name</a>
|
49
52
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);
|
50
|
-
<span class="returnvalue">GdkPixbuf</span> * <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-icon" title="gtk_source_completion_provider_get_icon ()">gtk_source_completion_provider_get_icon</a>
|
53
|
+
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-icon" title="gtk_source_completion_provider_get_icon ()">gtk_source_completion_provider_get_icon</a>
|
51
54
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);
|
52
55
|
<span class="returnvalue">void</span> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-populate" title="gtk_source_completion_provider_populate ()">gtk_source_completion_provider_populate</a>
|
53
56
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
54
57
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>);
|
55
58
|
<a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="returnvalue">GtkSourceCompletionActivation</span></a> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-activation" title="gtk_source_completion_provider_get_activation ()">gtk_source_completion_provider_get_activation</a>
|
56
59
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);
|
57
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-match" title="gtk_source_completion_provider_match ()">gtk_source_completion_provider_match</a>
|
60
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-match" title="gtk_source_completion_provider_match ()">gtk_source_completion_provider_match</a>
|
58
61
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
59
62
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>);
|
60
|
-
<span class="returnvalue">GtkWidget</span> * <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-info-widget" title="gtk_source_completion_provider_get_info_widget ()">gtk_source_completion_provider_get_info_widget</a>
|
63
|
+
<a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-info-widget" title="gtk_source_completion_provider_get_info_widget ()">gtk_source_completion_provider_get_info_widget</a>
|
61
64
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
62
65
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);
|
63
66
|
<span class="returnvalue">void</span> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-update-info" title="gtk_source_completion_provider_update_info ()">gtk_source_completion_provider_update_info</a>
|
64
67
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
65
68
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>,
|
66
69
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>);
|
67
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-start-iter" title="gtk_source_completion_provider_get_start_iter ()">gtk_source_completion_provider_get_start_iter</a>
|
70
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-start-iter" title="gtk_source_completion_provider_get_start_iter ()">gtk_source_completion_provider_get_start_iter</a>
|
68
71
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
69
72
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>,
|
70
73
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>,
|
71
|
-
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>);
|
72
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-activate-proposal" title="gtk_source_completion_provider_activate_proposal ()">gtk_source_completion_provider_activate_proposal</a>
|
74
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);
|
75
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-activate-proposal" title="gtk_source_completion_provider_activate_proposal ()">gtk_source_completion_provider_activate_proposal</a>
|
73
76
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
74
77
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>,
|
75
|
-
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>);
|
76
|
-
<span class="returnvalue">gint</span> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-interactive-delay" title="gtk_source_completion_provider_get_interactive_delay ()">gtk_source_completion_provider_get_interactive_delay</a>
|
78
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);
|
79
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-interactive-delay" title="gtk_source_completion_provider_get_interactive_delay ()">gtk_source_completion_provider_get_interactive_delay</a>
|
77
80
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);
|
78
|
-
<span class="returnvalue">gint</span> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-priority" title="gtk_source_completion_provider_get_priority ()">gtk_source_completion_provider_get_priority</a>
|
81
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-priority" title="gtk_source_completion_provider_get_priority ()">gtk_source_completion_provider_get_priority</a>
|
79
82
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);
|
80
83
|
</pre>
|
81
84
|
</div>
|
@@ -90,7 +93,13 @@
|
|
90
93
|
<a name="GtkSourceCompletionProvider.prerequisites"></a><h2>Prerequisites</h2>
|
91
94
|
<p>
|
92
95
|
GtkSourceCompletionProvider requires
|
93
|
-
GObject
|
96
|
+
<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>.</p>
|
97
|
+
</div>
|
98
|
+
<div class="refsect1">
|
99
|
+
<a name="GtkSourceCompletionProvider.implementations"></a><h2>Known Implementations</h2>
|
100
|
+
<p>
|
101
|
+
GtkSourceCompletionProvider is implemented by
|
102
|
+
<a class="link" href="GtkSourceCompletionWords.html" title="GtkSourceCompletionWords">GtkSourceCompletionWords</a>.</p>
|
94
103
|
</div>
|
95
104
|
<div class="refsect1">
|
96
105
|
<a name="GtkSourceCompletionProvider.description"></a><h2>Description</h2>
|
@@ -106,13 +115,119 @@ You must implement this interface to provide proposals to <a class="link" href="
|
|
106
115
|
</div>
|
107
116
|
<hr>
|
108
117
|
<div class="refsect2">
|
118
|
+
<a name="GtkSourceCompletionProviderIface"></a><h3>struct GtkSourceCompletionProviderIface</h3>
|
119
|
+
<pre class="programlisting">struct GtkSourceCompletionProviderIface {
|
120
|
+
GTypeInterface g_iface;
|
121
|
+
|
122
|
+
gchar *(*get_name) (GtkSourceCompletionProvider *provider);
|
123
|
+
GdkPixbuf *(*get_icon) (GtkSourceCompletionProvider *provider);
|
124
|
+
void (*populate) (GtkSourceCompletionProvider *provider,
|
125
|
+
GtkSourceCompletionContext *context);
|
126
|
+
|
127
|
+
gboolean (*match) (GtkSourceCompletionProvider *provider,
|
128
|
+
GtkSourceCompletionContext *context);
|
129
|
+
|
130
|
+
GtkSourceCompletionActivation
|
131
|
+
(*get_activation) (GtkSourceCompletionProvider *provider);
|
132
|
+
|
133
|
+
GtkWidget *(*get_info_widget) (GtkSourceCompletionProvider *provider,
|
134
|
+
GtkSourceCompletionProposal *proposal);
|
135
|
+
void (*update_info) (GtkSourceCompletionProvider *provider,
|
136
|
+
GtkSourceCompletionProposal *proposal,
|
137
|
+
GtkSourceCompletionInfo *info);
|
138
|
+
|
139
|
+
gboolean (*get_start_iter) (GtkSourceCompletionProvider *provider,
|
140
|
+
GtkSourceCompletionContext *context,
|
141
|
+
GtkSourceCompletionProposal *proposal,
|
142
|
+
GtkTextIter *iter);
|
143
|
+
gboolean (*activate_proposal) (GtkSourceCompletionProvider *provider,
|
144
|
+
GtkSourceCompletionProposal *proposal,
|
145
|
+
GtkTextIter *iter);
|
146
|
+
|
147
|
+
gint (*get_interactive_delay) (GtkSourceCompletionProvider *provider);
|
148
|
+
gint (*get_priority) (GtkSourceCompletionProvider *provider);
|
149
|
+
};
|
150
|
+
</pre>
|
151
|
+
<p>
|
152
|
+
The virtual function table for <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>.
|
153
|
+
</p>
|
154
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
155
|
+
<colgroup>
|
156
|
+
<col align="left" valign="top">
|
157
|
+
<col>
|
158
|
+
</colgroup>
|
159
|
+
<tbody>
|
160
|
+
<tr>
|
161
|
+
<td><p><span class="term"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#GTypeInterface"><span class="type">GTypeInterface</span></a> <em class="structfield"><code><a name="GtkSourceCompletionProviderIface.g-iface"></a>g_iface</code></em>;</span></p></td>
|
162
|
+
<td>The parent interface.</td>
|
163
|
+
</tr>
|
164
|
+
<tr>
|
165
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.get-name"></a>get_name</code></em> ()</span></p></td>
|
166
|
+
<td>The virtual function pointer for <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-name" title="gtk_source_completion_provider_get_name ()"><code class="function">gtk_source_completion_provider_get_name()</code></a>.
|
167
|
+
Must be implemented.</td>
|
168
|
+
</tr>
|
169
|
+
<tr>
|
170
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.get-icon"></a>get_icon</code></em> ()</span></p></td>
|
171
|
+
<td>The virtual function pointer for <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-icon" title="gtk_source_completion_provider_get_icon ()"><code class="function">gtk_source_completion_provider_get_icon()</code></a>.
|
172
|
+
By default, <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> is returned.</td>
|
173
|
+
</tr>
|
174
|
+
<tr>
|
175
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.populate"></a>populate</code></em> ()</span></p></td>
|
176
|
+
<td>The virtual function pointer for <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>.
|
177
|
+
Add no proposals by default.</td>
|
178
|
+
</tr>
|
179
|
+
<tr>
|
180
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.match"></a>match</code></em> ()</span></p></td>
|
181
|
+
<td>The virtual function pointer for <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-match" title="gtk_source_completion_provider_match ()"><code class="function">gtk_source_completion_provider_match()</code></a>.
|
182
|
+
By default, <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> is returned.</td>
|
183
|
+
</tr>
|
184
|
+
<tr>
|
185
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.get-activation"></a>get_activation</code></em> ()</span></p></td>
|
186
|
+
<td>The virtual function pointer for <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-activation" title="gtk_source_completion_provider_get_activation ()"><code class="function">gtk_source_completion_provider_get_activation()</code></a>.
|
187
|
+
The combination of all <a class="link" href="GtkSourceCompletionContext.html#GtkSourceCompletionActivation" title="enum GtkSourceCompletionActivation"><span class="type">GtkSourceCompletionActivation</span></a> is returned by default.</td>
|
188
|
+
</tr>
|
189
|
+
<tr>
|
190
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.get-info-widget"></a>get_info_widget</code></em> ()</span></p></td>
|
191
|
+
<td>The virtual function pointer for <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-info-widget" title="gtk_source_completion_provider_get_info_widget ()"><code class="function">gtk_source_completion_provider_get_info_widget()</code></a>.
|
192
|
+
By default, <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> is returned.</td>
|
193
|
+
</tr>
|
194
|
+
<tr>
|
195
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.update-info"></a>update_info</code></em> ()</span></p></td>
|
196
|
+
<td>The virtual function pointer for <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-update-info" title="gtk_source_completion_provider_update_info ()"><code class="function">gtk_source_completion_provider_update_info()</code></a>.
|
197
|
+
Does nothing by default.</td>
|
198
|
+
</tr>
|
199
|
+
<tr>
|
200
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.get-start-iter"></a>get_start_iter</code></em> ()</span></p></td>
|
201
|
+
<td>The virtual function pointer for <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-start-iter" title="gtk_source_completion_provider_get_start_iter ()"><code class="function">gtk_source_completion_provider_get_start_iter()</code></a>.
|
202
|
+
By default, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned.</td>
|
203
|
+
</tr>
|
204
|
+
<tr>
|
205
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.activate-proposal"></a>activate_proposal</code></em> ()</span></p></td>
|
206
|
+
<td>The virtual function pointer for <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-activate-proposal" title="gtk_source_completion_provider_activate_proposal ()"><code class="function">gtk_source_completion_provider_activate_proposal()</code></a>.
|
207
|
+
By default, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned.</td>
|
208
|
+
</tr>
|
209
|
+
<tr>
|
210
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.get-interactive-delay"></a>get_interactive_delay</code></em> ()</span></p></td>
|
211
|
+
<td>The virtual function pointer for <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-interactive-delay" title="gtk_source_completion_provider_get_interactive_delay ()"><code class="function">gtk_source_completion_provider_get_interactive_delay()</code></a>.
|
212
|
+
By default, -1 is returned.</td>
|
213
|
+
</tr>
|
214
|
+
<tr>
|
215
|
+
<td><p><span class="term"><em class="structfield"><code><a name="GtkSourceCompletionProviderIface.get-priority"></a>get_priority</code></em> ()</span></p></td>
|
216
|
+
<td>The virtual function pointer for <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-priority" title="gtk_source_completion_provider_get_priority ()"><code class="function">gtk_source_completion_provider_get_priority()</code></a>.
|
217
|
+
By default, 0 is returned.</td>
|
218
|
+
</tr>
|
219
|
+
</tbody>
|
220
|
+
</table></div>
|
221
|
+
</div>
|
222
|
+
<hr>
|
223
|
+
<div class="refsect2">
|
109
224
|
<a name="gtk-source-completion-provider-get-name"></a><h3>gtk_source_completion_provider_get_name ()</h3>
|
110
|
-
<pre class="programlisting"><span class="returnvalue">gchar</span> * gtk_source_completion_provider_get_name
|
225
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_source_completion_provider_get_name
|
111
226
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);</pre>
|
112
227
|
<p>
|
113
228
|
Get the name of the provider. This should be a translatable name for
|
114
229
|
display to the user. For example: _("Document word completion provider"). The
|
115
|
-
returned string must be freed with <code class="function">g_free()</code>.
|
230
|
+
returned string must be freed with <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.
|
116
231
|
</p>
|
117
232
|
<div class="variablelist"><table border="0" class="variablelist">
|
118
233
|
<colgroup>
|
@@ -134,7 +249,7 @@ returned string must be freed with <code class="function">g_free()</code>.
|
|
134
249
|
<hr>
|
135
250
|
<div class="refsect2">
|
136
251
|
<a name="gtk-source-completion-provider-get-icon"></a><h3>gtk_source_completion_provider_get_icon ()</h3>
|
137
|
-
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> * gtk_source_completion_provider_get_icon
|
252
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gtk_source_completion_provider_get_icon
|
138
253
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);</pre>
|
139
254
|
<p>
|
140
255
|
Get the icon of the provider.
|
@@ -153,7 +268,7 @@ Get the icon of the provider.
|
|
153
268
|
<tr>
|
154
269
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
155
270
|
<td>The icon to be used for the provider,
|
156
|
-
or <code class="literal">NULL</code> if the provider does not have a special icon. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
271
|
+
or <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> if the provider does not have a special icon. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
157
272
|
</td>
|
158
273
|
</tr>
|
159
274
|
</tbody>
|
@@ -214,7 +329,7 @@ Get with what kind of activation the provider should be activated.
|
|
214
329
|
<hr>
|
215
330
|
<div class="refsect2">
|
216
331
|
<a name="gtk-source-completion-provider-match"></a><h3>gtk_source_completion_provider_match ()</h3>
|
217
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_source_completion_provider_match
|
332
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_source_completion_provider_match
|
218
333
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
219
334
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>);</pre>
|
220
335
|
<p>
|
@@ -238,7 +353,7 @@ Get whether the provider match the context of completion detailed in
|
|
238
353
|
<tr>
|
239
354
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
240
355
|
<td>
|
241
|
-
<code class="literal">TRUE</code> if <em class="parameter"><code>provider</code></em> matches the completion context, <code class="literal">FALSE</code> otherwise.</td>
|
356
|
+
<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> if <em class="parameter"><code>provider</code></em> matches the completion context, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
242
357
|
</tr>
|
243
358
|
</tbody>
|
244
359
|
</table></div>
|
@@ -246,7 +361,7 @@ Get whether the provider match the context of completion detailed in
|
|
246
361
|
<hr>
|
247
362
|
<div class="refsect2">
|
248
363
|
<a name="gtk-source-completion-provider-get-info-widget"></a><h3>gtk_source_completion_provider_get_info_widget ()</h3>
|
249
|
-
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * gtk_source_completion_provider_get_info_widget
|
364
|
+
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gtk_source_completion_provider_get_info_widget
|
250
365
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
251
366
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>);</pre>
|
252
367
|
<p>
|
@@ -254,10 +369,22 @@ Get a customized info widget to show extra information of a proposal.
|
|
254
369
|
This allows for customized widgets on a proposal basis, although in general
|
255
370
|
providers will have the same custom widget for all their proposals and
|
256
371
|
<em class="parameter"><code>proposal</code></em> can be ignored. The implementation of this function is optional.
|
257
|
-
|
258
|
-
|
259
|
-
<a
|
260
|
-
|
372
|
+
</p>
|
373
|
+
<p>
|
374
|
+
If this function is not implemented, the default widget is a <a href="http://developer.gnome.org/gtk2/GtkLabel.html"><span class="type">GtkLabel</span></a>. The
|
375
|
+
return value of <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-info" title="gtk_source_completion_proposal_get_info ()"><code class="function">gtk_source_completion_proposal_get_info()</code></a> is used as the
|
376
|
+
content of the <a href="http://developer.gnome.org/gtk2/GtkLabel.html"><span class="type">GtkLabel</span></a>.
|
377
|
+
</p>
|
378
|
+
<p>
|
379
|
+
</p>
|
380
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
381
|
+
<h3 class="title">Note</h3>
|
382
|
+
<p>
|
383
|
+
If implemented, <a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-update-info" title="gtk_source_completion_provider_update_info ()"><code class="function">gtk_source_completion_provider_update_info()</code></a>
|
384
|
+
<span class="emphasis"><em>must</em></span> also be implemented.
|
385
|
+
</p>
|
386
|
+
</div>
|
387
|
+
<p>
|
261
388
|
</p>
|
262
389
|
<div class="variablelist"><table border="0" class="variablelist">
|
263
390
|
<colgroup>
|
@@ -275,7 +402,7 @@ information about a <a class="link" href="GtkSourceCompletionProposal.html" titl
|
|
275
402
|
</tr>
|
276
403
|
<tr>
|
277
404
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
278
|
-
<td>a custom <span class="type">GtkWidget</span> to show extra
|
405
|
+
<td>a custom <a href="http://developer.gnome.org/gtk2/GtkWidget.html"><span class="type">GtkWidget</span></a> to show extra
|
279
406
|
information about <em class="parameter"><code>proposal</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
280
407
|
</td>
|
281
408
|
</tr>
|
@@ -291,8 +418,17 @@ information about <em class="parameter"><code>proposal</code></em>. <span class=
|
|
291
418
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> *info</code></em>);</pre>
|
292
419
|
<p>
|
293
420
|
Update extra information shown in <em class="parameter"><code>info</code></em> for <em class="parameter"><code>proposal</code></em>.
|
294
|
-
|
295
|
-
<
|
421
|
+
</p>
|
422
|
+
<p>
|
423
|
+
</p>
|
424
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
425
|
+
<h3 class="title">Note</h3>
|
426
|
+
<p>
|
427
|
+
This function <span class="emphasis"><em>must</em></span> be implemented when
|
428
|
+
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-info-widget" title="gtk_source_completion_provider_get_info_widget ()"><code class="function">gtk_source_completion_provider_get_info_widget()</code></a> is implemented.
|
429
|
+
</p>
|
430
|
+
</div>
|
431
|
+
<p>
|
296
432
|
</p>
|
297
433
|
<div class="variablelist"><table border="0" class="variablelist">
|
298
434
|
<colgroup>
|
@@ -318,13 +454,13 @@ This function MUST be implemented when
|
|
318
454
|
<hr>
|
319
455
|
<div class="refsect2">
|
320
456
|
<a name="gtk-source-completion-provider-get-start-iter"></a><h3>gtk_source_completion_provider_get_start_iter ()</h3>
|
321
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_source_completion_provider_get_start_iter
|
457
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_source_completion_provider_get_start_iter
|
322
458
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
323
459
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>,
|
324
460
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>,
|
325
|
-
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>);</pre>
|
461
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
326
462
|
<p>
|
327
|
-
Get the <span class="type">GtkTextIter</span> at which the completion for <em class="parameter"><code>proposal</code></em> starts. When
|
463
|
+
Get the <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> at which the completion for <em class="parameter"><code>proposal</code></em> starts. When
|
328
464
|
implemented, the completion can use this information to position the
|
329
465
|
completion window accordingly when a proposal is selected in the completion
|
330
466
|
window.
|
@@ -354,12 +490,12 @@ of the word to replace. See
|
|
354
490
|
</tr>
|
355
491
|
<tr>
|
356
492
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
357
|
-
<td>a <span class="type">GtkTextIter</span>.</td>
|
493
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</td>
|
358
494
|
</tr>
|
359
495
|
<tr>
|
360
496
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
361
497
|
<td>
|
362
|
-
<code class="literal">TRUE</code> if <em class="parameter"><code>iter</code></em> was set for <em class="parameter"><code>proposal</code></em>, <code class="literal">FALSE</code> otherwise.</td>
|
498
|
+
<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> if <em class="parameter"><code>iter</code></em> was set for <em class="parameter"><code>proposal</code></em>, <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
363
499
|
</tr>
|
364
500
|
</tbody>
|
365
501
|
</table></div>
|
@@ -367,19 +503,19 @@ of the word to replace. See
|
|
367
503
|
<hr>
|
368
504
|
<div class="refsect2">
|
369
505
|
<a name="gtk-source-completion-provider-activate-proposal"></a><h3>gtk_source_completion_provider_activate_proposal ()</h3>
|
370
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_source_completion_provider_activate_proposal
|
506
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_source_completion_provider_activate_proposal
|
371
507
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
372
508
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> *proposal</code></em>,
|
373
|
-
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>);</pre>
|
509
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
374
510
|
<p>
|
375
|
-
Activate <em class="parameter"><code>proposal</code></em> at <em class="parameter"><code>iter</code></em>. When this functions returns <code class="literal">FALSE</code>, the default
|
511
|
+
Activate <em class="parameter"><code>proposal</code></em> at <em class="parameter"><code>iter</code></em>. When this functions returns <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, the default
|
376
512
|
activation of <em class="parameter"><code>proposal</code></em> will take place which replaces the word at <em class="parameter"><code>iter</code></em>
|
377
513
|
with the text of <em class="parameter"><code>proposal</code></em> (see <a class="link" href="GtkSourceCompletionProposal.html#gtk-source-completion-proposal-get-text" title="gtk_source_completion_proposal_get_text ()"><code class="function">gtk_source_completion_proposal_get_text()</code></a>).
|
378
514
|
</p>
|
379
515
|
<p>
|
380
516
|
Here is how the default activation selects the boundaries of the word to
|
381
517
|
replace. The end of the word is <em class="parameter"><code>iter</code></em>. For the start of the word, it depends
|
382
|
-
on
|
518
|
+
on whether a start iter is defined for <em class="parameter"><code>proposal</code></em> (see
|
383
519
|
<a class="link" href="GtkSourceCompletionProvider.html#gtk-source-completion-provider-get-start-iter" title="gtk_source_completion_provider_get_start_iter ()"><code class="function">gtk_source_completion_provider_get_start_iter()</code></a>). If a start iter is defined,
|
384
520
|
the start of the word is the start iter. Else, the word (as long as possible)
|
385
521
|
will contain only alphanumerical and the "_" characters.
|
@@ -400,13 +536,13 @@ will contain only alphanumerical and the "_" characters.
|
|
400
536
|
</tr>
|
401
537
|
<tr>
|
402
538
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
403
|
-
<td>a <span class="type">GtkTextIter</span>.</td>
|
539
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</td>
|
404
540
|
</tr>
|
405
541
|
<tr>
|
406
542
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
407
543
|
<td>
|
408
|
-
<code class="literal">TRUE</code> to indicate that the proposal activation has been handled,
|
409
|
-
<code class="literal">FALSE</code> otherwise.</td>
|
544
|
+
<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> to indicate that the proposal activation has been handled,
|
545
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
410
546
|
</tr>
|
411
547
|
</tbody>
|
412
548
|
</table></div>
|
@@ -414,12 +550,12 @@ will contain only alphanumerical and the "_" characters.
|
|
414
550
|
<hr>
|
415
551
|
<div class="refsect2">
|
416
552
|
<a name="gtk-source-completion-provider-get-interactive-delay"></a><h3>gtk_source_completion_provider_get_interactive_delay ()</h3>
|
417
|
-
<pre class="programlisting"><span class="returnvalue">gint</span> gtk_source_completion_provider_get_interactive_delay
|
553
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_source_completion_provider_get_interactive_delay
|
418
554
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);</pre>
|
419
555
|
<p>
|
420
556
|
Get the delay in milliseconds before starting interactive completion for
|
421
557
|
this provider. A value of -1 indicates to use the default value as set
|
422
|
-
by <span class="type">"auto-complete-delay"</span
|
558
|
+
by the <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--auto-complete-delay" title='The "auto-complete-delay" property'><span class="type">"auto-complete-delay"</span></a> property.
|
423
559
|
</p>
|
424
560
|
<div class="variablelist"><table border="0" class="variablelist">
|
425
561
|
<colgroup>
|
@@ -441,7 +577,7 @@ by <span class="type">"auto-complete-delay"</span>.
|
|
441
577
|
<hr>
|
442
578
|
<div class="refsect2">
|
443
579
|
<a name="gtk-source-completion-provider-get-priority"></a><h3>gtk_source_completion_provider_get_priority ()</h3>
|
444
|
-
<pre class="programlisting"><span class="returnvalue">gint</span> gtk_source_completion_provider_get_priority
|
580
|
+
<pre class="programlisting"><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> gtk_source_completion_provider_get_priority
|
445
581
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>);</pre>
|
446
582
|
<p>
|
447
583
|
Get the provider priority. The priority determines the order in which
|