[Contents] [Index] [Next] [Previous]

XmSetMenuCursor


NAME

XmSetMenuCursor - A function that modifies the menu cursor for a client

SYNOPSIS

#include <Xm/Xm.h>
void XmSetMenuCursor (display, cursorId)
      Display  * display;
      Cursor   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 INFORMATION

XmScreen(3X).