Phoc.Cursor.handle_event

### Method

# Phoc Cursorhandle_event

#### Declaration [src]

    void
    phoc_cursor_handle_event (
      PhocCursor* self,
      PhocEventType type,
      gpointer event,
      gsize size
    )

#### Description [src]

Feed an event that happened at the cursor coordinates of type `type` to the event system. This gives all gestures that are registered in the compositor a chance to handle the event.

#### Parameters

`type`

  Type: `PhocEventType`

  The event type.

`event`

  Type: `gpointer`

  The event.

  The argument can be `NULL`.
  The data is owned by the caller of the method.

`size`

  Type: `gsize`

  The size of the event.