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.

Since 3.17

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

Tato třída je statická.

Konstanty
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  

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

Static methods
Inside  
Move   Moves the cursor on the screen at a specified position.
Translate  

See also

Examples for mouse events: