~ubuntu-branches/ubuntu/precise/gtksourceview2/precise-proposed

« back to all changes in this revision

Viewing changes to docs/reference/html/GtkSourceView.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-05-31 10:35:27 UTC
  • mfrom: (1.4.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 40.
  • Revision ID: james.westby@ubuntu.com-20100531103527-3l3pn56d32uq9qna
New upstream bugfix release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="rn01.html" title="API reference">
9
9
<link rel="prev" href="GtkSourceMark.html" title="GtkSourceMark">
10
10
<link rel="next" href="GtkSourceLanguage.html" title="GtkSourceLanguage">
11
 
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.15.1 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
50
50
 
51
51
                    <a class="link" href="GtkSourceView.html#GtkSourceView-struct" title="GtkSourceView">GtkSourceView</a>;
52
52
                    <a class="link" href="GtkSourceView.html#GtkSourceViewClass" title="GtkSourceViewClass">GtkSourceViewClass</a>;
53
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             (<a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()">*GtkSourceViewMarkTooltipFunc</a>)     (<em class="parameter"><code><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> *mark</code></em>,
54
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
 
53
<span class="returnvalue">gchar</span> *             (<a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()">*GtkSourceViewMarkTooltipFunc</a>)     (<em class="parameter"><code><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> *mark</code></em>,
 
54
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
55
55
enum                <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType">GtkSourceSmartHomeEndType</a>;
56
56
enum                <a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags">GtkSourceDrawSpacesFlags</a>;
57
57
enum                <a class="link" href="GtkSourceView.html#GtkSourceViewGutterPosition" title="enum GtkSourceViewGutterPosition">GtkSourceViewGutterPosition</a>;
58
 
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkSourceView.html#gtk-source-view-new" title="gtk_source_view_new ()">gtk_source_view_new</a>                 (<em class="parameter"><code><span class="type">void</span></code></em>);
59
 
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkSourceView.html#gtk-source-view-new-with-buffer" title="gtk_source_view_new_with_buffer ()">gtk_source_view_new_with_buffer</a>     (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
 
58
<span class="returnvalue">GtkWidget</span> *         <a class="link" href="GtkSourceView.html#gtk-source-view-new" title="gtk_source_view_new ()">gtk_source_view_new</a>                 (<em class="parameter"><code><span class="type">void</span></code></em>);
 
59
<span class="returnvalue">GtkWidget</span> *         <a class="link" href="GtkSourceView.html#gtk-source-view-new-with-buffer" title="gtk_source_view_new_with_buffer ()">gtk_source_view_new_with_buffer</a>     (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);
60
60
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-auto-indent" title="gtk_source_view_set_auto_indent ()">gtk_source_view_set_auto_indent</a>     (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
61
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);
62
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-auto-indent" title="gtk_source_view_get_auto_indent ()">gtk_source_view_get_auto_indent</a>     (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
 
61
                                                         <em class="parameter"><code><span class="type">gboolean</span> enable</code></em>);
 
62
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-auto-indent" title="gtk_source_view_get_auto_indent ()">gtk_source_view_get_auto_indent</a>     (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
63
63
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-indent-on-tab" title="gtk_source_view_set_indent_on_tab ()">gtk_source_view_set_indent_on_tab</a>   (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
64
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);
65
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-indent-on-tab" title="gtk_source_view_get_indent_on_tab ()">gtk_source_view_get_indent_on_tab</a>   (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
 
64
                                                         <em class="parameter"><code><span class="type">gboolean</span> enable</code></em>);
 
65
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-indent-on-tab" title="gtk_source_view_get_indent_on_tab ()">gtk_source_view_get_indent_on_tab</a>   (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
66
66
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-indent-width" title="gtk_source_view_set_indent_width ()">gtk_source_view_set_indent_width</a>    (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
67
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);
68
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="GtkSourceView.html#gtk-source-view-get-indent-width" title="gtk_source_view_get_indent_width ()">gtk_source_view_get_indent_width</a>    (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
 
67
                                                         <em class="parameter"><code><span class="type">gint</span> width</code></em>);
 
68
<span class="returnvalue">gint</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-get-indent-width" title="gtk_source_view_get_indent_width ()">gtk_source_view_get_indent_width</a>    (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
69
69
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-insert-spaces-instead-of-tabs" title="gtk_source_view_set_insert_spaces_instead_of_tabs ()">gtk_source_view_set_insert_spaces_instead_of_tabs</a>
70
70
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
71
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);
72
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-insert-spaces-instead-of-tabs" title="gtk_source_view_get_insert_spaces_instead_of_tabs ()">gtk_source_view_get_insert_spaces_instead_of_tabs</a>
 
71
                                                         <em class="parameter"><code><span class="type">gboolean</span> enable</code></em>);
 
72
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-insert-spaces-instead-of-tabs" title="gtk_source_view_get_insert_spaces_instead_of_tabs ()">gtk_source_view_get_insert_spaces_instead_of_tabs</a>
73
73
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
74
74
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-smart-home-end" title="gtk_source_view_set_smart_home_end ()">gtk_source_view_set_smart_home_end</a>  (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
75
75
                                                         <em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a> smart_he</code></em>);
77
77
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
78
78
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-priority" title="gtk_source_view_set_mark_category_priority ()">gtk_source_view_set_mark_category_priority</a>
79
79
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
80
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
81
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>);
82
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="GtkSourceView.html#gtk-source-view-get-mark-category-priority" title="gtk_source_view_get_mark_category_priority ()">gtk_source_view_get_mark_category_priority</a>
 
80
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
 
81
                                                         <em class="parameter"><code><span class="type">gint</span> priority</code></em>);
 
82
<span class="returnvalue">gint</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-get-mark-category-priority" title="gtk_source_view_get_mark_category_priority ()">gtk_source_view_get_mark_category_priority</a>
83
83
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
84
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);
 
84
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);
85
85
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-pixbuf" title="gtk_source_view_set_mark_category_pixbuf ()">gtk_source_view_set_mark_category_pixbuf</a>
86
86
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
87
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
88
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
89
 
<a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         <a class="link" href="GtkSourceView.html#gtk-source-view-get-mark-category-pixbuf" title="gtk_source_view_get_mark_category_pixbuf ()">gtk_source_view_get_mark_category_pixbuf</a>
 
87
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
 
88
                                                         <em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>);
 
89
<span class="returnvalue">GdkPixbuf</span> *         <a class="link" href="GtkSourceView.html#gtk-source-view-get-mark-category-pixbuf" title="gtk_source_view_get_mark_category_pixbuf ()">gtk_source_view_get_mark_category_pixbuf</a>
90
90
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
91
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);
 
91
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);
92
92
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-icon-from-pixbuf" title="gtk_source_view_set_mark_category_icon_from_pixbuf ()">gtk_source_view_set_mark_category_icon_from_pixbuf</a>
93
93
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
94
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
95
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);
 
94
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
 
95
                                                         <em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>);
96
96
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-icon-from-stock" title="gtk_source_view_set_mark_category_icon_from_stock ()">gtk_source_view_set_mark_category_icon_from_stock</a>
97
97
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
98
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
99
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);
 
98
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
 
99
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *stock_id</code></em>);
100
100
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-icon-from-icon-name" title="gtk_source_view_set_mark_category_icon_from_icon_name ()">gtk_source_view_set_mark_category_icon_from_icon_name</a>
101
101
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
102
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
103
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
104
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-mark-category-background" title="gtk_source_view_get_mark_category_background ()">gtk_source_view_get_mark_category_background</a>
 
102
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
 
103
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
 
104
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-mark-category-background" title="gtk_source_view_get_mark_category_background ()">gtk_source_view_get_mark_category_background</a>
105
105
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
106
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
107
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *dest</code></em>);
 
