Gambas Documentation
Application Repository
Code Snippets
Compilation & Installation from source code
Components
gb
gb.args
gb.cairo
gb.chart
gb.clipper
gb.complex
gb.compress
gb.crypt
gb.data
gb.db
gb.db.form
gb.db.mysql
gb.db.odbc
gb.db.postgresql
gb.db.sqlite2
gb.db.sqlite3
gb.db2
gb.dbus
gb.dbus.trayicon
gb.debug
gb.desktop
gb.desktop.gnome.keyring
gb.desktop.x11
gb.eval
gb.eval.highlight
gb.form
gb.form.dialog
gb.form.editor
gb.form.htmlview
gb.form.mdi
gb.form.print
gb.form.stock
gb.form.terminal
gb.gmp
gb.gsl
gb.gtk
gb.gtk.opengl
gb.gtk3
gb.gtk3.opengl
gb.gtk3.webview
gb.gui
gb.gui.opengl
gb.gui.qt
gb.gui.qt.ext
gb.gui.qt.opengl
gb.gui.qt.webkit
gb.gui.trayicon
gb.gui.webview
gb.hash
gb.highlight
gb.image
gb.image.effect
gb.image.imlib
gb.image.io
gb.inotify
gb.jit
gb.libxml
gb.logging
gb.map
gb.markdown
gb.media
gb.media.form
gb.memcached
gb.mime
gb.mongodb
gb.mysql
gb.ncurses
gb.net
gb.net.curl
gb.net.pop3
gb.net.smtp
gb.openal
gb.opengl
gb.opengl.glsl
gb.opengl.glu
gb.opengl.sge
gb.openssl
gb.option
gb.pcre
gb.pdf
gb.poppler
gb.qt4
.combobox.item
.container.children
.Menu.Children
.TabStripContainer
.TabStripContainer.Children
.TextArea.Selection
.TextBox.Selection
.Window.Controls
.Window.Menus
_ColumnView_Columns
_ComboBox_Item
_ComboBox_Selection
_Draw_Clip
_Draw_Style
_GridView_Cell
_GridView_Column
_GridView_Columns
_GridView_Data
_GridView_Row
_GridView_Rows
_Gui
_IconView_Item
_ListBox_Item
_split
_TreeView
_TreeView_Item
Action
Align
Animation
Application
Arrange
Border
Button
CheckBox
Clipboard
Color
ColumnView
ComboBox
Container
ContainerChildren
Control
Cursor
_new
Alias
AllScroll
Arrow
Blank
Cell
ColResize
ContextMenu
Copy
Cross
CrossHair
Custom
Default
EResize
EWResize
Grab
Grabbing
Help
Move
NEResize
NESWResize
NoDrop
None
NotAllowed
NResize
NSResize
NWResize
NWSEResize
Pointer
Pointing
Progress
RowResize
SEResize
SizeAll
SizeE
SizeH
SizeN
SizeNE
SizeNESW
SizeNW
SizeNWSE
SizeS
SizeSE
SizeSW
SizeV
SizeW
SplitH
SplitV
SResize
SWResize
Text
VerticalText
Wait
WResize
X
Y
ZoomIn
ZoomOut
Desktop
Dialog
Direction
Drag
Draw
DrawingArea
embedder
Fill
Font
Fonts
Form
Frame
GridView
HBox
HPanel
HSplit
IconView
Image
Key
Label
Line
ListBox
ListView
Menu
Message
Mouse
MovieBox
Paint
PaintBrush
PaintExtents
PaintMatrix
Panel
Picture
PictureBox
Point
Pointer
PointF
Printer
ProgressBar
RadioButton
Rect
RectF
Screen
Screens
Scroll
ScrollArea
ScrollBar
ScrollView
Select
Separator
Slider
SpinBox
Splitter
Spring
Style
SvgImage
TabStrip
TextArea
TextBox
TextLabel
ToggleButton
ToolButton
trayicon
trayicons
TreeView
UserContainer
UserControl
VBox
VPanel
VSplit
Watcher
Window
Windows
gb.qt4.ext
gb.qt4.opengl
gb.qt4.webkit
gb.qt4.webview
gb.qt5
gb.qt5.ext
gb.qt5.opengl
gb.qt5.webkit
gb.qt5.webview
gb.qt6
gb.qt6.ext
gb.qt6.opengl
gb.qt6.webview
gb.report
gb.report2
gb.scanner
gb.sdl
gb.sdl.sound
gb.sdl2
gb.sdl2.audio
gb.settings
gb.signal
gb.term
gb.test
gb.util
gb.util.web
gb.v4l
gb.vb
gb.web
gb.web.feed
gb.web.form
gb.web.gui
gb.xml
gb.xml.html
gb.xml.rpc
gb.xml.xslt
Controls pictures
Deprecated components
Developer Documentation
Development Environment Documentation
Documents
Error Messages
Gambas Playground
How To's
Language Index
Language Overviews
Last Changes
Lexicon
README
Search the wiki
To Do
Topics
Tutorials
Wiki License
Wiki Manual

