[ Previous | Next | Contents | Glossary | Home | Search ]
Motif 2.1 Programmer's Reference


XmSetMenuCursor

A function that modifies the menu cursor for a client

Format

#include <Xm/Xm.h>
void XmSetMenuCursor
Display *
displayCursor cursorId

DESCRIPTION

XmSetMenuCursor programmatically modifies the menu cursor for a client; after the cursor has been created by the client, this function registers the cursor with the menu system. After calling this function, the specified cursor is displayed whenever this client displays a Motif menu on the indicated display. The client can then specify different cursors on different displays.

This function sets the menu cursor for all screens on the display. XmSetMenuCursor is obsolete and exists for compatibility with previous releases. Instead of using this function, provide initial values or call XtSetValues for the XmScreen resource XmNmenuCursor.

display
Specifies the display to which the cursor is to be associated

cursorId
Specifies the X cursor ID

RELATED

XmScreen (3).


[ Previous | Next | Contents | Glossary | Home | Search ]