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>GtkSourceCompletion</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="GtkSourceBuffer.html" title="GtkSourceBuffer">
|
10
10
|
<link rel="next" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext">
|
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="GtkSourceBuffer.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="GtkSourceCompletionContext.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
@@ -44,19 +44,22 @@
|
|
44
44
|
<div class="refsynopsisdiv">
|
45
45
|
<a name="GtkSourceCompletion.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="GtkSourceCompletion.html#GtkSourceCompletion-struct" title="GtkSourceCompletion">GtkSourceCompletion</a>;
|
50
|
-
<
|
50
|
+
#define <a class="link" href="GtkSourceCompletion.html#GTK-SOURCE-COMPLETION-ERROR:CAPS" title="GTK_SOURCE_COMPLETION_ERROR">GTK_SOURCE_COMPLETION_ERROR</a>
|
51
|
+
enum <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletionError" title="enum GtkSourceCompletionError">GtkSourceCompletionError</a>;
|
52
|
+
|
53
|
+
<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="GtkSourceCompletion.html#gtk-source-completion-add-provider" title="gtk_source_completion_add_provider ()">gtk_source_completion_add_provider</a> (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>,
|
51
54
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
52
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
53
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-remove-provider" title="gtk_source_completion_remove_provider ()">gtk_source_completion_remove_provider</a>
|
55
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
56
|
+
<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="GtkSourceCompletion.html#gtk-source-completion-remove-provider" title="gtk_source_completion_remove_provider ()">gtk_source_completion_remove_provider</a>
|
54
57
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>,
|
55
58
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
56
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
57
|
-
<span class="returnvalue">GList</span> * <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-get-providers" title="gtk_source_completion_get_providers ()">gtk_source_completion_get_providers</a> (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>);
|
58
|
-
<span class="returnvalue">gboolean</span> <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-show" title="gtk_source_completion_show ()">gtk_source_completion_show</a> (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>,
|
59
|
-
<em class="parameter"><code><span class="type">GList</span> *providers</code></em>,
|
59
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
60
|
+
<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="returnvalue">GList</span></a> * <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-get-providers" title="gtk_source_completion_get_providers ()">gtk_source_completion_get_providers</a> (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>);
|
61
|
+
<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="GtkSourceCompletion.html#gtk-source-completion-show" title="gtk_source_completion_show ()">gtk_source_completion_show</a> (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>,
|
62
|
+
<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> *providers</code></em>,
|
60
63
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>);
|
61
64
|
<span class="returnvalue">void</span> <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-hide" title="gtk_source_completion_hide ()">gtk_source_completion_hide</a> (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>);
|
62
65
|
<a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="returnvalue">GtkSourceCompletionInfo</span></a> * <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-get-info-window" title="gtk_source_completion_get_info_window ()">gtk_source_completion_get_info_window</a>
|
@@ -64,9 +67,9 @@
|
|
64
67
|
<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="returnvalue">GtkSourceView</span></a> * <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-get-view" title="gtk_source_completion_get_view ()">gtk_source_completion_get_view</a> (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>);
|
65
68
|
<a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="returnvalue">GtkSourceCompletionContext</span></a> * <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-create-context" title="gtk_source_completion_create_context ()">gtk_source_completion_create_context</a>
|
66
69
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>,
|
67
|
-
<em class="parameter"><code><span class="type">GtkTextIter</span> *position</code></em>);
|
70
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *position</code></em>);
|
68
71
|
<span class="returnvalue">void</span> <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-move-window" title="gtk_source_completion_move_window ()">gtk_source_completion_move_window</a> (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>,
|
69
|
-
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>);
|
72
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);
|
70
73
|
<span class="returnvalue">void</span> <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-block-interactive" title="gtk_source_completion_block_interactive ()">gtk_source_completion_block_interactive</a>
|
71
74
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>);
|
72
75
|
<span class="returnvalue">void</span> <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-unblock-interactive" title="gtk_source_completion_unblock_interactive ()">gtk_source_completion_unblock_interactive</a>
|
@@ -76,37 +79,93 @@
|
|
76
79
|
<div class="refsect1">
|
77
80
|
<a name="GtkSourceCompletion.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
78
81
|
<pre class="synopsis">
|
79
|
-
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>
|
80
83
|
+----GtkSourceCompletion
|
81
84
|
</pre>
|
82
85
|
</div>
|
83
86
|
<div class="refsect1">
|
84
87
|
<a name="GtkSourceCompletion.properties"></a><h2>Properties</h2>
|
85
88
|
<pre class="synopsis">
|
86
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--accelerators" title='The "accelerators" property'>accelerators</a>" <span class="type">guint</span> : Read / Write / Construct
|
87
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--auto-complete-delay" title='The "auto-complete-delay" property'>auto-complete-delay</a>" <span class="type">guint</span> : Read / Write / Construct
|
88
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--proposal-page-size" title='The "proposal-page-size" property'>proposal-page-size</a>" <span class="type">guint</span> : Read / Write / Construct
|
89
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--provider-page-size" title='The "provider-page-size" property'>provider-page-size</a>" <span class="type">guint</span> : Read / Write / Construct
|
90
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--remember-info-visibility" title='The "remember-info-visibility" property'>remember-info-visibility</a>" <span class="type">gboolean</span> : Read / Write / Construct
|
91
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--select-on-show" title='The "select-on-show" property'>select-on-show</a>" <span class="type">gboolean</span> : Read / Write / Construct
|
92
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--show-headers" title='The "show-headers" property'>show-headers</a>" <span class="type">gboolean</span> : Read / Write / Construct
|
93
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--show-icons" title='The "show-icons" property'>show-icons</a>" <span class="type">gboolean</span> : Read / Write / Construct
|
89
|
+
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--accelerators" title='The "accelerators" property'>accelerators</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct
|
90
|
+
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--auto-complete-delay" title='The "auto-complete-delay" property'>auto-complete-delay</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct
|
91
|
+
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--proposal-page-size" title='The "proposal-page-size" property'>proposal-page-size</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct
|
92
|
+
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--provider-page-size" title='The "provider-page-size" property'>provider-page-size</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct
|
93
|
+
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--remember-info-visibility" title='The "remember-info-visibility" property'>remember-info-visibility</a>" <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> : Read / Write / Construct
|
94
|
+
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--select-on-show" title='The "select-on-show" property'>select-on-show</a>" <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> : Read / Write / Construct
|
95
|
+
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--show-headers" title='The "show-headers" property'>show-headers</a>" <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> : Read / Write / Construct
|
96
|
+
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--show-icons" title='The "show-icons" property'>show-icons</a>" <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> : Read / Write / Construct
|
94
97
|
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--view" title='The "view" property'>view</a>" <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>* : Read / Write / Construct Only
|
95
98
|
</pre>
|
96
99
|
</div>
|
97
100
|
<div class="refsect1">
|
98
101
|
<a name="GtkSourceCompletion.signals"></a><h2>Signals</h2>
|
99
102
|
<pre class="synopsis">
|
100
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-activate-proposal" title='The "activate-proposal" signal'>activate-proposal</a>" : <code class="literal">Action</code>
|
101
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-hide" title='The "hide" signal'>hide</a>" : <code class="literal">Action</code>
|
102
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-cursor" title='The "move-cursor" signal'>move-cursor</a>" : <code class="literal">Action</code>
|
103
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-page" title='The "move-page" signal'>move-page</a>" : <code class="literal">Action</code>
|
104
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-populate-context" title='The "populate-context" signal'>populate-context</a>" : <code class="literal">Action</code>
|
105
|
-
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-show" title='The "show" signal'>show</a>" : <code class="literal">Action</code>
|
103
|
+
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-activate-proposal" title='The "activate-proposal" signal'>activate-proposal</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>
|
104
|
+
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-hide" title='The "hide" signal'>hide</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>
|
105
|
+
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-cursor" title='The "move-cursor" signal'>move-cursor</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>
|
106
|
+
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-page" title='The "move-page" signal'>move-page</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>
|
107
|
+
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-populate-context" title='The "populate-context" signal'>populate-context</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>
|
108
|
+
"<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-show" title='The "show" signal'>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>
|
106
109
|
</pre>
|
107
110
|
</div>
|
108
111
|
<div class="refsect1">
|
109
112
|
<a name="GtkSourceCompletion.description"></a><h2>Description</h2>
|
113
|
+
<p>
|
114
|
+
The completion system helps the user when he writes some text, such
|
115
|
+
as words, command names, functions, and suchlike. Proposals can be
|
116
|
+
shown, to complete the text the user is writing. Each proposal can
|
117
|
+
contain an additional piece of information, that is displayed when
|
118
|
+
the "Details" button is active.
|
119
|
+
</p>
|
120
|
+
<p>
|
121
|
+
Proposals are created via a <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>. There can
|
122
|
+
be for example a provider to complete words (see
|
123
|
+
<a class="link" href="GtkSourceCompletionWords.html" title="GtkSourceCompletionWords"><span class="type">GtkSourceCompletionWords</span></a>), another provider for the completion of
|
124
|
+
function's names, etc. To add a provider, call
|
125
|
+
<a class="link" href="GtkSourceCompletion.html#gtk-source-completion-add-provider" title="gtk_source_completion_add_provider ()"><code class="function">gtk_source_completion_add_provider()</code></a>.
|
126
|
+
</p>
|
127
|
+
<p>
|
128
|
+
When the completion is activated, a <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> object is
|
129
|
+
created. The providers are asked whether they match the context, with
|
130
|
+
<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>. If a provider doesn't match the
|
131
|
+
context, it will not be visible in the completion window. On the
|
132
|
+
other hand, if the provider matches the context, its proposals will
|
133
|
+
be displayed.
|
134
|
+
</p>
|
135
|
+
<p>
|
136
|
+
When several providers match, they are all shown in the completion
|
137
|
+
window, but one can switch between providers: see the
|
138
|
+
<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-page" title='The "move-page" signal'><span class="type">"move-page"</span></a> signal. It is also possible to
|
139
|
+
activate the first proposals with key bindings, see the
|
140
|
+
<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--accelerators" title='The "accelerators" property'><span class="type">"accelerators"</span></a> property.
|
141
|
+
</p>
|
142
|
+
<p>
|
143
|
+
The <a class="link" href="GtkSourceCompletionProposal.html" title="GtkSourceCompletionProposal"><span class="type">GtkSourceCompletionProposal</span></a> interface represents a proposal.
|
144
|
+
The <a class="link" href="GtkSourceCompletionItem.html" title="GtkSourceCompletionItem"><span class="type">GtkSourceCompletionItem</span></a> class is a simple implementation of this
|
145
|
+
interface.
|
146
|
+
</p>
|
147
|
+
<p>
|
148
|
+
If a proposal contains extra information (see
|
149
|
+
<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>), it will be
|
150
|
+
displayed in a <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> window, which appears when
|
151
|
+
the "Details" button is clicked.
|
152
|
+
</p>
|
153
|
+
<p>
|
154
|
+
A <a class="link" href="GtkSourceCompletionInfo.html" title="GtkSourceCompletionInfo"><span class="type">GtkSourceCompletionInfo</span></a> window can also be used to display
|
155
|
+
calltips. When no proposals are available, it can be useful to
|
156
|
+
display extra information like a function's prototype (number of
|
157
|
+
parameters, types of parameters, etc).
|
158
|
+
</p>
|
159
|
+
<p>
|
160
|
+
Each <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> object is associated with a <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>
|
161
|
+
instance. This instance can be obtained with
|
162
|
+
<a class="link" href="GtkSourceView.html#gtk-source-view-get-completion" title="gtk_source_view_get_completion ()"><code class="function">gtk_source_view_get_completion()</code></a>. The <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> class contains also the
|
163
|
+
<a class="link" href="GtkSourceView.html#GtkSourceView-show-completion" title='The "show-completion" signal'><span class="type">"show-completion"</span></a> signal.
|
164
|
+
</p>
|
165
|
+
<p>
|
166
|
+
A same <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> object can be used for several
|
167
|
+
<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.
|
168
|
+
</p>
|
110
169
|
</div>
|
111
170
|
<div class="refsect1">
|
112
171
|
<a name="GtkSourceCompletion.details"></a><h2>Details</h2>
|
@@ -116,10 +175,54 @@
|
|
116
175
|
</div>
|
117
176
|
<hr>
|
118
177
|
<div class="refsect2">
|
178
|
+
<a name="GTK-SOURCE-COMPLETION-ERROR:CAPS"></a><h3>GTK_SOURCE_COMPLETION_ERROR</h3>
|
179
|
+
<pre class="programlisting">#define GTK_SOURCE_COMPLETION_ERROR (gtk_source_completion_error_quark ())
|
180
|
+
</pre>
|
181
|
+
<p>
|
182
|
+
Error domain for the completion. Errors in this domain will be from the
|
183
|
+
<a class="link" href="GtkSourceCompletion.html#GtkSourceCompletionError" title="enum GtkSourceCompletionError"><span class="type">GtkSourceCompletionError</span></a> enumeration. See <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> for more information on
|
184
|
+
error domains.
|
185
|
+
</p>
|
186
|
+
</div>
|
187
|
+
<hr>
|
188
|
+
<div class="refsect2">
|
189
|
+
<a name="GtkSourceCompletionError"></a><h3>enum GtkSourceCompletionError</h3>
|
190
|
+
<pre class="programlisting">typedef enum {
|
191
|
+
GTK_SOURCE_COMPLETION_ERROR_ALREADY_BOUND = 0,
|
192
|
+
GTK_SOURCE_COMPLETION_ERROR_NOT_BOUND
|
193
|
+
} GtkSourceCompletionError;
|
194
|
+
</pre>
|
195
|
+
<p>
|
196
|
+
An error code used with <a class="link" href="GtkSourceCompletion.html#GTK-SOURCE-COMPLETION-ERROR:CAPS" title="GTK_SOURCE_COMPLETION_ERROR"><code class="literal">GTK_SOURCE_COMPLETION_ERROR</code></a> in a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> returned
|
197
|
+
from a completion-related function.
|
198
|
+
</p>
|
199
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
200
|
+
<colgroup>
|
201
|
+
<col align="left" valign="top">
|
202
|
+
<col>
|
203
|
+
</colgroup>
|
204
|
+
<tbody>
|
205
|
+
<tr>
|
206
|
+
<td><p><a name="GTK-SOURCE-COMPLETION-ERROR-ALREADY-BOUND:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_COMPLETION_ERROR_ALREADY_BOUND</code></span></p></td>
|
207
|
+
<td>The <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>
|
208
|
+
is already bound to the <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> object.
|
209
|
+
</td>
|
210
|
+
</tr>
|
211
|
+
<tr>
|
212
|
+
<td><p><a name="GTK-SOURCE-COMPLETION-ERROR-NOT-BOUND:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_COMPLETION_ERROR_NOT_BOUND</code></span></p></td>
|
213
|
+
<td>The <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> is
|
214
|
+
not bound to the <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> object.
|
215
|
+
</td>
|
216
|
+
</tr>
|
217
|
+
</tbody>
|
218
|
+
</table></div>
|
219
|
+
</div>
|
220
|
+
<hr>
|
221
|
+
<div class="refsect2">
|
119
222
|
<a name="gtk-source-completion-add-provider"></a><h3>gtk_source_completion_add_provider ()</h3>
|
120
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_source_completion_add_provider (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>,
|
223
|
+
<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_add_provider (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>,
|
121
224
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
122
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
225
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
123
226
|
<p>
|
124
227
|
Add a new <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> to the completion object. This will
|
125
228
|
add a reference <em class="parameter"><code>provider</code></em>, so make sure to unref your own copy when you
|
@@ -141,14 +244,14 @@ no longer need it.
|
|
141
244
|
</tr>
|
142
245
|
<tr>
|
143
246
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
144
|
-
<td>a <span class="type">GError</span>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
247
|
+
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
145
248
|
</td>
|
146
249
|
</tr>
|
147
250
|
<tr>
|
148
251
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
149
252
|
<td>
|
150
|
-
<code class="literal">TRUE</code> if <em class="parameter"><code>provider</code></em> was successfully added, otherwise if <em class="parameter"><code>error</code></em>
|
151
|
-
is provided, it will be set with the error and <code class="literal">FALSE</code> is returned.</td>
|
253
|
+
<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> was successfully added, otherwise if <em class="parameter"><code>error</code></em>
|
254
|
+
is provided, it will be set with the error and <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>
|
152
255
|
</tr>
|
153
256
|
</tbody>
|
154
257
|
</table></div>
|
@@ -156,10 +259,10 @@ is provided, it will be set with the error and <code class="literal">FALSE</code
|
|
156
259
|
<hr>
|
157
260
|
<div class="refsect2">
|
158
261
|
<a name="gtk-source-completion-remove-provider"></a><h3>gtk_source_completion_remove_provider ()</h3>
|
159
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_source_completion_remove_provider
|
262
|
+
<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_remove_provider
|
160
263
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>,
|
161
264
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a> *provider</code></em>,
|
162
|
-
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
265
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
163
266
|
<p>
|
164
267
|
Remove <em class="parameter"><code>provider</code></em> from the completion.
|
165
268
|
</p>
|
@@ -179,14 +282,14 @@ Remove <em class="parameter"><code>provider</code></em> from the completion.
|
|
179
282
|
</tr>
|
180
283
|
<tr>
|
181
284
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
182
|
-
<td>a <span class="type">GError</span>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
285
|
+
<td>a <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
183
286
|
</td>
|
184
287
|
</tr>
|
185
288
|
<tr>
|
186
289
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
187
290
|
<td>
|
188
|
-
<code class="literal">TRUE</code> if <em class="parameter"><code>provider</code></em> was successfully removed, otherwise if <em class="parameter"><code>error</code></em>
|
189
|
-
is provided, it will be set with the error and <code class="literal">FALSE</code> is returned.</td>
|
291
|
+
<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> was successfully removed, otherwise if <em class="parameter"><code>error</code></em>
|
292
|
+
is provided, it will be set with the error and <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>
|
190
293
|
</tr>
|
191
294
|
</tbody>
|
192
295
|
</table></div>
|
@@ -194,7 +297,7 @@ is provided, it will be set with the error and <code class="literal">FALSE</code
|
|
194
297
|
<hr>
|
195
298
|
<div class="refsect2">
|
196
299
|
<a name="gtk-source-completion-get-providers"></a><h3>gtk_source_completion_get_providers ()</h3>
|
197
|
-
<pre class="programlisting"><span class="returnvalue">GList</span> * gtk_source_completion_get_providers (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>);</pre>
|
300
|
+
<pre class="programlisting"><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="returnvalue">GList</span></a> * gtk_source_completion_get_providers (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>);</pre>
|
198
301
|
<p>
|
199
302
|
Get list of providers registered on <em class="parameter"><code>completion</code></em>. The returned list is owned
|
200
303
|
by the completion and should not be freed.
|
@@ -220,13 +323,22 @@ by the completion and should not be freed.
|
|
220
323
|
<hr>
|
221
324
|
<div class="refsect2">
|
222
325
|
<a name="gtk-source-completion-show"></a><h3>gtk_source_completion_show ()</h3>
|
223
|
-
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_source_completion_show (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>,
|
224
|
-
<em class="parameter"><code><span class="type">GList</span> *providers</code></em>,
|
326
|
+
<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_show (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>,
|
327
|
+
<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> *providers</code></em>,
|
225
328
|
<em class="parameter"><code><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context</code></em>);</pre>
|
226
329
|
<p>
|
227
330
|
Starts a new completion with the specified <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> and
|
228
331
|
a list of potential candidate providers for completion.
|
229
332
|
</p>
|
333
|
+
<p>
|
334
|
+
It can be convenient for showing a completion on-the-fly, without the need to
|
335
|
+
add or remove providers to the <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>.
|
336
|
+
</p>
|
337
|
+
<p>
|
338
|
+
Another solution is to add providers with
|
339
|
+
<a class="link" href="GtkSourceCompletion.html#gtk-source-completion-add-provider" title="gtk_source_completion_add_provider ()"><code class="function">gtk_source_completion_add_provider()</code></a>, and implement
|
340
|
+
<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> for each provider.
|
341
|
+
</p>
|
230
342
|
<div class="variablelist"><table border="0" class="variablelist">
|
231
343
|
<colgroup>
|
232
344
|
<col align="left" valign="top">
|
@@ -239,7 +351,7 @@ a list of potential candidate providers for completion.
|
|
239
351
|
</tr>
|
240
352
|
<tr>
|
241
353
|
<td><p><span class="term"><em class="parameter"><code>providers</code></em> :</span></p></td>
|
242
|
-
<td>a list of <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.CompletionProvider][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
354
|
+
<td>a list of <a class="link" href="GtkSourceCompletionProvider.html" title="GtkSourceCompletionProvider"><span class="type">GtkSourceCompletionProvider</span></a>, 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>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkSource.CompletionProvider][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
243
355
|
</td>
|
244
356
|
</tr>
|
245
357
|
<tr>
|
@@ -251,7 +363,7 @@ with which to start the completion. <span class="annotation">[<acronym title="Al
|
|
251
363
|
<tr>
|
252
364
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
253
365
|
<td>
|
254
|
-
<code class="literal">TRUE</code> if it was possible to the show completion window.</td>
|
366
|
+
<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 it was possible to the show completion window.</td>
|
255
367
|
</tr>
|
256
368
|
</tbody>
|
257
369
|
</table></div>
|
@@ -332,10 +444,10 @@ The <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class=
|
|
332
444
|
<a name="gtk-source-completion-create-context"></a><h3>gtk_source_completion_create_context ()</h3>
|
333
445
|
<pre class="programlisting"><a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="returnvalue">GtkSourceCompletionContext</span></a> * gtk_source_completion_create_context
|
334
446
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>,
|
335
|
-
<em class="parameter"><code><span class="type">GtkTextIter</span> *position</code></em>);</pre>
|
447
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *position</code></em>);</pre>
|
336
448
|
<p>
|
337
449
|
Create a new <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> for <em class="parameter"><code>completion</code></em>. The position where
|
338
|
-
the completion occurs can be specified by <em class="parameter"><code>position</code></em>. If <em class="parameter"><code>position</code></em> is <code class="literal">NULL</code>,
|
450
|
+
the completion occurs can be specified by <em class="parameter"><code>position</code></em>. If <em class="parameter"><code>position</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>,
|
339
451
|
the current cursor position will be used.
|
340
452
|
</p>
|
341
453
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -350,14 +462,14 @@ the current cursor position will be used.
|
|
350
462
|
</tr>
|
351
463
|
<tr>
|
352
464
|
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
|
353
|
-
<td>a <span class="type">GtkTextIter</span>, or <code class="literal">NULL</code>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
465
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>, 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>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
354
466
|
</td>
|
355
467
|
</tr>
|
356
468
|
<tr>
|
357
469
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
358
470
|
<td>a new <a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a>.
|
359
471
|
The reference being returned is a 'floating' reference,
|
360
|
-
so if you invoke <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-show" title="gtk_source_completion_show ()"><
|
472
|
+
so if you invoke <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-show" title="gtk_source_completion_show ()"><code class="function">gtk_source_completion_show()</code></a> with this context
|
361
473
|
you don't need to unref it. <span class="annotation">[<acronym title="Alias for transfer none, used for objects with floating refs."><span class="acronym">transfer floating</span></acronym>]</span>
|
362
474
|
</td>
|
363
475
|
</tr>
|
@@ -368,7 +480,11 @@ you don't need to unref it. <span class="annotation">[<acronym title="Alias for
|
|
368
480
|
<div class="refsect2">
|
369
481
|
<a name="gtk-source-completion-move-window"></a><h3>gtk_source_completion_move_window ()</h3>
|
370
482
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_completion_move_window (<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>,
|
371
|
-
<em class="parameter"><code><span class="type">GtkTextIter</span> *iter</code></em>);</pre>
|
483
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>);</pre>
|
484
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
485
|
+
<h3 class="title">Warning</h3>
|
486
|
+
<p><code class="literal">gtk_source_completion_move_window</code> has been deprecated since version 3.8 and should not be used in newly-written code. Use <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> instead.</p>
|
487
|
+
</div>
|
372
488
|
<p>
|
373
489
|
Move the completion window to a specific iter.
|
374
490
|
</p>
|
@@ -384,7 +500,7 @@ Move the completion window to a specific iter.
|
|
384
500
|
</tr>
|
385
501
|
<tr>
|
386
502
|
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
387
|
-
<td>a <span class="type">GtkTextIter</span>.</td>
|
503
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</td>
|
388
504
|
</tr>
|
389
505
|
</tbody>
|
390
506
|
</table></div>
|
@@ -397,7 +513,7 @@ Move the completion window to a specific iter.
|
|
397
513
|
<p>
|
398
514
|
Block interactive completion. This can be used to disable interactive
|
399
515
|
completion when inserting or deleting text from the buffer associated with
|
400
|
-
the completion. Use <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-unblock-interactive" title="gtk_source_completion_unblock_interactive ()"><
|
516
|
+
the completion. Use <a class="link" href="GtkSourceCompletion.html#gtk-source-completion-unblock-interactive" title="gtk_source_completion_unblock_interactive ()"><code class="function">gtk_source_completion_unblock_interactive()</code></a> to enable
|
401
517
|
interactive completion again.
|
402
518
|
</p>
|
403
519
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -418,7 +534,7 @@ interactive completion again.
|
|
418
534
|
(<em class="parameter"><code><a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion</code></em>);</pre>
|
419
535
|
<p>
|
420
536
|
Unblock interactive completion. This can be used after using
|
421
|
-
<a class="link" href="GtkSourceCompletion.html#gtk-source-completion-block-interactive" title="gtk_source_completion_block_interactive ()"><
|
537
|
+
<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> to enable interactive completion
|
422
538
|
again.
|
423
539
|
</p>
|
424
540
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -437,7 +553,7 @@ again.
|
|
437
553
|
<a name="GtkSourceCompletion.property-details"></a><h2>Property Details</h2>
|
438
554
|
<div class="refsect2">
|
439
555
|
<a name="GtkSourceCompletion--accelerators"></a><h3>The <code class="literal">"accelerators"</code> property</h3>
|
440
|
-
<pre class="programlisting"> "accelerators" <span class="type">guint</span> : Read / Write / Construct</pre>
|
556
|
+
<pre class="programlisting"> "accelerators" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct</pre>
|
441
557
|
<p>
|
442
558
|
Number of keyboard accelerators to show for the first proposals. For
|
443
559
|
example, to activate the first proposal, the user can press
|
@@ -449,7 +565,7 @@ example, to activate the first proposal, the user can press
|
|
449
565
|
<hr>
|
450
566
|
<div class="refsect2">
|
451
567
|
<a name="GtkSourceCompletion--auto-complete-delay"></a><h3>The <code class="literal">"auto-complete-delay"</code> property</h3>
|
452
|
-
<pre class="programlisting"> "auto-complete-delay" <span class="type">guint</span> : Read / Write / Construct</pre>
|
568
|
+
<pre class="programlisting"> "auto-complete-delay" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct</pre>
|
453
569
|
<p>
|
454
570
|
Determines the popup delay (in milliseconds) at which the completion
|
455
571
|
will be shown for interactive completion.
|
@@ -459,7 +575,7 @@ will be shown for interactive completion.
|
|
459
575
|
<hr>
|
460
576
|
<div class="refsect2">
|
461
577
|
<a name="GtkSourceCompletion--proposal-page-size"></a><h3>The <code class="literal">"proposal-page-size"</code> property</h3>
|
462
|
-
<pre class="programlisting"> "proposal-page-size" <span class="type">guint</span> : Read / Write / Construct</pre>
|
578
|
+
<pre class="programlisting"> "proposal-page-size" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct</pre>
|
463
579
|
<p>
|
464
580
|
The scroll page size of the proposals in the completion window. In
|
465
581
|
other words, when <span class="keycap"><strong>PageDown</strong></span> or
|
@@ -467,16 +583,21 @@ other words, when <span class="keycap"><strong>PageDown</strong></span> or
|
|
467
583
|
proposal becomes the one which is located one page size backward or
|
468
584
|
forward.
|
469
585
|
</p>
|
586
|
+
<p>
|
587
|
+
See also the <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-cursor" title='The "move-cursor" signal'><span class="type">"move-cursor"</span></a> signal.
|
588
|
+
</p>
|
470
589
|
<p>Allowed values: >= 1</p>
|
471
590
|
<p>Default value: 5</p>
|
472
591
|
</div>
|
473
592
|
<hr>
|
474
593
|
<div class="refsect2">
|
475
594
|
<a name="GtkSourceCompletion--provider-page-size"></a><h3>The <code class="literal">"provider-page-size"</code> property</h3>
|
476
|
-
<pre class="programlisting"> "provider-page-size" <span class="type">guint</span> : Read / Write / Construct</pre>
|
595
|
+
<pre class="programlisting"> "provider-page-size" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write / Construct</pre>
|
477
596
|
<p>
|
478
597
|
The scroll page size of the provider pages in the completion window.
|
479
|
-
|
598
|
+
</p>
|
599
|
+
<p>
|
600
|
+
See the <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-page" title='The "move-page" signal'><span class="type">"move-page"</span></a> signal.
|
480
601
|
</p>
|
481
602
|
<p>Allowed values: >= 1</p>
|
482
603
|
<p>Default value: 5</p>
|
@@ -484,7 +605,7 @@ Not yet used.
|
|
484
605
|
<hr>
|
485
606
|
<div class="refsect2">
|
486
607
|
<a name="GtkSourceCompletion--remember-info-visibility"></a><h3>The <code class="literal">"remember-info-visibility"</code> property</h3>
|
487
|
-
<pre class="programlisting"> "remember-info-visibility" <span class="type">gboolean</span> : Read / Write / Construct</pre>
|
608
|
+
<pre class="programlisting"> "remember-info-visibility" <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> : Read / Write / Construct</pre>
|
488
609
|
<p>
|
489
610
|
Determines whether the visibility of the info window should be
|
490
611
|
saved when the completion is hidden, and restored when the completion
|
@@ -495,7 +616,7 @@ is shown again.
|
|
495
616
|
<hr>
|
496
617
|
<div class="refsect2">
|
497
618
|
<a name="GtkSourceCompletion--select-on-show"></a><h3>The <code class="literal">"select-on-show"</code> property</h3>
|
498
|
-
<pre class="programlisting"> "select-on-show" <span class="type">gboolean</span> : Read / Write / Construct</pre>
|
619
|
+
<pre class="programlisting"> "select-on-show" <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> : Read / Write / Construct</pre>
|
499
620
|
<p>
|
500
621
|
Determines whether the first proposal should be selected when the
|
501
622
|
completion is first shown.
|
@@ -505,7 +626,7 @@ completion is first shown.
|
|
505
626
|
<hr>
|
506
627
|
<div class="refsect2">
|
507
628
|
<a name="GtkSourceCompletion--show-headers"></a><h3>The <code class="literal">"show-headers"</code> property</h3>
|
508
|
-
<pre class="programlisting"> "show-headers" <span class="type">gboolean</span> : Read / Write / Construct</pre>
|
629
|
+
<pre class="programlisting"> "show-headers" <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> : Read / Write / Construct</pre>
|
509
630
|
<p>
|
510
631
|
Determines whether provider headers should be shown in the proposal
|
511
632
|
list. It can be useful to disable when there is only one provider.
|
@@ -515,7 +636,7 @@ list. It can be useful to disable when there is only one provider.
|
|
515
636
|
<hr>
|
516
637
|
<div class="refsect2">
|
517
638
|
<a name="GtkSourceCompletion--show-icons"></a><h3>The <code class="literal">"show-icons"</code> property</h3>
|
518
|
-
<pre class="programlisting"> "show-icons" <span class="type">gboolean</span> : Read / Write / Construct</pre>
|
639
|
+
<pre class="programlisting"> "show-icons" <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> : Read / Write / Construct</pre>
|
519
640
|
<p>
|
520
641
|
Determines whether provider and proposal icons should be shown in
|
521
642
|
the completion popup.
|
@@ -536,15 +657,16 @@ The <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class=
|
|
536
657
|
<div class="refsect2">
|
537
658
|
<a name="GtkSourceCompletion-activate-proposal"></a><h3>The <code class="literal">"activate-proposal"</code> signal</h3>
|
538
659
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion,
|
539
|
-
<span class="type">gpointer</span> user_data) : <code class="literal">Action</code></pre>
|
660
|
+
<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>
|
540
661
|
<p>
|
541
|
-
The
|
542
|
-
emitted when the user initiates
|
662
|
+
The <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-activate-proposal" title='The "activate-proposal" signal'><span class="type">"activate-proposal"</span></a> signal is a
|
663
|
+
keybinding signal which gets emitted when the user initiates
|
664
|
+
a proposal activation.
|
543
665
|
</p>
|
544
666
|
<p>
|
545
667
|
Applications should not connect to it, but may emit it with
|
546
|
-
<
|
547
|
-
programmatically.
|
668
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-emit-by-name"><code class="function">g_signal_emit_by_name()</code></a> if they need to control the proposal
|
669
|
+
activation programmatically.
|
548
670
|
</p>
|
549
671
|
<div class="variablelist"><table border="0" class="variablelist">
|
550
672
|
<colgroup>
|
@@ -567,7 +689,7 @@ programmatically.
|
|
567
689
|
<div class="refsect2">
|
568
690
|
<a name="GtkSourceCompletion-hide"></a><h3>The <code class="literal">"hide"</code> signal</h3>
|
569
691
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion,
|
570
|
-
<span class="type">gpointer</span> user_data) : <code class="literal">Action</code></pre>
|
692
|
+
<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>
|
571
693
|
<p>
|
572
694
|
Emitted when the completion window is hidden. The default handler
|
573
695
|
will actually hide the window.
|
@@ -593,24 +715,28 @@ will actually hide the window.
|
|
593
715
|
<div class="refsect2">
|
594
716
|
<a name="GtkSourceCompletion-move-cursor"></a><h3>The <code class="literal">"move-cursor"</code> signal</h3>
|
595
717
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion,
|
596
|
-
<span class="type">GtkScrollStep</span> step,
|
597
|
-
<span class="type">gint</span> num,
|
598
|
-
<span class="type">gpointer</span> user_data) : <code class="literal">Action</code></pre>
|
718
|
+
<a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GtkScrollStep"><span class="type">GtkScrollStep</span></a> step,
|
719
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num,
|
720
|
+
<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>
|
599
721
|
<p>
|
600
|
-
The
|
601
|
-
the user initiates a cursor
|
722
|
+
The <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-cursor" title='The "move-cursor" signal'><span class="type">"move-cursor"</span></a> signal is a keybinding
|
723
|
+
signal which gets emitted when the user initiates a cursor
|
724
|
+
movement.
|
602
725
|
</p>
|
603
726
|
<p>
|
604
727
|
The <span class="keycap"><strong>Up</strong></span>, <span class="keycap"><strong>Down</strong></span>,
|
605
728
|
<span class="keycap"><strong>PageUp</strong></span>, <span class="keycap"><strong>PageDown</strong></span>,
|
606
729
|
<span class="keycap"><strong>Home</strong></span> and <span class="keycap"><strong>End</strong></span> keys are bound to the
|
607
|
-
normal behavior expected by those keys.
|
608
|
-
|
609
|
-
<
|
730
|
+
normal behavior expected by those keys.
|
731
|
+
</p>
|
732
|
+
<p>
|
733
|
+
When <em class="parameter"><code>step</code></em> is equal to <a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GTK-SCROLL-PAGES:CAPS"><span class="type">GTK_SCROLL_PAGES</span></a>, the page size is defined by
|
734
|
+
the <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--proposal-page-size" title='The "proposal-page-size" property'><span class="type">"proposal-page-size"</span></a> property. It is used for
|
735
|
+
the <span class="keycap"><strong>PageDown</strong></span> and <span class="keycap"><strong>PageUp</strong></span> keys.
|
610
736
|
</p>
|
611
737
|
<p>
|
612
738
|
Applications should not connect to it, but may emit it with
|
613
|
-
<
|
739
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-emit-by-name"><code class="function">g_signal_emit_by_name()</code></a> if they need to control the cursor
|
614
740
|
programmatically.
|
615
741
|
</p>
|
616
742
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -625,7 +751,7 @@ programmatically.
|
|
625
751
|
</tr>
|
626
752
|
<tr>
|
627
753
|
<td><p><span class="term"><em class="parameter"><code>step</code></em> :</span></p></td>
|
628
|
-
<td>The <span class="type">GtkScrollStep</span> by which to move the cursor</td>
|
754
|
+
<td>The <a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GtkScrollStep"><span class="type">GtkScrollStep</span></a> by which to move the cursor</td>
|
629
755
|
</tr>
|
630
756
|
<tr>
|
631
757
|
<td><p><span class="term"><em class="parameter"><code>num</code></em> :</span></p></td>
|
@@ -642,13 +768,13 @@ programmatically.
|
|
642
768
|
<div class="refsect2">
|
643
769
|
<a name="GtkSourceCompletion-move-page"></a><h3>The <code class="literal">"move-page"</code> signal</h3>
|
644
770
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion,
|
645
|
-
<span class="type">GtkScrollStep</span> step,
|
646
|
-
<span class="type">gint</span> num,
|
647
|
-
<span class="type">gpointer</span> user_data) : <code class="literal">Action</code></pre>
|
771
|
+
<a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GtkScrollStep"><span class="type">GtkScrollStep</span></a> step,
|
772
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num,
|
773
|
+
<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>
|
648
774
|
<p>
|
649
|
-
The
|
650
|
-
the user initiates a page
|
651
|
-
pages).
|
775
|
+
The <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion-move-page" title='The "move-page" signal'><span class="type">"move-page"</span></a> signal is a keybinding
|
776
|
+
signal which gets emitted when the user initiates a page
|
777
|
+
movement (i.e. switches between provider pages).
|
652
778
|
</p>
|
653
779
|
<p>
|
654
780
|
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>Left</strong></span>
|
@@ -661,8 +787,12 @@ is for displaying all the providers.
|
|
661
787
|
is for going to the last provider.
|
662
788
|
</p>
|
663
789
|
<p>
|
790
|
+
When <em class="parameter"><code>step</code></em> is equal to <a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GTK-SCROLL-PAGES:CAPS"><span class="type">GTK_SCROLL_PAGES</span></a>, the page size is defined by
|
791
|
+
the <a class="link" href="GtkSourceCompletion.html#GtkSourceCompletion--provider-page-size" title='The "provider-page-size" property'><span class="type">"provider-page-size"</span></a> property.
|
792
|
+
</p>
|
793
|
+
<p>
|
664
794
|
Applications should not connect to it, but may emit it with
|
665
|
-
<
|
795
|
+
<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-emit-by-name"><code class="function">g_signal_emit_by_name()</code></a> if they need to control the page selection
|
666
796
|
programmatically.
|
667
797
|
</p>
|
668
798
|
<div class="variablelist"><table border="0" class="variablelist">
|
@@ -677,7 +807,7 @@ programmatically.
|
|
677
807
|
</tr>
|
678
808
|
<tr>
|
679
809
|
<td><p><span class="term"><em class="parameter"><code>step</code></em> :</span></p></td>
|
680
|
-
<td>The <span class="type">GtkScrollStep</span> by which to move the page</td>
|
810
|
+
<td>The <a href="http://developer.gnome.org/gtk2/gtk3-Standard-Enumerations.html#GtkScrollStep"><span class="type">GtkScrollStep</span></a> by which to move the page</td>
|
681
811
|
</tr>
|
682
812
|
<tr>
|
683
813
|
<td><p><span class="term"><em class="parameter"><code>num</code></em> :</span></p></td>
|
@@ -695,7 +825,7 @@ programmatically.
|
|
695
825
|
<a name="GtkSourceCompletion-populate-context"></a><h3>The <code class="literal">"populate-context"</code> signal</h3>
|
696
826
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion,
|
697
827
|
<a class="link" href="GtkSourceCompletionContext.html" title="GtkSourceCompletionContext"><span class="type">GtkSourceCompletionContext</span></a> *context,
|
698
|
-
<span class="type">gpointer</span> user_data) : <code class="literal">Action</code></pre>
|
828
|
+
<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>
|
699
829
|
<p>
|
700
830
|
Emitted just before starting to populate the completion with providers.
|
701
831
|
You can use this signal to add additional attributes in the context.
|
@@ -725,7 +855,7 @@ You can use this signal to add additional attributes in the context.
|
|
725
855
|
<div class="refsect2">
|
726
856
|
<a name="GtkSourceCompletion-show"></a><h3>The <code class="literal">"show"</code> signal</h3>
|
727
857
|
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a> *completion,
|
728
|
-
<span class="type">gpointer</span> user_data) : <code class="literal">Action</code></pre>
|
858
|
+
<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>
|
729
859
|
<p>
|
730
860
|
Emitted when the completion window is shown. The default handler
|
731
861
|
will actually show the window.
|