106
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
 
107
                                                         <em class="parameter"><code><span class="type">GdkColor</span> *dest</code></em>);
108
108
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-background" title="gtk_source_view_set_mark_category_background ()">gtk_source_view_set_mark_category_background</a>
109
109
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
110
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
111
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);
 
110
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
 
111
                                                         <em class="parameter"><code>const <span class="type">GdkColor</span> *color</code></em>);
112
112
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-tooltip-func" title="gtk_source_view_set_mark_category_tooltip_func ()">gtk_source_view_set_mark_category_tooltip_func</a>
113
113
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
114
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
 
114
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
115
115
                                                         <em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="type">GtkSourceViewMarkTooltipFunc</span></a> func</code></em>,
116
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
117
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_notify</code></em>);
 
116
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
 
117
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> user_data_notify</code></em>);
118
118
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-tooltip-markup-func" title="gtk_source_view_set_mark_category_tooltip_markup_func ()">gtk_source_view_set_mark_category_tooltip_markup_func</a>
119
119
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
120
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
 
120
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
121
121
                                                         <em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="type">GtkSourceViewMarkTooltipFunc</span></a> markup_func</code></em>,
122
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
123
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_notify</code></em>);
 
122
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
 
123
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> user_data_notify</code></em>);
124
124
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-highlight-current-line" title="gtk_source_view_set_highlight_current_line ()">gtk_source_view_set_highlight_current_line</a>
125
125
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
126
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);
127
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-highlight-current-line" title="gtk_source_view_get_highlight_current_line ()">gtk_source_view_get_highlight_current_line</a>
 
126
                                                         <em class="parameter"><code><span class="type">gboolean</span> show</code></em>);
 
127
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-highlight-current-line" title="gtk_source_view_get_highlight_current_line ()">gtk_source_view_get_highlight_current_line</a>
128
128
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
129
129
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-show-line-marks" title="gtk_source_view_set_show_line_marks ()">gtk_source_view_set_show_line_marks</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
130
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);
131
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-show-line-marks" title="gtk_source_view_get_show_line_marks ()">gtk_source_view_get_show_line_marks</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
 
130
                                                         <em class="parameter"><code><span class="type">gboolean</span> show</code></em>);
 
131
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-show-line-marks" title="gtk_source_view_get_show_line_marks ()">gtk_source_view_get_show_line_marks</a> (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
132
132
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-show-line-numbers" title="gtk_source_view_set_show_line_numbers ()">gtk_source_view_set_show_line_numbers</a>
133
133
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
134
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);
135
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-show-line-numbers" title="gtk_source_view_get_show_line_numbers ()">gtk_source_view_get_show_line_numbers</a>
 
134
                                                         <em class="parameter"><code><span class="type">gboolean</span> show</code></em>);
 
135
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-show-line-numbers" title="gtk_source_view_get_show_line_numbers ()">gtk_source_view_get_show_line_numbers</a>
136
136
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
137
137
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-show-right-margin" title="gtk_source_view_set_show_right_margin ()">gtk_source_view_set_show_right_margin</a>
138
138
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
139
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);
140
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-show-right-margin" title="gtk_source_view_get_show_right_margin ()">gtk_source_view_get_show_right_margin</a>
 
139
                                                         <em class="parameter"><code><span class="type">gboolean</span> show</code></em>);
 
140
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkSourceView.html#gtk-source-view-get-show-right-margin" title="gtk_source_view_get_show_right_margin ()">gtk_source_view_get_show_right_margin</a>
141
141
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
142
142
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-right-margin-position" title="gtk_source_view_set_right_margin_position ()">gtk_source_view_set_right_margin_position</a>
143
143
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
144
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> pos</code></em>);
145
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="GtkSourceView.html#gtk-source-view-get-right-margin-position" title="gtk_source_view_get_right_margin_position ()">gtk_source_view_get_right_margin_position</a>
 
144
                                                         <em class="parameter"><code><span class="type">guint</span> pos</code></em>);
 
145
<span class="returnvalue">guint</span>               <a class="link" href="GtkSourceView.html#gtk-source-view-get-right-margin-position" title="gtk_source_view_get_right_margin_position ()">gtk_source_view_get_right_margin_position</a>
146
146
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
147
147
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-tab-width" title="gtk_source_view_set_tab_width ()">gtk_source_view_set_tab_width</a>       (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
148
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>);
149
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="GtkSourceView.html#gtk-source-view-get-tab-width" title="gtk_source_view_get_tab_width ()">gtk_source_view_get_tab_width</a>       (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
 
148
                                                         <em class="parameter"><code><span class="type">guint</span> width</code></em>);
 
149
<span class="returnvalue">guint</span>               <a class="link" href="GtkSourceView.html#gtk-source-view-get-tab-width" title="gtk_source_view_get_tab_width ()">gtk_source_view_get_tab_width</a>       (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
150
150
<span class="returnvalue">void</span>                <a class="link" href="GtkSourceView.html#gtk-source-view-set-draw-spaces" title="gtk_source_view_set_draw_spaces ()">gtk_source_view_set_draw_spaces</a>     (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
151
151
                                                         <em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a> flags</code></em>);
152
152
<a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="returnvalue">GtkSourceDrawSpacesFlags</span></a>  <a class="link" href="GtkSourceView.html#gtk-source-view-get-draw-spaces" title="gtk_source_view_get_draw_spaces ()">gtk_source_view_get_draw_spaces</a>
153
153
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
154
154
<a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="returnvalue">GtkSourceCompletion</span></a> * <a class="link" href="GtkSourceView.html#gtk-source-view-get-completion" title="gtk_source_view_get_completion ()">gtk_source_view_get_completion</a>    (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);
155
155
<a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="returnvalue">GtkSourceGutter</span></a> *   <a class="link" href="GtkSourceView.html#gtk-source-view-get-gutter" title="gtk_source_view_get_gutter ()">gtk_source_view_get_gutter</a>          (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
156
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> window_type</code></em>);
 
156
                                                         <em class="parameter"><code><span class="type">GtkTextWindowType</span> window_type</code></em>);
157
157
</pre>
158
158
</div>
159
159
<div class="refsect1" title="Object Hierarchy">
160
160
<a name="GtkSourceView.object-hierarchy"></a><h2>Object Hierarchy</h2>
161
161
<pre class="synopsis">
162
 
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
163
 
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
164
 
         +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html">GtkObject</a>
165
 
               +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html">GtkWidget</a>
166
 
                     +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html">GtkContainer</a>
167
 
                           +----<a href="http://library.gnome.org/devel/gtk/unstable/GtkTextView.html">GtkTextView</a>
 
162
  GObject
 
163
   +----GInitiallyUnowned
 
164
         +----GtkObject
 
165
               +----GtkWidget
 
166
                     +----GtkContainer
 
167
                           +----GtkTextView
168
168
                                 +----GtkSourceView
169
169
</pre>
170
170
</div>
172
172
<a name="GtkSourceView.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
173
173
<p>
174
174
GtkSourceView implements
175
 
 AtkImplementorIface and  <a href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a>.</p>
 
175
 AtkImplementorIface and  GtkBuildable.</p>
176
176
</div>
177
177
<div class="refsect1" title="Properties">
178
178
<a name="GtkSourceView.properties"></a><h2>Properties</h2>
179
179
<pre class="synopsis">
180
 
  "<a class="link" href="GtkSourceView.html#GtkSourceView--auto-indent" title='The "auto-indent" property'>auto-indent</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
180
  "<a class="link" href="GtkSourceView.html#GtkSourceView--auto-indent" title='The "auto-indent" property'>auto-indent</a>"              <span class="type">gboolean</span>              : Read / Write
