New upstream version 3.24.3
This commit is contained in:
@ -907,8 +907,8 @@ is simply a convenience function; it is equivalent to adding the
|
||||
unscrollable child to a viewport, then adding the viewport to the
|
||||
scrolled window. If a child has native scrolling, use
|
||||
<a class="link" href="GtkContainer.html#gtk-container-add" title="gtk_container_add ()"><code class="function">gtk_container_add()</code></a> instead of this function.</p>
|
||||
<p>The viewport scrolls the child by moving its <span class="type">GdkWindow</span>, and takes
|
||||
the size of the child to be the size of its toplevel <span class="type">GdkWindow</span>.
|
||||
<p>The viewport scrolls the child by moving its <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a>, and takes
|
||||
the size of the child to be the size of its toplevel <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindow</span></a>.
|
||||
This will be very wrong for most widgets that support native scrolling;
|
||||
for example, if you add a widget such as <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> with a viewport,
|
||||
the whole widget will scroll, including the column headings. Thus,
|
||||
@ -1128,7 +1128,7 @@ gtk_scrolled_window_set_kinetic_scrolling
|
||||
<em class="parameter"><code><span class="type">gboolean</span> kinetic_scrolling</code></em>);</pre>
|
||||
<p>Turns kinetic scrolling on or off.
|
||||
Kinetic scrolling only applies to devices with source
|
||||
<code class="literal">GDK_SOURCE_TOUCHSCREEN</code>.</p>
|
||||
<a href="../html/GdkDevice.html#GDK-SOURCE-TOUCHSCREEN:CAPS"><code class="literal">GDK_SOURCE_TOUCHSCREEN</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-scrolled-window-set-kinetic-scrolling.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1858,7 +1858,7 @@ bars are placed.</p>
|
||||
<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>
|
||||
<p>Whether kinetic scrolling is enabled or not. Kinetic scrolling
|
||||
only applies to devices with source <code class="literal">GDK_SOURCE_TOUCHSCREEN</code>.</p>
|
||||
only applies to devices with source <a href="../html/GdkDevice.html#GDK-SOURCE-TOUCHSCREEN:CAPS"><code class="literal">GDK_SOURCE_TOUCHSCREEN</code></a>.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: TRUE</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-4.html#api-index-3.4">3.4</a></p>
|
||||
|
Reference in New Issue
Block a user