gtkWidgetGetPointer {RGtk2} | R Documentation |
Obtains the location of the mouse pointer in widget coordinates.
Widget coordinates are a bit odd; for historical reasons, they are
defined as widget->window
coordinates for widgets that are not
GTK_NO_WINDOWwidgets, and are relative to
widget->allocation.x
,
widget->allocation.y
for widgets that are GTK_NO_WINDOWwidgets.
gtkWidgetGetPointer(object)
|
A list containing the following elements:
|
return location for the X coordinate, or |
|
return location for the Y coordinate, or |
Derived by RGtkGen from GTK+ documentation