1/* GTK - The GIMP Toolkit
2 * Copyright (C) 2012, One Laptop Per Child.
3 * Copyright (C) 2014, Red Hat, Inc.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17 *
18 * Author(s): Carlos Garnacho <carlosg@gnome.org>
19 */
20#ifndef __GTK_GESTURE_SWIPE_PRIVATE_H__
21#define __GTK_GESTURE_SWIPE_PRIVATE_H__
22
23#include "gtkgesturesingleprivate.h"
24#include "gtkgestureswipe.h"
25
26struct _GtkGestureSwipe
27{
28 GtkGestureSingle parent_instance;
29};
30
31struct _GtkGestureSwipeClass
32{
33 GtkGestureSingleClass parent_class;
34
35 void (* swipe) (GtkGestureSwipe *gesture,
36 double velocity_x,
37 double velocity_y);
38
39 /*< private >*/
40 gpointer padding[10];
41};
42
43#endif /* __GTK_GESTURE_SWIPE_PRIVATE_H__ */
44

source code of gtk/gtk/gtkgestureswipeprivate.h