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
@@ -0,0 +1,1312 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>GtkSourceGutterRenderer</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="GtkSourceView 3 Reference Manual">
|
8
|
+
<link rel="up" href="ch01.html" title="API reference">
|
9
|
+
<link rel="prev" href="GtkSourceGutter.html" title="GtkSourceGutter">
|
10
|
+
<link rel="next" href="GtkSourceGutterRendererText.html" title="GtkSourceGutterRendererText">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="GtkSourceGutter.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">GtkSourceView 3 Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="GtkSourceGutterRendererText.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#GtkSourceGutterRenderer.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#GtkSourceGutterRenderer.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#GtkSourceGutterRenderer.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#GtkSourceGutterRenderer.properties" class="shortcut">Properties</a>
|
31
|
+
|
|
32
|
+
<a href="#GtkSourceGutterRenderer.signals" class="shortcut">Signals</a>
|
33
|
+
</td></tr>
|
34
|
+
</table>
|
35
|
+
<div class="refentry">
|
36
|
+
<a name="GtkSourceGutterRenderer"></a><div class="titlepage"></div>
|
37
|
+
<div class="refnamediv"><table width="100%"><tr>
|
38
|
+
<td valign="top">
|
39
|
+
<h2><span class="refentrytitle"><a name="GtkSourceGutterRenderer.top_of_page"></a>GtkSourceGutterRenderer</span></h2>
|
40
|
+
<p>GtkSourceGutterRenderer</p>
|
41
|
+
</td>
|
42
|
+
<td valign="top" align="right"></td>
|
43
|
+
</tr></table></div>
|
44
|
+
<div class="refsynopsisdiv">
|
45
|
+
<a name="GtkSourceGutterRenderer.synopsis"></a><h2>Synopsis</h2>
|
46
|
+
<pre class="synopsis">
|
47
|
+
#include <gtksourceview/gtksource.h>
|
48
|
+
|
49
|
+
<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer-struct" title="GtkSourceGutterRenderer">GtkSourceGutterRenderer</a>;
|
50
|
+
enum <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererState" title="enum GtkSourceGutterRendererState">GtkSourceGutterRendererState</a>;
|
51
|
+
enum <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererAlignmentMode" title="enum GtkSourceGutterRendererAlignmentMode">GtkSourceGutterRendererAlignmentMode</a>;
|
52
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-begin" title="gtk_source_gutter_renderer_begin ()">gtk_source_gutter_renderer_begin</a> (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
53
|
+
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
54
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *background_area</code></em>,
|
55
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
56
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
57
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *end</code></em>);
|
58
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-draw" title="gtk_source_gutter_renderer_draw ()">gtk_source_gutter_renderer_draw</a> (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
59
|
+
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
60
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *background_area</code></em>,
|
61
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
62
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
63
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *end</code></em>,
|
64
|
+
<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererState" title="enum GtkSourceGutterRendererState"><span class="type">GtkSourceGutterRendererState</span></a> state</code></em>);
|
65
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-end" title="gtk_source_gutter_renderer_end ()">gtk_source_gutter_renderer_end</a> (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);
|
66
|
+
<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="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-get-size" title="gtk_source_gutter_renderer_get_size ()">gtk_source_gutter_renderer_get_size</a> (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);
|
67
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-set-size" title="gtk_source_gutter_renderer_set_size ()">gtk_source_gutter_renderer_set_size</a> (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
68
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>);
|
69
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-set-visible" title="gtk_source_gutter_renderer_set_visible ()">gtk_source_gutter_renderer_set_visible</a>
|
70
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
71
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> visible</code></em>);
|
72
|
+
<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="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-get-visible" title="gtk_source_gutter_renderer_get_visible ()">gtk_source_gutter_renderer_get_visible</a>
|
73
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);
|
74
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-get-padding" title="gtk_source_gutter_renderer_get_padding ()">gtk_source_gutter_renderer_get_padding</a>
|
75
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
76
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *xpad</code></em>,
|
77
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *ypad</code></em>);
|
78
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-set-padding" title="gtk_source_gutter_renderer_set_padding ()">gtk_source_gutter_renderer_set_padding</a>
|
79
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
80
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> xpad</code></em>,
|
81
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ypad</code></em>);
|
82
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-get-alignment" title="gtk_source_gutter_renderer_get_alignment ()">gtk_source_gutter_renderer_get_alignment</a>
|
83
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
84
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *xalign</code></em>,
|
85
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *yalign</code></em>);
|
86
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-set-alignment" title="gtk_source_gutter_renderer_set_alignment ()">gtk_source_gutter_renderer_set_alignment</a>
|
87
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
88
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> xalign</code></em>,
|
89
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> yalign</code></em>);
|
90
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-set-alignment-mode" title="gtk_source_gutter_renderer_set_alignment_mode ()">gtk_source_gutter_renderer_set_alignment_mode</a>
|
91
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
92
|
+
<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererAlignmentMode" title="enum GtkSourceGutterRendererAlignmentMode"><span class="type">GtkSourceGutterRendererAlignmentMode</span></a> mode</code></em>);
|
93
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkTextWindowType"><span class="returnvalue">GtkTextWindowType</span></a> <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-get-window-type" title="gtk_source_gutter_renderer_get_window_type ()">gtk_source_gutter_renderer_get_window_type</a>
|
94
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);
|
95
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextView.html"><span class="returnvalue">GtkTextView</span></a> * <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-get-view" title="gtk_source_gutter_renderer_get_view ()">gtk_source_gutter_renderer_get_view</a> (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);
|
96
|
+
<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererAlignmentMode" title="enum GtkSourceGutterRendererAlignmentMode"><span class="returnvalue">GtkSourceGutterRendererAlignmentMode</span></a> <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-get-alignment-mode" title="gtk_source_gutter_renderer_get_alignment_mode ()">gtk_source_gutter_renderer_get_alignment_mode</a>
|
97
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);
|
98
|
+
<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="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-get-background" title="gtk_source_gutter_renderer_get_background ()">gtk_source_gutter_renderer_get_background</a>
|
99
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
100
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);
|
101
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-set-background" title="gtk_source_gutter_renderer_set_background ()">gtk_source_gutter_renderer_set_background</a>
|
102
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
103
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gdk2/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);
|
104
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-activate" title="gtk_source_gutter_renderer_activate ()">gtk_source_gutter_renderer_activate</a> (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
105
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
106
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area</code></em>,
|
107
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
|
108
|
+
<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="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-query-activatable" title="gtk_source_gutter_renderer_query_activatable ()">gtk_source_gutter_renderer_query_activatable</a>
|
109
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
110
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
111
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area</code></em>,
|
112
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);
|
113
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-queue-draw" title="gtk_source_gutter_renderer_queue_draw ()">gtk_source_gutter_renderer_queue_draw</a>
|
114
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);
|
115
|
+
<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="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-query-tooltip" title="gtk_source_gutter_renderer_query_tooltip ()">gtk_source_gutter_renderer_query_tooltip</a>
|
116
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
117
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
118
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area</code></em>,
|
119
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
120
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
|
121
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTooltip.html"><span class="type">GtkTooltip</span></a> *tooltip</code></em>);
|
122
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-query-data" title="gtk_source_gutter_renderer_query_data ()">gtk_source_gutter_renderer_query_data</a>
|
123
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
124
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
125
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *end</code></em>,
|
126
|
+
<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererState" title="enum GtkSourceGutterRendererState"><span class="type">GtkSourceGutterRendererState</span></a> state</code></em>);
|
127
|
+
</pre>
|
128
|
+
</div>
|
129
|
+
<div class="refsect1">
|
130
|
+
<a name="GtkSourceGutterRenderer.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
131
|
+
<pre class="synopsis">
|
132
|
+
<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>
|
133
|
+
+----<a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
134
|
+
+----GtkSourceGutterRenderer
|
135
|
+
+----<a class="link" href="GtkSourceGutterRendererPixbuf.html" title="GtkSourceGutterRendererPixbuf">GtkSourceGutterRendererPixbuf</a>
|
136
|
+
+----<a class="link" href="GtkSourceGutterRendererText.html" title="GtkSourceGutterRendererText">GtkSourceGutterRendererText</a>
|
137
|
+
</pre>
|
138
|
+
</div>
|
139
|
+
<div class="refsect1">
|
140
|
+
<a name="GtkSourceGutterRenderer.properties"></a><h2>Properties</h2>
|
141
|
+
<pre class="synopsis">
|
142
|
+
"<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--alignment-mode" title='The "alignment-mode" property'>alignment-mode</a>" <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererAlignmentMode" title="enum GtkSourceGutterRendererAlignmentMode"><span class="type">GtkSourceGutterRendererAlignmentMode</span></a> : Read / Write / Construct
|
143
|
+
"<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--background-rgba" title='The "background-rgba" property'>background-rgba</a>" <a href="http://developer.gnome.org/gdk2/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>* : Read / Write
|
144
|
+
"<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--background-set" title='The "background-set" property'>background-set</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
|
145
|
+
"<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--size" title='The "size" property'>size</a>" <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> : Read / Write / Construct
|
146
|
+
"<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--view" title='The "view" property'>view</a>" <a href="http://developer.gnome.org/gtk2/GtkTextView.html"><span class="type">GtkTextView</span></a>* : Read
|
147
|
+
"<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--visible" title='The "visible" property'>visible</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
|
148
|
+
"<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--window-type" title='The "window-type" property'>window-type</a>" <a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> : Read
|
149
|
+
"<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--xalign" title='The "xalign" property'>xalign</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write / Construct
|
150
|
+
"<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--xpad" title='The "xpad" property'>xpad</a>" <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> : Read / Write / Construct
|
151
|
+
"<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--yalign" title='The "yalign" property'>yalign</a>" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write / Construct
|
152
|
+
"<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer--ypad" title='The "ypad" property'>ypad</a>" <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> : Read / Write / Construct
|
153
|
+
</pre>
|
154
|
+
</div>
|
155
|
+
<div class="refsect1">
|
156
|
+
<a name="GtkSourceGutterRenderer.signals"></a><h2>Signals</h2>
|
157
|
+
<pre class="synopsis">
|
158
|
+
"<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer-activate" title='The "activate" signal'>activate</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
159
|
+
"<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer-query-activatable" title='The "query-activatable" signal'>query-activatable</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
160
|
+
"<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer-query-data" title='The "query-data" signal'>query-data</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
161
|
+
"<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer-query-tooltip" title='The "query-tooltip" signal'>query-tooltip</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
162
|
+
"<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRenderer-queue-draw" title='The "queue-draw" signal'>queue-draw</a>" : <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
163
|
+
</pre>
|
164
|
+
</div>
|
165
|
+
<div class="refsect1">
|
166
|
+
<a name="GtkSourceGutterRenderer.description"></a><h2>Description</h2>
|
167
|
+
</div>
|
168
|
+
<div class="refsect1">
|
169
|
+
<a name="GtkSourceGutterRenderer.details"></a><h2>Details</h2>
|
170
|
+
<div class="refsect2">
|
171
|
+
<a name="GtkSourceGutterRenderer-struct"></a><h3>GtkSourceGutterRenderer</h3>
|
172
|
+
<pre class="programlisting">typedef struct _GtkSourceGutterRenderer GtkSourceGutterRenderer;</pre>
|
173
|
+
</div>
|
174
|
+
<hr>
|
175
|
+
<div class="refsect2">
|
176
|
+
<a name="GtkSourceGutterRendererState"></a><h3>enum GtkSourceGutterRendererState</h3>
|
177
|
+
<pre class="programlisting">typedef enum {
|
178
|
+
GTK_SOURCE_GUTTER_RENDERER_STATE_NORMAL = 0,
|
179
|
+
GTK_SOURCE_GUTTER_RENDERER_STATE_CURSOR = 1 << 0,
|
180
|
+
GTK_SOURCE_GUTTER_RENDERER_STATE_PRELIT = 1 << 1,
|
181
|
+
GTK_SOURCE_GUTTER_RENDERER_STATE_SELECTED = 1 << 2
|
182
|
+
} GtkSourceGutterRendererState;
|
183
|
+
</pre>
|
184
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
185
|
+
<colgroup>
|
186
|
+
<col align="left" valign="top">
|
187
|
+
<col>
|
188
|
+
</colgroup>
|
189
|
+
<tbody>
|
190
|
+
<tr>
|
191
|
+
<td><p><a name="GTK-SOURCE-GUTTER-RENDERER-STATE-NORMAL:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_GUTTER_RENDERER_STATE_NORMAL</code></span></p></td>
|
192
|
+
<td>normal state
|
193
|
+
</td>
|
194
|
+
</tr>
|
195
|
+
<tr>
|
196
|
+
<td><p><a name="GTK-SOURCE-GUTTER-RENDERER-STATE-CURSOR:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_GUTTER_RENDERER_STATE_CURSOR</code></span></p></td>
|
197
|
+
<td>area in the renderer represents the
|
198
|
+
line on which the insert cursor is currently positioned
|
199
|
+
</td>
|
200
|
+
</tr>
|
201
|
+
<tr>
|
202
|
+
<td><p><a name="GTK-SOURCE-GUTTER-RENDERER-STATE-PRELIT:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_GUTTER_RENDERER_STATE_PRELIT</code></span></p></td>
|
203
|
+
<td>the mouse pointer is currently
|
204
|
+
over the activatable area of the renderer
|
205
|
+
</td>
|
206
|
+
</tr>
|
207
|
+
<tr>
|
208
|
+
<td><p><a name="GTK-SOURCE-GUTTER-RENDERER-STATE-SELECTED:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_GUTTER_RENDERER_STATE_SELECTED</code></span></p></td>
|
209
|
+
<td>area in the renderer represents
|
210
|
+
a line in the buffer which contains part of the selection
|
211
|
+
</td>
|
212
|
+
</tr>
|
213
|
+
</tbody>
|
214
|
+
</table></div>
|
215
|
+
</div>
|
216
|
+
<hr>
|
217
|
+
<div class="refsect2">
|
218
|
+
<a name="GtkSourceGutterRendererAlignmentMode"></a><h3>enum GtkSourceGutterRendererAlignmentMode</h3>
|
219
|
+
<pre class="programlisting">typedef enum {
|
220
|
+
GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_CELL,
|
221
|
+
GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_FIRST,
|
222
|
+
GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_LAST
|
223
|
+
} GtkSourceGutterRendererAlignmentMode;
|
224
|
+
</pre>
|
225
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
226
|
+
<colgroup>
|
227
|
+
<col align="left" valign="top">
|
228
|
+
<col>
|
229
|
+
</colgroup>
|
230
|
+
<tbody>
|
231
|
+
<tr>
|
232
|
+
<td><p><a name="GTK-SOURCE-GUTTER-RENDERER-ALIGNMENT-MODE-CELL:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_CELL</code></span></p></td>
|
233
|
+
<td></td>
|
234
|
+
</tr>
|
235
|
+
<tr>
|
236
|
+
<td><p><a name="GTK-SOURCE-GUTTER-RENDERER-ALIGNMENT-MODE-FIRST:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_FIRST</code></span></p></td>
|
237
|
+
<td></td>
|
238
|
+
</tr>
|
239
|
+
<tr>
|
240
|
+
<td><p><a name="GTK-SOURCE-GUTTER-RENDERER-ALIGNMENT-MODE-LAST:CAPS"></a><span class="term"><code class="literal">GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_LAST</code></span></p></td>
|
241
|
+
<td></td>
|
242
|
+
</tr>
|
243
|
+
</tbody>
|
244
|
+
</table></div>
|
245
|
+
</div>
|
246
|
+
<hr>
|
247
|
+
<div class="refsect2">
|
248
|
+
<a name="gtk-source-gutter-renderer-begin"></a><h3>gtk_source_gutter_renderer_begin ()</h3>
|
249
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_gutter_renderer_begin (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
250
|
+
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
251
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *background_area</code></em>,
|
252
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
253
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
254
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *end</code></em>);</pre>
|
255
|
+
<p>
|
256
|
+
Called when drawing a region begins. The region to be drawn is indicated
|
257
|
+
by <em class="parameter"><code>start</code></em> and <em class="parameter"><code>end</code></em>. The purpose is to allow the implementation to precompute
|
258
|
+
some state before the ::draw method is called for each cell.
|
259
|
+
</p>
|
260
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
261
|
+
<colgroup>
|
262
|
+
<col align="left" valign="top">
|
263
|
+
<col>
|
264
|
+
</colgroup>
|
265
|
+
<tbody>
|
266
|
+
<tr>
|
267
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
268
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
269
|
+
</td>
|
270
|
+
</tr>
|
271
|
+
<tr>
|
272
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
273
|
+
<td>a <span class="type">cairo_t</span>
|
274
|
+
</td>
|
275
|
+
</tr>
|
276
|
+
<tr>
|
277
|
+
<td><p><span class="term"><em class="parameter"><code>background_area</code></em> :</span></p></td>
|
278
|
+
<td>a <a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a>
|
279
|
+
</td>
|
280
|
+
</tr>
|
281
|
+
<tr>
|
282
|
+
<td><p><span class="term"><em class="parameter"><code>cell_area</code></em> :</span></p></td>
|
283
|
+
<td>a <a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a>
|
284
|
+
</td>
|
285
|
+
</tr>
|
286
|
+
<tr>
|
287
|
+
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
|
288
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>
|
289
|
+
</td>
|
290
|
+
</tr>
|
291
|
+
<tr>
|
292
|
+
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
|
293
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>
|
294
|
+
</td>
|
295
|
+
</tr>
|
296
|
+
</tbody>
|
297
|
+
</table></div>
|
298
|
+
</div>
|
299
|
+
<hr>
|
300
|
+
<div class="refsect2">
|
301
|
+
<a name="gtk-source-gutter-renderer-draw"></a><h3>gtk_source_gutter_renderer_draw ()</h3>
|
302
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_gutter_renderer_draw (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
303
|
+
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>,
|
304
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *background_area</code></em>,
|
305
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *cell_area</code></em>,
|
306
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
307
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *end</code></em>,
|
308
|
+
<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererState" title="enum GtkSourceGutterRendererState"><span class="type">GtkSourceGutterRendererState</span></a> state</code></em>);</pre>
|
309
|
+
<p>
|
310
|
+
Main renderering method. Implementations should implement this method to
|
311
|
+
draw onto the cairo context. The <em class="parameter"><code>background_area</code></em> indicates total area of
|
312
|
+
the cell (without padding or margin) to be drawn. The <em class="parameter"><code>cell_area</code></em> indicates
|
313
|
+
the area where content can be drawn (text, images, etc).
|
314
|
+
</p>
|
315
|
+
<p>
|
316
|
+
The <em class="parameter"><code>state</code></em> argument indicates the current state of the renderer and should
|
317
|
+
be taken into account to properly draw the different possible states
|
318
|
+
(cursor, prelit, selected) if appropriate.
|
319
|
+
</p>
|
320
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
321
|
+
<colgroup>
|
322
|
+
<col align="left" valign="top">
|
323
|
+
<col>
|
324
|
+
</colgroup>
|
325
|
+
<tbody>
|
326
|
+
<tr>
|
327
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
328
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
329
|
+
</td>
|
330
|
+
</tr>
|
331
|
+
<tr>
|
332
|
+
<td><p><span class="term"><em class="parameter"><code>cr</code></em> :</span></p></td>
|
333
|
+
<td>the cairo render context</td>
|
334
|
+
</tr>
|
335
|
+
<tr>
|
336
|
+
<td><p><span class="term"><em class="parameter"><code>background_area</code></em> :</span></p></td>
|
337
|
+
<td>a <a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> indicating the total area to be drawn</td>
|
338
|
+
</tr>
|
339
|
+
<tr>
|
340
|
+
<td><p><span class="term"><em class="parameter"><code>cell_area</code></em> :</span></p></td>
|
341
|
+
<td>a <a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> indicating the area to draw content</td>
|
342
|
+
</tr>
|
343
|
+
<tr>
|
344
|
+
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
|
345
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>
|
346
|
+
</td>
|
347
|
+
</tr>
|
348
|
+
<tr>
|
349
|
+
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
|
350
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>
|
351
|
+
</td>
|
352
|
+
</tr>
|
353
|
+
<tr>
|
354
|
+
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
|
355
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererState" title="enum GtkSourceGutterRendererState"><span class="type">GtkSourceGutterRendererState</span></a>
|
356
|
+
</td>
|
357
|
+
</tr>
|
358
|
+
</tbody>
|
359
|
+
</table></div>
|
360
|
+
</div>
|
361
|
+
<hr>
|
362
|
+
<div class="refsect2">
|
363
|
+
<a name="gtk-source-gutter-renderer-end"></a><h3>gtk_source_gutter_renderer_end ()</h3>
|
364
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_gutter_renderer_end (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);</pre>
|
365
|
+
<p>
|
366
|
+
Called when drawing a region of lines has ended.
|
367
|
+
</p>
|
368
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
369
|
+
<colgroup>
|
370
|
+
<col align="left" valign="top">
|
371
|
+
<col>
|
372
|
+
</colgroup>
|
373
|
+
<tbody><tr>
|
374
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
375
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
376
|
+
</td>
|
377
|
+
</tr></tbody>
|
378
|
+
</table></div>
|
379
|
+
</div>
|
380
|
+
<hr>
|
381
|
+
<div class="refsect2">
|
382
|
+
<a name="gtk-source-gutter-renderer-get-size"></a><h3>gtk_source_gutter_renderer_get_size ()</h3>
|
383
|
+
<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_gutter_renderer_get_size (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);</pre>
|
384
|
+
<p>
|
385
|
+
Get the size of the renderer.
|
386
|
+
</p>
|
387
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
388
|
+
<colgroup>
|
389
|
+
<col align="left" valign="top">
|
390
|
+
<col>
|
391
|
+
</colgroup>
|
392
|
+
<tbody>
|
393
|
+
<tr>
|
394
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
395
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
396
|
+
</td>
|
397
|
+
</tr>
|
398
|
+
<tr>
|
399
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
400
|
+
<td>the size of the renderer.</td>
|
401
|
+
</tr>
|
402
|
+
</tbody>
|
403
|
+
</table></div>
|
404
|
+
</div>
|
405
|
+
<hr>
|
406
|
+
<div class="refsect2">
|
407
|
+
<a name="gtk-source-gutter-renderer-set-size"></a><h3>gtk_source_gutter_renderer_set_size ()</h3>
|
408
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_gutter_renderer_set_size (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
409
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> size</code></em>);</pre>
|
410
|
+
<p>
|
411
|
+
Sets the size of the renderer. A value of -1 specifies that the size
|
412
|
+
is to be determined dynamically.
|
413
|
+
</p>
|
414
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
415
|
+
<colgroup>
|
416
|
+
<col align="left" valign="top">
|
417
|
+
<col>
|
418
|
+
</colgroup>
|
419
|
+
<tbody>
|
420
|
+
<tr>
|
421
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
422
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
423
|
+
</td>
|
424
|
+
</tr>
|
425
|
+
<tr>
|
426
|
+
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
|
427
|
+
<td>the size</td>
|
428
|
+
</tr>
|
429
|
+
</tbody>
|
430
|
+
</table></div>
|
431
|
+
</div>
|
432
|
+
<hr>
|
433
|
+
<div class="refsect2">
|
434
|
+
<a name="gtk-source-gutter-renderer-set-visible"></a><h3>gtk_source_gutter_renderer_set_visible ()</h3>
|
435
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_gutter_renderer_set_visible
|
436
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
437
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> visible</code></em>);</pre>
|
438
|
+
<p>
|
439
|
+
Set whether the gutter renderer is visible.
|
440
|
+
</p>
|
441
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
442
|
+
<colgroup>
|
443
|
+
<col align="left" valign="top">
|
444
|
+
<col>
|
445
|
+
</colgroup>
|
446
|
+
<tbody>
|
447
|
+
<tr>
|
448
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
449
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
450
|
+
</td>
|
451
|
+
</tr>
|
452
|
+
<tr>
|
453
|
+
<td><p><span class="term"><em class="parameter"><code>visible</code></em> :</span></p></td>
|
454
|
+
<td>the visibility</td>
|
455
|
+
</tr>
|
456
|
+
</tbody>
|
457
|
+
</table></div>
|
458
|
+
</div>
|
459
|
+
<hr>
|
460
|
+
<div class="refsect2">
|
461
|
+
<a name="gtk-source-gutter-renderer-get-visible"></a><h3>gtk_source_gutter_renderer_get_visible ()</h3>
|
462
|
+
<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_gutter_renderer_get_visible
|
463
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);</pre>
|
464
|
+
<p>
|
465
|
+
Get whether the gutter renderer is visible.
|
466
|
+
</p>
|
467
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
468
|
+
<colgroup>
|
469
|
+
<col align="left" valign="top">
|
470
|
+
<col>
|
471
|
+
</colgroup>
|
472
|
+
<tbody>
|
473
|
+
<tr>
|
474
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
475
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
476
|
+
</td>
|
477
|
+
</tr>
|
478
|
+
<tr>
|
479
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
480
|
+
<td>
|
481
|
+
<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 the renderer is visible, <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>
|
482
|
+
</tr>
|
483
|
+
</tbody>
|
484
|
+
</table></div>
|
485
|
+
</div>
|
486
|
+
<hr>
|
487
|
+
<div class="refsect2">
|
488
|
+
<a name="gtk-source-gutter-renderer-get-padding"></a><h3>gtk_source_gutter_renderer_get_padding ()</h3>
|
489
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_gutter_renderer_get_padding
|
490
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
491
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *xpad</code></em>,
|
492
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *ypad</code></em>);</pre>
|
493
|
+
<p>
|
494
|
+
Get the x-padding and y-padding of the gutter renderer.
|
495
|
+
</p>
|
496
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
497
|
+
<colgroup>
|
498
|
+
<col align="left" valign="top">
|
499
|
+
<col>
|
500
|
+
</colgroup>
|
501
|
+
<tbody>
|
502
|
+
<tr>
|
503
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
504
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
505
|
+
</td>
|
506
|
+
</tr>
|
507
|
+
<tr>
|
508
|
+
<td><p><span class="term"><em class="parameter"><code>xpad</code></em> :</span></p></td>
|
509
|
+
<td>return location for the x-padding (can be <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
510
|
+
</td>
|
511
|
+
</tr>
|
512
|
+
<tr>
|
513
|
+
<td><p><span class="term"><em class="parameter"><code>ypad</code></em> :</span></p></td>
|
514
|
+
<td>return location for the y-padding (can be <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
515
|
+
</td>
|
516
|
+
</tr>
|
517
|
+
</tbody>
|
518
|
+
</table></div>
|
519
|
+
</div>
|
520
|
+
<hr>
|
521
|
+
<div class="refsect2">
|
522
|
+
<a name="gtk-source-gutter-renderer-set-padding"></a><h3>gtk_source_gutter_renderer_set_padding ()</h3>
|
523
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_gutter_renderer_set_padding
|
524
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
525
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> xpad</code></em>,
|
526
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ypad</code></em>);</pre>
|
527
|
+
<p>
|
528
|
+
Set the padding of the gutter renderer. Both <em class="parameter"><code>xpad</code></em> and <em class="parameter"><code>ypad</code></em> can be
|
529
|
+
-1, which means the values will not be changed (this allows changing only
|
530
|
+
one of the values).
|
531
|
+
</p>
|
532
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
533
|
+
<colgroup>
|
534
|
+
<col align="left" valign="top">
|
535
|
+
<col>
|
536
|
+
</colgroup>
|
537
|
+
<tbody>
|
538
|
+
<tr>
|
539
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
540
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
541
|
+
</td>
|
542
|
+
</tr>
|
543
|
+
<tr>
|
544
|
+
<td><p><span class="term"><em class="parameter"><code>xpad</code></em> :</span></p></td>
|
545
|
+
<td>the x-padding</td>
|
546
|
+
</tr>
|
547
|
+
<tr>
|
548
|
+
<td><p><span class="term"><em class="parameter"><code>ypad</code></em> :</span></p></td>
|
549
|
+
<td>the y-padding</td>
|
550
|
+
</tr>
|
551
|
+
</tbody>
|
552
|
+
</table></div>
|
553
|
+
</div>
|
554
|
+
<hr>
|
555
|
+
<div class="refsect2">
|
556
|
+
<a name="gtk-source-gutter-renderer-get-alignment"></a><h3>gtk_source_gutter_renderer_get_alignment ()</h3>
|
557
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_gutter_renderer_get_alignment
|
558
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
559
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *xalign</code></em>,
|
560
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *yalign</code></em>);</pre>
|
561
|
+
<p>
|
562
|
+
Get the x-alignment and y-alignment of the gutter renderer.
|
563
|
+
</p>
|
564
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
565
|
+
<colgroup>
|
566
|
+
<col align="left" valign="top">
|
567
|
+
<col>
|
568
|
+
</colgroup>
|
569
|
+
<tbody>
|
570
|
+
<tr>
|
571
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
572
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
573
|
+
</td>
|
574
|
+
</tr>
|
575
|
+
<tr>
|
576
|
+
<td><p><span class="term"><em class="parameter"><code>xalign</code></em> :</span></p></td>
|
577
|
+
<td>return location for the x-alignment (can be <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
578
|
+
</td>
|
579
|
+
</tr>
|
580
|
+
<tr>
|
581
|
+
<td><p><span class="term"><em class="parameter"><code>yalign</code></em> :</span></p></td>
|
582
|
+
<td>return location for the y-alignment (can be <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
583
|
+
</td>
|
584
|
+
</tr>
|
585
|
+
</tbody>
|
586
|
+
</table></div>
|
587
|
+
</div>
|
588
|
+
<hr>
|
589
|
+
<div class="refsect2">
|
590
|
+
<a name="gtk-source-gutter-renderer-set-alignment"></a><h3>gtk_source_gutter_renderer_set_alignment ()</h3>
|
591
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_gutter_renderer_set_alignment
|
592
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
593
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> xalign</code></em>,
|
594
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> yalign</code></em>);</pre>
|
595
|
+
<p>
|
596
|
+
Set the alignment of the gutter renderer. Both <em class="parameter"><code>xalign</code></em> and <em class="parameter"><code>yalign</code></em> can be
|
597
|
+
-1, which means the values will not be changed (this allows changing only
|
598
|
+
one of the values).
|
599
|
+
</p>
|
600
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
601
|
+
<colgroup>
|
602
|
+
<col align="left" valign="top">
|
603
|
+
<col>
|
604
|
+
</colgroup>
|
605
|
+
<tbody>
|
606
|
+
<tr>
|
607
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
608
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
609
|
+
</td>
|
610
|
+
</tr>
|
611
|
+
<tr>
|
612
|
+
<td><p><span class="term"><em class="parameter"><code>xalign</code></em> :</span></p></td>
|
613
|
+
<td>the x-alignment</td>
|
614
|
+
</tr>
|
615
|
+
<tr>
|
616
|
+
<td><p><span class="term"><em class="parameter"><code>yalign</code></em> :</span></p></td>
|
617
|
+
<td>the y-alignment</td>
|
618
|
+
</tr>
|
619
|
+
</tbody>
|
620
|
+
</table></div>
|
621
|
+
</div>
|
622
|
+
<hr>
|
623
|
+
<div class="refsect2">
|
624
|
+
<a name="gtk-source-gutter-renderer-set-alignment-mode"></a><h3>gtk_source_gutter_renderer_set_alignment_mode ()</h3>
|
625
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_gutter_renderer_set_alignment_mode
|
626
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
627
|
+
<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererAlignmentMode" title="enum GtkSourceGutterRendererAlignmentMode"><span class="type">GtkSourceGutterRendererAlignmentMode</span></a> mode</code></em>);</pre>
|
628
|
+
<p>
|
629
|
+
Set the alignment mode. The alignment mode describes the manner in which the
|
630
|
+
renderer is aligned (see :xalign and :yalign).
|
631
|
+
</p>
|
632
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
633
|
+
<colgroup>
|
634
|
+
<col align="left" valign="top">
|
635
|
+
<col>
|
636
|
+
</colgroup>
|
637
|
+
<tbody>
|
638
|
+
<tr>
|
639
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
640
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
641
|
+
</td>
|
642
|
+
</tr>
|
643
|
+
<tr>
|
644
|
+
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
|
645
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererAlignmentMode" title="enum GtkSourceGutterRendererAlignmentMode"><span class="type">GtkSourceGutterRendererAlignmentMode</span></a>
|
646
|
+
</td>
|
647
|
+
</tr>
|
648
|
+
</tbody>
|
649
|
+
</table></div>
|
650
|
+
</div>
|
651
|
+
<hr>
|
652
|
+
<div class="refsect2">
|
653
|
+
<a name="gtk-source-gutter-renderer-get-window-type"></a><h3>gtk_source_gutter_renderer_get_window_type ()</h3>
|
654
|
+
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkTextWindowType"><span class="returnvalue">GtkTextWindowType</span></a> gtk_source_gutter_renderer_get_window_type
|
655
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);</pre>
|
656
|
+
<p>
|
657
|
+
Get the <a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> associated with the gutter renderer.
|
658
|
+
</p>
|
659
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
660
|
+
<colgroup>
|
661
|
+
<col align="left" valign="top">
|
662
|
+
<col>
|
663
|
+
</colgroup>
|
664
|
+
<tbody>
|
665
|
+
<tr>
|
666
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
667
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
668
|
+
</td>
|
669
|
+
</tr>
|
670
|
+
<tr>
|
671
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
672
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a>
|
673
|
+
</td>
|
674
|
+
</tr>
|
675
|
+
</tbody>
|
676
|
+
</table></div>
|
677
|
+
</div>
|
678
|
+
<hr>
|
679
|
+
<div class="refsect2">
|
680
|
+
<a name="gtk-source-gutter-renderer-get-view"></a><h3>gtk_source_gutter_renderer_get_view ()</h3>
|
681
|
+
<pre class="programlisting"><a href="http://developer.gnome.org/gtk2/GtkTextView.html"><span class="returnvalue">GtkTextView</span></a> * gtk_source_gutter_renderer_get_view (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);</pre>
|
682
|
+
<p>
|
683
|
+
Get the view associated to the gutter renderer
|
684
|
+
</p>
|
685
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
686
|
+
<colgroup>
|
687
|
+
<col align="left" valign="top">
|
688
|
+
<col>
|
689
|
+
</colgroup>
|
690
|
+
<tbody>
|
691
|
+
<tr>
|
692
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
693
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
694
|
+
</td>
|
695
|
+
</tr>
|
696
|
+
<tr>
|
697
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
698
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextView.html"><span class="type">GtkTextView</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
699
|
+
</td>
|
700
|
+
</tr>
|
701
|
+
</tbody>
|
702
|
+
</table></div>
|
703
|
+
</div>
|
704
|
+
<hr>
|
705
|
+
<div class="refsect2">
|
706
|
+
<a name="gtk-source-gutter-renderer-get-alignment-mode"></a><h3>gtk_source_gutter_renderer_get_alignment_mode ()</h3>
|
707
|
+
<pre class="programlisting"><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererAlignmentMode" title="enum GtkSourceGutterRendererAlignmentMode"><span class="returnvalue">GtkSourceGutterRendererAlignmentMode</span></a> gtk_source_gutter_renderer_get_alignment_mode
|
708
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);</pre>
|
709
|
+
<p>
|
710
|
+
Get the alignment mode. The alignment mode describes the manner in which the
|
711
|
+
renderer is aligned (see :xalign and :yalign).
|
712
|
+
</p>
|
713
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
714
|
+
<colgroup>
|
715
|
+
<col align="left" valign="top">
|
716
|
+
<col>
|
717
|
+
</colgroup>
|
718
|
+
<tbody>
|
719
|
+
<tr>
|
720
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
721
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
722
|
+
</td>
|
723
|
+
</tr>
|
724
|
+
<tr>
|
725
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
726
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererAlignmentMode" title="enum GtkSourceGutterRendererAlignmentMode"><span class="type">GtkSourceGutterRendererAlignmentMode</span></a>
|
727
|
+
</td>
|
728
|
+
</tr>
|
729
|
+
</tbody>
|
730
|
+
</table></div>
|
731
|
+
</div>
|
732
|
+
<hr>
|
733
|
+
<div class="refsect2">
|
734
|
+
<a name="gtk-source-gutter-renderer-get-background"></a><h3>gtk_source_gutter_renderer_get_background ()</h3>
|
735
|
+
<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_gutter_renderer_get_background
|
736
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
737
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
|
738
|
+
<p>
|
739
|
+
Get the background color of the renderer.
|
740
|
+
</p>
|
741
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
742
|
+
<colgroup>
|
743
|
+
<col align="left" valign="top">
|
744
|
+
<col>
|
745
|
+
</colgroup>
|
746
|
+
<tbody>
|
747
|
+
<tr>
|
748
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
749
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
750
|
+
</td>
|
751
|
+
</tr>
|
752
|
+
<tr>
|
753
|
+
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
754
|
+
<td>return value for a <a href="http://developer.gnome.org/gdk2/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>. <span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
755
|
+
</td>
|
756
|
+
</tr>
|
757
|
+
<tr>
|
758
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
759
|
+
<td>
|
760
|
+
<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 the background color is set, <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>
|
761
|
+
</tr>
|
762
|
+
</tbody>
|
763
|
+
</table></div>
|
764
|
+
</div>
|
765
|
+
<hr>
|
766
|
+
<div class="refsect2">
|
767
|
+
<a name="gtk-source-gutter-renderer-set-background"></a><h3>gtk_source_gutter_renderer_set_background ()</h3>
|
768
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_gutter_renderer_set_background
|
769
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
770
|
+
<em class="parameter"><code>const <a href="http://developer.gnome.org/gdk2/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> *color</code></em>);</pre>
|
771
|
+
<p>
|
772
|
+
Set the background color of the renderer. If <em class="parameter"><code>color</code></em> is set to <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>, the
|
773
|
+
renderer will not have a background color.
|
774
|
+
</p>
|
775
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
776
|
+
<colgroup>
|
777
|
+
<col align="left" valign="top">
|
778
|
+
<col>
|
779
|
+
</colgroup>
|
780
|
+
<tbody>
|
781
|
+
<tr>
|
782
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
783
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
784
|
+
</td>
|
785
|
+
</tr>
|
786
|
+
<tr>
|
787
|
+
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
|
788
|
+
<td>a <a href="http://developer.gnome.org/gdk2/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</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>
|
789
|
+
</td>
|
790
|
+
</tr>
|
791
|
+
</tbody>
|
792
|
+
</table></div>
|
793
|
+
</div>
|
794
|
+
<hr>
|
795
|
+
<div class="refsect2">
|
796
|
+
<a name="gtk-source-gutter-renderer-activate"></a><h3>gtk_source_gutter_renderer_activate ()</h3>
|
797
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_gutter_renderer_activate (<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
798
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
799
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area</code></em>,
|
800
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
801
|
+
<p>
|
802
|
+
Emits the ::activate signal of the renderer. This is called from
|
803
|
+
<a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a> and should never have to be called manually.
|
804
|
+
</p>
|
805
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
806
|
+
<colgroup>
|
807
|
+
<col align="left" valign="top">
|
808
|
+
<col>
|
809
|
+
</colgroup>
|
810
|
+
<tbody>
|
811
|
+
<tr>
|
812
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
813
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
814
|
+
</td>
|
815
|
+
</tr>
|
816
|
+
<tr>
|
817
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
818
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> at the start of the line where the renderer is activated</td>
|
819
|
+
</tr>
|
820
|
+
<tr>
|
821
|
+
<td><p><span class="term"><em class="parameter"><code>area</code></em> :</span></p></td>
|
822
|
+
<td>a <a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> of the cell area where the renderer is activated</td>
|
823
|
+
</tr>
|
824
|
+
<tr>
|
825
|
+
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
|
826
|
+
<td>the event that triggered the activation</td>
|
827
|
+
</tr>
|
828
|
+
</tbody>
|
829
|
+
</table></div>
|
830
|
+
</div>
|
831
|
+
<hr>
|
832
|
+
<div class="refsect2">
|
833
|
+
<a name="gtk-source-gutter-renderer-query-activatable"></a><h3>gtk_source_gutter_renderer_query_activatable ()</h3>
|
834
|
+
<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_gutter_renderer_query_activatable
|
835
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
836
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
837
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area</code></em>,
|
838
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event</code></em>);</pre>
|
839
|
+
<p>
|
840
|
+
Get whether the renderer is activatable at the location in <em class="parameter"><code>event</code></em>. This is
|
841
|
+
called from <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a> to determine whether a renderer is activatable
|
842
|
+
using the mouse pointer.
|
843
|
+
</p>
|
844
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
845
|
+
<colgroup>
|
846
|
+
<col align="left" valign="top">
|
847
|
+
<col>
|
848
|
+
</colgroup>
|
849
|
+
<tbody>
|
850
|
+
<tr>
|
851
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
852
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
853
|
+
</td>
|
854
|
+
</tr>
|
855
|
+
<tr>
|
856
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
857
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> at the start of the line to be activated</td>
|
858
|
+
</tr>
|
859
|
+
<tr>
|
860
|
+
<td><p><span class="term"><em class="parameter"><code>area</code></em> :</span></p></td>
|
861
|
+
<td>a <a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> of the cell area to be activated</td>
|
862
|
+
</tr>
|
863
|
+
<tr>
|
864
|
+
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
|
865
|
+
<td>the event that triggered the query</td>
|
866
|
+
</tr>
|
867
|
+
<tr>
|
868
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
869
|
+
<td>
|
870
|
+
<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 the renderer can be activated, <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>
|
871
|
+
</tr>
|
872
|
+
</tbody>
|
873
|
+
</table></div>
|
874
|
+
</div>
|
875
|
+
<hr>
|
876
|
+
<div class="refsect2">
|
877
|
+
<a name="gtk-source-gutter-renderer-queue-draw"></a><h3>gtk_source_gutter_renderer_queue_draw ()</h3>
|
878
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_gutter_renderer_queue_draw
|
879
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>);</pre>
|
880
|
+
<p>
|
881
|
+
Emits the ::queue-draw signal of the renderer. Call this from an
|
882
|
+
implementation to inform that the renderer has changed such that it needs
|
883
|
+
to redraw.
|
884
|
+
</p>
|
885
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
886
|
+
<colgroup>
|
887
|
+
<col align="left" valign="top">
|
888
|
+
<col>
|
889
|
+
</colgroup>
|
890
|
+
<tbody><tr>
|
891
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
892
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>
|
893
|
+
</td>
|
894
|
+
</tr></tbody>
|
895
|
+
</table></div>
|
896
|
+
</div>
|
897
|
+
<hr>
|
898
|
+
<div class="refsect2">
|
899
|
+
<a name="gtk-source-gutter-renderer-query-tooltip"></a><h3>gtk_source_gutter_renderer_query_tooltip ()</h3>
|
900
|
+
<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_gutter_renderer_query_tooltip
|
901
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
902
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter</code></em>,
|
903
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area</code></em>,
|
904
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
|
905
|
+
<em class="parameter"><code><a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
|
906
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTooltip.html"><span class="type">GtkTooltip</span></a> *tooltip</code></em>);</pre>
|
907
|
+
<p>
|
908
|
+
Emits the ::query-tooltip signal. This function is called from
|
909
|
+
<a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a>. Implementations can override the default signal handler
|
910
|
+
or can connect to the signal externally.
|
911
|
+
</p>
|
912
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
913
|
+
<colgroup>
|
914
|
+
<col align="left" valign="top">
|
915
|
+
<col>
|
916
|
+
</colgroup>
|
917
|
+
<tbody>
|
918
|
+
<tr>
|
919
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
920
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>.</td>
|
921
|
+
</tr>
|
922
|
+
<tr>
|
923
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
924
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</td>
|
925
|
+
</tr>
|
926
|
+
<tr>
|
927
|
+
<td><p><span class="term"><em class="parameter"><code>area</code></em> :</span></p></td>
|
928
|
+
<td>a <a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a>.</td>
|
929
|
+
</tr>
|
930
|
+
<tr>
|
931
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
932
|
+
<td>The x position of the tooltip.</td>
|
933
|
+
</tr>
|
934
|
+
<tr>
|
935
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
936
|
+
<td>The y position of the tooltip.</td>
|
937
|
+
</tr>
|
938
|
+
<tr>
|
939
|
+
<td><p><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></p></td>
|
940
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTooltip.html"><span class="type">GtkTooltip</span></a>.</td>
|
941
|
+
</tr>
|
942
|
+
<tr>
|
943
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
944
|
+
<td>
|
945
|
+
<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 the tooltip has been set, <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>
|
946
|
+
</tr>
|
947
|
+
</tbody>
|
948
|
+
</table></div>
|
949
|
+
</div>
|
950
|
+
<hr>
|
951
|
+
<div class="refsect2">
|
952
|
+
<a name="gtk-source-gutter-renderer-query-data"></a><h3>gtk_source_gutter_renderer_query_data ()</h3>
|
953
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_source_gutter_renderer_query_data
|
954
|
+
(<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer</code></em>,
|
955
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *start</code></em>,
|
956
|
+
<em class="parameter"><code><a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *end</code></em>,
|
957
|
+
<em class="parameter"><code><a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererState" title="enum GtkSourceGutterRendererState"><span class="type">GtkSourceGutterRendererState</span></a> state</code></em>);</pre>
|
958
|
+
<p>
|
959
|
+
Emit the ::query-data signal. This function is called to query for data
|
960
|
+
just before rendering a cell. This is called from the <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a>.
|
961
|
+
Implementations can override the default signal handler or can connect
|
962
|
+
a signal handler externally to the ::query-data signal.
|
963
|
+
</p>
|
964
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
965
|
+
<colgroup>
|
966
|
+
<col align="left" valign="top">
|
967
|
+
<col>
|
968
|
+
</colgroup>
|
969
|
+
<tbody>
|
970
|
+
<tr>
|
971
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
972
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a>.</td>
|
973
|
+
</tr>
|
974
|
+
<tr>
|
975
|
+
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
|
976
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</td>
|
977
|
+
</tr>
|
978
|
+
<tr>
|
979
|
+
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
|
980
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>.</td>
|
981
|
+
</tr>
|
982
|
+
<tr>
|
983
|
+
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
|
984
|
+
<td>a <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererState" title="enum GtkSourceGutterRendererState"><span class="type">GtkSourceGutterRendererState</span></a>.</td>
|
985
|
+
</tr>
|
986
|
+
</tbody>
|
987
|
+
</table></div>
|
988
|
+
</div>
|
989
|
+
</div>
|
990
|
+
<div class="refsect1">
|
991
|
+
<a name="GtkSourceGutterRenderer.property-details"></a><h2>Property Details</h2>
|
992
|
+
<div class="refsect2">
|
993
|
+
<a name="GtkSourceGutterRenderer--alignment-mode"></a><h3>The <code class="literal">"alignment-mode"</code> property</h3>
|
994
|
+
<pre class="programlisting"> "alignment-mode" <a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererAlignmentMode" title="enum GtkSourceGutterRendererAlignmentMode"><span class="type">GtkSourceGutterRendererAlignmentMode</span></a> : Read / Write / Construct</pre>
|
995
|
+
<p>
|
996
|
+
The alignment mode of the renderer. This can be used to indicate
|
997
|
+
that in the case a cell spans multiple lines (due to text wrapping)
|
998
|
+
the alignment should work on either the full cell, the first line
|
999
|
+
or the last line.
|
1000
|
+
</p>
|
1001
|
+
<p>Default value: GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_CELL</p>
|
1002
|
+
</div>
|
1003
|
+
<hr>
|
1004
|
+
<div class="refsect2">
|
1005
|
+
<a name="GtkSourceGutterRenderer--background-rgba"></a><h3>The <code class="literal">"background-rgba"</code> property</h3>
|
1006
|
+
<pre class="programlisting"> "background-rgba" <a href="http://developer.gnome.org/gdk2/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>* : Read / Write</pre>
|
1007
|
+
<p>The background color.</p>
|
1008
|
+
</div>
|
1009
|
+
<hr>
|
1010
|
+
<div class="refsect2">
|
1011
|
+
<a name="GtkSourceGutterRenderer--background-set"></a><h3>The <code class="literal">"background-set"</code> property</h3>
|
1012
|
+
<pre class="programlisting"> "background-set" <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>
|
1013
|
+
<p>Whether the background color is set.</p>
|
1014
|
+
<p>Default value: FALSE</p>
|
1015
|
+
</div>
|
1016
|
+
<hr>
|
1017
|
+
<div class="refsect2">
|
1018
|
+
<a name="GtkSourceGutterRenderer--size"></a><h3>The <code class="literal">"size"</code> property</h3>
|
1019
|
+
<pre class="programlisting"> "size" <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> : Read / Write / Construct</pre>
|
1020
|
+
<p>The size.</p>
|
1021
|
+
<p>Allowed values: >= 0</p>
|
1022
|
+
<p>Default value: 0</p>
|
1023
|
+
</div>
|
1024
|
+
<hr>
|
1025
|
+
<div class="refsect2">
|
1026
|
+
<a name="GtkSourceGutterRenderer--view"></a><h3>The <code class="literal">"view"</code> property</h3>
|
1027
|
+
<pre class="programlisting"> "view" <a href="http://developer.gnome.org/gtk2/GtkTextView.html"><span class="type">GtkTextView</span></a>* : Read</pre>
|
1028
|
+
<p>
|
1029
|
+
The view on which the renderer is placed.
|
1030
|
+
</p>
|
1031
|
+
</div>
|
1032
|
+
<hr>
|
1033
|
+
<div class="refsect2">
|
1034
|
+
<a name="GtkSourceGutterRenderer--visible"></a><h3>The <code class="literal">"visible"</code> property</h3>
|
1035
|
+
<pre class="programlisting"> "visible" <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>
|
1036
|
+
<p>
|
1037
|
+
The visibility of the renderer.
|
1038
|
+
</p>
|
1039
|
+
<p>Default value: TRUE</p>
|
1040
|
+
</div>
|
1041
|
+
<hr>
|
1042
|
+
<div class="refsect2">
|
1043
|
+
<a name="GtkSourceGutterRenderer--window-type"></a><h3>The <code class="literal">"window-type"</code> property</h3>
|
1044
|
+
<pre class="programlisting"> "window-type" <a href="http://developer.gnome.org/gtk2/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> : Read</pre>
|
1045
|
+
<p>
|
1046
|
+
The window type of the view on which the renderer is placed (left,
|
1047
|
+
or right).
|
1048
|
+
</p>
|
1049
|
+
<p>Default value: GTK_TEXT_WINDOW_PRIVATE</p>
|
1050
|
+
</div>
|
1051
|
+
<hr>
|
1052
|
+
<div class="refsect2">
|
1053
|
+
<a name="GtkSourceGutterRenderer--xalign"></a><h3>The <code class="literal">"xalign"</code> property</h3>
|
1054
|
+
<pre class="programlisting"> "xalign" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write / Construct</pre>
|
1055
|
+
<p>
|
1056
|
+
The x-alignment of the renderer.
|
1057
|
+
</p>
|
1058
|
+
<p>Allowed values: [-1,1]</p>
|
1059
|
+
<p>Default value: 0</p>
|
1060
|
+
</div>
|
1061
|
+
<hr>
|
1062
|
+
<div class="refsect2">
|
1063
|
+
<a name="GtkSourceGutterRenderer--xpad"></a><h3>The <code class="literal">"xpad"</code> property</h3>
|
1064
|
+
<pre class="programlisting"> "xpad" <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> : Read / Write / Construct</pre>
|
1065
|
+
<p>
|
1066
|
+
The x-padding of the renderer.
|
1067
|
+
</p>
|
1068
|
+
<p>Allowed values: >= G_MAXULONG</p>
|
1069
|
+
<p>Default value: 0</p>
|
1070
|
+
</div>
|
1071
|
+
<hr>
|
1072
|
+
<div class="refsect2">
|
1073
|
+
<a name="GtkSourceGutterRenderer--yalign"></a><h3>The <code class="literal">"yalign"</code> property</h3>
|
1074
|
+
<pre class="programlisting"> "yalign" <a href="/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write / Construct</pre>
|
1075
|
+
<p>
|
1076
|
+
The y-alignment of the renderer.
|
1077
|
+
</p>
|
1078
|
+
<p>Allowed values: [-1,1]</p>
|
1079
|
+
<p>Default value: 0</p>
|
1080
|
+
</div>
|
1081
|
+
<hr>
|
1082
|
+
<div class="refsect2">
|
1083
|
+
<a name="GtkSourceGutterRenderer--ypad"></a><h3>The <code class="literal">"ypad"</code> property</h3>
|
1084
|
+
<pre class="programlisting"> "ypad" <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> : Read / Write / Construct</pre>
|
1085
|
+
<p>
|
1086
|
+
The y-padding of the renderer.
|
1087
|
+
</p>
|
1088
|
+
<p>Allowed values: >= G_MAXULONG</p>
|
1089
|
+
<p>Default value: 0</p>
|
1090
|
+
</div>
|
1091
|
+
</div>
|
1092
|
+
<div class="refsect1">
|
1093
|
+
<a name="GtkSourceGutterRenderer.signal-details"></a><h2>Signal Details</h2>
|
1094
|
+
<div class="refsect2">
|
1095
|
+
<a name="GtkSourceGutterRenderer-activate"></a><h3>The <code class="literal">"activate"</code> signal</h3>
|
1096
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer,
|
1097
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter,
|
1098
|
+
<a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area,
|
1099
|
+
<a href="http://developer.gnome.org/gdk2/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event,
|
1100
|
+
<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-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
1101
|
+
<p>
|
1102
|
+
The ::activate signal is emitted when the renderer is
|
1103
|
+
activated.
|
1104
|
+
</p>
|
1105
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1106
|
+
<colgroup>
|
1107
|
+
<col align="left" valign="top">
|
1108
|
+
<col>
|
1109
|
+
</colgroup>
|
1110
|
+
<tbody>
|
1111
|
+
<tr>
|
1112
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
1113
|
+
<td>the <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> who emits the signal</td>
|
1114
|
+
</tr>
|
1115
|
+
<tr>
|
1116
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1117
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>
|
1118
|
+
</td>
|
1119
|
+
</tr>
|
1120
|
+
<tr>
|
1121
|
+
<td><p><span class="term"><em class="parameter"><code>area</code></em> :</span></p></td>
|
1122
|
+
<td>a <a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a>
|
1123
|
+
</td>
|
1124
|
+
</tr>
|
1125
|
+
<tr>
|
1126
|
+
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
|
1127
|
+
<td>the event that caused the activation</td>
|
1128
|
+
</tr>
|
1129
|
+
<tr>
|
1130
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1131
|
+
<td>user data set when the signal handler was connected.</td>
|
1132
|
+
</tr>
|
1133
|
+
</tbody>
|
1134
|
+
</table></div>
|
1135
|
+
</div>
|
1136
|
+
<hr>
|
1137
|
+
<div class="refsect2">
|
1138
|
+
<a name="GtkSourceGutterRenderer-query-activatable"></a><h3>The <code class="literal">"query-activatable"</code> signal</h3>
|
1139
|
+
<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> user_function (<a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer,
|
1140
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter,
|
1141
|
+
<a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area,
|
1142
|
+
<a href="http://developer.gnome.org/gdk2/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> *event,
|
1143
|
+
<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-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
1144
|
+
<p>
|
1145
|
+
The ::query-activatable signal is emitted when the renderer
|
1146
|
+
can possibly be activated.
|
1147
|
+
</p>
|
1148
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1149
|
+
<colgroup>
|
1150
|
+
<col align="left" valign="top">
|
1151
|
+
<col>
|
1152
|
+
</colgroup>
|
1153
|
+
<tbody>
|
1154
|
+
<tr>
|
1155
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
1156
|
+
<td>the <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> who emits the signal</td>
|
1157
|
+
</tr>
|
1158
|
+
<tr>
|
1159
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1160
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>
|
1161
|
+
</td>
|
1162
|
+
</tr>
|
1163
|
+
<tr>
|
1164
|
+
<td><p><span class="term"><em class="parameter"><code>area</code></em> :</span></p></td>
|
1165
|
+
<td>a <a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a>
|
1166
|
+
</td>
|
1167
|
+
</tr>
|
1168
|
+
<tr>
|
1169
|
+
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
|
1170
|
+
<td>the <a href="http://developer.gnome.org/gdk2/gdk3-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> that is causing the activatable query</td>
|
1171
|
+
</tr>
|
1172
|
+
<tr>
|
1173
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1174
|
+
<td>user data set when the signal handler was connected.</td>
|
1175
|
+
</tr>
|
1176
|
+
</tbody>
|
1177
|
+
</table></div>
|
1178
|
+
</div>
|
1179
|
+
<hr>
|
1180
|
+
<div class="refsect2">
|
1181
|
+
<a name="GtkSourceGutterRenderer-query-data"></a><h3>The <code class="literal">"query-data"</code> signal</h3>
|
1182
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer,
|
1183
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *start,
|
1184
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *end,
|
1185
|
+
<a class="link" href="GtkSourceGutterRenderer.html#GtkSourceGutterRendererState" title="enum GtkSourceGutterRendererState"><span class="type">GtkSourceGutterRendererState</span></a> state,
|
1186
|
+
<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-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
1187
|
+
<p>
|
1188
|
+
The ::query-data signal is emitted when the renderer needs
|
1189
|
+
to be filled with data just before a cell is drawn. This can
|
1190
|
+
be used by general renderer implementations to allow render
|
1191
|
+
data to be filled in externally.
|
1192
|
+
</p>
|
1193
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1194
|
+
<colgroup>
|
1195
|
+
<col align="left" valign="top">
|
1196
|
+
<col>
|
1197
|
+
</colgroup>
|
1198
|
+
<tbody>
|
1199
|
+
<tr>
|
1200
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
1201
|
+
<td>the <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> who emits the signal</td>
|
1202
|
+
</tr>
|
1203
|
+
<tr>
|
1204
|
+
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
|
1205
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>
|
1206
|
+
</td>
|
1207
|
+
</tr>
|
1208
|
+
<tr>
|
1209
|
+
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
|
1210
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>
|
1211
|
+
</td>
|
1212
|
+
</tr>
|
1213
|
+
<tr>
|
1214
|
+
<td><p><span class="term"><em class="parameter"><code>state</code></em> :</span></p></td>
|
1215
|
+
<td>the renderer state</td>
|
1216
|
+
</tr>
|
1217
|
+
<tr>
|
1218
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1219
|
+
<td>user data set when the signal handler was connected.</td>
|
1220
|
+
</tr>
|
1221
|
+
</tbody>
|
1222
|
+
</table></div>
|
1223
|
+
</div>
|
1224
|
+
<hr>
|
1225
|
+
<div class="refsect2">
|
1226
|
+
<a name="GtkSourceGutterRenderer-query-tooltip"></a><h3>The <code class="literal">"query-tooltip"</code> signal</h3>
|
1227
|
+
<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> user_function (<a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer,
|
1228
|
+
<a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a> *iter,
|
1229
|
+
<a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *area,
|
1230
|
+
<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> x,
|
1231
|
+
<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> y,
|
1232
|
+
<a href="http://developer.gnome.org/gtk2/GtkTooltip.html"><span class="type">GtkTooltip</span></a> *tooltip,
|
1233
|
+
<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-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
1234
|
+
<p>
|
1235
|
+
The ::query-tooltip signal is emitted when the renderer can
|
1236
|
+
show a tooltip.
|
1237
|
+
</p>
|
1238
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1239
|
+
<colgroup>
|
1240
|
+
<col align="left" valign="top">
|
1241
|
+
<col>
|
1242
|
+
</colgroup>
|
1243
|
+
<tbody>
|
1244
|
+
<tr>
|
1245
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
1246
|
+
<td>the <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> who emits the signal</td>
|
1247
|
+
</tr>
|
1248
|
+
<tr>
|
1249
|
+
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
|
1250
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTextIter.html"><span class="type">GtkTextIter</span></a>
|
1251
|
+
</td>
|
1252
|
+
</tr>
|
1253
|
+
<tr>
|
1254
|
+
<td><p><span class="term"><em class="parameter"><code>area</code></em> :</span></p></td>
|
1255
|
+
<td>a <a href="http://developer.gnome.org/gdk2/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a>
|
1256
|
+
</td>
|
1257
|
+
</tr>
|
1258
|
+
<tr>
|
1259
|
+
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
|
1260
|
+
<td>the x position (in window coordinates)</td>
|
1261
|
+
</tr>
|
1262
|
+
<tr>
|
1263
|
+
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
|
1264
|
+
<td>the y position (in window coordinates)</td>
|
1265
|
+
</tr>
|
1266
|
+
<tr>
|
1267
|
+
<td><p><span class="term"><em class="parameter"><code>tooltip</code></em> :</span></p></td>
|
1268
|
+
<td>a <a href="http://developer.gnome.org/gtk2/GtkTooltip.html"><span class="type">GtkTooltip</span></a>
|
1269
|
+
</td>
|
1270
|
+
</tr>
|
1271
|
+
<tr>
|
1272
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1273
|
+
<td>user data set when the signal handler was connected.</td>
|
1274
|
+
</tr>
|
1275
|
+
</tbody>
|
1276
|
+
</table></div>
|
1277
|
+
</div>
|
1278
|
+
<hr>
|
1279
|
+
<div class="refsect2">
|
1280
|
+
<a name="GtkSourceGutterRenderer-queue-draw"></a><h3>The <code class="literal">"queue-draw"</code> signal</h3>
|
1281
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> *renderer,
|
1282
|
+
<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-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
1283
|
+
<p>
|
1284
|
+
The ::queue-draw signal is emitted when the renderer needs
|
1285
|
+
to be redrawn. Use <a class="link" href="GtkSourceGutterRenderer.html#gtk-source-gutter-renderer-queue-draw" title="gtk_source_gutter_renderer_queue_draw ()"><code class="function">gtk_source_gutter_renderer_queue_draw()</code></a>
|
1286
|
+
to emit this signal from an implementation of the
|
1287
|
+
<a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> interface.
|
1288
|
+
</p>
|
1289
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1290
|
+
<colgroup>
|
1291
|
+
<col align="left" valign="top">
|
1292
|
+
<col>
|
1293
|
+
</colgroup>
|
1294
|
+
<tbody>
|
1295
|
+
<tr>
|
1296
|
+
<td><p><span class="term"><em class="parameter"><code>renderer</code></em> :</span></p></td>
|
1297
|
+
<td>the <a class="link" href="GtkSourceGutterRenderer.html" title="GtkSourceGutterRenderer"><span class="type">GtkSourceGutterRenderer</span></a> who emits the signal</td>
|
1298
|
+
</tr>
|
1299
|
+
<tr>
|
1300
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1301
|
+
<td>user data set when the signal handler was connected.</td>
|
1302
|
+
</tr>
|
1303
|
+
</tbody>
|
1304
|
+
</table></div>
|
1305
|
+
</div>
|
1306
|
+
</div>
|
1307
|
+
</div>
|
1308
|
+
<div class="footer">
|
1309
|
+
<hr>
|
1310
|
+
Generated by GTK-Doc V1.18.1</div>
|
1311
|
+
</body>
|
1312
|
+
</html>
|