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.

Dal 3.17

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

Questa classe è statica.

Costanti
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  

Proprietà statiche
Alt  
Button  
Click  
Control  
Delta  
Forward  
Left  
Meta  
Middle  
Normal  
Orientation  
Right  
ScreenX  
ScreenY  
Shift  
StartX  
StartY  
State  
X  
Y  

Metodi statici
Inside  
Move   Moves the cursor on the screen at a specified position.
Translate  

See also

Examples for mouse events: