Document.miscGetPointerPosition

Get the pointer's x and y position relative to @widget.

class Document
static
void
miscGetPointerPosition
(
Widget widget
,
out int x
,
out int y
)

Parameters

widget Widget

a #GtkWidget

x int

the pointer's "x" position, or -1 if the position is not available

y int

the pointer's "y" position, or -1 if the position is not available

Meta