Mouse (gb.web.gui)
This class return the detail of a mouse event.
It can only be used during a
WebDrawingArea mouse event handler.
This class is static.
Static properties
Button
|
Return which mouse button has been pressed.
|
Left
|
Return if the left button has been pressed.
|
Middle
|
Return if the middle button has been pressed.
|
Right
|
Return if the right button has been pressed.
|
ScreenX
|
Return the screen horizontal position of the mouse cursor.
|
ScreenY
|
Return the screen vertical position of the mouse cursor.
|
StartX
|
Return the X position of the mouse cursor of the last mouse press event.
|
StartY
|
Return the Y position of the mouse cursor of the last mouse press event.
|
X
|
Return the X position of the mouse cursor.
|
Y
|
Return the Y position of the mouse cursor.
|