<!-- $XConsortium: SetMenuC.sgm /main/8 1996/09/08 21:02:17 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->

<RefEntry Id="CDEMMA.MAN398.rsml.1">
<RefMeta>
<RefEntryTitle>XmSetMenuCursor</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>XmSetMenuCursor</Function></RefName>
<RefPurpose>A function that modifies the menu cursor for a client
<IndexTerm>
<Primary>XmSetMenuCursor</Primary>
</IndexTerm></RefPurpose>
</RefNameDiv>
<!-- -->
<!-- @OSF_COPYRIGHT@-->
<!-- COPYRIGHT NOTICE-->
<!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.-->
<!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for-->
<!-- the full copyright text.-->
<!-- -->
<!-- HISTORY-->
<!-- -->
<!-- **-->
<!-- **-->
<!-- **  (c) Copyright 1989, 1990, 1992 by Open Software Foundation, Inc.-->
<!-- **      All Rights Reserved.-->
<!-- **-->
<!-- **  (c) Copyright 1987, 1988, 1989, by Hewlett-Packard Company-->
<!-- **-->
<!-- **  (c) Copyright 1987, 1988 by Digital Equipment Corporation,-->
<!-- **      Maynard, MA.  All Rights Reserved.-->
<!-- **-->
<!-- **-->
<RefSynopsisDiv>
<FuncSynopsis>
<FuncSynopsisInfo>#include &lt;Xm/Xm.h>
</FuncSynopsisInfo>
<FuncDef>void <Function>XmSetMenuCursor</Function></FuncDef>
<!--<ParamDef><Replaceable>display, cursorId</Replaceable></ParamDef>-->
<ParamDef>Display <Parameter>* display</Parameter></ParamDef>
<ParamDef>Cursor <Parameter>cursorId</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>XmSetMenuCursor</Function> 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.
</Para>
<Para>This function sets the menu cursor for all screens on the display.
<Function>XmSetMenuCursor</Function> is obsolete and exists for compatibility with
previous releases.
Instead of using this function, provide initial values or call
<Function>XtSetValues</Function> for the XmScreen resource <SystemItem Class="Resource">XmNmenuCursor</SystemItem>.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">display</Symbol></Term>
<ListItem>
<Para>Specifies the display to which the cursor is to be associated
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">cursorId</Symbol></Term>
<ListItem>
<Para>Specifies the <Literal>X</Literal> cursor ID
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.XmScreen;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
