4 * An OpenGL based 'interactive canvas' library.
6 * Copyright (C) 2010 Intel Corporation.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
22 * Emmanuele Bassi <ebassi@linux.intel.com>
26 * SECTION:clutter-action
27 * @Title: ClutterAction
28 * @Short_Description: Abstract class for event-related logic
29 * @See_Also: #ClutterConstraint
31 * #ClutterAction is an abstract base class for event-related actions that
32 * modify the user interaction of a #ClutterActor, just like
33 * #ClutterConstraint is an abstract class for modifiers of an actor's
36 * Implementations of #ClutterAction are associated to an actor and can
37 * provide behavioral changes when dealing with user input - for instance
38 * drag and drop capabilities, or scrolling, or panning - by using the
39 * various event-related signals provided by #ClutterActor itself.
41 * #ClutterAction is available since Clutter 1.4
48 #include "clutter-action.h"
50 #include "clutter-debug.h"
51 #include "clutter-private.h"
53 G_DEFINE_ABSTRACT_TYPE (ClutterAction, clutter_action, CLUTTER_TYPE_ACTOR_META);
56 clutter_action_class_init (ClutterActionClass *klass)
61 clutter_action_init (ClutterAction *self)