Cursor (gb.qt4)

This class implements a custom mouse cursor.

Since 3.17

It also defines the constants that represent standard cursors.

Note that there are many synonymous for the old constants of the Mouse class.

This class is creatable.

Constants
Alias   Constant for a "drag and link" cursor.
AllScroll   Constant for a "scroll in all directions" cursor.
Arrow   Constant for the default arrow cursor.
Blank   Constant for an invisible cursor.
Cell   Constant for a "cell pointing" cursor.
ColResize   Constant for a "column resize" cursor.
ContextMenu   Constant for a "context menu" cursor.
Copy   Constant for a "drag and copy" cursor.
Cross   Constant for a crosshair cursor.
CrossHair   Constant for a crosshair cursor.
Custom   Constant for a custom cursor.
Default   Constant for the default cursor.
EResize   Constant for a "east resize" cursor.
EWResize   Constant for a "east-west resize" cursor.
Grab   Constant for a grab cursor.
Grabbing   Constant for a grabbing cursor.
Help   Constant for an help cursor.
Move   Constant for a move cursor.
NEResize   Constant for a "north-east resize" cursor.
NESWResize   Constant for a "north-east south-west resize" cursor.
NResize   Constant for a "north resize" cursor.
NSResize   Constant for a "north-south resize" cursor.
NWResize   Constant for a "north-west resize" cursor.
NWSEResize   Constant for a "north-west south-east resize" cursor.
NoDrop   Constant for "non drop zone" cursor.
None   Constant for an invisible cursor.
NotAllowed   Constant for a forbidden cursor.
Pointer   Constant for a pointing hand icon.
Pointing   Constant for a pointing hand icon.
Progress   Constant for a progress cursor.
RowResize   Constant for a "row resize" cursor.
SEResize   Constant for a "south-east resize" cursor.
SResize   Constant for a "south resize" cursor.
SWResize   Constant for a "south-west resize" cursor.
SizeAll   Constant for a move cursor.
SizeE   Constant for a "east resize" cursor.
SizeH   Constant for a "east-west resize" cursor.
SizeN   Constant for a "north-south resize" cursor.
SizeNE   Constant for a "north-east resize" cursor.
SizeNESW   Constant for a "north-east south-west resize" cursor.
SizeNW   Constant for a "north-west resize" cursor.
SizeNWSE   Constant for a "north-west south-east resize" cursor.
SizeS   Constant for a "south resize" cursor.
SizeSE   Constant for a "south-east resize" cursor.
SizeSW   Constant for a "south-west resize" cursor.
SizeV   Constant for a "north-south resize" cursor.
SizeW   Constant for a "west resize" cursor.
SplitH   Constant for a "column resize" cursor.
SplitV   Constant for a "row resize" cursor.
Text   Constant for a text cursor.
VerticalText   Constant for a vertical text cursor.
WResize   Constant for a "west resize" cursor.
Wait   Constant for a busy cursor.
ZoomIn   Constant for a zoom-in cursor.
ZoomOut   Constant for a zoom-out cursor.

Properties
X   Returns the X coordinate of the cursor hot spot.
Y   Returns the Y coordinate of the cursor hot spot.