Virtual Method

PhocGesturehandle_event

Declaration [src]

gboolean
handle_event (
  PhocGesture* self,
  const PhocEvent* event,
  double lx,
  double ly
)

Description [src]

Handle the given event.

Parameters

event

Type: PhocEvent

The event to handle.

The data is owned by the caller of the method.
lx

Type: double

Event position in layout coordinates, 0 if unavailable.

ly

Type: double

Event position in layout coordinates, 0 if unavailable.

Return value

Type: gboolean