Lib: g_mouse - levantocode/otcv8reference-materials GitHub Wiki
g_mouse
Functions
Lib Summary
- Binding / Unbinding Presses
- Checking Mouse States
- Pop/Push Cursor Type
- Load New Cursor Style
Binding / Unbinding Presses
g_mouse.bindPress(widget, callback)
g_mouse.bindPressMove(widget, callback)
g_mouse.bindAutoPress(widget, callback, delay, button)
Checking Mouse States
g_mouse.isPressed(mouseButton)
g_mouse.isCursorChanged()
Pop/Push Cursor Type
g_mouse.popCursor(cursorType)
g_mouse.pushCursor(cursorType)
Load New Cursor Style
g_mouse.loadCursors(cursorsFilePath)