drag: Add a default drag-motion behaviour
authorEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 25 May 2010 10:01:46 +0000 (11:01 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Tue, 25 May 2010 10:01:46 +0000 (11:01 +0100)
commit728e2d807102131fa1dedd646016cccb9d4e6128
tree74ed0d6a4bca659495ae12d0f118c8ddd4f98c39
parentd2e91c99351c820787382efc97c3465b5ab1be7f
drag: Add a default drag-motion behaviour

The DragAction should, by default, drag the actor to which it has been
applied, instead of delegating what to do to the developer. If custom
code need to override it, g_signal_stop_emission_by_name() can be called
to stop the default handler to ever running.
clutter/clutter-drag-action.c
tests/interactive/test-drag.c