181
181
  "<a class="link" href="GtkSourceView.html#GtkSourceView--completion" title='The "completion" property'>completion</a>"               <a class="link" href="GtkSourceCompletion.html" title="GtkSourceCompletion"><span class="type">GtkSourceCompletion</span></a>*  : Read
182
182
  "<a class="link" href="GtkSourceView.html#GtkSourceView--draw-spaces" title='The "draw-spaces" property'>draw-spaces</a>"              <a class="link" href="GtkSourceView.html#GtkSourceDrawSpacesFlags" title="enum GtkSourceDrawSpacesFlags"><span class="type">GtkSourceDrawSpacesFlags</span></a>  : Read / Write
183
 
  "<a class="link" href="GtkSourceView.html#GtkSourceView--highlight-current-line" title='The "highlight-current-line" property'>highlight-current-line</a>"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
184
 
  "<a class="link" href="GtkSourceView.html#GtkSourceView--indent-on-tab" title='The "indent-on-tab" property'>indent-on-tab</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
185
 
  "<a class="link" href="GtkSourceView.html#GtkSourceView--indent-width" title='The "indent-width" property'>indent-width</a>"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
186
 
  "<a class="link" href="GtkSourceView.html#GtkSourceView--insert-spaces-instead-of-tabs" title='The "insert-spaces-instead-of-tabs" property'>insert-spaces-instead-of-tabs</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
187
 
  "<a class="link" href="GtkSourceView.html#GtkSourceView--right-margin-position" title='The "right-margin-position" property'>right-margin-position</a>"    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
188
 
  "<a class="link" href="GtkSourceView.html#GtkSourceView--show-line-marks" title='The "show-line-marks" property'>show-line-marks</a>"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
189
 
  "<a class="link" href="GtkSourceView.html#GtkSourceView--show-line-numbers" title='The "show-line-numbers" property'>show-line-numbers</a>"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
190
 
  "<a class="link" href="GtkSourceView.html#GtkSourceView--show-right-margin" title='The "show-right-margin" property'>show-right-margin</a>"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
183
  "<a class="link" href="GtkSourceView.html#GtkSourceView--highlight-current-line" title='The "highlight-current-line" property'>highlight-current-line</a>"   <span class="type">gboolean</span>              : Read / Write
 
184
  "<a class="link" href="GtkSourceView.html#GtkSourceView--indent-on-tab" title='The "indent-on-tab" property'>indent-on-tab</a>"            <span class="type">gboolean</span>              : Read / Write
 
185
  "<a class="link" href="GtkSourceView.html#GtkSourceView--indent-width" title='The "indent-width" property'>indent-width</a>"             <span class="type">gint</span>                  : Read / Write
 
186
  "<a class="link" href="GtkSourceView.html#GtkSourceView--insert-spaces-instead-of-tabs" title='The "insert-spaces-instead-of-tabs" property'>insert-spaces-instead-of-tabs</a>" <span class="type">gboolean</span>              : Read / Write
 
187
  "<a class="link" href="GtkSourceView.html#GtkSourceView--right-margin-position" title='The "right-margin-position" property'>right-margin-position</a>"    <span class="type">guint</span>                 : Read / Write
 
188
  "<a class="link" href="GtkSourceView.html#GtkSourceView--show-line-marks" title='The "show-line-marks" property'>show-line-marks</a>"          <span class="type">gboolean</span>              : Read / Write
 
189
  "<a class="link" href="GtkSourceView.html#GtkSourceView--show-line-numbers" title='The "show-line-numbers" property'>show-line-numbers</a>"        <span class="type">gboolean</span>              : Read / Write
 
190
  "<a class="link" href="GtkSourceView.html#GtkSourceView--show-right-margin" title='The "show-right-margin" property'>show-right-margin</a>"        <span class="type">gboolean</span>              : Read / Write
191
191
  "<a class="link" href="GtkSourceView.html#GtkSourceView--smart-home-end" title='The "smart-home-end" property'>smart-home-end</a>"           <a class="link" href="GtkSourceView.html#GtkSourceSmartHomeEndType" title="enum GtkSourceSmartHomeEndType"><span class="type">GtkSourceSmartHomeEndType</span></a>  : Read / Write
192
 
  "<a class="link" href="GtkSourceView.html#GtkSourceView--tab-width" title='The "tab-width" property'>tab-width</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write
 
192
  "<a class="link" href="GtkSourceView.html#GtkSourceView--tab-width" title='The "tab-width" property'>tab-width</a>"                <span class="type">guint</span>                 : Read / Write
