Common Graphics : Using cursors : Font cursors

Font cursors
Font cursors are easy to use. They are specified by a constant from the CgConstants pool dictionary. The previous example used a font cursor called watch:. In the following example, a coffee mug cursor appears on the screen for 5 seconds:
| window mug |
window := self shell window.
mug := window display createFontCursor: XCCoffeeMug.
window defineCursor: mug.
(Delay forSeconds: 5) wait.
window undefineCursor.
mug freeCursor
The following table lists the available font cursors specified in the CgConstants pool dictionary:
Table 20. Font cursors