/usr/share/gtk-doc/html/gedit/gedit-gedit-view.html is in gedit-dev 3.4.1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GeditView</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="gedit Reference Manual">
<link rel="up" href="ch01.html" title="gedit">
<link rel="prev" href="gedit-gedit-tab.html" title="GeditTab">
<link rel="next" href="GeditViewActivatable.html" title="GeditViewActivatable">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="gedit-gedit-tab.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">gedit Reference Manual</th>
<td><a accesskey="n" href="GeditViewActivatable.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#gedit-gedit-view.synopsis" class="shortcut">Top</a>
|
<a href="#gedit-gedit-view.description" class="shortcut">Description</a>
|
<a href="#gedit-gedit-view.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#gedit-gedit-view.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
<a href="#gedit-gedit-view.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="gedit-gedit-view"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gedit-gedit-view.top_of_page"></a>GeditView</span></h2>
<p>GeditView</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="gedit-gedit-view.synopsis"></a><h2>Synopsis</h2>
<a name="GeditView"></a><pre class="synopsis"> <a class="link" href="gedit-gedit-view.html#GeditViewPrivate" title="GeditViewPrivate">GeditViewPrivate</a>;
struct <a class="link" href="gedit-gedit-view.html#GeditView-struct" title="struct GeditView">GeditView</a>;
<a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="gedit-gedit-view.html#gedit-view-new" title="gedit_view_new ()">gedit_view_new</a> (<em class="parameter"><code><a class="link" href="gedit-gedit-document.html#GeditDocument"><span class="type">GeditDocument</span></a> *doc</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gedit-gedit-view.html#gedit-view-cut-clipboard" title="gedit_view_cut_clipboard ()">gedit_view_cut_clipboard</a> (<em class="parameter"><code><a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a> *view</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gedit-gedit-view.html#gedit-view-copy-clipboard" title="gedit_view_copy_clipboard ()">gedit_view_copy_clipboard</a> (<em class="parameter"><code><a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a> *view</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gedit-gedit-view.html#gedit-view-paste-clipboard" title="gedit_view_paste_clipboard ()">gedit_view_paste_clipboard</a> (<em class="parameter"><code><a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a> *view</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gedit-gedit-view.html#gedit-view-delete-selection" title="gedit_view_delete_selection ()">gedit_view_delete_selection</a> (<em class="parameter"><code><a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a> *view</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gedit-gedit-view.html#gedit-view-select-all" title="gedit_view_select_all ()">gedit_view_select_all</a> (<em class="parameter"><code><a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a> *view</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gedit-gedit-view.html#gedit-view-scroll-to-cursor" title="gedit_view_scroll_to_cursor ()">gedit_view_scroll_to_cursor</a> (<em class="parameter"><code><a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a> *view</code></em>);
<span class="returnvalue">void</span> <a class="link" href="gedit-gedit-view.html#gedit-view-set-font" title="gedit_view_set_font ()">gedit_view_set_font</a> (<em class="parameter"><code><a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a> *view</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> def</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *font_name</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="gedit-gedit-view.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
+----<a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html">GtkWidget</a>
+----<a href="/usr/share/gtk-doc/html/gtk3/GtkContainer.html">GtkContainer</a>
+----<a href="/usr/share/gtk-doc/html/gtk3/GtkTextView.html">GtkTextView</a>
+----<a href="/usr/share/gtk-doc/html/gtksourceview-3.0/GtkSourceView.html">GtkSourceView</a>
+----GeditView
</pre>
</div>
<div class="refsect1">
<a name="gedit-gedit-view.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GeditView implements
AtkImplementorIface, <a href="/usr/share/gtk-doc/html/gtk3/GtkBuildable.html">GtkBuildable</a> and <a href="/usr/share/gtk-doc/html/gtk3/GtkScrollable.html">GtkScrollable</a>.</p>
</div>
<div class="refsect1">
<a name="gedit-gedit-view.signals"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="gedit-gedit-view.html#GeditView-drop-uris" title='The "drop-uris" signal'>drop-uris</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a>
</pre>
</div>
<div class="refsect1">
<a name="gedit-gedit-view.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="gedit-gedit-view.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GeditViewPrivate"></a><h3>GeditViewPrivate</h3>
<pre class="programlisting">typedef struct _GeditViewPrivate GeditViewPrivate;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GeditView-struct"></a><h3>struct GeditView</h3>
<pre class="programlisting">struct GeditView;</pre>
</div>
<hr>
<div class="refsect2">
<a name="gedit-view-new"></a><h3>gedit_view_new ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gtk3/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * gedit_view_new (<em class="parameter"><code><a class="link" href="gedit-gedit-document.html#GeditDocument"><span class="type">GeditDocument</span></a> *doc</code></em>);</pre>
<p>
Creates a new <a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a> object displaying the <em class="parameter"><code>doc</code></em> document.
<em class="parameter"><code>doc</code></em> cannot be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>doc</code></em> :</span></p></td>
<td>a <a class="link" href="gedit-gedit-document.html#GeditDocument"><span class="type">GeditDocument</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gedit-view-cut-clipboard"></a><h3>gedit_view_cut_clipboard ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gedit_view_cut_clipboard (<em class="parameter"><code><a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a> *view</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gedit-view-copy-clipboard"></a><h3>gedit_view_copy_clipboard ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gedit_view_copy_clipboard (<em class="parameter"><code><a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a> *view</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gedit-view-paste-clipboard"></a><h3>gedit_view_paste_clipboard ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gedit_view_paste_clipboard (<em class="parameter"><code><a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a> *view</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gedit-view-delete-selection"></a><h3>gedit_view_delete_selection ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gedit_view_delete_selection (<em class="parameter"><code><a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a> *view</code></em>);</pre>
<p>
Deletes the text currently selected in the <a href="/usr/share/gtk-doc/html/gtk3/GtkTextBuffer.html"><span class="type">GtkTextBuffer</span></a> associated
to the view and scroll to the cursor position.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
<td>a <a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gedit-view-select-all"></a><h3>gedit_view_select_all ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gedit_view_select_all (<em class="parameter"><code><a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a> *view</code></em>);</pre>
<p>
Selects all the text displayed in the <em class="parameter"><code>view</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
<td>a <a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gedit-view-scroll-to-cursor"></a><h3>gedit_view_scroll_to_cursor ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gedit_view_scroll_to_cursor (<em class="parameter"><code><a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a> *view</code></em>);</pre>
<p>
Scrolls the <em class="parameter"><code>view</code></em> to the cursor position.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
<td>a <a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gedit-view-set-font"></a><h3>gedit_view_set_font ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gedit_view_set_font (<em class="parameter"><code><a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a> *view</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> def</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *font_name</code></em>);</pre>
<p>
If <em class="parameter"><code>def</code></em> is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a>, resets the font of the <em class="parameter"><code>view</code></em> to the default font
otherwise sets it to <em class="parameter"><code>font_name</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>view</code></em> :</span></p></td>
<td>a <a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>def</code></em> :</span></p></td>
<td>whether to reset the default font</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>font_name</code></em> :</span></p></td>
<td>the name of the font to use</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="gedit-gedit-view.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GeditView-drop-uris"></a><h3>The <code class="literal">"drop-uris"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="gedit-gedit-view.html#GeditView"><span class="type">GeditView</span></a> *geditview,
<a href="/usr/share/gtk-doc/html/gobject/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a> arg1,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-ACTION:CAPS"><code class="literal">Action</code></a></pre>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|