Mouse (gb.gtk)

This class is used for getting information about a mouse event from another control, or about the mouse in general.

Information about mouse events is available during mouse event handlers only!

Mouse.ScreenX and Mouse.ScreenY are available anytime.

It also defines the constants used with the Mouse property.

Desde 3.17

The cursor constants are now deprecated, and have been moved to the Cursor class.

Esta clase es estática.

Constantes
Arrow  
Blank  
Cross  
Custom  
Default  
Horizontal  
Pointing  
SizeAll  
SizeE  
SizeH  
SizeN  
SizeNE  
SizeNESW  
SizeNW  
SizeNWSE  
SizeS  
SizeSE  
SizeSW  
SizeV  
SizeW  
SplitH  
SplitV  
Text  
Vertical  
Wait  

Propiedades estáticas
Alt  
Button  
Click  
Control  
Delta  
Forward  
Left  
Meta  
Middle  
Normal  
Orientation  
Right  
ScreenX  
ScreenY  
Shift  
StartX  
StartY  
State  
X  
Y  

Métodos estáticos
Inside  
Move   Moves the cursor on the screen at a specified position.
Translate  

See also

Examples for mouse events: