enum SF::Cursor::Type
Overview
Enumeration of the native system cursor types
Refer to the following table to determine which cursor is available on which platform.
Type | Linux | Mac OS X | Windows |
------------------------------------|:-----:|:--------:|:--------:|
SF::Cursor::Arrow
| yes | yes | yes |
SF::Cursor::ArrowWait
| no | no | yes |
SF::Cursor::Wait
| yes | no | yes |
SF::Cursor::Text
| yes | yes | yes |
SF::Cursor::Hand
| yes | yes | yes |
SF::Cursor::SizeHorizontal
| yes | yes | yes |
SF::Cursor::SizeVertical
| yes | yes | yes |
SF::Cursor::SizeTopLeftBottomRight
| no | yes* | yes |
SF::Cursor::SizeBottomLeftTopRight
| no | yes* | yes |
SF::Cursor::SizeAll
| yes | no | yes |
SF::Cursor::Cross
| yes | yes | yes |
SF::Cursor::Help
| yes | yes* | yes |
SF::Cursor::NotAllowed
| yes | yes | yes |
* These cursor types are undocumented so may not be available on all versions, but have been tested on 10.13
Defined in:
window/obj.crEnum Members
-
Arrow =
0
-
Arrow cursor (default)
-
ArrowWait =
1
-
Busy arrow cursor
-
Wait =
2
-
Busy cursor
-
Text =
3
-
I-beam, cursor when hovering over a field allowing text entry
-
Hand =
4
-
Pointing hand cursor
-
SizeHorizontal =
5
-
Horizontal double arrow cursor
-
SizeVertical =
6
-
Vertical double arrow cursor
-
SizeTopLeftBottomRight =
7
-
Double arrow cursor going from top-left to bottom-right
-
SizeBottomLeftTopRight =
8
-
Double arrow cursor going from bottom-left to top-right
-
SizeAll =
9
-
Combination of SizeHorizontal and SizeVertical
-
Cross =
10
-
Crosshair cursor
-
Help =
11
-
Help cursor
-
NotAllowed =
12
-
Action not allowed cursor
Instance Method Summary
- #arrow?
- #arrow_wait?
- #cross?
- #hand?
- #help?
- #not_allowed?
- #size_all?
- #size_bottom_left_top_right?
- #size_horizontal?
- #size_top_left_bottom_right?
- #size_vertical?
- #text?
- #wait?