a user definable cursor based on an exisiting cursor font
UIcursor UIfontCursor <cxx_class="UIfontCursorP", use_src_file=0> {
string cursor_name; /* Name of cursor in standard cursor font */
/* see motif_ui/ui/cursornames.h */
int font_index; /* Index of cursor shape in font table */
cxxmethod+notify_inst+req init<NEvisible=0>;
cxxmethod+req update<NEvisible=0>
(attach_cursor+notify,color.foregroundColor+notify,color.backgroundColor+
notify,cursor_name+notify,font_index+notify);
};
The UIfontCursor object creates and displays a standard font cursor in the window of the UI object connected to it. The cursor type can be selected by name or index number from a list of standard cursor types.
An array of cursor names can be connected to the cursor_name subobject and selected by its index to provide semi-animated cursors or switching between select cursor types based on another state change.