mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 13:22:15 +00:00
9ca06d2895
PanAction is a GestureAction-subclass that implements the panning concept for scrollable actors, with the ability to emit interpolated signals to emulate the kinetic inertia of the panning. PanAction provides: • pan signal, notifying users of the panning gesture status; • pan-stopped signal, emitted at the end of the interpolated phase of the panning gesture, if enabled; • pan-axis property, to allow constraining the dragging to a specific axis; • interpolated property, to enable or disable the inertial behaviour; • deceleration property, to customize the rate at which the momentum of the panning will be slowed down; • acceleration-factor property, applied to the inertial momentum when starting the interpolated sequence. An interactive test is also provided. https://bugzilla.gnome.org/show_bug.cgi?id=681648 |
||
---|---|---|
.. | ||
basic-actor.c | ||
bin-layout.c | ||
box-layout.c | ||
canvas.c | ||
constraints.c | ||
drag-action.c | ||
drop-action.c | ||
easing-modes.c | ||
flow-layout.c | ||
grid-layout.c | ||
image-content.c | ||
layout-manager.c | ||
Makefile.am | ||
pan-action.c | ||
README | ||
rounded-rectangle.c | ||
scroll-actor.c | ||
threads.c |
The code in this directory is meant to be XIncluded into the Clutter API reference, and thus is to be considered part of the Clutter documentation. As such, the code MUST be: - correct; - idiomatic, i.e. show how a task is meant to be achieved using the best possible practices given the current API; - well documented; - ready for copy and paste.