<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % local.common.attrib "xmlns:xi  CDATA  #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY version SYSTEM "version.xml">
<!ENTITY pi "&#960;">
<!ENTITY solidus "&#8260;">
]>
<refentry id="GtkEventControllerScroll">
<refmeta>
<refentrytitle role="top_of_page" id="GtkEventControllerScroll.top_of_page">GtkEventControllerScroll</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK4 Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GtkEventControllerScroll</refname>
<refpurpose>Event controller for scroll events</refpurpose>
</refnamediv>

<refsect1 id="GtkEventControllerScroll.functions" role="functions_proto">
<title role="functions_proto.title">Functions</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="functions_proto_type" colwidth="150px"/>
<colspec colname="functions_proto_name"/>
<tbody>
<row><entry role="function_type"><link linkend="GtkEventController"><returnvalue>GtkEventController</returnvalue></link>&#160;*
</entry><entry role="function_name"><link linkend="gtk-event-controller-scroll-new">gtk_event_controller_scroll_new</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="void"><returnvalue>void</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-event-controller-scroll-set-flags">gtk_event_controller_scroll_set_flags</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>
<row><entry role="function_type"><link linkend="GtkEventControllerScrollFlags"><returnvalue>GtkEventControllerScrollFlags</returnvalue></link>
</entry><entry role="function_name"><link linkend="gtk-event-controller-scroll-get-flags">gtk_event_controller_scroll_get_flags</link>&#160;<phrase role="c_punctuation">()</phrase></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkEventControllerScroll.properties" role="properties">
<title role="properties.title">Properties</title>
<informaltable frame="none">
<tgroup cols="3">
<colspec colname="properties_type" colwidth="150px"/>
<colspec colname="properties_name" colwidth="300px"/>
<colspec colname="properties_flags" colwidth="200px"/>
<tbody>
<row><entry role="property_type"><link linkend="GtkEventControllerScrollFlags"><type>GtkEventControllerScrollFlags</type></link></entry><entry role="property_name"><link linkend="GtkEventControllerScroll--flags">flags</link></entry><entry role="property_flags">Read / Write</entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkEventControllerScroll.signals" role="signal_proto">
<title role="signal_proto.title">Signals</title>
<informaltable frame="none">
<tgroup cols="3">
<colspec colname="signal_proto_type" colwidth="150px"/>
<colspec colname="signal_proto_name" colwidth="300px"/>
<colspec colname="signal_proto_flags" colwidth="200px"/>
<tbody>
<row><entry role="signal_type"><link linkend="void"><returnvalue>void</returnvalue></link></entry><entry role="signal_name"><link linkend="GtkEventControllerScroll-decelerate">decelerate</link></entry><entry role="signal_flags"><link linkend="G-SIGNAL-RUN-FIRST:CAPS">Run First</link></entry></row>
<row><entry role="signal_type"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link></entry><entry role="signal_name"><link linkend="GtkEventControllerScroll-scroll">scroll</link></entry><entry role="signal_flags"><link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></entry></row>
<row><entry role="signal_type"><link linkend="void"><returnvalue>void</returnvalue></link></entry><entry role="signal_name"><link linkend="GtkEventControllerScroll-scroll-begin">scroll-begin</link></entry><entry role="signal_flags"><link linkend="G-SIGNAL-RUN-FIRST:CAPS">Run First</link></entry></row>
<row><entry role="signal_type"><link linkend="void"><returnvalue>void</returnvalue></link></entry><entry role="signal_name"><link linkend="GtkEventControllerScroll-scroll-end">scroll-end</link></entry><entry role="signal_flags"><link linkend="G-SIGNAL-RUN-FIRST:CAPS">Run First</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkEventControllerScroll.other" role="other_proto">
<title role="other_proto.title">Types and Values</title>
<informaltable pgwide="1" frame="none">
<tgroup cols="2">
<colspec colname="other_proto_type" colwidth="150px"/>
<colspec colname="other_proto_name"/>
<tbody>
<row><entry role="datatype_keyword"></entry><entry role="function_name"><link linkend="GtkEventControllerScroll-struct">GtkEventControllerScroll</link></entry></row>
<row><entry role="datatype_keyword">enum</entry><entry role="function_name"><link linkend="GtkEventControllerScrollFlags">GtkEventControllerScrollFlags</link></entry></row>