193
193
</pre>
194
194
</div>
195
195
<div class="refsect1" title="Signals">
240
240
<hr>
241
241
<div class="refsect2" title="GtkSourceViewMarkTooltipFunc ()">
242
242
<a name="GtkSourceViewMarkTooltipFunc"></a><h3>GtkSourceViewMarkTooltipFunc ()</h3>
243
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *             (*GtkSourceViewMarkTooltipFunc)     (<em class="parameter"><code><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> *mark</code></em>,
244
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
 
243
<pre class="programlisting"><span class="returnvalue">gchar</span> *             (*GtkSourceViewMarkTooltipFunc)     (<em class="parameter"><code><a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a> *mark</code></em>,
 
244
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
245
245
<p>
246
246
Function type for setting up a tooltip for <a class="link" href="GtkSourceMark.html" title="GtkSourceMark"><span class="type">GtkSourceMark</span></a>.
247
247
</p>
405
405
<hr>
406
406
<div class="refsect2" title="gtk_source_view_new ()">
407
407
<a name="gtk-source-view-new"></a><h3>gtk_source_view_new ()</h3>
408
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gtk_source_view_new                 (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
 
408
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> *         gtk_source_view_new                 (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
409
409
<p>
410
410
Creates a new <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a>. An empty default buffer will be
411
411
created for you. If you want to specify your own buffer, consider
423
423
<hr>
424
424
<div class="refsect2" title="gtk_source_view_new_with_buffer ()">
425
425
<a name="gtk-source-view-new-with-buffer"></a><h3>gtk_source_view_new_with_buffer ()</h3>
426
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         gtk_source_view_new_with_buffer     (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
 
426
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> *         gtk_source_view_new_with_buffer     (<em class="parameter"><code><a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a> *buffer</code></em>);</pre>
427
427
<p>
428
428
Creates a new <a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> widget displaying the buffer
429
429
<em class="parameter"><code>buffer</code></em>. One buffer can be shared among many widgets.
438
438
</tr>
439
439
<tr>
440
440
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
441
 
<td> a new <a href="http://library.gnome.org/devel/gtk/unstable/GtkTextView.html"><span class="type">GtkTextView</span></a>.
 
441
<td> a new <span class="type">GtkTextView</span>.
442
442
</td>
443
443
</tr>
444
444
</tbody>
448
448
<div class="refsect2" title="gtk_source_view_set_auto_indent ()">
449
449
<a name="gtk-source-view-set-auto-indent"></a><h3>gtk_source_view_set_auto_indent ()</h3>
450
450
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_auto_indent     (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
451
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
 
451
                                                         <em class="parameter"><code><span class="type">gboolean</span> enable</code></em>);</pre>
452
452
<p>
453
 
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> auto indentation of text is enabled.
 
453
If <code class="literal">TRUE</code> auto indentation of text is enabled.
454
454
</p>
455
455
<div class="variablelist"><table border="0">
456
456
<col align="left" valign="top">
471
471
<hr>
472
472
<div class="refsect2" title="gtk_source_view_get_auto_indent ()">
473
473
<a name="gtk-source-view-get-auto-indent"></a><h3>gtk_source_view_get_auto_indent ()</h3>
474
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_source_view_get_auto_indent     (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
 
474
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_source_view_get_auto_indent     (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
475
475
<p>
476
476
Returns whether auto indentation of text is enabled.
477
477
</p>
485
485
</tr>
486
486
<tr>
487
487
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
488
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if auto indentation is enabled.
 
488
<td> <code class="literal">TRUE</code> if auto indentation is enabled.
489
489
</td>
490
490
</tr>
491
491
</tbody>
495
495
<div class="refsect2" title="gtk_source_view_set_indent_on_tab ()">
496
496
<a name="gtk-source-view-set-indent-on-tab"></a><h3>gtk_source_view_set_indent_on_tab ()</h3>
497
497
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_indent_on_tab   (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
498
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
 
498
                                                         <em class="parameter"><code><span class="type">gboolean</span> enable</code></em>);</pre>
499
499
<p>
500
 
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, when the tab key is pressed and there is a selection, the
 
500
If <code class="literal">TRUE</code>, when the tab key is pressed and there is a selection, the
501
501
selected text is indented of one level instead of being replaced with
502
502
the \t characters. Shift+Tab unindents the selection.
503
503
</p>
521
521
<hr>
522
522
<div class="refsect2" title="gtk_source_view_get_indent_on_tab ()">
523
523
<a name="gtk-source-view-get-indent-on-tab"></a><h3>gtk_source_view_get_indent_on_tab ()</h3>
524
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_source_view_get_indent_on_tab   (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
 
524
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_source_view_get_indent_on_tab   (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
525
525
<p>
526
526
Returns whether when the tab key is pressed the current selection
527
527
should get indented instead of replaced with the \t character.
536
536
</tr>
537
537
<tr>
538
538
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
539
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the selection is indented when tab is pressed.
 
539
<td> <code class="literal">TRUE</code> if the selection is indented when tab is pressed.
540
540
 
541
541
</td>
542
542
</tr>
548
548
<div class="refsect2" title="gtk_source_view_set_indent_width ()">
549
549
<a name="gtk-source-view-set-indent-width"></a><h3>gtk_source_view_set_indent_width ()</h3>
550
550
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_indent_width    (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
551
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);</pre>
 
551
                                                         <em class="parameter"><code><span class="type">gint</span> width</code></em>);</pre>
552
552
<p>
553
553
Sets the number of spaces to use for each step of indent.
554
554
If <em class="parameter"><code>width</code></em> is -1, the value of the GtkSourceView::tab-width property
573
573
<hr>
574
574
<div class="refsect2" title="gtk_source_view_get_indent_width ()">
575
575
<a name="gtk-source-view-get-indent-width"></a><h3>gtk_source_view_get_indent_width ()</h3>
576
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_source_view_get_indent_width    (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
 
576
<pre class="programlisting"><span class="returnvalue">gint</span>                gtk_source_view_get_indent_width    (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
577
577
<p>
578
578
Returns the number of spaces to use for each step of indent.
579
579
See <a class="link" href="GtkSourceView.html#gtk-source-view-set-indent-width" title="gtk_source_view_set_indent_width ()"><code class="function">gtk_source_view_set_indent_width()</code></a> for details.
599
599
<a name="gtk-source-view-set-insert-spaces-instead-of-tabs"></a><h3>gtk_source_view_set_insert_spaces_instead_of_tabs ()</h3>
600
600
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_insert_spaces_instead_of_tabs
601
601
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
602
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> enable</code></em>);</pre>
 
602
                                                         <em class="parameter"><code><span class="type">gboolean</span> enable</code></em>);</pre>
603
603
<p>
604
 
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> any tabulator character inserted is replaced by a group
 
604
If <code class="literal">TRUE</code> any tabulator character inserted is replaced by a group
605
605
of space characters.
606
606
</p>
607
607
<div class="variablelist"><table border="0">
623
623
<hr>
624
624
<div class="refsect2" title="gtk_source_view_get_insert_spaces_instead_of_tabs ()">
625
625
<a name="gtk-source-view-get-insert-spaces-instead-of-tabs"></a><h3>gtk_source_view_get_insert_spaces_instead_of_tabs ()</h3>
626
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_source_view_get_insert_spaces_instead_of_tabs
 
626
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_source_view_get_insert_spaces_instead_of_tabs
627
627
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
628
628
<p>
629
629
Returns whether when inserting a tabulator character it should
639
639
</tr>
640
640
<tr>
641
641
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
642
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if spaces are inserted instead of tabs.
 
642
<td> <code class="literal">TRUE</code> if spaces are inserted instead of tabs.
643
643
</td>
644
644
</tr>
645
645
</tbody>
700
700
<a name="gtk-source-view-set-mark-category-priority"></a><h3>gtk_source_view_set_mark_category_priority ()</h3>
701
701
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_mark_category_priority
702
702
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
703
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
704
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> priority</code></em>);</pre>
 
703
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
 
704
                                                         <em class="parameter"><code><span class="type">gint</span> priority</code></em>);</pre>
705
705
<p>
706
706
Set the <em class="parameter"><code>priority</code></em> for the given mark <em class="parameter"><code>category</code></em>. When there are
707
707
multiple marks on the same line, marks of categories with
732
732
<hr>
733
733
<div class="refsect2" title="gtk_source_view_get_mark_category_priority ()">
734
734
<a name="gtk-source-view-get-mark-category-priority"></a><h3>gtk_source_view_get_mark_category_priority ()</h3>
735
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_source_view_get_mark_category_priority
 
735
<pre class="programlisting"><span class="returnvalue">gint</span>                gtk_source_view_get_mark_category_priority
736
736
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
737
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
 
737
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);</pre>
738
738
<p>
739
739
Gets the priority which is associated with the given <em class="parameter"><code>category</code></em>.
740
740
</p>
767
767
<a name="gtk-source-view-set-mark-category-pixbuf"></a><h3>gtk_source_view_set_mark_category_pixbuf ()</h3>
768
768
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_mark_category_pixbuf
769
769
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
770
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
771
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
 
770
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
 
771
                                                         <em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>);</pre>
772
772
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
773
773
<h3 class="title">Warning</h3>
774
774
<p><code class="literal">gtk_source_view_set_mark_category_pixbuf</code> is deprecated and should not be used in newly-written code. Use <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-icon-from-pixbuf" title="gtk_source_view_set_mark_category_icon_from_pixbuf ()"><span class="type">gtk_source_view_set_mark_category_icon_from_pixbuf</span></a> instead</p>
775
775
</div>
776
776
<p>
777
777
Associates a given <em class="parameter"><code>pixbuf</code></em> with a given mark <em class="parameter"><code>category</code></em>.
778
 
If <em class="parameter"><code>pixbuf</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>, the pixbuf is unset.
 
778
If <em class="parameter"><code>pixbuf</code></em> is <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><span class="type">NULL</span></a>, the pixbuf is unset.
779
779
</p>
780
780
<div class="variablelist"><table border="0">
781
781
<col align="left" valign="top">
792
792
</tr>
793
793
<tr>
794
794
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
795
 
<td>a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>.
 
795
<td>a <span class="type">GdkPixbuf</span> or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><span class="type">NULL</span></a>.
796
796
</td>
797
797
</tr>
798
798
</tbody>
802
802
<hr>
803
803
<div class="refsect2" title="gtk_source_view_get_mark_category_pixbuf ()">
804
804
<a name="gtk-source-view-get-mark-category-pixbuf"></a><h3>gtk_source_view_get_mark_category_pixbuf ()</h3>
805
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> *         gtk_source_view_get_mark_category_pixbuf
 
805
<pre class="programlisting"><span class="returnvalue">GdkPixbuf</span> *         gtk_source_view_get_mark_category_pixbuf
806
806
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
807
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>);</pre>
 
807
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>);</pre>
808
808
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
809
809
<h3 class="title">Warning</h3>
810
810
<p><code class="literal">gtk_source_view_get_mark_category_pixbuf</code> is deprecated and should not be used in newly-written code.</p>
827
827
</tr>
828
828
<tr>
829
829
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
830
 
<td> the associated <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not found.
 
830
<td> the associated <span class="type">GdkPixbuf</span>, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if not found.
831
831
 
832
832
</td>
833
833
</tr>
840
840
<a name="gtk-source-view-set-mark-category-icon-from-pixbuf"></a><h3>gtk_source_view_set_mark_category_icon_from_pixbuf ()</h3>
841
841
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_mark_category_icon_from_pixbuf
842
842
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
843
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
844
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>);</pre>
 
843
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
 
844
                                                         <em class="parameter"><code><span class="type">GdkPixbuf</span> *pixbuf</code></em>);</pre>
