Method

PhocDraggableLayerSurfacefling

Declaration [src]

gboolean
phoc_draggable_layer_surface_fling (
  PhocDraggableLayerSurface* drag_surface,
  double lx,
  double ly,
  double vx,
  double vy
)

Description [src]

Determine whether a fling should move the drag surface, if so animate the move to folded or unfolded position.

Parameters

lx

Type: double

The location where the fling happened.

ly

Type: double

The location where the fling happened.

vx

Type: double

The fling velocity in x direction.

vy

Type: double

The fling velocity in y direction.

Return value

Type: gboolean

TRUE if the fling was accepted, otherwise FALSE.