New upstream version 3.24.0
This commit is contained in:
@ -59,7 +59,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkTextMark.html#gtk-text-mark-get-visible" title="gtk_text_mark_get_visible ()">gtk_text_mark_get_visible</a> <span class="c_punctuation">()</span>
|
||||
@ -67,14 +67,14 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkTextMark.html#gtk-text-mark-get-deleted" title="gtk_text_mark_get_deleted ()">gtk_text_mark_get_deleted</a> <span class="c_punctuation">()</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkTextMark.html#gtk-text-mark-get-name" title="gtk_text_mark_get_name ()">gtk_text_mark_get_name</a> <span class="c_punctuation">()</span>
|
||||
@ -90,7 +90,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkTextMark.html#gtk-text-mark-get-left-gravity" title="gtk_text_mark_get_left_gravity ()">gtk_text_mark_get_left_gravity</a> <span class="c_punctuation">()</span>
|
||||
@ -109,13 +109,13 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkTextMark.html#GtkTextMark--left-gravity" title="The “left-gravity” property">left-gravity</a></td>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<span class="type">gchar</span> *</td>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkTextMark.html#GtkTextMark--name" title="The “name” property">name</a></td>
|
||||
<td class="property_flags">Read / Write / Construct Only</td>
|
||||
</tr>
|
||||
@ -137,7 +137,7 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkTextMark.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> GObject
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<span class="lineart">╰──</span> GtkTextMark
|
||||
</pre>
|
||||
</div>
|
||||
@ -178,16 +178,16 @@ essentially useless.</p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-text-mark-new"></a><h3>gtk_text_mark_new ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkTextMark.html" title="GtkTextMark"><span class="returnvalue">GtkTextMark</span></a> *
|
||||
gtk_text_mark_new (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> left_gravity</code></em>);</pre>
|
||||
gtk_text_mark_new (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> left_gravity</code></em>);</pre>
|
||||
<p>Creates a text mark. Add it to a buffer using <a class="link" href="GtkTextBuffer.html#gtk-text-buffer-add-mark" title="gtk_text_buffer_add_mark ()"><code class="function">gtk_text_buffer_add_mark()</code></a>.
|
||||
If <em class="parameter"><code>name</code></em>
|
||||
is <code class="literal">NULL</code>, the mark is anonymous; otherwise, the mark can be
|
||||
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the mark is anonymous; otherwise, the mark can be
|
||||
retrieved by name using <a class="link" href="GtkTextBuffer.html#gtk-text-buffer-get-mark" title="gtk_text_buffer_get_mark ()"><code class="function">gtk_text_buffer_get_mark()</code></a>. If a mark has left
|
||||
gravity, and text is inserted at the mark’s current location, the mark
|
||||
will be moved to the left of the newly-inserted text. If the mark has
|
||||
right gravity (<em class="parameter"><code>left_gravity</code></em>
|
||||
= <code class="literal">FALSE</code>), the mark will end up on the
|
||||
= <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>), the mark will end up on the
|
||||
right of newly-inserted text. The standard left-to-right cursor is a
|
||||
mark with right gravity (when you type, the cursor stays on the right
|
||||
side of the text you’re typing).</p>
|
||||
@ -202,7 +202,7 @@ side of the text you’re typing).</p>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>name</p></td>
|
||||
<td class="parameter_description"><p>mark name or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_description"><p>mark name or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -224,7 +224,7 @@ side of the text you’re typing).</p>
|
||||
<a name="gtk-text-mark-set-visible"></a><h3>gtk_text_mark_set_visible ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_text_mark_set_visible (<em class="parameter"><code><a class="link" href="GtkTextMark.html" title="GtkTextMark"><span class="type">GtkTextMark</span></a> *mark</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> setting</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);</pre>
|
||||
<p>Sets the visibility of <em class="parameter"><code>mark</code></em>
|
||||
; the insertion point is normally
|
||||
visible, i.e. you can see it as a vertical bar. Also, the text
|
||||
@ -257,9 +257,9 @@ Marks are not visible by default.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-text-mark-get-visible"></a><h3>gtk_text_mark_get_visible ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gtk_text_mark_get_visible (<em class="parameter"><code><a class="link" href="GtkTextMark.html" title="GtkTextMark"><span class="type">GtkTextMark</span></a> *mark</code></em>);</pre>
|
||||
<p>Returns <code class="literal">TRUE</code> if the mark is visible (i.e. a cursor is displayed
|
||||
<p>Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the mark is visible (i.e. a cursor is displayed
|
||||
for it).</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-text-mark-get-visible.parameters"></a><h4>Parameters</h4>
|
||||
@ -278,15 +278,15 @@ for it).</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-text-mark-get-visible.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if visible</p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if visible</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-text-mark-get-deleted"></a><h3>gtk_text_mark_get_deleted ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gtk_text_mark_get_deleted (<em class="parameter"><code><a class="link" href="GtkTextMark.html" title="GtkTextMark"><span class="type">GtkTextMark</span></a> *mark</code></em>);</pre>
|
||||
<p>Returns <code class="literal">TRUE</code> if the mark has been removed from its buffer
|
||||
<p>Returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the mark has been removed from its buffer
|
||||
with <a class="link" href="GtkTextBuffer.html#gtk-text-buffer-delete-mark" title="gtk_text_buffer_delete_mark ()"><code class="function">gtk_text_buffer_delete_mark()</code></a>. See <a class="link" href="GtkTextBuffer.html#gtk-text-buffer-add-mark" title="gtk_text_buffer_add_mark ()"><code class="function">gtk_text_buffer_add_mark()</code></a>
|
||||
for a way to add it to a buffer again.</p>
|
||||
<div class="refsect3">
|
||||
@ -312,7 +312,7 @@ for a way to add it to a buffer again.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-text-mark-get-name"></a><h3>gtk_text_mark_get_name ()</h3>
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
gtk_text_mark_get_name (<em class="parameter"><code><a class="link" href="GtkTextMark.html" title="GtkTextMark"><span class="type">GtkTextMark</span></a> *mark</code></em>);</pre>
|
||||
<p>Returns the mark name; returns NULL for anonymous marks.</p>
|
||||
<div class="refsect3">
|
||||
@ -342,7 +342,7 @@ gtk_text_mark_get_name (<em class="parameter"><code><a class="link" href="GtkTex
|
||||
<pre class="programlisting"><a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="returnvalue">GtkTextBuffer</span></a> *
|
||||
gtk_text_mark_get_buffer (<em class="parameter"><code><a class="link" href="GtkTextMark.html" title="GtkTextMark"><span class="type">GtkTextMark</span></a> *mark</code></em>);</pre>
|
||||
<p>Gets the buffer this mark is located inside,
|
||||
or <code class="literal">NULL</code> if the mark is deleted.</p>
|
||||
or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the mark is deleted.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-text-mark-get-buffer.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -367,7 +367,7 @@ or <code class="literal">NULL</code> if the mark is deleted.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-text-mark-get-left-gravity"></a><h3>gtk_text_mark_get_left_gravity ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gtk_text_mark_get_left_gravity (<em class="parameter"><code><a class="link" href="GtkTextMark.html" title="GtkTextMark"><span class="type">GtkTextMark</span></a> *mark</code></em>);</pre>
|
||||
<p>Determines whether the mark has left gravity.</p>
|
||||
<div class="refsect3">
|
||||
@ -387,7 +387,7 @@ gtk_text_mark_get_left_gravity (<em class="parameter"><code><a class="link" href
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-text-mark-get-left-gravity.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if the mark has left gravity, <code class="literal">FALSE</code> otherwise</p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the mark has left gravity, <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -402,7 +402,7 @@ gtk_text_mark_get_left_gravity (<em class="parameter"><code><a class="link" href
|
||||
<a name="GtkTextMark.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTextMark--left-gravity"></a><h3>The <code class="literal">“left-gravity”</code> property</h3>
|
||||
<pre class="programlisting"> “left-gravity” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “left-gravity” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>Whether the mark has left gravity. When text is inserted at the mark’s
|
||||
current location, if the mark has left gravity it will be moved
|
||||
to the left of the newly-inserted text, otherwise to the right.</p>
|
||||
@ -412,8 +412,8 @@ to the left of the newly-inserted text, otherwise to the right.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTextMark--name"></a><h3>The <code class="literal">“name”</code> property</h3>
|
||||
<pre class="programlisting"> “name” <span class="type">gchar</span> *</pre>
|
||||
<p>The name of the mark or <code class="literal">NULL</code> if the mark is anonymous.</p>
|
||||
<pre class="programlisting"> “name” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<p>The name of the mark or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the mark is anonymous.</p>
|
||||
<p>Flags: Read / Write / Construct Only</p>
|
||||
<p>Default value: NULL</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user