845
845
<p>
846
846
Sets the icon to be used for <em class="parameter"><code>category</code></em> to <em class="parameter"><code>pixbuf</code></em>.
847
 
If <em class="parameter"><code>pixbuf</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>, the icon is unset.
 
847
If <em class="parameter"><code>pixbuf</code></em> is <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><span class="type">NULL</span></a>, the icon is unset.
848
848
</p>
849
849
<div class="variablelist"><table border="0">
850
850
<col align="left" valign="top">
861
861
</tr>
862
862
<tr>
863
863
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
864
 
<td>a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>.
 
864
<td>a <span class="type">GdkPixbuf</span> or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><span class="type">NULL</span></a>.
865
865
</td>
866
866
</tr>
867
867
</tbody>
873
873
<a name="gtk-source-view-set-mark-category-icon-from-stock"></a><h3>gtk_source_view_set_mark_category_icon_from_stock ()</h3>
874
874
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_mark_category_icon_from_stock
875
875
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
876
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
877
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stock_id</code></em>);</pre>
 
876
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
 
877
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *stock_id</code></em>);</pre>
878
878
<p>
879
879
Sets the icon to be used for <em class="parameter"><code>category</code></em> to the stock item <em class="parameter"><code>stock_id</code></em>.
880
 
If <em class="parameter"><code>stock_id</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>, the icon is unset.
 
880
If <em class="parameter"><code>stock_id</code></em> is <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><span class="type">NULL</span></a>, the icon is unset.
881
881
</p>
882
882
<div class="variablelist"><table border="0">
883
883
<col align="left" valign="top">
894
894
</tr>
895
895
<tr>
896
896
<td><p><span class="term"><em class="parameter"><code>stock_id</code></em> :</span></p></td>
897
 
<td>the stock id or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>.
 
897
<td>the stock id or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><span class="type">NULL</span></a>.
898
898
</td>
899
899
</tr>
900
900
</tbody>
906
906
<a name="gtk-source-view-set-mark-category-icon-from-icon-name"></a><h3>gtk_source_view_set_mark_category_icon_from_icon_name ()</h3>
907
907
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_mark_category_icon_from_icon_name
908
908
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
909
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
910
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
 
909
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
 
910
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
911
911
<p>
912
912
Sets the icon to be used for <em class="parameter"><code>category</code></em> to the named theme item <em class="parameter"><code>name</code></em>.
913
 
If <em class="parameter"><code>name</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>, the icon is unset.
 
913
If <em class="parameter"><code>name</code></em> is <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><span class="type">NULL</span></a>, the icon is unset.
914
914
</p>
915
915
<div class="variablelist"><table border="0">
916
916
<col align="left" valign="top">
927
927
</tr>
928
928
<tr>
929
929
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
930
 
<td>the themed icon name or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>.
 
930
<td>the themed icon name or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><span class="type">NULL</span></a>.
931
931
</td>
932
932
</tr>
933
933
</tbody>
937
937
<hr>
938
938
<div class="refsect2" title="gtk_source_view_get_mark_category_background ()">
939
939
<a name="gtk-source-view-get-mark-category-background"></a><h3>gtk_source_view_get_mark_category_background ()</h3>
940
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_source_view_get_mark_category_background
 
940
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_source_view_get_mark_category_background
941
941
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
942
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
943
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *dest</code></em>);</pre>
 
942
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
 
943
                                                         <em class="parameter"><code><span class="type">GdkColor</span> *dest</code></em>);</pre>
944
944
<p>
945
945
Gets the background color associated with given <em class="parameter"><code>category</code></em>.
946
946
</p>
959
959
</tr>
960
960
<tr>
961
961
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
962
 
<td>destination <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> structure to fill in.
 
962
<td>destination <span class="type">GdkColor</span> structure to fill in.
963
963
</td>
964
964
</tr>
965
965
<tr>
966
966
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
967
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if background color for <em class="parameter"><code>category</code></em> was set
968
 
and <em class="parameter"><code>dest</code></em> is set to a valid color, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
967
<td> <code class="literal">TRUE</code> if background color for <em class="parameter"><code>category</code></em> was set
 
968
and <em class="parameter"><code>dest</code></em> is set to a valid color, or <code class="literal">FALSE</code> otherwise.
969
969
 
970
970
</td>
971
971
</tr>
978
978
<a name="gtk-source-view-set-mark-category-background"></a><h3>gtk_source_view_set_mark_category_background ()</h3>
979
979
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_mark_category_background
980
980
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
981
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
982
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Colormaps-and-Colors.html#GdkColor"><span class="type">GdkColor</span></a> *color</code></em>);</pre>
 
981
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
 
982
                                                         <em class="parameter"><code>const <span class="type">GdkColor</span> *color</code></em>);</pre>
983
983
<p>
984
984
Sets given background <em class="parameter"><code>color</code></em> for mark <em class="parameter"><code>category</code></em>.
985
 
If <em class="parameter"><code>color</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><span class="type">NULL</span></a>, the background color is unset.
 
985
If <em class="parameter"><code>color</code></em> is <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><span class="type">NULL</span></a>, the background color is unset.
986
986
</p>
987
987
<div class="variablelist"><table border="0">
988
988
<col align="left" valign="top">
999
999
</tr>
1000
1000
<tr>
1001
1001
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
1002
 
<td>background color or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset it.
 
1002
<td>background color or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset it.
1003
1003
</td>
1004
1004
</tr>
1005
1005
</tbody>
1011
1011
<a name="gtk-source-view-set-mark-category-tooltip-func"></a><h3>gtk_source_view_set_mark_category_tooltip_func ()</h3>
1012
1012
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_mark_category_tooltip_func
1013
1013
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
1014
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
 
1014
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
1015
1015
                                                         <em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="type">GtkSourceViewMarkTooltipFunc</span></a> func</code></em>,
1016
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1017
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_notify</code></em>);</pre>
 
1016
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
 
1017
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> user_data_notify</code></em>);</pre>
1018
1018
<p>
1019
1019
Set a <a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="type">GtkSourceViewMarkTooltipFunc</span></a> used to set tooltip on marks from the
1020
1020
given mark <em class="parameter"><code>category</code></em>.
1024
1024
</p>
1025
1025
<p>
1026
1026
</p>
1027
 
<div class="informalexample"><pre class="programlisting">
1028
 
static gchar *
 
1027
<div class="informalexample">
 
1028
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
 
1029
    <tbody>
 
1030
      <tr>
 
1031
        <td class="listing_lines" align="right"><pre>1
 
1032
2
 
1033
3
 
1034
4
 
1035
5
 
1036
6
 
1037
7
 
1038
8
 
1039
9
 
1040
10
 
1041
11
 
1042
12
 
1043
13
 
1044
14
 
1045
15
 
1046
16
 
1047
17
 
1048
18</pre></td>
 