</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 id="GtkEventControllerScroll.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<screen>    <link linkend="GObject">GObject</link>
    <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> <link linkend="GtkEventController">GtkEventController</link>
        <phrase role="lineart">&#9584;&#9472;&#9472;</phrase> GtkEventControllerScroll
</screen>
</refsect1>

<refsect1 id="GtkEventControllerScroll.includes"><title>Includes</title><synopsis>#include &lt;gtk/gtk.h&gt;
</synopsis></refsect1>

<refsect1 id="GtkEventControllerScroll.description" role="desc">
<title role="desc.title">Description</title>
<para><link linkend="GtkEventControllerScroll"><type>GtkEventControllerScroll</type></link> is an event controller meant to handle
scroll events from mice and touchpads. It is capable of handling
both discrete and continuous scroll events, abstracting them both
on the <link linkend="GtkEventControllerScroll-scroll"><type>“scroll”</type></link> signal (deltas in the
discrete case are multiples of 1).</para>
<para>In the case of continuous scroll events, <link linkend="GtkEventControllerScroll"><type>GtkEventControllerScroll</type></link>
encloses all <link linkend="GtkEventControllerScroll-scroll"><type>“scroll”</type></link> events between two
<link linkend="GtkEventControllerScroll-scroll-begin"><type>“scroll-begin”</type></link> and <link linkend="GtkEventControllerScroll-scroll-end"><type>“scroll-end”</type></link>
signals.</para>
<para>The behavior of the event controller can be modified by the
flags given at creation time, or modified at a later point through
<link linkend="gtk-event-controller-scroll-set-flags"><function>gtk_event_controller_scroll_set_flags()</function></link> (e.g. because the scrolling
conditions of the widget changed).</para>
<para>The controller can be set up to emit motion for either/both vertical
and horizontal scroll events through <link linkend="GTK-EVENT-CONTROLLER-SCROLL-VERTICAL:CAPS"><type>GTK_EVENT_CONTROLLER_SCROLL_VERTICAL</type></link>,
<link linkend="GTK-EVENT-CONTROLLER-SCROLL-HORIZONTAL:CAPS"><type>GTK_EVENT_CONTROLLER_SCROLL_HORIZONTAL</type></link> and <link linkend="GTK-EVENT-CONTROLLER-SCROLL-BOTH-AXES:CAPS"><type>GTK_EVENT_CONTROLLER_SCROLL_BOTH_AXES</type></link>.
If any axis is disabled, the respective <link linkend="GtkEventControllerScroll-scroll"><type>“scroll”</type></link>
delta will be 0. Vertical scroll events will be translated to horizontal
motion for the devices incapable of horizontal scrolling.</para>
<para>The event controller can also be forced to emit discrete events on all devices
through <link linkend="GTK-EVENT-CONTROLLER-SCROLL-DISCRETE:CAPS"><type>GTK_EVENT_CONTROLLER_SCROLL_DISCRETE</type></link>. This can be used to implement
discrete actions triggered through scroll events (e.g. switching across
combobox options).</para>
<para>The <link linkend="GTK-EVENT-CONTROLLER-SCROLL-KINETIC:CAPS"><type>GTK_EVENT_CONTROLLER_SCROLL_KINETIC</type></link> flag toggles the emission of the
<link linkend="GtkEventControllerScroll-decelerate"><type>“decelerate”</type></link> signal, emitted at the end of scrolling
with two X/Y velocity arguments that are consistent with the motion that
was received.</para>

