adjust-cursor in editor<%>
Gets a cursor to be used in the editor's display.
If the return value is #f, a default cursor
is used.
See also
set-cursor.
( -> send an-editor adjust-cursor event)cursor% object or #f
event : mouse-event% object
If an overriding cursor has been installed with
set-cursor, then the installed cursor is returned.
Otherwise, if the event is a dragging event, a snip in the editor has
the focus, and the snip's
adjust-cursor method returns a cursor, that cursor is returned.
Otherwise, if the cursor is over a snip and the snip's
adjust-cursor method returns a cursor, that cursor is returned.
Otherwise, if a cursor has been installed with
set-cursor, then the installed cursor is returned.
Otherwise, if the cursor is over a clickback region in an editor, an arrow cursor is returned.
Finally, if none of the above cases apply, a default cursor is returned. For a text editor, the default cursor is an I-beam. For a pasteboard editor, the default cursor is an arrow.