1049
        <td class="listing_code"><pre class="programlisting"><span class="type">static</span> gchar *
1029
1050
tooltip_func (GtkSourceMark *mark,
1030
1051
              gpointer       user_data)
1031
1052
{
1033
1054
 
1034
1055
  text = get_tooltip_for_mark (mark, user_data);
1035
1056
 
1036
 
  return text;
 
1057
  <span class="keyword">return</span> text;
1037
1058
}
1038
1059
 
1039
1060
...
1040
1061
 
1041
1062
GtkSourceView *view;
1042
1063
 
1043
 
gtk_source_view_set_mark_category_tooltip_func (view, "other-mark",
 
1064
gtk_source_view_set_mark_category_tooltip_func (view, <span class="number">&quot;other-mark&quot;</span>,
1044
1065
                                                tooltip_func,
1045
 
                                                NULL, NULL);
1046
 
</pre></div>
 
1066
                                                <span class="number">NULL</span>, <span class="number">NULL</span>);</pre></td>
 
1067
      </tr>
 
1068
    </tbody>
 
1069
  </table>
 
1070
</div>
 
1071
 
1047
1072
<p>
1048
1073
</p>
1049
1074
<div class="variablelist"><table border="0">
1061
1086
</tr>
1062
1087
<tr>
1063
1088
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
1064
 
<td>a <a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="type">GtkSourceViewMarkTooltipFunc</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
1089
<td>a <a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="type">GtkSourceViewMarkTooltipFunc</span></a> or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.
1065
1090
</td>
1066
1091
</tr>
1067
1092
<tr>
1072
1097
<tr>
1073
1098
<td><p><span class="term"><em class="parameter"><code>user_data_notify</code></em> :</span></p></td>
1074
1099
<td>a function to free the memory allocated for <em class="parameter"><code>user_data</code></em> 
1075
 
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you do not want to supply such a function.
 
1100
or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if you do not want to supply such a function.
1076
1101
</td>
1077
1102
</tr>
1078
1103
</tbody>
1084
1109
<a name="gtk-source-view-set-mark-category-tooltip-markup-func"></a><h3>gtk_source_view_set_mark_category_tooltip_markup_func ()</h3>
1085
1110
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_mark_category_tooltip_markup_func
1086
1111
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
1087
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *category</code></em>,
 
1112
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *category</code></em>,
1088
1113
                                                         <em class="parameter"><code><a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="type">GtkSourceViewMarkTooltipFunc</span></a> markup_func</code></em>,
1089
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1090
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> user_data_notify</code></em>);</pre>
 
1114
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
 
1115
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> user_data_notify</code></em>);</pre>
1091
1116
<p>
1092
1117
See <a class="link" href="GtkSourceView.html#gtk-source-view-set-mark-category-tooltip-func" title="gtk_source_view_set_mark_category_tooltip_func ()"><code class="function">gtk_source_view_set_mark_category_tooltip_func()</code></a> for more information.
1093
1118
</p>
1106
1131
</tr>
1107
1132
<tr>
1108
1133
<td><p><span class="term"><em class="parameter"><code>markup_func</code></em> :</span></p></td>
1109
 
<td>a <a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="type">GtkSourceViewMarkTooltipFunc</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
1134
<td>a <a class="link" href="GtkSourceView.html#GtkSourceViewMarkTooltipFunc" title="GtkSourceViewMarkTooltipFunc ()"><span class="type">GtkSourceViewMarkTooltipFunc</span></a> or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.
1110
1135
</td>
1111
1136
</tr>
1112
1137
<tr>
1117
1142
<tr>
1118
1143
<td><p><span class="term"><em class="parameter"><code>user_data_notify</code></em> :</span></p></td>
1119
1144
<td>a function to free the memory allocated for <em class="parameter"><code>user_data</code></em> 
1120
 
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if you do not want to supply such a function.
 
1145
or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if you do not want to supply such a function.
1121
1146
</td>
1122
1147
</tr>
1123
1148
</tbody>
1129
1154
<a name="gtk-source-view-set-highlight-current-line"></a><h3>gtk_source_view_set_highlight_current_line ()</h3>
1130
1155
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_highlight_current_line
1131
1156
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
1132
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
 
1157
                                                         <em class="parameter"><code><span class="type">gboolean</span> show</code></em>);</pre>
1133
1158
<p>
1134
 
If <em class="parameter"><code>show</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> the current line is highlighted.
 
1159
If <em class="parameter"><code>show</code></em> is <code class="literal">TRUE</code> the current line is highlighted.
1135
1160
</p>
1136
1161
<div class="variablelist"><table border="0">
1137
1162
<col align="left" valign="top">
1152
1177
<hr>
1153
1178
<div class="refsect2" title="gtk_source_view_get_highlight_current_line ()">
1154
1179
<a name="gtk-source-view-get-highlight-current-line"></a><h3>gtk_source_view_get_highlight_current_line ()</h3>
1155
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_source_view_get_highlight_current_line
 
1180
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_source_view_get_highlight_current_line
1156
1181
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
1157
1182
<p>
1158
1183
Returns whether the current line is highlighted
1167
1192
</tr>
1168
1193
<tr>
1169
1194
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1170
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the current line is highlighted.
 
1195
<td> <code class="literal">TRUE</code> if the current line is highlighted.
1171
1196
</td>
1172
1197
</tr>
1173
1198
</tbody>
1177
1202
<div class="refsect2" title="gtk_source_view_set_show_line_marks ()">
1178
1203
<a name="gtk-source-view-set-show-line-marks"></a><h3>gtk_source_view_set_show_line_marks ()</h3>
1179
1204
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_show_line_marks (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
1180
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
 
1205
                                                         <em class="parameter"><code><span class="type">gboolean</span> show</code></em>);</pre>
1181
1206
<p>
1182
 
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> line marks will be displayed beside the text.
 
1207
If <code class="literal">TRUE</code> line marks will be displayed beside the text.
1183
1208
</p>
1184
1209
<div class="variablelist"><table border="0">
1185
1210
<col align="left" valign="top">
1201
1226
<hr>
1202
1227
<div class="refsect2" title="gtk_source_view_get_show_line_marks ()">
1203
1228
<a name="gtk-source-view-get-show-line-marks"></a><h3>gtk_source_view_get_show_line_marks ()</h3>
1204
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_source_view_get_show_line_marks (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
 
1229
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_source_view_get_show_line_marks (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
1205
1230
<p>
1206
1231
Returns whether line marks are displayed beside the text.
1207
1232
</p>
1215
1240
</tr>
1216
1241
<tr>
1217
1242
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1218
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the line marks are displayed.
 
1243
<td> <code class="literal">TRUE</code> if the line marks are displayed.
1219
1244
 
1220
1245
</td>
1221
1246
</tr>
1228
1253
<a name="gtk-source-view-set-show-line-numbers"></a><h3>gtk_source_view_set_show_line_numbers ()</h3>
1229
1254
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_show_line_numbers
1230
1255
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
1231
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
 
1256
                                                         <em class="parameter"><code><span class="type">gboolean</span> show</code></em>);</pre>
1232
1257
<p>
1233
 
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> line numbers will be displayed beside the text.
 
1258
If <code class="literal">TRUE</code> line numbers will be displayed beside the text.
1234
1259
</p>
1235
1260
<div class="variablelist"><table border="0">
1236
1261
<col align="left" valign="top">
1251
1276
<hr>
1252
1277
<div class="refsect2" title="gtk_source_view_get_show_line_numbers ()">
1253
1278
<a name="gtk-source-view-get-show-line-numbers"></a><h3>gtk_source_view_get_show_line_numbers ()</h3>
1254
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_source_view_get_show_line_numbers
 
1279
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_source_view_get_show_line_numbers
1255
1280
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
1256
1281
<p>
1257
1282
Returns whether line numbers are displayed beside the text.
1266
1291
</tr>
1267
1292
<tr>
1268
1293
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1269
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the line numbers are displayed.
 
1294
<td> <code class="literal">TRUE</code> if the line numbers are displayed.
1270
1295
</td>
1271
1296
</tr>
1272
1297
</tbody>
1277
1302
<a name="gtk-source-view-set-show-right-margin"></a><h3>gtk_source_view_set_show_right_margin ()</h3>
1278
1303
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_show_right_margin
1279
1304
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
1280
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show</code></em>);</pre>
 