</refsect1>
<refsect1 id="GtkEventControllerScroll.functions_details" role="details">
<title role="details.title">Functions</title>
<refsect2 id="gtk-event-controller-scroll-new" role="function">
<title>gtk_event_controller_scroll_new&#160;()</title>
<indexterm zone="gtk-event-controller-scroll-new"><primary>gtk_event_controller_scroll_new</primary></indexterm>
<programlisting language="C"><link linkend="GtkEventController"><returnvalue>GtkEventController</returnvalue></link>&#160;*
gtk_event_controller_scroll_new (<parameter><link linkend="GtkEventControllerScrollFlags"><type>GtkEventControllerScrollFlags</type></link> flags</parameter>);</programlisting>
<para>Creates a new event controller that will handle scroll events.</para>
<refsect3 id="gtk-event-controller-scroll-new.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>flags</para></entry>
<entry role="parameter_description"><para>behavior flags</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-event-controller-scroll-new.returns" role="returns">
<title>Returns</title>
<para> a new <link linkend="GtkEventControllerScroll"><type>GtkEventControllerScroll</type></link></para>
</refsect3></refsect2>
<refsect2 id="gtk-event-controller-scroll-set-flags" role="function">
<title>gtk_event_controller_scroll_set_flags&#160;()</title>
<indexterm zone="gtk-event-controller-scroll-set-flags"><primary>gtk_event_controller_scroll_set_flags</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
gtk_event_controller_scroll_set_flags (<parameter><link linkend="GtkEventControllerScroll"><type>GtkEventControllerScroll</type></link> *scroll</parameter>,
                                       <parameter><link linkend="GtkEventControllerScrollFlags"><type>GtkEventControllerScrollFlags</type></link> flags</parameter>);</programlisting>
<para>Sets the flags conditioning scroll controller behavior.</para>
<refsect3 id="gtk-event-controller-scroll-set-flags.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>scroll</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkEventControllerScroll"><type>GtkEventControllerScroll</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>flags</para></entry>
<entry role="parameter_description"><para>behavior flags</para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>
<refsect2 id="gtk-event-controller-scroll-get-flags" role="function">
<title>gtk_event_controller_scroll_get_flags&#160;()</title>
<indexterm zone="gtk-event-controller-scroll-get-flags"><primary>gtk_event_controller_scroll_get_flags</primary></indexterm>
<programlisting language="C"><link linkend="GtkEventControllerScrollFlags"><returnvalue>GtkEventControllerScrollFlags</returnvalue></link>
gtk_event_controller_scroll_get_flags (<parameter><link linkend="GtkEventControllerScroll"><type>GtkEventControllerScroll</type></link> *scroll</parameter>);</programlisting>
<para>Gets the flags conditioning the scroll controller behavior.</para>
<refsect3 id="gtk-event-controller-scroll-get-flags.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>scroll</para></entry>
<entry role="parameter_description"><para>a <link linkend="GtkEventControllerScroll"><type>GtkEventControllerScroll</type></link></para></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="gtk-event-controller-scroll-get-flags.returns" role="returns">
<title>Returns</title>
<para> the controller flags.</para>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GtkEventControllerScroll.other_details" role="details">
<title role="details.title">Types and Values</title>
<refsect2 id="GtkEventControllerScroll-struct" role="struct">
<title>GtkEventControllerScroll</title>
<indexterm zone="GtkEventControllerScroll-struct"><primary>GtkEventControllerScroll</primary></indexterm>
<programlisting language="C">typedef struct _GtkEventControllerScroll GtkEventControllerScroll;</programlisting>
</refsect2>
<refsect2 id="GtkEventControllerScrollFlags" role="enum">
<title>enum GtkEventControllerScrollFlags</title>
<indexterm zone="GtkEventControllerScrollFlags"><primary>GtkEventControllerScrollFlags</primary></indexterm>
<para>Describes the behavior of a <link linkend="GtkEventControllerScroll"><type>GtkEventControllerScroll</type></link>.</para>
<refsect3 id="GtkEventControllerScrollFlags.members" role="enum_members">
<title>Members</title>
<informaltable role="enum_members_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="enum_members_name" colwidth="300px"/>
<colspec colname="enum_members_description"/>
<colspec colname="enum_members_annotations" colwidth="200px"/>
<tbody>
<row role="constant"><entry role="enum_member_name"><para id="GTK-EVENT-CONTROLLER-SCROLL-NONE:CAPS">GTK_EVENT_CONTROLLER_SCROLL_NONE</para></entry>
<entry role="enum_member_description"><para>Don't emit scroll.</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="GTK-EVENT-CONTROLLER-SCROLL-VERTICAL:CAPS">GTK_EVENT_CONTROLLER_SCROLL_VERTICAL</para></entry>
<entry role="enum_member_description"><para>Emit scroll with vertical deltas.</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="GTK-EVENT-CONTROLLER-SCROLL-HORIZONTAL:CAPS">GTK_EVENT_CONTROLLER_SCROLL_HORIZONTAL</para></entry>
<entry role="enum_member_description"><para>Emit scroll with horizontal deltas.</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="GTK-EVENT-CONTROLLER-SCROLL-DISCRETE:CAPS">GTK_EVENT_CONTROLLER_SCROLL_DISCRETE</para></entry>
<entry role="enum_member_description"><para>Only emit deltas that are multiples of 1.</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="GTK-EVENT-CONTROLLER-SCROLL-KINETIC:CAPS">GTK_EVENT_CONTROLLER_SCROLL_KINETIC</para></entry>
<entry role="enum_member_description"><para>Emit <link linkend="GtkEventControllerScroll-decelerate"><type>“decelerate”</type></link>
after continuous scroll finishes.</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
<row role="constant"><entry role="enum_member_name"><para id="GTK-EVENT-CONTROLLER-SCROLL-BOTH-AXES:CAPS">GTK_EVENT_CONTROLLER_SCROLL_BOTH_AXES</para></entry>
<entry role="enum_member_description"><para>Emit scroll on both axes.</para>
</entry>
<entry role="enum_member_annotations"></entry>
</row>
</tbody></tgroup></informaltable>
</refsect3></refsect2>

