Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

DXmCreateCursor(3X)  —  Subroutines

Digital

NAME

DXmCreateCursor − Creates a specific cursor. 

SYNOPSIS

Cursor DXmCreateCursor(widget, cursorkind)
    Widget widget;
    int   cursorkind;

DESCRIPTION

The DXmCreateCursor routine enables you to create a cursor that displays as a watch, question mark, or caution ("do not enter") symbol (these are the most frequently used cursor symbols). 

Arguments

widgetThe widget from which display information is obtained. 

cursorkindAn integer that represents the type of cursor, as follows:

Value Cursor Description
decw$c_wait_cursor (4) A watch
decw$c_questionmark_cursor (54) A question mark
decw$c_inactive_cursor (6) A caution ("do not enter") symbol

The following MIT fallbacks are provided in the event the DECwindows-specific cursors cannot be loaded:

DECwindows-Specific Cursor MIT Fallback
decw$c_wait_cursor XC_watch
decw$c_questionmark_cursor XC_question_arrow
decw$c_inactive_cursor XC_circle

You can specify additional cursor symbols by examining the /usr/include/X11/decwcursor.h file.  (MIT fallbacks are provided for each of those cursors as well.) 

RETURN VALUES

The identifier (cursor ID) of the created cursor. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026