1305
                                                         <em class="parameter"><code><span class="type">gboolean</span> show</code></em>);</pre>
1281
1306
<p>
1282
 
If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> a right margin is displayed
 
1307
If <code class="literal">TRUE</code> a right margin is displayed
1283
1308
</p>
1284
1309
<div class="variablelist"><table border="0">
1285
1310
<col align="left" valign="top">
1300
1325
<hr>
1301
1326
<div class="refsect2" title="gtk_source_view_get_show_right_margin ()">
1302
1327
<a name="gtk-source-view-get-show-right-margin"></a><h3>gtk_source_view_get_show_right_margin ()</h3>
1303
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_source_view_get_show_right_margin
 
1328
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_source_view_get_show_right_margin
1304
1329
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
1305
1330
<p>
1306
1331
Returns whether a right margin is displayed.
1315
1340
</tr>
1316
1341
<tr>
1317
1342
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1318
 
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the right margin is shown.
 
1343
<td> <code class="literal">TRUE</code> if the right margin is shown.
1319
1344
</td>
1320
1345
</tr>
1321
1346
</tbody>
1326
1351
<a name="gtk-source-view-set-right-margin-position"></a><h3>gtk_source_view_set_right_margin_position ()</h3>
1327
1352
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_right_margin_position
1328
1353
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
1329
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> pos</code></em>);</pre>
 
1354
                                                         <em class="parameter"><code><span class="type">guint</span> pos</code></em>);</pre>
1330
1355
<p>
1331
1356
Sets the position of the right margin in the given <em class="parameter"><code>view</code></em>.
1332
1357
</p>
1349
1374
<hr>
1350
1375
<div class="refsect2" title="gtk_source_view_get_right_margin_position ()">
1351
1376
<a name="gtk-source-view-get-right-margin-position"></a><h3>gtk_source_view_get_right_margin_position ()</h3>
1352
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               gtk_source_view_get_right_margin_position
 
1377
<pre class="programlisting"><span class="returnvalue">guint</span>               gtk_source_view_get_right_margin_position
1353
1378
                                                        (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
1354
1379
<p>
1355
1380
Gets the position of the right margin in the given <em class="parameter"><code>view</code></em>.
1374
1399
<div class="refsect2" title="gtk_source_view_set_tab_width ()">
1375
1400
<a name="gtk-source-view-set-tab-width"></a><h3>gtk_source_view_set_tab_width ()</h3>
1376
1401
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_source_view_set_tab_width       (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
1377
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>);</pre>
 
1402
                                                         <em class="parameter"><code><span class="type">guint</span> width</code></em>);</pre>
1378
1403
<p>
1379
1404
Sets the width of tabulation in characters.
1380
1405
</p>
1397
1422
<hr>
1398
1423
<div class="refsect2" title="gtk_source_view_get_tab_width ()">
1399
1424
<a name="gtk-source-view-get-tab-width"></a><h3>gtk_source_view_get_tab_width ()</h3>
1400
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               gtk_source_view_get_tab_width       (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
 
1425
<pre class="programlisting"><span class="returnvalue">guint</span>               gtk_source_view_get_tab_width       (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>);</pre>
1401
1426
<p>
1402
1427
Returns the width of tabulation in characters.
1403
1428
</p>
1496
1521
<div class="refsect2" title="gtk_source_view_get_gutter ()">
1497
1522
<a name="gtk-source-view-get-gutter"></a><h3>gtk_source_view_get_gutter ()</h3>
1498
1523
<pre class="programlisting"><a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="returnvalue">GtkSourceGutter</span></a> *   gtk_source_view_get_gutter          (<em class="parameter"><code><a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view</code></em>,
1499
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/unstable/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> window_type</code></em>);</pre>
 
1524
                                                         <em class="parameter"><code><span class="type">GtkTextWindowType</span> window_type</code></em>);</pre>
1500
1525
<p>
1501
1526
Returns the <a class="link" href="GtkSourceGutter.html" title="GtkSourceGutter"><span class="type">GtkSourceGutter</span></a> object associated with <em class="parameter"><code>window_type</code></em> for <em class="parameter"><code>view</code></em>.
1502
1527
Only GTK_TEXT_WINDOW_LEFT and GTK_TEXT_WINDOW_RIGHT are supported, 
1531
1556
<a name="GtkSourceView.property-details"></a><h2>Property Details</h2>
1532
1557
<div class="refsect2" title='The "auto-indent" property'>
1533
1558
<a name="GtkSourceView--auto-indent"></a><h3>The <code class="literal">"auto-indent"</code> property</h3>
1534
 
<pre class="programlisting">  "auto-indent"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
1559
<pre class="programlisting">  "auto-indent"              <span class="type">gboolean</span>              : Read / Write</pre>
1535
1560
<p>Whether to enable auto indentation.</p>
1536
1561
<p>Default value: FALSE</p>
1537
1562
</div>
1553
1578
<hr>
1554
1579
<div class="refsect2" title='The "highlight-current-line" property'>
1555
1580
<a name="GtkSourceView--highlight-current-line"></a><h3>The <code class="literal">"highlight-current-line"</code> property</h3>
1556
 
<pre class="programlisting">  "highlight-current-line"   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
1581
<pre class="programlisting">  "highlight-current-line"   <span class="type">gboolean</span>              : Read / Write</pre>
1557
1582
<p>Whether to highlight the current line.</p>
1558
1583
<p>Default value: FALSE</p>
1559
1584
</div>
1560
1585
<hr>
1561
1586
<div class="refsect2" title='The "indent-on-tab" property'>
1562
1587
<a name="GtkSourceView--indent-on-tab"></a><h3>The <code class="literal">"indent-on-tab"</code> property</h3>
1563
 
<pre class="programlisting">  "indent-on-tab"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
1588
<pre class="programlisting">  "indent-on-tab"            <span class="type">gboolean</span>              : Read / Write</pre>
1564
1589
<p>Whether to indent the selected text when the tab key is pressed.</p>
1565
1590
<p>Default value: TRUE</p>
1566
1591
</div>
1567
1592
<hr>
1568
1593
<div class="refsect2" title='The "indent-width" property'>
1569
1594
<a name="GtkSourceView--indent-width"></a><h3>The <code class="literal">"indent-width"</code> property</h3>
1570
 
<pre class="programlisting">  "indent-width"             <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
 
1595
<pre class="programlisting">  "indent-width"             <span class="type">gint</span>                  : Read / Write</pre>
1571
1596
<p>
1572
1597
Width of an indentation step expressed in number of spaces.
1573
1598
</p>
1577
1602
<hr>
1578
1603
<div class="refsect2" title='The "insert-spaces-instead-of-tabs" property'>
1579
1604
<a name="GtkSourceView--insert-spaces-instead-of-tabs"></a><h3>The <code class="literal">"insert-spaces-instead-of-tabs"</code> property</h3>
1580
 