</refsect1>
<refsect1 id="GtkEventControllerScroll.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="GtkEventControllerScroll--flags" role="property"><title>The <literal>“flags”</literal> property</title>
<indexterm zone="GtkEventControllerScroll--flags"><primary>GtkEventControllerScroll:flags</primary></indexterm>
<programlisting>  “flags”                    <link linkend="GtkEventControllerScrollFlags"><type>GtkEventControllerScrollFlags</type></link></programlisting>
<para>The flags affecting event controller behavior</para>
<para>Owner: GtkEventControllerScroll</para>
<para>Flags: Read / Write</para>
</refsect2>

</refsect1>
<refsect1 id="GtkEventControllerScroll.signal-details" role="signals">
<title role="signals.title">Signal Details</title>
<refsect2 id="GtkEventControllerScroll-decelerate" role="signal"><title>The <literal>“decelerate”</literal> signal</title>
<indexterm zone="GtkEventControllerScroll-decelerate"><primary>GtkEventControllerScroll::decelerate</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
user_function (<link linkend="GtkEventControllerScroll"><type>GtkEventControllerScroll</type></link> *controller,
               <link linkend="gdouble"><type>gdouble</type></link>                   vel_x,
               <link linkend="gdouble"><type>gdouble</type></link>                   vel_y,
               <link linkend="gpointer"><type>gpointer</type></link>                  user_data)</programlisting>
<para>Emitted after scroll is finished if the <link linkend="GTK-EVENT-CONTROLLER-SCROLL-KINETIC:CAPS"><type>GTK_EVENT_CONTROLLER_SCROLL_KINETIC</type></link>
flag is set. <parameter>vel_x</parameter>
 and <parameter>vel_y</parameter>
 express the initial velocity that was
imprinted by the scroll events. <parameter>vel_x</parameter>
 and <parameter>vel_y</parameter>
 are expressed in
pixels/ms.</para>
<refsect3 id="GtkEventControllerScroll-decelerate.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>controller</para></entry>
<entry role="parameter_description"><para>The object that received the signal</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>vel_x</para></entry>
<entry role="parameter_description"><para>X velocity</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>vel_y</para></entry>
<entry role="parameter_description"><para>Y velocity</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><simpara>user_data</simpara></entry>
<entry role="parameter_description"><simpara>user data set when the signal handler was connected.</simpara></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para>Flags: <link linkend="G-SIGNAL-RUN-FIRST:CAPS">Run First</link></para>
</refsect2><refsect2 id="GtkEventControllerScroll-scroll" role="signal"><title>The <literal>“scroll”</literal> signal</title>
<indexterm zone="GtkEventControllerScroll-scroll"><primary>GtkEventControllerScroll::scroll</primary></indexterm>
<programlisting language="C"><link linkend="gboolean"><returnvalue>gboolean</returnvalue></link>
user_function (<link linkend="GtkEventControllerScroll"><type>GtkEventControllerScroll</type></link> *controller,
               <link linkend="gdouble"><type>gdouble</type></link>                   dx,
               <link linkend="gdouble"><type>gdouble</type></link>                   dy,
               <link linkend="gpointer"><type>gpointer</type></link>                  user_data)</programlisting>
