Function
WPEPlatformEventpointer_move_new
Declaration [src]
WPEEvent*
wpe_event_pointer_move_new (
WPEEventType type,
WPEView* view,
WPEInputSource source,
guint32 time,
WPEModifiers modifiers,
double x,
double y,
double delta_x,
double delta_y
)
Parameters
type-
Type:
WPEEventTypeA
WPEEventType(WPE_EVENT_POINTER_MOVE,WPE_EVENT_POINTER_ENTERorWPE_EVENT_POINTER_LEAVE) view-
Type:
WPEViewA
WPEView.The data is owned by the caller of the function. source-
Type:
WPEInputSourceA
WPEInputSource. time-
Type:
guint32The event timestamp.
modifiers-
Type:
WPEModifiersA
WPEModifiers. x-
Type:
doubleThe x coordinate of the pointer.
y-
Type:
doubleThe y coordinate of the pointer.
delta_x-
Type:
doubleThe x coordainte movement delta.
delta_y-
Type:
doubleThe y coordinate movement delta.
Return value
Type: WPEEvent
A new allocated WPEEvent.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |