default
tksdl
tksdl
tksdl.Mouse
getButtons() : 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 , ui |
All Projects: | core , debugtext , tkfreetype2 , tkmath , tkmidi , tkopengl , tkportaudio , tksdl , tkui , tkunit |
auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 13:15:54