<para>Signals that the widget should scroll by the
amount specified by <parameter>dx</parameter>
 and <parameter>dy</parameter>
.</para>
<refsect3 id="GtkEventControllerScroll-scroll.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>controller</para></entry>
<entry role="parameter_description"><para>The object that received the signal</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>dx</para></entry>
<entry role="parameter_description"><para>X delta</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><para>dy</para></entry>
<entry role="parameter_description"><para>Y delta</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><simpara>user_data</simpara></entry>
<entry role="parameter_description"><simpara>user data set when the signal handler was connected.</simpara></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><refsect3 id="GtkEventControllerScroll-scroll.returns" role="returns">
<title>Returns</title>
<para> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if the scroll event was handled, <link linkend="FALSE:CAPS"><literal>FALSE</literal></link> otherwise.</para>
</refsect3><para>Flags: <link linkend="G-SIGNAL-RUN-LAST:CAPS">Run Last</link></para>
</refsect2><refsect2 id="GtkEventControllerScroll-scroll-begin" role="signal"><title>The <literal>“scroll-begin”</literal> signal</title>
<indexterm zone="GtkEventControllerScroll-scroll-begin"><primary>GtkEventControllerScroll::scroll-begin</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
user_function (<link linkend="GtkEventControllerScroll"><type>GtkEventControllerScroll</type></link> *controller,
               <link linkend="gpointer"><type>gpointer</type></link>                  user_data)</programlisting>
<para>Signals that a new scrolling operation has begun. It will
only be emitted on devices capable of it.</para>
<refsect3 id="GtkEventControllerScroll-scroll-begin.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>controller</para></entry>
<entry role="parameter_description"><para>The object that received the signal</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><simpara>user_data</simpara></entry>
<entry role="parameter_description"><simpara>user data set when the signal handler was connected.</simpara></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para>Flags: <link linkend="G-SIGNAL-RUN-FIRST:CAPS">Run First</link></para>
</refsect2><refsect2 id="GtkEventControllerScroll-scroll-end" role="signal"><title>The <literal>“scroll-end”</literal> signal</title>
<indexterm zone="GtkEventControllerScroll-scroll-end"><primary>GtkEventControllerScroll::scroll-end</primary></indexterm>
<programlisting language="C"><link linkend="void"><returnvalue>void</returnvalue></link>
user_function (<link linkend="GtkEventControllerScroll"><type>GtkEventControllerScroll</type></link> *controller,
               <link linkend="gpointer"><type>gpointer</type></link>                  user_data)</programlisting>
<para>Signals that a new scrolling operation has finished. It will
only be emitted on devices capable of it.</para>
<refsect3 id="GtkEventControllerScroll-scroll-end.parameters" role="parameters">
<title>Parameters</title>
<informaltable role="parameters_table" pgwide="1" frame="none">
<tgroup cols="3">
<colspec colname="parameters_name" colwidth="150px"/>
<colspec colname="parameters_description"/>
<colspec colname="parameters_annotations" colwidth="200px"/>
<tbody>
<row><entry role="parameter_name"><para>controller</para></entry>
<entry role="parameter_description"><para>The object that received the signal</para></entry>
<entry role="parameter_annotations"></entry></row>
<row><entry role="parameter_name"><simpara>user_data</simpara></entry>
<entry role="parameter_description"><simpara>user data set when the signal handler was connected.</simpara></entry>
<entry role="parameter_annotations"></entry></row>
</tbody></tgroup></informaltable>
</refsect3><para>Flags: <link linkend="G-SIGNAL-RUN-FIRST:CAPS">Run First</link></para>
</refsect2>
</refsect1>
<refsect1 id="GtkEventControllerScroll.see-also">
<title>See Also</title>
<para><link linkend="GtkEventController"><type>GtkEventController</type></link></para>

</refsect1>

</refentry>
