default
tksdl
tksdltksdl.MousegetButtons() : int - Get current button mask
getChangedButtons() - Query changed button mask
getDx() : int - Get relative horizontal mouse position
getDy() - Get relative vertical mouse position
getPointerMode() : int - Query current mouse pointer autohide mode.
getX() : int - Get absolute horizontal mouse position
getY() : int - Get absolute vertical mouse position
grab() - Grab mouse
isGrabbed() : boolean - Query whether the mouse is currently grabbed
setPointerMode(int mode) - Set autohide pointer mode.
showPointer(boolean bVisible) - Show/hide the mouse pointer
toggleGrab() - Toggle mouse grab
ungrab() - Ungrab mouse
unproject(Object nearRet, farRet) - Unproject mouse position and return near/far vectors
warpTo(int x, y) - Move mouse cursor to specified window coordinatesMethod getButtons | |||||
Get current button mask | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getChangedButtons | |||
Query changed button mask | |||
Signature | |||
|
Method getDx | |||||
Get relative horizontal mouse position | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getDy | |||
Get relative vertical mouse position | |||
Signature | |||
|
Method getPointerMode | |||||
Query current mouse pointer autohide mode. | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getX | |||||
Get absolute horizontal mouse position | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getY | |||||
Get absolute vertical mouse position | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method grab | |||
Grab mouse | |||
Signature | |||
|
Method isGrabbed | |||||
Query whether the mouse is currently grabbed | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method setPointerMode | |||||
Set autohide pointer mode. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method showPointer | |||||
Show/hide the mouse pointer | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method toggleGrab | |||
Toggle mouse grab | |||
Signature | |||
|
Method ungrab | |||
Ungrab mouse | |||
Signature | |||
|
Method unproject | |
Unproject mouse position and return near/far vectors | |
Signature | |
Arguments | |
Method warpTo | |||||||||||||||
Move mouse cursor to specified window coordinates | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
| Project Modules: | tksdl |
| Project Classes: | AudioDevice , AudioSample , Cursor , FPS , Joystick , Key , Mouse , SamplePlayer , SDL , Viewport |
| Project Functions: | MIDINoteToFrequency |
| All Namespaces: | default , graph , ui |
| All Projects: | core , eqxmms , ShaderVG , ShaderVG_Text , tkanalogrytm , tkchipmunk , tkclap , tkfileutils , tkfreeglut , tkfreetype2 , tkfreeverb , tkmath , tkmidi , tkmidipipe , tkminnie , tkoldmath , tkopengl , tkportaudio , tkradiastools , tksamplechain , tksampleedit , tksampler , tksdl , tksdl_net , tksidplay2 , tkspeexdsp , tksqlite , tktriangulate , tkui , tkvst2 , tkzip , ui , yingtest |
auto-generated by "DOG", the TkScript document generator. Thu, 11/Dec/2025 13:42:00