<pre class="programlisting">  "insert-spaces-instead-of-tabs" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
1605
<pre class="programlisting">  "insert-spaces-instead-of-tabs" <span class="type">gboolean</span>              : Read / Write</pre>
1581
1606
<p>Whether to insert spaces instead of tabs.</p>
1582
1607
<p>Default value: FALSE</p>
1583
1608
</div>
1584
1609
<hr>
1585
1610
<div class="refsect2" title='The "right-margin-position" property'>
1586
1611
<a name="GtkSourceView--right-margin-position"></a><h3>The <code class="literal">"right-margin-position"</code> property</h3>
1587
 
<pre class="programlisting">  "right-margin-position"    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
 
1612
<pre class="programlisting">  "right-margin-position"    <span class="type">guint</span>                 : Read / Write</pre>
1588
1613
<p>
1589
1614
Position of the right margin.
1590
1615
</p>
1594
1619
<hr>
1595
1620
<div class="refsect2" title='The "show-line-marks" property'>
1596
1621
<a name="GtkSourceView--show-line-marks"></a><h3>The <code class="literal">"show-line-marks"</code> property</h3>
1597
 
<pre class="programlisting">  "show-line-marks"          <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
1622
<pre class="programlisting">  "show-line-marks"          <span class="type">gboolean</span>              : Read / Write</pre>
1598
1623
<p>
1599
1624
Whether to display line mark pixbufs
1600
1625
</p>
1603
1628
<hr>
1604
1629
<div class="refsect2" title='The "show-line-numbers" property'>
1605
1630
<a name="GtkSourceView--show-line-numbers"></a><h3>The <code class="literal">"show-line-numbers"</code> property</h3>
1606
 
<pre class="programlisting">  "show-line-numbers"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
1631
<pre class="programlisting">  "show-line-numbers"        <span class="type">gboolean</span>              : Read / Write</pre>
1607
1632
<p>
1608
1633
Whether to display line numbers
1609
1634
</p>
1612
1637
<hr>
1613
1638
<div class="refsect2" title='The "show-right-margin" property'>
1614
1639
<a name="GtkSourceView--show-right-margin"></a><h3>The <code class="literal">"show-right-margin"</code> property</h3>
1615
 
<pre class="programlisting">  "show-right-margin"        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
1640
<pre class="programlisting">  "show-right-margin"        <span class="type">gboolean</span>              : Read / Write</pre>
1616
1641
<p>
1617
1642
Whether to display the right margin.
1618
1643
</p>
1631
1656
<hr>
1632
1657
<div class="refsect2" title='The "tab-width" property'>
1633
1658
<a name="GtkSourceView--tab-width"></a><h3>The <code class="literal">"tab-width"</code> property</h3>
1634
 
<pre class="programlisting">  "tab-width"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a>                 : Read / Write</pre>
 
1659
<pre class="programlisting">  "tab-width"                <span class="type">guint</span>                 : Read / Write</pre>
1635
1660
<p>
1636
1661
Width of an tab character expressed in number of spaces.
1637
1662
</p>
1644
1669
<div class="refsect2" title='The "line-mark-activated" signal'>
1645
1670
<a name="GtkSourceView-line-mark-activated"></a><h3>The <code class="literal">"line-mark-activated"</code> signal</h3>
1646
1671
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
1647
 
                                                        <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a>   *iter,
1648
 
                                                        <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a>      *event,
1649
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)      : Run Last</pre>
 
1672
                                                        <span class="type">GtkTextIter</span>   *iter,
 
1673
                                                        <span class="type">GdkEvent</span>      *event,
 
1674
                                                        <span class="type">gpointer</span>       user_data)      : Run Last</pre>
1650
1675
<p>
1651
1676
Emitted when a line mark has been activated (for instance when there
1652
1677
was a button press in the line marks gutter). You can use <em class="parameter"><code>iter</code></em> to
1662
1687
</tr>
1663
1688
<tr>
1664
1689
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
1665
 
<td>a <a href="http://library.gnome.org/devel/gtk/unstable/gtk-GtkTextIter.html#GtkTextIter"><span class="type">GtkTextIter</span></a>
 
1690
<td>a <span class="type">GtkTextIter</span>
1666
1691
</td>
1667
1692
</tr>
1668
1693
<tr>
1669
1694
<td><p><span class="term"><em class="parameter"><code>event</code></em> :</span></p></td>
1670
 
<td>the <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Event-Structures.html#GdkEvent"><span class="type">GdkEvent</span></a> that activated the event
 
1695
<td>the <span class="type">GdkEvent</span> that activated the event
1671
1696
</td>
1672
1697
</tr>
1673
1698
<tr>
1681
1706
<div class="refsect2" title='The "move-lines" signal'>
1682
1707
<a name="GtkSourceView-move-lines"></a><h3>The <code class="literal">"move-lines"</code> signal</h3>
1683
1708
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *sourceview,
1684
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>       arg1,
1685
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>           arg2,
1686
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)       : Run Last / Action</pre>
 
1709
                                                        <span class="type">gboolean</span>       arg1,
 
1710
                                                        <span class="type">gint</span>           arg2,
 
1711
                                                        <span class="type">gpointer</span>       user_data)       : Run Last / Action</pre>
1687
1712
</div>
1688
1713
<hr>
1689
1714
<div class="refsect2" title='The "redo" signal'>
1690
1715
<a name="GtkSourceView-redo"></a><h3>The <code class="literal">"redo"</code> signal</h3>
1691
1716
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *sourceview,
1692
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)       : Run Last / Action</pre>
 
1717
                                                        <span class="type">gpointer</span>       user_data)       : Run Last / Action</pre>
1693
1718
</div>
1694
1719
<hr>
1695
1720
<div class="refsect2" title='The "show-completion" signal'>
1696
1721
<a name="GtkSourceView-show-completion"></a><h3>The <code class="literal">"show-completion"</code> signal</h3>
1697
1722
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *view,
1698
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)      : Run Last / Action</pre>
 
1723
                                                        <span class="type">gpointer</span>       user_data)      : Run Last / Action</pre>
1699
1724
<p>
1700
1725
The ::show-completion signal is a keybinding signal which gets 
1701
1726
emitted when the user initiates a completion in default mode.
1702
1727
</p>
1703
1728
<p>
1704
1729
Applications should not connect to it, but may emit it with
1705
 
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-emit-by-name"><span class="type">g_signal_emit_by_name</span></a> if they need to control the default mode
 
1730
<span class="type">g_signal_emit_by_name</span> if they need to control the default mode
1706
1731
completion activation.
1707
1732
</p>
1708
1733
<div class="variablelist"><table border="0">
1724
1749
<div class="refsect2" title='The "undo" signal'>
1725
1750
<a name="GtkSourceView-undo"></a><h3>The <code class="literal">"undo"</code> signal</h3>
1726
1751
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkSourceView.html" title="GtkSourceView"><span class="type">GtkSourceView</span></a> *sourceview,
1727
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>       user_data)       : Run Last / Action</pre>
 
1752
                                                        <span class="type">gpointer</span>       user_data)       : Run Last / Action</pre>
1728
1753
</div>
1729
1754
</div>
1730
1755
<div class="refsect1" title="See Also">
1731
1756
<a name="GtkSourceView.see-also"></a><h2>See Also</h2>
1732
 
<a href="http://library.gnome.org/devel/gtk/unstable/GtkTextView.html"><span class="type">GtkTextView</span></a>,<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>
 
1757
<span class="type">GtkTextView</span>,<a class="link" href="GtkSourceBuffer.html" title="GtkSourceBuffer"><span class="type">GtkSourceBuffer</span></a>
1733
1758
</div>
1734
1759
</div>
1735
1760
<div class="footer">
1736
1761
<hr>
1737
 
          Generated by GTK-Doc V1.14</div>
 
1762
          Generated by GTK-Doc V1.15.1</div>
1738
1763
</body>
1739
1764
</html>
 
 
b'\\ No newline at end of file'