The full range of X-cursors is supported by gnocl. Here is a complete list of their names and on-screen appearance.
|
xCursor
|
 |
|
arrow
|
 |
|
basedArrowDown
|
 |
|
basedUpDown
|
 |
|
boat
|
 |
|
bogosity
|
 |
|
bottomLeftCorner
|
 |
|
bottomRightCorner
|
 |
|
bottomSide
|
 |
|
bottomTee
|
 |
|
boxSpiral
|
 |
|
centerPtr
|
 |
|
circle
|
 |
|
clock
|
 |
|
coffeeMug
|
 |
|
cross
|
 |
|
crossReverse
|
 |
|
crosshair
|
 |
|
diamondCross
|
 |
|
dot
|
 |
|
dotbox
|
 |
|
doubleArrow
|
 |
|
draftLarge
|
 |
|
draftSmall
|
 |
|
drapedBox
|
 |
|
exchange
|
 |
|
fleur
|
 |
|
gobbler
|
 |
|
gumby
|
 |
|
hand1
|
 |
|
hand2
|
 |
|
heart
|
 |
|
icon
|
 |
|
ironCross
|
 |
|
leftPtr
|
 |
|
leftSide
|
 |
|
leftTee
|
 |
|
leftbutton
|
 |
|
llAngle
|
 |
|
lrAngle
|
 |
|
man
|
 |
|
middlebutton
|
 |
|
mouse
|
 |
|
pencil
|
 |
|
pirate
|
 |
|
plus
|
 |
|
questionArrow
|
 |
|
rightPtr
|
 |
|
rightSide
|
 |
|
rightTee
|
 |
|
rightbutton
|
 |
|
rtlLogo
|
 |
|
sailboat
|
 |
|
sbDownArrow
|
 |
|
sbHDoubleArrow
|
 |
|
sbLeftArrow
|
 |
|
sbRightArrow
|
 |
|
sbUpArrow
|
 |
|
sbVDoubleArrow
|
 |
|
shuttle
|
 |
|
sizing
|
 |
|
spider
|
 |
|
spraycan
|
 |
|
star
|
 |
|
target
|
 |
|
tcross
|
 |
|
topLeftArrow
|
 |
|
topLeftCorner
|
 |
|
topRightCorner
|
 |
|
topSide
|
 |
|
topTee
|
 |
|
trek
|
 |
|
ulAngle
|
 |
|
umbrella
|
 |
|
urAngle
|
 |
|
watch
|
 |
|
xterm
|
 |
|
last
|
the previously displayed cursor
|
|
blank
|
blank out the cursor
|
|
pixmap
|
NB: to be implemented
|
In most instances the pointer will changed whist an application is busy, and then restored to what ever the previous cursor was. Although cursor management is ordinarily handled by the Xlibraries, the Gtk environment provides access to cursors more suited to platform aesthetics. Most notably the 'watch' cursor will become and animated spinner. The following code snippet illustrates how to use set/reset cursors for a busy task. -onActivate {
[gnocl::winfo toplevel %w ] configure -cursor watch
...
...
[gnocl::winfo toplevel %w ] configure -cursor last
}
} |
|