New upstream version 3.24.18
This commit is contained in:
@ -214,7 +214,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkTextWindowType"><span class="returnvalue">GtkTextWindowType</span></a>
|
||||
<a class="link" href="GtkTextView.html#GtkTextWindowType" title="enum GtkTextWindowType"><span class="returnvalue">GtkTextWindowType</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkTextView.html#gtk-text-view-get-window-type" title="gtk_text_view_get_window_type ()">gtk_text_view_get_window_type</a> <span class="c_punctuation">()</span>
|
||||
@ -342,7 +342,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkWrapMode"><span class="returnvalue">GtkWrapMode</span></a>
|
||||
<a class="link" href="GtkTextView.html#GtkWrapMode" title="enum GtkWrapMode"><span class="returnvalue">GtkWrapMode</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkTextView.html#gtk-text-view-get-wrap-mode" title="gtk_text_view_get_wrap_mode ()">gtk_text_view_get_wrap_mode</a> <span class="c_punctuation">()</span>
|
||||
@ -462,7 +462,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkJustification"><span class="returnvalue">GtkJustification</span></a>
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkJustification" title="enum GtkJustification"><span class="returnvalue">GtkJustification</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkTextView.html#gtk-text-view-get-justification" title="gtk_text_view_get_justification ()">gtk_text_view_get_justification</a> <span class="c_punctuation">()</span>
|
||||
@ -582,7 +582,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">GtkTextAttributes</span> *
|
||||
<a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="returnvalue">GtkTextAttributes</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkTextView.html#gtk-text-view-get-default-attributes" title="gtk_text_view_get_default_attributes ()">gtk_text_view_get_default_attributes</a> <span class="c_punctuation">()</span>
|
||||
@ -614,7 +614,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/gtk4/GtkEntry.html#GtkInputPurpose"><span class="returnvalue">GtkInputPurpose</span></a>
|
||||
<a class="link" href="GtkEntry.html#GtkInputPurpose" title="enum GtkInputPurpose"><span class="returnvalue">GtkInputPurpose</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkTextView.html#gtk-text-view-get-input-purpose" title="gtk_text_view_get_input_purpose ()">gtk_text_view_get_input_purpose</a> <span class="c_punctuation">()</span>
|
||||
@ -630,7 +630,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/gtk4/GtkEntry.html#GtkInputHints"><span class="returnvalue">GtkInputHints</span></a>
|
||||
<a class="link" href="GtkEntry.html#GtkInputHints" title="enum GtkInputHints"><span class="returnvalue">GtkInputHints</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkTextView.html#gtk-text-view-get-input-hints" title="gtk_text_view_get_input_hints ()">gtk_text_view_get_input_hints</a> <span class="c_punctuation">()</span>
|
||||
@ -702,17 +702,17 @@
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/gtk4/GtkEntry.html#GtkInputHints"><span class="type">GtkInputHints</span></a></td>
|
||||
<td class="property_type"><a class="link" href="GtkEntry.html#GtkInputHints" title="enum GtkInputHints"><span class="type">GtkInputHints</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkTextView.html#GtkTextView--input-hints" title="The “input-hints” property">input-hints</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/gtk4/GtkEntry.html#GtkInputPurpose"><span class="type">GtkInputPurpose</span></a></td>
|
||||
<td class="property_type"><a class="link" href="GtkEntry.html#GtkInputPurpose" title="enum GtkInputPurpose"><span class="type">GtkInputPurpose</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkTextView.html#GtkTextView--input-purpose" title="The “input-purpose” property">input-purpose</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkJustification"><span class="type">GtkJustification</span></a></td>
|
||||
<td class="property_type"><a class="link" href="gtk3-Standard-Enumerations.html#GtkJustification" title="enum GtkJustification"><span class="type">GtkJustification</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkTextView.html#GtkTextView--justification" title="The “justification” property">justification</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -768,7 +768,7 @@
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a></td>
|
||||
<td class="property_type"><a class="link" href="GtkTextView.html#GtkWrapMode" title="enum GtkWrapMode"><span class="type">GtkWrapMode</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkTextView.html#GtkTextView--wrap-mode" title="The “wrap-mode” property">wrap-mode</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -893,35 +893,35 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkTextView-struct">GtkTextView</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkTextView.html#GtkTextView-struct" title="struct GtkTextView">GtkTextView</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkTextViewClass">GtkTextViewClass</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkTextView.html#GtkTextViewClass" title="struct GtkTextViewClass">GtkTextViewClass</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">enum</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkTextViewLayer">GtkTextViewLayer</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkTextView.html#GtkTextViewLayer" title="enum GtkTextViewLayer">GtkTextViewLayer</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">enum</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkTextWindowType">GtkTextWindowType</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkTextView.html#GtkTextWindowType" title="enum GtkTextWindowType">GtkTextWindowType</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">enum</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkTextExtendSelection">GtkTextExtendSelection</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkTextView.html#GtkTextExtendSelection" title="enum GtkTextExtendSelection">GtkTextExtendSelection</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">enum</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkWrapMode">GtkWrapMode</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkTextView.html#GtkWrapMode" title="enum GtkWrapMode">GtkWrapMode</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkTextChildAnchor-struct">GtkTextChildAnchor</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkTextView.html#GtkTextChildAnchor-struct" title="struct GtkTextChildAnchor">GtkTextChildAnchor</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="define_keyword">#define</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkTextView.html#GTK-TEXT-VIEW-PRIORITY-VALIDATE:CAPS">GTK_TEXT_VIEW_PRIORITY_VALIDATE</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkTextView.html#GTK-TEXT-VIEW-PRIORITY-VALIDATE:CAPS" title="GTK_TEXT_VIEW_PRIORITY_VALIDATE">GTK_TEXT_VIEW_PRIORITY_VALIDATE</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -1763,7 +1763,7 @@ zero, or the number of characters in the grapheme.
|
||||
<a name="gtk-text-view-buffer-to-window-coords"></a><h3>gtk_text_view_buffer_to_window_coords ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_text_view_buffer_to_window_coords (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> win</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkTextView.html#GtkTextWindowType" title="enum GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> win</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> buffer_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> buffer_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *window_x</code></em>,
|
||||
@ -1793,7 +1793,7 @@ gtk_text_view_buffer_to_window_coords (<em class="parameter"><code><a class="lin
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>win</p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a>, except <code class="literal">GTK_TEXT_WINDOW_PRIVATE</code></p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkTextView.html#GtkTextWindowType" title="enum GtkTextWindowType"><span class="type">GtkTextWindowType</span></a>, except <a class="link" href="GtkTextView.html#GTK-TEXT-WINDOW-PRIVATE:CAPS"><code class="literal">GTK_TEXT_WINDOW_PRIVATE</code></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1825,7 +1825,7 @@ gtk_text_view_buffer_to_window_coords (<em class="parameter"><code><a class="lin
|
||||
<a name="gtk-text-view-window-to-buffer-coords"></a><h3>gtk_text_view_window_to_buffer_coords ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_text_view_window_to_buffer_coords (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> win</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkTextView.html#GtkTextWindowType" title="enum GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> win</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> window_x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> window_y</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *buffer_x</code></em>,
|
||||
@ -1853,7 +1853,7 @@ coordinates, storing the result in (<em class="parameter"><code>buffer_x</code><
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>win</p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> except <code class="literal">GTK_TEXT_WINDOW_PRIVATE</code></p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkTextView.html#GtkTextWindowType" title="enum GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> except <a class="link" href="GtkTextView.html#GTK-TEXT-WINDOW-PRIVATE:CAPS"><code class="literal">GTK_TEXT_WINDOW_PRIVATE</code></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -1885,7 +1885,7 @@ coordinates, storing the result in (<em class="parameter"><code>buffer_x</code><
|
||||
<a name="gtk-text-view-get-window"></a><h3>gtk_text_view_get_window ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GdkWindow</span> *
|
||||
gtk_text_view_get_window (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> win</code></em>);</pre>
|
||||
<em class="parameter"><code><a class="link" href="GtkTextView.html#GtkTextWindowType" title="enum GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> win</code></em>);</pre>
|
||||
<p>Retrieves the <span class="type">GdkWindow</span> corresponding to an area of the text view;
|
||||
possible windows include the overall widget window, child windows
|
||||
on the left, right, top, bottom, and the window that displays the
|
||||
@ -1923,7 +1923,7 @@ realized.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-text-view-get-window-type"></a><h3>gtk_text_view_get_window_type ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkTextWindowType"><span class="returnvalue">GtkTextWindowType</span></a>
|
||||
<pre class="programlisting"><a class="link" href="GtkTextView.html#GtkTextWindowType" title="enum GtkTextWindowType"><span class="returnvalue">GtkTextWindowType</span></a>
|
||||
gtk_text_view_get_window_type (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
||||
<em class="parameter"><code><span class="type">GdkWindow</span> *window</code></em>);</pre>
|
||||
<p>Usually used to find out which window an event corresponds to.</p>
|
||||
@ -1962,15 +1962,15 @@ should be called on <code class="literal">event->window</code> to see which w
|
||||
<a name="gtk-text-view-set-border-window-size"></a><h3>gtk_text_view_set_border_window_size ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_text_view_set_border_window_size (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> type</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkTextView.html#GtkTextWindowType" title="enum GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> type</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> size</code></em>);</pre>
|
||||
<p>Sets the width of <a href="https://developer.gnome.org/gtk4/GtkTextView.html#GTK-TEXT-WINDOW-LEFT:CAPS"><code class="literal">GTK_TEXT_WINDOW_LEFT</code></a> or <a href="https://developer.gnome.org/gtk4/GtkTextView.html#GTK-TEXT-WINDOW-RIGHT:CAPS"><code class="literal">GTK_TEXT_WINDOW_RIGHT</code></a>,
|
||||
or the height of <a href="https://developer.gnome.org/gtk4/GtkTextView.html#GTK-TEXT-WINDOW-TOP:CAPS"><code class="literal">GTK_TEXT_WINDOW_TOP</code></a> or <a href="https://developer.gnome.org/gtk4/GtkTextView.html#GTK-TEXT-WINDOW-BOTTOM:CAPS"><code class="literal">GTK_TEXT_WINDOW_BOTTOM</code></a>.
|
||||
<p>Sets the width of <a class="link" href="GtkTextView.html#GTK-TEXT-WINDOW-LEFT:CAPS"><code class="literal">GTK_TEXT_WINDOW_LEFT</code></a> or <a class="link" href="GtkTextView.html#GTK-TEXT-WINDOW-RIGHT:CAPS"><code class="literal">GTK_TEXT_WINDOW_RIGHT</code></a>,
|
||||
or the height of <a class="link" href="GtkTextView.html#GTK-TEXT-WINDOW-TOP:CAPS"><code class="literal">GTK_TEXT_WINDOW_TOP</code></a> or <a class="link" href="GtkTextView.html#GTK-TEXT-WINDOW-BOTTOM:CAPS"><code class="literal">GTK_TEXT_WINDOW_BOTTOM</code></a>.
|
||||
Automatically destroys the corresponding window if the size is set
|
||||
to 0, and creates the window if the size is set to non-zero. This
|
||||
function can only be used for the “border windows”, and it won’t
|
||||
work with <a href="https://developer.gnome.org/gtk4/GtkTextView.html#GTK-TEXT-WINDOW-WIDGET:CAPS"><code class="literal">GTK_TEXT_WINDOW_WIDGET</code></a>, <a href="https://developer.gnome.org/gtk4/GtkTextView.html#GTK-TEXT-WINDOW-TEXT:CAPS"><code class="literal">GTK_TEXT_WINDOW_TEXT</code></a>, or
|
||||
<code class="literal">GTK_TEXT_WINDOW_PRIVATE</code>.</p>
|
||||
work with <a class="link" href="GtkTextView.html#GTK-TEXT-WINDOW-WIDGET:CAPS"><code class="literal">GTK_TEXT_WINDOW_WIDGET</code></a>, <a class="link" href="GtkTextView.html#GTK-TEXT-WINDOW-TEXT:CAPS"><code class="literal">GTK_TEXT_WINDOW_TEXT</code></a>, or
|
||||
<a class="link" href="GtkTextView.html#GTK-TEXT-WINDOW-PRIVATE:CAPS"><code class="literal">GTK_TEXT_WINDOW_PRIVATE</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-text-view-set-border-window-size.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -2004,7 +2004,7 @@ work with <a href="https://developer.gnome.org/gtk4/GtkTextView.html#GTK-TEXT-WI
|
||||
<a name="gtk-text-view-get-border-window-size"></a><h3>gtk_text_view_get_border_window_size ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gtk_text_view_get_border_window_size (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> type</code></em>);</pre>
|
||||
<em class="parameter"><code><a class="link" href="GtkTextView.html#GtkTextWindowType" title="enum GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> type</code></em>);</pre>
|
||||
<p>Gets the width of the specified border window. See
|
||||
<a class="link" href="GtkTextView.html#gtk-text-view-set-border-window-size" title="gtk_text_view_set_border_window_size ()"><code class="function">gtk_text_view_set_border_window_size()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -2419,7 +2419,7 @@ will also be finalized.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_text_view_add_child_in_window (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> which_window</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkTextView.html#GtkTextWindowType" title="enum GtkTextWindowType"><span class="type">GtkTextWindowType</span></a> which_window</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> xpos</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> ypos</code></em>);</pre>
|
||||
<p>Adds a child at fixed coordinates in one of the text widget's
|
||||
@ -2427,7 +2427,7 @@ windows.</p>
|
||||
<p>The window must have nonzero size (see
|
||||
<a class="link" href="GtkTextView.html#gtk-text-view-set-border-window-size" title="gtk_text_view_set_border_window_size ()"><code class="function">gtk_text_view_set_border_window_size()</code></a>). Note that the child
|
||||
coordinates are given relative to scrolling. When
|
||||
placing a child in <a href="https://developer.gnome.org/gtk4/GtkTextView.html#GTK-TEXT-WINDOW-WIDGET:CAPS"><span class="type">GTK_TEXT_WINDOW_WIDGET</span></a>, scrolling is
|
||||
placing a child in <a class="link" href="GtkTextView.html#GTK-TEXT-WINDOW-WIDGET:CAPS"><span class="type">GTK_TEXT_WINDOW_WIDGET</span></a>, scrolling is
|
||||
irrelevant, the child floats above all scrollable areas. But when
|
||||
placing a child in one of the scrollable windows (border windows or
|
||||
text window) it will move with the scrolling as needed.</p>
|
||||
@ -2516,7 +2516,7 @@ gtk_text_view_move_child (<em class="parameter"><code><a class="link" href="GtkT
|
||||
<a name="gtk-text-view-set-wrap-mode"></a><h3>gtk_text_view_set_wrap_mode ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_text_view_set_wrap_mode (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a> wrap_mode</code></em>);</pre>
|
||||
<em class="parameter"><code><a class="link" href="GtkTextView.html#GtkWrapMode" title="enum GtkWrapMode"><span class="type">GtkWrapMode</span></a> wrap_mode</code></em>);</pre>
|
||||
<p>Sets the line wrapping for the view.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-text-view-set-wrap-mode.parameters"></a><h4>Parameters</h4>
|
||||
@ -2534,7 +2534,7 @@ gtk_text_view_set_wrap_mode (<em class="parameter"><code><a class="link" href="G
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>wrap_mode</p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkTextView.html#GtkWrapMode" title="enum GtkWrapMode"><span class="type">GtkWrapMode</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -2544,7 +2544,7 @@ gtk_text_view_set_wrap_mode (<em class="parameter"><code><a class="link" href="G
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-text-view-get-wrap-mode"></a><h3>gtk_text_view_get_wrap_mode ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkWrapMode"><span class="returnvalue">GtkWrapMode</span></a>
|
||||
<pre class="programlisting"><a class="link" href="GtkTextView.html#GtkWrapMode" title="enum GtkWrapMode"><span class="returnvalue">GtkWrapMode</span></a>
|
||||
gtk_text_view_get_wrap_mode (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>);</pre>
|
||||
<p>Gets the line wrapping for the view.</p>
|
||||
<div class="refsect3">
|
||||
@ -2960,7 +2960,7 @@ gtk_text_view_get_pixels_inside_wrap (<em class="parameter"><code><a class="link
|
||||
<a name="gtk-text-view-set-justification"></a><h3>gtk_text_view_set_justification ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_text_view_set_justification (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkJustification"><span class="type">GtkJustification</span></a> justification</code></em>);</pre>
|
||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkJustification" title="enum GtkJustification"><span class="type">GtkJustification</span></a> justification</code></em>);</pre>
|
||||
<p>Sets the default justification of text in <em class="parameter"><code>text_view</code></em>
|
||||
.
|
||||
Tags in the view’s buffer may override the default.</p>
|
||||
@ -2990,7 +2990,7 @@ Tags in the view’s buffer may override the default.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-text-view-get-justification"></a><h3>gtk_text_view_get_justification ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkJustification"><span class="returnvalue">GtkJustification</span></a>
|
||||
<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkJustification" title="enum GtkJustification"><span class="returnvalue">GtkJustification</span></a>
|
||||
gtk_text_view_get_justification (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>);</pre>
|
||||
<p>Gets the default justification of paragraphs in <em class="parameter"><code>text_view</code></em>
|
||||
.
|
||||
@ -3457,7 +3457,7 @@ gtk_text_view_get_accepts_tab (<em class="parameter"><code><a class="link" href=
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-text-view-get-default-attributes"></a><h3>gtk_text_view_get_default_attributes ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GtkTextAttributes</span> *
|
||||
<pre class="programlisting"><a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="returnvalue">GtkTextAttributes</span></a> *
|
||||
gtk_text_view_get_default_attributes (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>);</pre>
|
||||
<p>Obtains a copy of the default text attributes. These are the
|
||||
attributes used for text unless a tag overrides them.
|
||||
@ -3483,7 +3483,7 @@ and should be freed with <a class="link" href="GtkTextTag.html#gtk-text-attribut
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-text-view-get-default-attributes.returns"></a><h4>Returns</h4>
|
||||
<p> a new <span class="type">GtkTextAttributes</span></p>
|
||||
<p> a new <a class="link" href="GtkTextTag.html#GtkTextAttributes" title="struct GtkTextAttributes"><span class="type">GtkTextAttributes</span></a></p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -3605,7 +3605,7 @@ would confuse on-going input method behavior.</p>
|
||||
<a name="gtk-text-view-set-input-purpose"></a><h3>gtk_text_view_set_input_purpose ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_text_view_set_input_purpose (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkEntry.html#GtkInputPurpose"><span class="type">GtkInputPurpose</span></a> purpose</code></em>);</pre>
|
||||
<em class="parameter"><code><a class="link" href="GtkEntry.html#GtkInputPurpose" title="enum GtkInputPurpose"><span class="type">GtkInputPurpose</span></a> purpose</code></em>);</pre>
|
||||
<p>Sets the <a class="link" href="GtkTextView.html#GtkTextView--input-purpose" title="The “input-purpose” property"><span class="type">“input-purpose”</span></a> property which
|
||||
can be used by on-screen keyboards and other input
|
||||
methods to adjust their behaviour.</p>
|
||||
@ -3636,7 +3636,7 @@ methods to adjust their behaviour.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-text-view-get-input-purpose"></a><h3>gtk_text_view_get_input_purpose ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/GtkEntry.html#GtkInputPurpose"><span class="returnvalue">GtkInputPurpose</span></a>
|
||||
<pre class="programlisting"><a class="link" href="GtkEntry.html#GtkInputPurpose" title="enum GtkInputPurpose"><span class="returnvalue">GtkInputPurpose</span></a>
|
||||
gtk_text_view_get_input_purpose (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>);</pre>
|
||||
<p>Gets the value of the <a class="link" href="GtkTextView.html#GtkTextView--input-purpose" title="The “input-purpose” property"><span class="type">“input-purpose”</span></a> property.</p>
|
||||
<div class="refsect3">
|
||||
@ -3661,7 +3661,7 @@ gtk_text_view_get_input_purpose (<em class="parameter"><code><a class="link" hre
|
||||
<a name="gtk-text-view-set-input-hints"></a><h3>gtk_text_view_set_input_hints ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_text_view_set_input_hints (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/GtkEntry.html#GtkInputHints"><span class="type">GtkInputHints</span></a> hints</code></em>);</pre>
|
||||
<em class="parameter"><code><a class="link" href="GtkEntry.html#GtkInputHints" title="enum GtkInputHints"><span class="type">GtkInputHints</span></a> hints</code></em>);</pre>
|
||||
<p>Sets the <a class="link" href="GtkTextView.html#GtkTextView--input-hints" title="The “input-hints” property"><span class="type">“input-hints”</span></a> property, which
|
||||
allows input methods to fine-tune their behaviour.</p>
|
||||
<div class="refsect3">
|
||||
@ -3691,7 +3691,7 @@ allows input methods to fine-tune their behaviour.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-text-view-get-input-hints"></a><h3>gtk_text_view_get_input_hints ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/GtkEntry.html#GtkInputHints"><span class="returnvalue">GtkInputHints</span></a>
|
||||
<pre class="programlisting"><a class="link" href="GtkEntry.html#GtkInputHints" title="enum GtkInputHints"><span class="returnvalue">GtkInputHints</span></a>
|
||||
gtk_text_view_get_input_hints (<em class="parameter"><code><a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view</code></em>);</pre>
|
||||
<p>Gets the value of the <a class="link" href="GtkTextView.html#GtkTextView--input-hints" title="The “input-hints” property"><span class="type">“input-hints”</span></a> property.</p>
|
||||
<div class="refsect3">
|
||||
@ -3770,6 +3770,361 @@ gtk_text_view_get_monospace (<em class="parameter"><code><a class="link" href="G
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkTextView.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTextView-struct"></a><h3>struct GtkTextView</h3>
|
||||
<pre class="programlisting">struct GtkTextView;</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTextViewClass"></a><h3>struct GtkTextViewClass</h3>
|
||||
<pre class="programlisting">struct GtkTextViewClass {
|
||||
GtkContainerClass parent_class;
|
||||
|
||||
void (* populate_popup) (GtkTextView *text_view,
|
||||
GtkWidget *popup);
|
||||
void (* move_cursor) (GtkTextView *text_view,
|
||||
GtkMovementStep step,
|
||||
gint count,
|
||||
gboolean extend_selection);
|
||||
void (* set_anchor) (GtkTextView *text_view);
|
||||
void (* insert_at_cursor) (GtkTextView *text_view,
|
||||
const gchar *str);
|
||||
void (* delete_from_cursor) (GtkTextView *text_view,
|
||||
GtkDeleteType type,
|
||||
gint count);
|
||||
void (* backspace) (GtkTextView *text_view);
|
||||
void (* cut_clipboard) (GtkTextView *text_view);
|
||||
void (* copy_clipboard) (GtkTextView *text_view);
|
||||
void (* paste_clipboard) (GtkTextView *text_view);
|
||||
void (* toggle_overwrite) (GtkTextView *text_view);
|
||||
GtkTextBuffer * (* create_buffer) (GtkTextView *text_view);
|
||||
void (* draw_layer) (GtkTextView *text_view,
|
||||
GtkTextViewLayer layer,
|
||||
cairo_t *cr);
|
||||
gboolean (* extend_selection) (GtkTextView *text_view,
|
||||
GtkTextExtendSelection granularity,
|
||||
const GtkTextIter *location,
|
||||
GtkTextIter *start,
|
||||
GtkTextIter *end);
|
||||
void (* insert_emoji) (GtkTextView *text_view);
|
||||
};
|
||||
</pre>
|
||||
<div class="refsect3">
|
||||
<a name="GtkTextViewClass.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="struct_members_name">
|
||||
<col class="struct_members_description">
|
||||
<col width="200px" class="struct_members_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkTextViewClass.populate-popup"></a>populate_popup</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>The class handler for the <a class="link" href="GtkTextView.html#GtkTextView-populate-popup" title="The “populate-popup” signal"><span class="type">“populate-popup”</span></a>
|
||||
signal.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkTextViewClass.move-cursor"></a>move_cursor</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>The class handler for the <a class="link" href="GtkTextView.html#GtkTextView-move-cursor" title="The “move-cursor” signal"><span class="type">“move-cursor”</span></a>
|
||||
keybinding signal.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkTextViewClass.set-anchor"></a>set_anchor</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>The class handler for the <a class="link" href="GtkTextView.html#GtkTextView-set-anchor" title="The “set-anchor” signal"><span class="type">“set-anchor”</span></a>
|
||||
keybinding signal.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkTextViewClass.insert-at-cursor"></a>insert_at_cursor</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>The class handler for the <a class="link" href="GtkTextView.html#GtkTextView-insert-at-cursor" title="The “insert-at-cursor” signal"><span class="type">“insert-at-cursor”</span></a>
|
||||
keybinding signal.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkTextViewClass.delete-from-cursor"></a>delete_from_cursor</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>The class handler for the <a class="link" href="GtkTextView.html#GtkTextView-delete-from-cursor" title="The “delete-from-cursor” signal"><span class="type">“delete-from-cursor”</span></a>
|
||||
keybinding signal.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkTextViewClass.backspace"></a>backspace</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>The class handler for the <a class="link" href="GtkTextView.html#GtkTextView-backspace" title="The “backspace” signal"><span class="type">“backspace”</span></a>
|
||||
keybinding signal.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkTextViewClass.cut-clipboard"></a>cut_clipboard</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>The class handler for the <a class="link" href="GtkTextView.html#GtkTextView-cut-clipboard" title="The “cut-clipboard” signal"><span class="type">“cut-clipboard”</span></a>
|
||||
keybinding signal</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkTextViewClass.copy-clipboard"></a>copy_clipboard</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>The class handler for the <span class="type">“copy-clipboard”</span>
|
||||
keybinding signal.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkTextViewClass.paste-clipboard"></a>paste_clipboard</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>The class handler for the <a class="link" href="GtkTextView.html#GtkTextView-paste-clipboard" title="The “paste-clipboard” signal"><span class="type">“paste-clipboard”</span></a>
|
||||
keybinding signal.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkTextViewClass.toggle-overwrite"></a>toggle_overwrite</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>The class handler for the <a class="link" href="GtkTextView.html#GtkTextView-toggle-overwrite" title="The “toggle-overwrite” signal"><span class="type">“toggle-overwrite”</span></a>
|
||||
keybinding signal.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkTextViewClass.create-buffer"></a>create_buffer</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>The create_buffer vfunc is called to create a <a class="link" href="GtkTextBuffer.html" title="GtkTextBuffer"><span class="type">GtkTextBuffer</span></a>
|
||||
for the text view. The default implementation is to just call
|
||||
<a class="link" href="GtkTextBuffer.html#gtk-text-buffer-new" title="gtk_text_buffer_new ()"><code class="function">gtk_text_buffer_new()</code></a>. Since: 3.10</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkTextViewClass.draw-layer"></a>draw_layer</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>The draw_layer vfunc is called before and after the text
|
||||
view is drawing its own text. Applications can override this vfunc
|
||||
in a subclass to draw customized content underneath or above the
|
||||
text. In the <a class="link" href="GtkTextView.html#GTK-TEXT-VIEW-LAYER-BELOW-TEXT:CAPS"><code class="literal">GTK_TEXT_VIEW_LAYER_BELOW_TEXT</code></a> and <a class="link" href="GtkTextView.html#GTK-TEXT-VIEW-LAYER-ABOVE-TEXT:CAPS"><code class="literal">GTK_TEXT_VIEW_LAYER_ABOVE_TEXT</code></a>
|
||||
the drawing is done in the buffer coordinate space, but the older (deprecated)
|
||||
layers <a class="link" href="GtkTextView.html#GTK-TEXT-VIEW-LAYER-BELOW:CAPS"><code class="literal">GTK_TEXT_VIEW_LAYER_BELOW</code></a> and <a class="link" href="GtkTextView.html#GTK-TEXT-VIEW-LAYER-ABOVE:CAPS"><code class="literal">GTK_TEXT_VIEW_LAYER_ABOVE</code></a> work in viewport
|
||||
coordinates, which makes them unnecessarily hard to use. Since: 3.14</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkTextViewClass.extend-selection"></a>extend_selection</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>The class handler for the <a class="link" href="GtkTextView.html#GtkTextView-extend-selection" title="The “extend-selection” signal"><span class="type">“extend-selection”</span></a>
|
||||
signal. Since 3.16</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkTextViewClass.insert-emoji"></a>insert_emoji</code></em> ()</p></td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTextViewLayer"></a><h3>enum GtkTextViewLayer</h3>
|
||||
<p>Used to reference the layers of <a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> for the purpose of customized
|
||||
drawing with the ::draw_layer vfunc.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GtkTextViewLayer.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="enum_members_name">
|
||||
<col class="enum_members_description">
|
||||
<col width="200px" class="enum_members_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TEXT-VIEW-LAYER-BELOW:CAPS"></a>GTK_TEXT_VIEW_LAYER_BELOW</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Old deprecated layer, use <a class="link" href="GtkTextView.html#GTK-TEXT-VIEW-LAYER-BELOW-TEXT:CAPS"><code class="literal">GTK_TEXT_VIEW_LAYER_BELOW_TEXT</code></a> instead</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TEXT-VIEW-LAYER-ABOVE:CAPS"></a>GTK_TEXT_VIEW_LAYER_ABOVE</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Old deprecated layer, use <a class="link" href="GtkTextView.html#GTK-TEXT-VIEW-LAYER-ABOVE-TEXT:CAPS"><code class="literal">GTK_TEXT_VIEW_LAYER_ABOVE_TEXT</code></a> instead</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TEXT-VIEW-LAYER-BELOW-TEXT:CAPS"></a>GTK_TEXT_VIEW_LAYER_BELOW_TEXT</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>The layer rendered below the text (but above the background). Since: 3.20</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TEXT-VIEW-LAYER-ABOVE-TEXT:CAPS"></a>GTK_TEXT_VIEW_LAYER_ABOVE_TEXT</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>The layer rendered above the text. Since: 3.20</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTextWindowType"></a><h3>enum GtkTextWindowType</h3>
|
||||
<p>Used to reference the parts of <a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GtkTextWindowType.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="enum_members_name">
|
||||
<col class="enum_members_description">
|
||||
<col width="200px" class="enum_members_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TEXT-WINDOW-PRIVATE:CAPS"></a>GTK_TEXT_WINDOW_PRIVATE</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Invalid value, used as a marker</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TEXT-WINDOW-WIDGET:CAPS"></a>GTK_TEXT_WINDOW_WIDGET</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Window that floats over scrolling areas.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TEXT-WINDOW-TEXT:CAPS"></a>GTK_TEXT_WINDOW_TEXT</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Scrollable text window.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TEXT-WINDOW-LEFT:CAPS"></a>GTK_TEXT_WINDOW_LEFT</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Left side border window.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TEXT-WINDOW-RIGHT:CAPS"></a>GTK_TEXT_WINDOW_RIGHT</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Right side border window.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TEXT-WINDOW-TOP:CAPS"></a>GTK_TEXT_WINDOW_TOP</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Top border window.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TEXT-WINDOW-BOTTOM:CAPS"></a>GTK_TEXT_WINDOW_BOTTOM</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Bottom border window.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTextExtendSelection"></a><h3>enum GtkTextExtendSelection</h3>
|
||||
<p>Granularity types that extend the text selection. Use the
|
||||
<a class="link" href="GtkTextView.html#GtkTextView-extend-selection" title="The “extend-selection” signal"><span class="type">“extend-selection”</span></a> signal to customize the selection.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GtkTextExtendSelection.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="enum_members_name">
|
||||
<col class="enum_members_description">
|
||||
<col width="200px" class="enum_members_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TEXT-EXTEND-SELECTION-WORD:CAPS"></a>GTK_TEXT_EXTEND_SELECTION_WORD</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Selects the current word. It is triggered by
|
||||
a double-click for example.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-TEXT-EXTEND-SELECTION-LINE:CAPS"></a>GTK_TEXT_EXTEND_SELECTION_LINE</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Selects the current line. It is triggered by
|
||||
a triple-click for example.</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkWrapMode"></a><h3>enum GtkWrapMode</h3>
|
||||
<p>Describes a type of line wrapping.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GtkWrapMode.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="enum_members_name">
|
||||
<col class="enum_members_description">
|
||||
<col width="200px" class="enum_members_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-WRAP-NONE:CAPS"></a>GTK_WRAP_NONE</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>do not wrap lines; just make the text area wider</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-WRAP-CHAR:CAPS"></a>GTK_WRAP_CHAR</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>wrap text, breaking lines anywhere the cursor can
|
||||
appear (between characters, usually - if you want to be technical,
|
||||
between graphemes, see <a href="https://developer.gnome.org/pango/pango-Text-Processing.html#pango-get-log-attrs"><code class="function">pango_get_log_attrs()</code></a>)</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-WRAP-WORD:CAPS"></a>GTK_WRAP_WORD</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>wrap text, breaking lines in between words</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-WRAP-WORD-CHAR:CAPS"></a>GTK_WRAP_WORD_CHAR</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>wrap text, breaking lines in between words, or if
|
||||
that is not enough, also between graphemes</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTextChildAnchor-struct"></a><h3>struct GtkTextChildAnchor</h3>
|
||||
<pre class="programlisting">struct GtkTextChildAnchor;</pre>
|
||||
<p>A <a class="link" href="GtkTextView.html#GtkTextChildAnchor"><span class="type">GtkTextChildAnchor</span></a> is a spot in the buffer where child widgets can
|
||||
be “anchored” (inserted inline, as if they were characters). The anchor
|
||||
can have multiple widgets anchored, to allow for multiple views.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GTK-TEXT-VIEW-PRIORITY-VALIDATE:CAPS"></a><h3>GTK_TEXT_VIEW_PRIORITY_VALIDATE</h3>
|
||||
<pre class="programlisting">#define GTK_TEXT_VIEW_PRIORITY_VALIDATE (GDK_PRIORITY_REDRAW + 5)
|
||||
</pre>
|
||||
<p>The priority at which the text view validates onscreen lines
|
||||
in an idle job in the background.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkTextView.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTextView--accepts-tab"></a><h3>The <code class="literal">“accepts-tab”</code> property</h3>
|
||||
@ -3848,7 +4203,7 @@ system-wide IM module setting. See the GtkSettings
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTextView--input-hints"></a><h3>The <code class="literal">“input-hints”</code> property</h3>
|
||||
<pre class="programlisting"> “input-hints” <a href="https://developer.gnome.org/gtk4/GtkEntry.html#GtkInputHints"><span class="type">GtkInputHints</span></a></pre>
|
||||
<pre class="programlisting"> “input-hints” <a class="link" href="GtkEntry.html#GtkInputHints" title="enum GtkInputHints"><span class="type">GtkInputHints</span></a></pre>
|
||||
<p>Additional hints (beyond <a class="link" href="GtkTextView.html#GtkTextView--input-purpose" title="The “input-purpose” property"><span class="type">“input-purpose”</span></a>) that
|
||||
allow input methods to fine-tune their behaviour.</p>
|
||||
<p>Owner: GtkTextView</p>
|
||||
@ -3858,7 +4213,7 @@ allow input methods to fine-tune their behaviour.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTextView--input-purpose"></a><h3>The <code class="literal">“input-purpose”</code> property</h3>
|
||||
<pre class="programlisting"> “input-purpose” <a href="https://developer.gnome.org/gtk4/GtkEntry.html#GtkInputPurpose"><span class="type">GtkInputPurpose</span></a></pre>
|
||||
<pre class="programlisting"> “input-purpose” <a class="link" href="GtkEntry.html#GtkInputPurpose" title="enum GtkInputPurpose"><span class="type">GtkInputPurpose</span></a></pre>
|
||||
<p>The purpose of this text field.</p>
|
||||
<p>This property can be used by on-screen keyboards and other input
|
||||
methods to adjust their behaviour.</p>
|
||||
@ -3870,7 +4225,7 @@ methods to adjust their behaviour.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTextView--justification"></a><h3>The <code class="literal">“justification”</code> property</h3>
|
||||
<pre class="programlisting"> “justification” <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkJustification"><span class="type">GtkJustification</span></a></pre>
|
||||
<pre class="programlisting"> “justification” <a class="link" href="gtk3-Standard-Enumerations.html#GtkJustification" title="enum GtkJustification"><span class="type">GtkJustification</span></a></pre>
|
||||
<p>Left, right, or center justification.</p>
|
||||
<p>Owner: GtkTextView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -3991,7 +4346,7 @@ to the padding from the theme.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkTextView--wrap-mode"></a><h3>The <code class="literal">“wrap-mode”</code> property</h3>
|
||||
<pre class="programlisting"> “wrap-mode” <a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkWrapMode"><span class="type">GtkWrapMode</span></a></pre>
|
||||
<pre class="programlisting"> “wrap-mode” <a class="link" href="GtkTextView.html#GtkWrapMode" title="enum GtkWrapMode"><span class="type">GtkWrapMode</span></a></pre>
|
||||
<p>Whether to wrap lines never, at word boundaries, or at character boundaries.</p>
|
||||
<p>Owner: GtkTextView</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -4017,7 +4372,7 @@ user_function (<a class="link" href="GtkTextView.html" title="GtkTextView"><span
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::backspace signal is a
|
||||
|
||||
keybinding signal
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
|
||||
which gets emitted when the user asks for it.</p>
|
||||
<p>The default bindings for this signal are
|
||||
@ -4054,7 +4409,7 @@ user_function (<a class="link" href="GtkTextView.html" title="GtkTextView"><span
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::copy-clipboard signal is a
|
||||
|
||||
keybinding signal
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
|
||||
which gets emitted to copy the selection to the clipboard.</p>
|
||||
<p>The default bindings for this signal are
|
||||
@ -4091,7 +4446,7 @@ user_function (<a class="link" href="GtkTextView.html" title="GtkTextView"><span
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::cut-clipboard signal is a
|
||||
|
||||
keybinding signal
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
|
||||
which gets emitted to cut the selection to the clipboard.</p>
|
||||
<p>The default bindings for this signal are
|
||||
@ -4125,16 +4480,16 @@ Ctrl-x and Shift-Delete.</p>
|
||||
<a name="GtkTextView-delete-from-cursor"></a><h3>The <code class="literal">“delete-from-cursor”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view,
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkDeleteType"><span class="type">GtkDeleteType</span></a> type,
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkDeleteType" title="enum GtkDeleteType"><span class="type">GtkDeleteType</span></a> type,
|
||||
<span class="type">gint</span> count,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::delete-from-cursor signal is a
|
||||
|
||||
keybinding signal
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
|
||||
which gets emitted when the user initiates a text deletion.</p>
|
||||
<p>If the <em class="parameter"><code>type</code></em>
|
||||
is <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-DELETE-CHARS:CAPS"><code class="literal">GTK_DELETE_CHARS</code></a>, GTK+ deletes the selection
|
||||
is <a class="link" href="gtk3-Standard-Enumerations.html#GTK-DELETE-CHARS:CAPS"><code class="literal">GTK_DELETE_CHARS</code></a>, GTK+ deletes the selection
|
||||
if there is one, otherwise it deletes the requested number
|
||||
of characters.</p>
|
||||
<p>The default bindings for this signal are
|
||||
@ -4159,7 +4514,7 @@ backwords.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>type</p></td>
|
||||
<td class="parameter_description"><p>the granularity of the deletion, as a <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkDeleteType"><span class="type">GtkDeleteType</span></a></p></td>
|
||||
<td class="parameter_description"><p>the granularity of the deletion, as a <a class="link" href="gtk3-Standard-Enumerations.html#GtkDeleteType" title="enum GtkDeleteType"><span class="type">GtkDeleteType</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -4183,7 +4538,7 @@ units to delete</p></td>
|
||||
<a name="GtkTextView-extend-selection"></a><h3>The <code class="literal">“extend-selection”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
user_function (<a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view,
|
||||
<a href="https://developer.gnome.org/gtk4/GtkTextView.html#GtkTextExtendSelection"><span class="type">GtkTextExtendSelection</span></a> granularity,
|
||||
<a class="link" href="GtkTextView.html#GtkTextExtendSelection" title="enum GtkTextExtendSelection"><span class="type">GtkTextExtendSelection</span></a> granularity,
|
||||
<a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *location,
|
||||
<a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *start,
|
||||
<a class="link" href="GtkTextIter.html" title="GtkTextIter"><span class="type">GtkTextIter</span></a> *end,
|
||||
@ -4249,7 +4604,7 @@ user_function (<a class="link" href="GtkTextView.html" title="GtkTextView"><span
|
||||
<span class="type">gchar</span> *string,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::insert-at-cursor signal is a
|
||||
keybinding signal
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
which gets emitted when the user initiates the insertion of a
|
||||
|
||||
fixed string at the cursor.</p>
|
||||
@ -4290,7 +4645,7 @@ fixed string at the cursor.</p>
|
||||
user_function (<a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::insert-emoji signal is a
|
||||
keybinding signal
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
which gets emitted to present the Emoji chooser for the <em class="parameter"><code>text_view</code></em>
|
||||
.</p>
|
||||
<p>The default bindings for this signal are Ctrl-. and Ctrl-;</p>
|
||||
@ -4324,13 +4679,13 @@ which gets emitted to present the Emoji chooser for the <em class="parameter"><c
|
||||
<a name="GtkTextView-move-cursor"></a><h3>The <code class="literal">“move-cursor”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view,
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkMovementStep"><span class="type">GtkMovementStep</span></a> step,
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkMovementStep" title="enum GtkMovementStep"><span class="type">GtkMovementStep</span></a> step,
|
||||
<span class="type">gint</span> count,
|
||||
<span class="type">gboolean</span> extend_selection,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::move-cursor signal is a
|
||||
|
||||
keybinding signal
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
|
||||
which gets emitted when the user initiates a cursor movement.
|
||||
|
||||
@ -4368,7 +4723,7 @@ There are too many key combinations to list them all here.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>step</p></td>
|
||||
<td class="parameter_description"><p>the granularity of the move, as a <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkMovementStep"><span class="type">GtkMovementStep</span></a></p></td>
|
||||
<td class="parameter_description"><p>the granularity of the move, as a <a class="link" href="gtk3-Standard-Enumerations.html#GtkMovementStep" title="enum GtkMovementStep"><span class="type">GtkMovementStep</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -4397,11 +4752,11 @@ units to move</p></td>
|
||||
<a name="GtkTextView-move-viewport"></a><h3>The <code class="literal">“move-viewport”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view,
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkScrollStep"><span class="type">GtkScrollStep</span></a> step,
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkScrollStep" title="enum GtkScrollStep"><span class="type">GtkScrollStep</span></a> step,
|
||||
<span class="type">gint</span> count,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::move-viewport signal is a
|
||||
keybinding signal
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
which can be bound to key combinations to allow the user
|
||||
to move the viewport, i.e. change what part of the text view
|
||||
is visible in a containing scrolled window.</p>
|
||||
@ -4422,7 +4777,7 @@ is visible in a containing scrolled window.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>step</p></td>
|
||||
<td class="parameter_description"><p>the granularity of the movement, as a <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkScrollStep"><span class="type">GtkScrollStep</span></a></p></td>
|
||||
<td class="parameter_description"><p>the granularity of the movement, as a <a class="link" href="gtk3-Standard-Enumerations.html#GtkScrollStep" title="enum GtkScrollStep"><span class="type">GtkScrollStep</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -4449,7 +4804,7 @@ user_function (<a class="link" href="GtkTextView.html" title="GtkTextView"><span
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::paste-clipboard signal is a
|
||||
|
||||
keybinding signal
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
|
||||
which gets emitted to paste the contents of the clipboard
|
||||
|
||||
@ -4582,7 +4937,7 @@ user_function (<a class="link" href="GtkTextView.html" title="GtkTextView"><span
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::select-all signal is a
|
||||
|
||||
keybinding signal
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
|
||||
which gets emitted to select or unselect the complete
|
||||
contents of the text view.</p>
|
||||
@ -4625,7 +4980,7 @@ for selecting and Shift-Ctrl-a and Ctrl-\ for unselecting.</p>
|
||||
user_function (<a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::set-anchor signal is a
|
||||
keybinding signal
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
which gets emitted when the user initiates setting the "anchor"
|
||||
|
||||
mark. The "anchor" mark gets placed at the same position as the
|
||||
@ -4662,7 +5017,7 @@ mark. The "anchor" mark gets placed at the same position as the
|
||||
user_function (<a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> *text_view,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::toggle-cursor-visible signal is a
|
||||
keybinding signal
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
which gets emitted to toggle the <a class="link" href="GtkTextView.html#GtkTextView--cursor-visible" title="The “cursor-visible” property"><span class="type">“cursor-visible”</span></a>
|
||||
property.</p>
|
||||
<p>The default binding for this signal is F7.</p>
|
||||
@ -4698,7 +5053,7 @@ user_function (<a class="link" href="GtkTextView.html" title="GtkTextView"><span
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::toggle-overwrite signal is a
|
||||
|
||||
keybinding signal
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
|
||||
which gets emitted to toggle the overwrite mode of the text view.</p>
|
||||
<p>The default bindings for this signal is Insert.</p>
|
||||
|
||||
Reference in New Issue
Block a user