New upstream version 3.24.5
This commit is contained in:
@ -166,7 +166,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="GtkScrolledWindow.html#gtk-scrolled-window-get-kinetic-scrolling" title="gtk_scrolled_window_get_kinetic_scrolling ()">gtk_scrolled_window_get_kinetic_scrolling</a> <span class="c_punctuation">()</span>
|
||||
@ -182,7 +182,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="GtkScrolledWindow.html#gtk-scrolled-window-get-capture-button-press" title="gtk_scrolled_window_get_capture_button_press ()">gtk_scrolled_window_get_capture_button_press</a> <span class="c_punctuation">()</span>
|
||||
@ -198,7 +198,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="GtkScrolledWindow.html#gtk-scrolled-window-get-overlay-scrolling" title="gtk_scrolled_window_get_overlay_scrolling ()">gtk_scrolled_window_get_overlay_scrolling</a> <span class="c_punctuation">()</span>
|
||||
@ -214,7 +214,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gint</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkScrolledWindow.html#gtk-scrolled-window-get-min-content-width" title="gtk_scrolled_window_get_min_content_width ()">gtk_scrolled_window_get_min_content_width</a> <span class="c_punctuation">()</span>
|
||||
@ -230,7 +230,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gint</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkScrolledWindow.html#gtk-scrolled-window-get-min-content-height" title="gtk_scrolled_window_get_min_content_height ()">gtk_scrolled_window_get_min_content_height</a> <span class="c_punctuation">()</span>
|
||||
@ -246,7 +246,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gint</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkScrolledWindow.html#gtk-scrolled-window-get-max-content-width" title="gtk_scrolled_window_get_max_content_width ()">gtk_scrolled_window_get_max_content_width</a> <span class="c_punctuation">()</span>
|
||||
@ -262,7 +262,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gint</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkScrolledWindow.html#gtk-scrolled-window-get-max-content-height" title="gtk_scrolled_window_get_max_content_height ()">gtk_scrolled_window_get_max_content_height</a> <span class="c_punctuation">()</span>
|
||||
@ -278,7 +278,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="GtkScrolledWindow.html#gtk-scrolled-window-get-propagate-natural-width" title="gtk_scrolled_window_get_propagate_natural_width ()">gtk_scrolled_window_get_propagate_natural_width</a> <span class="c_punctuation">()</span>
|
||||
@ -294,7 +294,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="GtkScrolledWindow.html#gtk-scrolled-window-get-propagate-natural-height" title="gtk_scrolled_window_get_propagate_natural_height ()">gtk_scrolled_window_get_propagate_natural_height</a> <span class="c_punctuation">()</span>
|
||||
@ -332,42 +332,42 @@
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<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="GtkScrolledWindow.html#GtkScrolledWindow--kinetic-scrolling" title="The “kinetic-scrolling” property">kinetic-scrolling</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkScrolledWindow.html#GtkScrolledWindow--max-content-height" title="The “max-content-height” property">max-content-height</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkScrolledWindow.html#GtkScrolledWindow--max-content-width" title="The “max-content-width” property">max-content-width</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkScrolledWindow.html#GtkScrolledWindow--min-content-height" title="The “min-content-height” property">min-content-height</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkScrolledWindow.html#GtkScrolledWindow--min-content-width" title="The “min-content-width” property">min-content-width</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<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="GtkScrolledWindow.html#GtkScrolledWindow--overlay-scrolling" title="The “overlay-scrolling” property">overlay-scrolling</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<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="GtkScrolledWindow.html#GtkScrolledWindow--propagate-natural-height" title="The “propagate-natural-height” property">propagate-natural-height</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<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="GtkScrolledWindow.html#GtkScrolledWindow--propagate-natural-width" title="The “propagate-natural-width” property">propagate-natural-width</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -393,7 +393,7 @@
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<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="GtkScrolledWindow.html#GtkScrolledWindow--window-placement-set" title="The “window-placement-set” property">window-placement-set</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -410,12 +410,12 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkScrolledWindow.html#GtkScrolledWindow--s-scrollbar-spacing" title="The “scrollbar-spacing” style property">scrollbar-spacing</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<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="GtkScrolledWindow.html#GtkScrolledWindow--s-scrollbars-within-bevel" title="The “scrollbars-within-bevel” style property">scrollbars-within-bevel</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
@ -434,22 +434,22 @@
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkScrolledWindow.html#GtkScrolledWindow-edge-overshot" title="The “edge-overshot” signal">edge-overshot</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkScrolledWindow.html#GtkScrolledWindow-edge-reached" title="The “edge-reached” signal">edge-reached</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkScrolledWindow.html#GtkScrolledWindow-move-focus-out" title="The “move-focus-out” signal">move-focus-out</a></td>
|
||||
<td class="signal_flags">Action</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">gboolean</span></td>
|
||||
<td class="signal_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
|
||||
<td class="signal_name"><a class="link" href="GtkScrolledWindow.html#GtkScrolledWindow-scroll-child" title="The “scroll-child” signal">scroll-child</a></td>
|
||||
<td class="signal_flags">Action</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -483,8 +483,8 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkScrolledWindow.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GInitiallyUnowned
|
||||
<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> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
|
||||
@ -536,7 +536,7 @@ from the GtkScrolledWindow, like this:</p>
|
||||
12
|
||||
13
|
||||
14</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">scrolled_window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkScrolledWindow.html#gtk-scrolled-window-new">gtk_scrolled_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">NULL</span><span class="symbol">,</span><span class="normal"> NULL</span><span class="symbol">);</span>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">scrolled_window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkScrolledWindow.html#gtk-scrolled-window-new">gtk_scrolled_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
||||
<span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">child_widget </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkButton.html#gtk-button-new">gtk_button_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
||||
|
||||
<span class="comment">// GtkButton is not a GtkScrollable, so GtkScrolledWindow will automatically</span>
|
||||
@ -606,7 +606,7 @@ gtk_scrolled_window_new (<em class="parameter"><code><a class="link" href="GtkAd
|
||||
<p>Creates a new scrolled window.</p>
|
||||
<p>The two arguments are the scrolled window’s adjustments; these will be
|
||||
shared with the scrollbars and the child widget to keep the bars in sync
|
||||
with the child. Usually you want to pass <code class="literal">NULL</code> for the adjustments, which
|
||||
with the child. Usually you want to pass <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for the adjustments, which
|
||||
will cause the scrolled window to create them for you.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-scrolled-window-new.parameters"></a><h4>Parameters</h4>
|
||||
@ -836,13 +836,13 @@ scrollbars. See <a class="link" href="GtkScrolledWindow.html#gtk-scrolled-window
|
||||
<tr>
|
||||
<td class="parameter_name"><p>hscrollbar_policy</p></td>
|
||||
<td class="parameter_description"><p>location to store the policy
|
||||
for the horizontal scrollbar, or <code class="literal">NULL</code>. </p></td>
|
||||
for the horizontal scrollbar, 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="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>vscrollbar_policy</p></td>
|
||||
<td class="parameter_description"><p>location to store the policy
|
||||
for the vertical scrollbar, or <code class="literal">NULL</code>. </p></td>
|
||||
for the vertical scrollbar, 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="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1094,7 +1094,7 @@ gtk_scrolled_window_set_shadow_type (<em class="parameter"><code><a class="link"
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-scrolled-window-get-kinetic-scrolling"></a><h3>gtk_scrolled_window_get_kinetic_scrolling ()</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_scrolled_window_get_kinetic_scrolling
|
||||
(<em class="parameter"><code><a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window</code></em>);</pre>
|
||||
<p>Returns the specified kinetic scrolling behavior.</p>
|
||||
@ -1125,7 +1125,7 @@ gtk_scrolled_window_get_kinetic_scrolling
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_scrolled_window_set_kinetic_scrolling
|
||||
(<em class="parameter"><code><a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> kinetic_scrolling</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> kinetic_scrolling</code></em>);</pre>
|
||||
<p>Turns kinetic scrolling on or off.
|
||||
Kinetic scrolling only applies to devices with source
|
||||
<a href="https://developer.gnome.org/gdk3/GdkDevice.html#GDK-SOURCE-TOUCHSCREEN:CAPS"><code class="literal">GDK_SOURCE_TOUCHSCREEN</code></a>.</p>
|
||||
@ -1145,7 +1145,7 @@ Kinetic scrolling only applies to devices with source
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>kinetic_scrolling</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> to enable kinetic scrolling</p></td>
|
||||
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to enable kinetic scrolling</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1156,7 +1156,7 @@ Kinetic scrolling only applies to devices with source
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-scrolled-window-get-capture-button-press"></a><h3>gtk_scrolled_window_get_capture_button_press ()</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_scrolled_window_get_capture_button_press
|
||||
(<em class="parameter"><code><a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window</code></em>);</pre>
|
||||
<p>Return whether button presses are captured during kinetic
|
||||
@ -1178,7 +1178,7 @@ scrolling. See <a class="link" href="GtkScrolledWindow.html#gtk-scrolled-window-
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-scrolled-window-get-capture-button-press.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if button presses are captured during kinetic scrolling</p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if button presses are captured during kinetic scrolling</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-4.html#api-index-3.4">3.4</a></p>
|
||||
</div>
|
||||
@ -1188,18 +1188,18 @@ scrolling. See <a class="link" href="GtkScrolledWindow.html#gtk-scrolled-window-
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_scrolled_window_set_capture_button_press
|
||||
(<em class="parameter"><code><a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> capture_button_press</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> capture_button_press</code></em>);</pre>
|
||||
<p>Changes the behaviour of <em class="parameter"><code>scrolled_window</code></em>
|
||||
with regard to the initial
|
||||
event that possibly starts kinetic scrolling. When <em class="parameter"><code>capture_button_press</code></em>
|
||||
|
||||
is set to <code class="literal">TRUE</code>, the event is captured by the scrolled window, and
|
||||
is set to <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the event is captured by the scrolled window, and
|
||||
then later replayed if it is meant to go to the child widget.</p>
|
||||
<p>This should be enabled if any child widgets perform non-reversible
|
||||
actions on <a class="link" href="GtkWidget.html#GtkWidget-button-press-event" title="The “button-press-event” signal"><span class="type">“button-press-event”</span></a>. If they don't, and handle
|
||||
additionally handle <a class="link" href="GtkWidget.html#GtkWidget-grab-broken-event" title="The “grab-broken-event” signal"><span class="type">“grab-broken-event”</span></a>, it might be better
|
||||
to set <em class="parameter"><code>capture_button_press</code></em>
|
||||
to <code class="literal">FALSE</code>.</p>
|
||||
to <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
||||
<p>This setting only has an effect if kinetic scrolling is enabled.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-scrolled-window-set-capture-button-press.parameters"></a><h4>Parameters</h4>
|
||||
@ -1217,7 +1217,7 @@ to set <em class="parameter"><code>capture_button_press</code></em>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>capture_button_press</p></td>
|
||||
<td class="parameter_description"><p><code class="literal">TRUE</code> to capture button presses</p></td>
|
||||
<td class="parameter_description"><p><a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to capture button presses</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1228,7 +1228,7 @@ to set <em class="parameter"><code>capture_button_press</code></em>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-scrolled-window-get-overlay-scrolling"></a><h3>gtk_scrolled_window_get_overlay_scrolling ()</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_scrolled_window_get_overlay_scrolling
|
||||
(<em class="parameter"><code><a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window</code></em>);</pre>
|
||||
<p>Returns whether overlay scrolling is enabled for this scrolled window.</p>
|
||||
@ -1249,7 +1249,7 @@ gtk_scrolled_window_get_overlay_scrolling
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-scrolled-window-get-overlay-scrolling.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if overlay scrolling is enabled</p>
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if overlay scrolling is enabled</p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
</div>
|
||||
@ -1259,7 +1259,7 @@ gtk_scrolled_window_get_overlay_scrolling
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_scrolled_window_set_overlay_scrolling
|
||||
(<em class="parameter"><code><a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> overlay_scrolling</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> overlay_scrolling</code></em>);</pre>
|
||||
<p>Enables or disables overlay scrolling for this scrolled window.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-scrolled-window-set-overlay-scrolling.parameters"></a><h4>Parameters</h4>
|
||||
@ -1288,7 +1288,7 @@ gtk_scrolled_window_set_overlay_scrolling
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-scrolled-window-get-min-content-width"></a><h3>gtk_scrolled_window_get_min_content_width ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
gtk_scrolled_window_get_min_content_width
|
||||
(<em class="parameter"><code><a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window</code></em>);</pre>
|
||||
<p>Gets the minimum content width of <em class="parameter"><code>scrolled_window</code></em>
|
||||
@ -1320,7 +1320,7 @@ gtk_scrolled_window_get_min_content_width
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_scrolled_window_set_min_content_width
|
||||
(<em class="parameter"><code><a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> width</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);</pre>
|
||||
<p>Sets the minimum width that <em class="parameter"><code>scrolled_window</code></em>
|
||||
should keep visible.
|
||||
Note that this can and (usually will) be smaller than the minimum
|
||||
@ -1354,7 +1354,7 @@ value greater than <a class="link" href="GtkScrolledWindow.html#GtkScrolledWindo
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-scrolled-window-get-min-content-height"></a><h3>gtk_scrolled_window_get_min_content_height ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
gtk_scrolled_window_get_min_content_height
|
||||
(<em class="parameter"><code><a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window</code></em>);</pre>
|
||||
<p>Gets the minimal content height of <em class="parameter"><code>scrolled_window</code></em>
|
||||
@ -1386,7 +1386,7 @@ gtk_scrolled_window_get_min_content_height
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_scrolled_window_set_min_content_height
|
||||
(<em class="parameter"><code><a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> height</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
||||
<p>Sets the minimum height that <em class="parameter"><code>scrolled_window</code></em>
|
||||
should keep visible.
|
||||
Note that this can and (usually will) be smaller than the minimum
|
||||
@ -1420,7 +1420,7 @@ value greater than <a class="link" href="GtkScrolledWindow.html#GtkScrolledWindo
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-scrolled-window-get-max-content-width"></a><h3>gtk_scrolled_window_get_max_content_width ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
gtk_scrolled_window_get_max_content_width
|
||||
(<em class="parameter"><code><a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window</code></em>);</pre>
|
||||
<p>Returns the maximum content width set.</p>
|
||||
@ -1451,7 +1451,7 @@ gtk_scrolled_window_get_max_content_width
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_scrolled_window_set_max_content_width
|
||||
(<em class="parameter"><code><a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> width</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);</pre>
|
||||
<p>Sets the maximum width that <em class="parameter"><code>scrolled_window</code></em>
|
||||
should keep visible. The
|
||||
<em class="parameter"><code>scrolled_window</code></em>
|
||||
@ -1486,7 +1486,7 @@ smaller than <a class="link" href="GtkScrolledWindow.html#GtkScrolledWindow--min
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-scrolled-window-get-max-content-height"></a><h3>gtk_scrolled_window_get_max_content_height ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
gtk_scrolled_window_get_max_content_height
|
||||
(<em class="parameter"><code><a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window</code></em>);</pre>
|
||||
<p>Returns the maximum content height set.</p>
|
||||
@ -1517,7 +1517,7 @@ gtk_scrolled_window_get_max_content_height
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_scrolled_window_set_max_content_height
|
||||
(<em class="parameter"><code><a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> height</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> height</code></em>);</pre>
|
||||
<p>Sets the maximum height that <em class="parameter"><code>scrolled_window</code></em>
|
||||
should keep visible. The
|
||||
<em class="parameter"><code>scrolled_window</code></em>
|
||||
@ -1552,7 +1552,7 @@ smaller than <a class="link" href="GtkScrolledWindow.html#GtkScrolledWindow--min
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-scrolled-window-get-propagate-natural-width"></a><h3>gtk_scrolled_window_get_propagate_natural_width ()</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_scrolled_window_get_propagate_natural_width
|
||||
(<em class="parameter"><code><a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window</code></em>);</pre>
|
||||
<p>Reports whether the natural width of the child will be calculated and propagated
|
||||
@ -1584,7 +1584,7 @@ through the scrolled window’s requested natural width.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_scrolled_window_set_propagate_natural_width
|
||||
(<em class="parameter"><code><a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> propagate</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> propagate</code></em>);</pre>
|
||||
<p>Sets whether the natural width of the child should be calculated and propagated
|
||||
through the scrolled window’s requested natural width.</p>
|
||||
<div class="refsect3">
|
||||
@ -1614,7 +1614,7 @@ through the scrolled window’s requested natural width.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-scrolled-window-get-propagate-natural-height"></a><h3>gtk_scrolled_window_get_propagate_natural_height ()</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_scrolled_window_get_propagate_natural_height
|
||||
(<em class="parameter"><code><a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window</code></em>);</pre>
|
||||
<p>Reports whether the natural height of the child will be calculated and propagated
|
||||
@ -1646,7 +1646,7 @@ through the scrolled window’s requested natural height.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_scrolled_window_set_propagate_natural_height
|
||||
(<em class="parameter"><code><a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> propagate</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> propagate</code></em>);</pre>
|
||||
<p>Sets whether the natural height of the child should be calculated and propagated
|
||||
through the scrolled window’s requested natural height.</p>
|
||||
<div class="refsect3">
|
||||
@ -1714,7 +1714,7 @@ through the scrolled window’s requested natural height.</p>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><span class="type">gint</span> <em class="structfield"><code><a name="GtkScrolledWindowClass.scrollbar-spacing"></a>scrollbar_spacing</code></em>;</p></td>
|
||||
<td class="struct_member_name"><p><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GtkScrolledWindowClass.scrollbar-spacing"></a>scrollbar_spacing</code></em>;</p></td>
|
||||
<td class="struct_member_description"> </td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
@ -1856,7 +1856,7 @@ bars are placed.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkScrolledWindow--kinetic-scrolling"></a><h3>The <code class="literal">“kinetic-scrolling”</code> property</h3>
|
||||
<pre class="programlisting"> “kinetic-scrolling” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “kinetic-scrolling” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>Whether kinetic scrolling is enabled or not. Kinetic scrolling
|
||||
only applies to devices with source <a href="https://developer.gnome.org/gdk3/GdkDevice.html#GDK-SOURCE-TOUCHSCREEN:CAPS"><code class="literal">GDK_SOURCE_TOUCHSCREEN</code></a>.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -1866,7 +1866,7 @@ only applies to devices with source <a href="https://developer.gnome.org/gdk3/Gd
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkScrolledWindow--max-content-height"></a><h3>The <code class="literal">“max-content-height”</code> property</h3>
|
||||
<pre class="programlisting"> “max-content-height” <span class="type">gint</span></pre>
|
||||
<pre class="programlisting"> “max-content-height” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<p>The maximum content height of <em class="parameter"><code>scrolled_window</code></em>
|
||||
, or -1 if not set.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -1877,7 +1877,7 @@ only applies to devices with source <a href="https://developer.gnome.org/gdk3/Gd
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkScrolledWindow--max-content-width"></a><h3>The <code class="literal">“max-content-width”</code> property</h3>
|
||||
<pre class="programlisting"> “max-content-width” <span class="type">gint</span></pre>
|
||||
<pre class="programlisting"> “max-content-width” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<p>The maximum content width of <em class="parameter"><code>scrolled_window</code></em>
|
||||
, or -1 if not set.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -1888,7 +1888,7 @@ only applies to devices with source <a href="https://developer.gnome.org/gdk3/Gd
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkScrolledWindow--min-content-height"></a><h3>The <code class="literal">“min-content-height”</code> property</h3>
|
||||
<pre class="programlisting"> “min-content-height” <span class="type">gint</span></pre>
|
||||
<pre class="programlisting"> “min-content-height” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<p>The minimum content height of <em class="parameter"><code>scrolled_window</code></em>
|
||||
, or -1 if not set.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -1899,7 +1899,7 @@ only applies to devices with source <a href="https://developer.gnome.org/gdk3/Gd
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkScrolledWindow--min-content-width"></a><h3>The <code class="literal">“min-content-width”</code> property</h3>
|
||||
<pre class="programlisting"> “min-content-width” <span class="type">gint</span></pre>
|
||||
<pre class="programlisting"> “min-content-width” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<p>The minimum content width of <em class="parameter"><code>scrolled_window</code></em>
|
||||
, or -1 if not set.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -1910,7 +1910,7 @@ only applies to devices with source <a href="https://developer.gnome.org/gdk3/Gd
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkScrolledWindow--overlay-scrolling"></a><h3>The <code class="literal">“overlay-scrolling”</code> property</h3>
|
||||
<pre class="programlisting"> “overlay-scrolling” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “overlay-scrolling” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>Whether overlay scrolling is enabled or not. If it is, the
|
||||
scrollbars are only added as traditional widgets when a mouse
|
||||
is present. Otherwise, they are overlayed on top of the content,
|
||||
@ -1922,7 +1922,7 @@ as narrow indicators.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkScrolledWindow--propagate-natural-height"></a><h3>The <code class="literal">“propagate-natural-height”</code> property</h3>
|
||||
<pre class="programlisting"> “propagate-natural-height” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “propagate-natural-height” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>Whether the natural height of the child should be calculated and propagated
|
||||
through the scrolled window’s requested natural height.</p>
|
||||
<p>This is useful in cases where an attempt should be made to allocate exactly
|
||||
@ -1934,7 +1934,7 @@ enough space for the natural size of the child.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkScrolledWindow--propagate-natural-width"></a><h3>The <code class="literal">“propagate-natural-width”</code> property</h3>
|
||||
<pre class="programlisting"> “propagate-natural-width” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “propagate-natural-width” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>Whether the natural width of the child should be calculated and propagated
|
||||
through the scrolled window’s requested natural width.</p>
|
||||
<p>This is useful in cases where an attempt should be made to allocate exactly
|
||||
@ -1977,7 +1977,7 @@ enough space for the natural size of the child.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkScrolledWindow--window-placement-set"></a><h3>The <code class="literal">“window-placement-set”</code> property</h3>
|
||||
<pre class="programlisting"> “window-placement-set” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “window-placement-set” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>Whether "window-placement" should be used to determine the location
|
||||
of the contents with respect to the scrollbars.</p>
|
||||
<div class="warning">
|
||||
@ -1994,7 +1994,7 @@ of the contents with respect to the scrollbars.</p>
|
||||
<a name="GtkScrolledWindow.style-property-details"></a><h2>Style Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkScrolledWindow--s-scrollbar-spacing"></a><h3>The <code class="literal">“scrollbar-spacing”</code> style property</h3>
|
||||
<pre class="programlisting"> “scrollbar-spacing” <span class="type">gint</span></pre>
|
||||
<pre class="programlisting"> “scrollbar-spacing” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<p>Number of pixels between the scrollbars and the scrolled window.</p>
|
||||
<p>Flags: Read</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
@ -2003,7 +2003,7 @@ of the contents with respect to the scrollbars.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkScrolledWindow--s-scrollbars-within-bevel"></a><h3>The <code class="literal">“scrollbars-within-bevel”</code> style property</h3>
|
||||
<pre class="programlisting"> “scrollbars-within-bevel” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “scrollbars-within-bevel” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>Whether to place scrollbars within the scrolled window's bevel.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkScrolledWindow:scrollbars-within-bevel</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
||||
@ -2021,7 +2021,7 @@ of the contents with respect to the scrollbars.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window,
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkPositionType" title="enum GtkPositionType"><span class="type">GtkPositionType</span></a> pos,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>The ::edge-overshot signal is emitted whenever user initiated scrolling
|
||||
makes the scrolled window firmly surpass (i.e. with some edge resistance)
|
||||
the lower or upper limits defined by the adjustment in that orientation.</p>
|
||||
@ -2057,7 +2057,7 @@ if intending to provide behavior on horizontal edges.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: Run Last</p>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -2066,7 +2066,7 @@ if intending to provide behavior on horizontal edges.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window,
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkPositionType" title="enum GtkPositionType"><span class="type">GtkPositionType</span></a> pos,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>The ::edge-reached signal is emitted whenever user-initiated scrolling
|
||||
makes the scrolled window exactly reach the lower or upper limits
|
||||
defined by the adjustment in that orientation.</p>
|
||||
@ -2102,7 +2102,7 @@ if intending to provide behavior on horizontal edges.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: Run Last</p>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -2111,7 +2111,7 @@ if intending to provide behavior on horizontal edges.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window,
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkDirectionType" title="enum GtkDirectionType"><span class="type">GtkDirectionType</span></a> direction_type,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>The ::move-focus-out signal is a
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a> which gets
|
||||
emitted when focus is moved away from the scrolled window by a
|
||||
@ -2148,16 +2148,16 @@ container hierarchy. The default bindings for this signal are
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: Action</p>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkScrolledWindow-scroll-child"></a><h3>The <code class="literal">“scroll-child”</code> signal</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>
|
||||
user_function (<a class="link" href="GtkScrolledWindow.html" title="GtkScrolledWindow"><span class="type">GtkScrolledWindow</span></a> *scrolled_window,
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> scroll,
|
||||
<span class="type">gboolean</span> horizontal,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> horizontal,
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>The ::scroll-child signal is a
|
||||
<a class="link" href="gtk3-Bindings.html#GtkBindingSignal" title="struct GtkBindingSignal">keybinding signal</a>
|
||||
which gets emitted when a keybinding that scrolls is pressed.
|
||||
@ -2196,7 +2196,7 @@ horizontally or not</p></td>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: Action</p>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-ACTION:CAPS">Action</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
|
Reference in New Issue
Block a user